Closed elasticmachine closed 2 years ago
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
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
:broken_heart: Build Failed
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
Expand to view the steps failures
##### `metricbeat-goIntegTest - mage goIntegTest`
mage goIntegTest
mage build unitTest
mage build unitTest
mage build unitTest
Error "hudson.AbortException: script returned exit code 1"