Groovy
======
ubuntu-make/18.09+disco1 currently FTBFS in Groovy. The following tests are failing during build time:
======================================================================
ERROR: we deliver one successful download under ssl with known cert
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 541, in test_download
result.fd.read())
AttributeError: 'NoneType' object has no attribute 'read'
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:26,869 [tests.tools.local_server] INFO: Stopping serving on 9876
2021-04-09 19:50:27,361 [tests.tools.local_server] INFO: Serving locally from /<<PKGBUILDDIR>>/tests/data/server-content on https://poseidon:9876
2021-04-09 19:50:27,362 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,384 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 19:50:27,467 [umake.network.download_center] ERROR: https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 19:50:27,478 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download under ssl with known cert
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://localhost:9876/simplefile couldn[96 chars]))\n" != ''
- https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:26,869 [tests.tools.local_server] INFO: Stopping serving on 9876
2021-04-09 19:50:27,361 [tests.tools.local_server] INFO: Serving locally from /<<PKGBUILDDIR>>/tests/data/server-content on https://poseidon:9876
2021-04-09 19:50:27,362 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,384 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 19:50:27,467 [umake.network.download_center] ERROR: https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 19:50:27,478 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download after being redirected
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 559, in test_redirect_download
self.assertEqual(result.final_url, TestDownloadCenter.build_server_address(self, filename, localhost=True))
AssertionError: None != 'https://localhost:9876/simplefile'
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:27,479 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,501 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 19:50:27,568 [umake.network.download_center] ERROR: https://localhost:9876/simplefile-redirect couldn't finish download: HTTPSConnectionPool(host='localhost', port=9876): Max retries exceeded with url: /simplefile-redirect (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))
2021-04-09 19:50:27,584 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download after being redirected
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://localhost:9876/simplefile-redire[220 chars]))\n" != ''
- https://localhost:9876/simplefile-redirect couldn't finish download: HTTPSConnectionPool(host='localhost', port=9876): Max retries exceeded with url: /simplefile-redirect (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:27,479 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,501 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 19:50:27,568 [umake.network.download_center] ERROR: https://localhost:9876/simplefile-redirect couldn't finish download: HTTPSConnectionPool(host='localhost', port=9876): Max retries exceeded with url: /simplefile-redirect (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)')))
2021-04-09 19:50:27,584 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we error on invalid ssl certificate
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 582, in test_with_invalid_certificate
self.assertTrue(found)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:27,584 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,606 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): poseidon:9876
2021-04-09 19:50:27,668 [umake.network.download_center] ERROR: https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 19:50:27,679 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we error on invalid ssl certificate
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://poseidon:9876/simplefile couldn'[95 chars]))\n" != ''
- https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:27,584 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 19:50:27,606 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): poseidon:9876
2021-04-09 19:50:27,668 [umake.network.download_center] ERROR: https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 19:50:27,679 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: An error is caught when asking for the impossible (installing 2 packages in conflicts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_requirements_handler.py", line 245, in test_fail
self.assertIsNotNone(self.done_callback.call_args[0][0].error)
AssertionError: unexpectedly None
-------------------- >> begin captured logging << --------------------
2021-04-09 19:50:31,496 [umake.network.requirements_handler] INFO: Installation ['testpackage', 'testpackage2'] pending
2021-04-09 19:50:31,496 [umake.network.requirements_handler] DEBUG: Check if ['testpackage', 'testpackage2'] is uptodate
2021-04-09 19:50:31,496 [umake.network.requirements_handler] INFO: testpackage isn't installed
2021-04-09 19:50:31,496 [umake.network.requirements_handler] INFO: testpackage2 isn't installed
2021-04-09 19:50:31,501 [umake.network.requirements_handler] DEBUG: Starting ['testpackage', 'testpackage2'] installation
2021-04-09 19:50:31,512 [umake.network.requirements_handler] DEBUG: Check if ['testpackage', 'testpackage2'] is uptodate
2021-04-09 19:50:31,512 [umake.network.requirements_handler] INFO: testpackage isn't installed
2021-04-09 19:50:31,512 [umake.network.requirements_handler] INFO: testpackage2 isn't installed
2021-04-09 19:50:31,512 [umake.network.requirements_handler] DEBUG: Marking testpackage for install
2021-04-09 19:50:31,517 [umake.network.requirements_handler] DEBUG: Marking testpackage2 for install
2021-04-09 19:50:31,548 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] download update: 0.0% of 1732
2021-04-09 19:50:31,558 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] download update: 100.0% of 1732
2021-04-09 19:50:31,636 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 0.0
2021-04-09 19:50:31,659 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 0.0
2021-04-09 19:50:31,667 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 20.0
2021-04-09 19:50:31,668 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 40.0
2021-04-09 19:50:31,676 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 40.0
2021-04-09 19:50:31,687 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 40.0
2021-04-09 19:50:31,792 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] install update: 60.0
2021-04-09 19:50:31,797 [umake.network.requirements_handler] DEBUG: Install for ['testpackage', 'testpackage2'] ended.
2021-04-09 19:50:31,831 [umake.network.requirements_handler] DEBUG: ['testpackage', 'testpackage2'] installed
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Focal
=====
ubuntu-make/18.09+disco1 currently FTBFS in Focal. The following tests are failing during build time:
======================================================================
ERROR: we deliver one successful download under ssl with known cert
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 541, in test_download
result.fd.read())
AttributeError: 'NoneType' object has no attribute 'read'
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:09,575 [tests.tools.local_server] INFO: Stopping serving on 9876
2021-04-09 16:55:10,054 [tests.tools.local_server] INFO: Serving locally from /<<PKGBUILDDIR>>/tests/data/server-content on https://poseidon:9876
2021-04-09 16:55:10,055 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,077 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 16:55:10,140 [umake.network.download_center] ERROR: https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
2021-04-09 16:55:10,145 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download under ssl with known cert
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://localhost:9876/simplefile couldn[62 chars]))\n" != ''
- https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:09,575 [tests.tools.local_server] INFO: Stopping serving on 9876
2021-04-09 16:55:10,054 [tests.tools.local_server] INFO: Serving locally from /<<PKGBUILDDIR>>/tests/data/server-content on https://poseidon:9876
2021-04-09 16:55:10,055 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,077 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 16:55:10,140 [umake.network.download_center] ERROR: https://localhost:9876/simplefile couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
2021-04-09 16:55:10,145 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download after being redirected
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 559, in test_redirect_download
self.assertEqual(result.final_url, TestDownloadCenter.build_server_address(self, filename, localhost=True))
AssertionError: None != 'https://localhost:9876/simplefile'
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:10,146 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,153 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 16:55:10,226 [umake.network.download_center] ERROR: https://localhost:9876/simplefile-redirect couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
2021-04-09 16:55:10,236 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we deliver one successful download after being redirected
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://localhost:9876/simplefile-redire[71 chars]))\n" != ''
- https://localhost:9876/simplefile-redirect couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:10,146 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,153 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): localhost:9876
2021-04-09 16:55:10,226 [umake.network.download_center] ERROR: https://localhost:9876/simplefile-redirect couldn't finish download: ('Connection aborted.', OSError(0, 'Error'))
2021-04-09 16:55:10,236 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://localhost:9876/simplefile-redirect', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we error on invalid ssl certificate
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 582, in test_with_invalid_certificate
self.assertTrue(found)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:10,237 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,264 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): poseidon:9876
2021-04-09 16:55:10,331 [umake.network.download_center] ERROR: https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 16:55:10,341 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: we error on invalid ssl certificate
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/small/test_download_center.py", line 519, in tearDown
super().tearDown()
File "/<<PKGBUILDDIR>>/tests/tools/__init__.py", line 64, in tearDown
self.assertEqual(self.error_warn_logs.getvalue(), "")
AssertionError: "https://poseidon:9876/simplefile couldn'[95 chars]))\n" != ''
- https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
-------------------- >> begin captured logging << --------------------
2021-04-09 16:55:10,237 [umake.network.download_center] INFO: Start downloading DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None) to a temp file
2021-04-09 16:55:10,264 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): poseidon:9876
2021-04-09 16:55:10,331 [umake.network.download_center] ERROR: https://poseidon:9876/simplefile couldn't finish download: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-04-09 16:55:10,341 [umake.network.download_center] INFO: All pending downloads for [DownloadItem(url='https://poseidon:9876/simplefile', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------