Skip to content

[x-pack/filebeat][6.8][windows] System testing is broken #21963

@v1v

Description

@v1v

What

# Get a CSV list of package names.
$packages = $(go list ./... | select-string -Pattern "/vendor/" -NotMatch | select-string -Pattern "/scripts/cmd/" -NotMatch)
$packages = ($packages|group|Select -ExpandProperty Name) -join ","
exec { go test -race -c -cover -covermode=atomic -coverpkg $packages } "go test -race -cover FAILURE"

Stacktrace

11:20:44 System testing x-pack/filebeat
11:20:45 warning: no packages being tested depend on matches for pattern github.com/elastic/beats/x-pack/filebeat/input/netflow/decoder/examples
11:20:45 warning: no packages being tested depend on matches for pattern github.com/elastic/beats/x-pack/filebeat/input/netflow/decoder/test
11:21:20 E
11:21:20 ======================================================================
11:21:20 ERROR: Failure: ModuleNotFoundError (No module named 'deepdiff')
11:21:20 ----------------------------------------------------------------------
11:21:20 Traceback (most recent call last):
11:21:20   File "c:\python38\lib\site-packages\nose\failure.py", line 39, in runTest
11:21:20     raise self.exc_val.with_traceback(self.tb)
11:21:20   File "c:\python38\lib\site-packages\nose\loader.py", line 417, in loadTestsFromName
11:21:20     module = self.importer.importFromPath(
11:21:20   File "c:\python38\lib\site-packages\nose\importer.py", line 47, in importFromPath
11:21:20     return self.importFromDir(dir_path, fqname)
11:21:20   File "c:\python38\lib\site-packages\nose\importer.py", line 94, in importFromDir
11:21:20     mod = load_module(part_fqname, fh, filename, desc)
11:21:20   File "c:\python38\lib\imp.py", line 234, in load_module
11:21:20     return load_source(name, filename, file)
11:21:20   File "c:\python38\lib\imp.py", line 171, in load_source
11:21:20     module = _load(spec)
11:21:20   File "<frozen importlib._bootstrap>", line 702, in _load
11:21:20   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
11:21:20   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
11:21:20   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
11:21:20   File "C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\x-pack\filebeat\label\windows\src\github.com\elastic\beats\x-pack\filebeat\tests\system\test_xpack_modules.py", line 6, in <module>
11:21:20     import test_modules
11:21:20   File "C:\Users\jenkins\workspace\elastic+beats+6.8+multijob-windows\beat\x-pack\filebeat\label\windows\src\github.com\elastic\beats\x-pack\filebeat\tests\system\../../../../filebeat/tests/system\test_modules.py", line 12, in <module>
11:21:20     from deepdiff import DeepDiff
11:21:20 ModuleNotFoundError: No module named 'deepdiff'
11:21:20 
11:21:20 [error] 100.00% nose.failure.Failure.runTest: 0.0023s
11:21:20 ----------------------------------------------------------------------
11:21:20 Ran 1 test in 0.562s
11:21:20 
11:21:20 FAILED (errors=1)
11:21:20 System test FAILURE

image

build if the build is gone please refers to the below gist:

Metadata

Metadata

Assignees

No one assigned

    Labels

    FilebeatFilebeatStalledTeam:Services(Deprecated) Label for the former Integrations-Services team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions