Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
v1v opened this issue Oct 19, 2020 · 3 comments
Closed

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

v1v opened this issue Oct 19, 2020 · 3 comments
Labels
Filebeat Filebeat Stalled Team:Services (Deprecated) Label for the former Integrations-Services team

Comments

@v1v
Copy link
Member

v1v commented Oct 19, 2020

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:

@v1v v1v added the Filebeat Filebeat label Oct 19, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 19, 2020
@v1v v1v changed the title [x-pack/filebeat][6.8] System testing is broken [x-pack/filebeat][6.8][windows] System testing is broken Oct 19, 2020
@andresrc andresrc added the Team:Services (Deprecated) Label for the former Integrations-Services team label Oct 20, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 20, 2020
v1v added a commit to v1v/beats that referenced this issue Oct 29, 2020
v1v added a commit that referenced this issue Oct 30, 2020
* cherry-pick aad07ad
* Add stages to Jenkins pipeline (#14484)
* ci: avoid to modify go.mod file (#16842)
* Ensure install scripts only install if needed (#20349)
* ci: fix warnings with wildcards and archive system-tests (#18695)
* ci: run test on Windows (#15570)
* [CI] fail if not possible to install python3 (#19164)
* [CI] lint stage doesn't produce test reports (#21888)
* [CI] Add stage name in the step (#21887)
* [CI] kind setup fails sometimes (#21857)
* [CI] refactor runbld post build action (#21256)
* [CI] Archive build reasons (#21347)
* [CI] Fix runbld when workspace does not exist (#21350)
* [CI] Send slack message with build status (#21428)
* [CI] Setup git config globally (#21562)
* [CI] fix 'no matches found within 10000' (#21466)
* [CI] Change notification channel (#21559)
* [CI] Support skip-ci label (#21377)
* [BUILD][CI] fetch dependencies with retry (#21614)
* Disable x-pack/metricbeat in linux since build is broken #21962
* Disable tests for windows in auditbeat. See #21958
* Disable integration testing for libbeat. See #21959
* Disable integration testing for metricbeat. See #21961
* Disable windows build for auditbeat. See #21958
* Disable build for libbeat. See #21959
* Disable build for metricbeat. See #21961
* Disable windows build for metricbeat. See #22257
* Disable build for x-pack/metricbeat. See #21962
* Disable windows build for x-pack/winlogbeat. See #22263
* Disable windows build for x-pack/filebeat. See #21963
* integration-tests-environment is not available for winlogbeat. see #22265
* integration-tests-environment is not available for packetbeat. see #22266
* Build not available for x-pack/metricbeats in 6.8. See #22269
* Cherry-pick 96c60d0
@botelastic
Copy link

botelastic bot commented Jan 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Jan 27, 2022
@jlind23
Copy link
Collaborator

jlind23 commented Mar 31, 2022

Backlog grooming: Closing for now.

@jlind23 jlind23 closed this as completed Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Filebeat Filebeat Stalled Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

No branches or pull requests

4 participants