elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
112 stars 4.93k forks source link

Build 717 for main with status FAILURE #32517

Closed elasticmachine closed 2 years ago

elasticmachine commented 2 years ago

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

#### Build stats * Start Time: 2022-07-26T15:17:47.213+0000 * Duration: 159 min 12 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 49314 | | Skipped | 5587 | | Total | 54901 |

Steps errors 5

Expand to view the steps failures

##### `metricbeat-goIntegTest - mage goIntegTest`

  • Took 31 min 31 sec . View more details here
  • Description: mage goIntegTest
##### `filebeat-windows-11-windows-11 - mage build unitTest`
  • Took 8 min 14 sec . View more details here
  • Description: mage build unitTest
##### `filebeat-windows-11-windows-11 - mage build unitTest`
  • Took 5 min 39 sec . View more details here
  • Description: mage build unitTest
##### `filebeat-windows-11-windows-11 - mage build unitTest`
  • Took 5 min 32 sec . View more details here
  • Description: mage build unitTest
##### `Error signal`
  • Took 0 min 0 sec . View more details here
  • Description: Error "hudson.AbortException: script returned exit code 1"

elasticmachine commented 2 years ago

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

cmacknz commented 2 years ago

Windows failure:

[2022-07-26T17:54:00.691Z] ================================== FAILURES ===================================

[2022-07-26T17:54:00.691Z] _________________ TestKeystore.test_keystore_with_present_key _________________

[2022-07-26T17:54:00.691Z] 

[2022-07-26T17:54:00.691Z] self = <test_keystore.TestKeystore testMethod=test_keystore_with_present_key>

[2022-07-26T17:54:00.691Z] 

[2022-07-26T17:54:00.691Z]     def setUp(self):

[2022-07-26T17:54:00.691Z] >       super(BaseTest, self).setUp()

[2022-07-26T17:54:00.691Z] 

[2022-07-26T17:54:00.691Z] tests\system\test_keystore.py:14: 

[2022-07-26T17:54:00.691Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

[2022-07-26T17:54:00.691Z] ..\libbeat\tests\system\beat\beat.py:401: in setUp

[2022-07-26T17:54:00.691Z]     shutil.rmtree(self.working_dir)

[2022-07-26T17:54:00.691Z] C:\Python38\lib\shutil.py:737: in rmtree

[2022-07-26T17:54:00.691Z]     return _rmtree_unsafe(path, onerror)

[2022-07-26T17:54:00.691Z] C:\Python38\lib\shutil.py:610: in _rmtree_unsafe

[2022-07-26T17:54:00.691Z]     _rmtree_unsafe(fullname, onerror)

[2022-07-26T17:54:00.691Z] C:\Python38\lib\shutil.py:615: in _rmtree_unsafe

[2022-07-26T17:54:00.691Z]     onerror(os.unlink, fullname, sys.exc_info())

[2022-07-26T17:54:00.691Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

[2022-07-26T17:54:00.691Z] 

[2022-07-26T17:54:00.691Z] path = 'C:\\Users\\jenkins\\workspace\\main-717-8662afa3-5e91-4e63-83ff-b82ffd2c611d\\src\\github.com\\elastic\\beats\\filebeat\\build\\system-tests\\run\\test_keystore.TestKeystore.test_keystore_with_present_key\\data'

[2022-07-26T17:54:00.691Z] onerror = <function rmtree.<locals>.onerror at 0x0000025697414940>

[2022-07-26T17:54:00.691Z] 

[2022-07-26T17:54:00.691Z]     def _rmtree_unsafe(path, onerror):

[2022-07-26T17:54:00.691Z]         try:

[2022-07-26T17:54:00.691Z]             with os.scandir(path) as scandir_it:

[2022-07-26T17:54:00.691Z]                 entries = list(scandir_it)

[2022-07-26T17:54:00.691Z]         except OSError:

[2022-07-26T17:54:00.691Z]             onerror(os.scandir, path, sys.exc_info())

[2022-07-26T17:54:00.691Z]             entries = []

[2022-07-26T17:54:00.691Z]         for entry in entries:

[2022-07-26T17:54:00.691Z]             fullname = entry.path

[2022-07-26T17:54:00.691Z]             if _rmtree_isdir(entry):

[2022-07-26T17:54:00.691Z]                 try:

[2022-07-26T17:54:00.691Z]                     if entry.is_symlink():

[2022-07-26T17:54:00.691Z]                         # This can only happen if someone replaces

[2022-07-26T17:54:00.691Z]                         # a directory with a symlink after the call to

[2022-07-26T17:54:00.691Z]                         # os.scandir or entry.is_dir above.

[2022-07-26T17:54:00.691Z]                         raise OSError("Cannot call rmtree on a symbolic link")

[2022-07-26T17:54:00.691Z]                 except OSError:

[2022-07-26T17:54:00.691Z]                     onerror(os.path.islink, fullname, sys.exc_info())

[2022-07-26T17:54:00.691Z]                     continue

[2022-07-26T17:54:00.691Z]                 _rmtree_unsafe(fullname, onerror)

[2022-07-26T17:54:00.691Z]             else:

[2022-07-26T17:54:00.691Z]                 try:

[2022-07-26T17:54:00.691Z] >                   os.unlink(fullname)

[2022-07-26T17:54:00.691Z] E                   PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\jenkins\\workspace\\main-717-8662afa3-5e91-4e63-83ff-b82ffd2c611d\\src\\github.com\\elastic\\beats\\filebeat\\build\\system-tests\\run\\test_keystore.TestKeystore.test_keystore_with_present_key\\data\\filebeat.lock'

Closing as duplicate of https://github.com/elastic/beats/issues/32069