VIFIB DESCENTRALIZED CLOUD COMPUTING

SlapOS is a decentralized Cloud Computing technology that can automate the deployment and configuration of applications in a heterogeneous environment.
slapos.toolbox
251.008
220
1
0
3
FAILED
Completed
SLAPOS_TEST_LOG_DIRECTORY=/srv/slapgrid/slappart19/var/log/testnode/cum-PiqDOqXKDc SLAPOS_TEST_SHARED_PART_LIST=/srv/slapgrid/slappart19/srv/shared:/srv/slapgrid/slappart19/srv/testnode/cum/shared /srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/bin/python_for_test setup.py test
running test
running egg_info
creating slapos.toolbox.egg-info
writing slapos.toolbox.egg-info/PKG-INFO
writing dependency_links to slapos.toolbox.egg-info/dependency_links.txt
writing entry points to slapos.toolbox.egg-info/entry_points.txt
writing namespace_packages to slapos.toolbox.egg-info/namespace_packages.txt
writing requirements to slapos.toolbox.egg-info/requires.txt
writing top-level names to slapos.toolbox.egg-info/top_level.txt
writing manifest file 'slapos.toolbox.egg-info/SOURCES.txt'
reading manifest file 'slapos.toolbox.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'slapos.toolbox.egg-info/SOURCES.txt'
running build_ext
restarted
restarted
restarted
/tmp/tmpwwukty59/content wjkqelod
/tmp/tmp_jam9ez_/content wjkqelod
/tmp/tmp_jam9ez_/content changed.value
/tmp/tmp_jam9ez_/content changed.value new.domain.com
/tmp/tmppyov4lm_/content wjkqelod
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
SUCCESS: bootstrap is OK
ERROR: Json file at https://sub.monitor.test.com/public//monitor.global.json is not valid
ERROR: Json file at https://sub2.monitor.test.com/public//monitor.global.json is not valid
OK: Removed stale /tmp/tmpx6vyt42k/public/must_unlink.history.json
ERROR: Json file at https://sub.monitor.test.com/public//monitor.global.json is not valid
ERROR: Json file at https://sub2.monitor.test.com/public//monitor.global.json is not valid
OK: Removed stale /tmp/tmphyzka1ci/public/must_unlink.history.json
{"title": "my_promise", "name": "my_promise.py", "path": "/tmp/tmp805_c_ae/etc/plugin/my_promise.py", "execution-time": 0.05, "result": {"type": "Test Result", "failed": false, "date": "2020-09-16T20:01:38+0000", "message": "success"}}-rw------- 1 slapuser19 slapuser19 19 Sep 16 22:04 /tmp/tmpevqscmx5/.slappart0_monitor.boostrap.log
-rw------- 1 slapuser19 slapuser19 19 Sep 16 22:04 /tmp/tmp_hm09tpk/.slappart0_monitor.boostrap.log
-rw------- 1 slapuser19 slapuser19 19 Sep 16 22:04 /tmp/tmpt178jq_l/.slappart0_monitor.boostrap.log
Setting VNC password...
Done.
Adding 2 CPUs...
Done.
Adding 2 CPUs...
Done.
Hotplug CPU is up to date.
Request remove 1 CPUs...
Device cpu2 was removed.
Done.
Adding 2 memory slot(s) of 1024 MB...
Done.
Removing 2048 MB of memory...
Trying to remove devices dimm3, mem3...
Device dimm3 was removed.
Device mem3 was removed.
Trying to remove devices dimm2, mem2...
Device dimm2 was removed.
Device mem2 was removed.
Done.
Removing 3072 MB of memory...
Trying to remove devices dimm3, mem3...
Device dimm3 was removed.
Device mem3 was removed.
Trying to remove devices dimm2, mem2...
Device dimm2 was removed.
Device mem2 was removed.
Trying to remove devices dimm1, mem1...
Device dimm1 was removed.
Device mem1 was removed.
Done.
Adding 1 memory slot(s) of 1024 MB...
Done.
Hotplug Memory size is up to date.
Removing 2048 MB of memory...
Trying to remove devices dimm3, mem3...
Stopping the VM...
Trying hard shutdown of the VM...
WARNING: The following files in srv/backup were modified since the exporter started (srv/backup should contain almost static files):
b'instance/slappart0/srv/backup/data.log'
b'instance/slappart1/srv/backup/log/log1'
b'instance/slappart1/srv/backup/log/log2'
<MagicMock name='check_output()' id='139676093745104'>
<MagicMock name='check_output()' id='139676093680464'>
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/parts/erp5.util-repository/erp5/util/testnode/ProcessManager.py:56: FutureWarning: Possible nested set at position 1
_format_command_search = re.compile("[[\\s $({?*\\`#~';<>&|]").search
test_write_config_default (slapos.test.monitor.test_config_document.MonitorConfigDocument) ... /srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/Jinja2-2.9.5-py3.7.egg/jinja2/lexer.py:585: DeprecationWarning: invalid escape sequence '\.'
.decode('unicode-escape')
ok
test_write_config_edit_values (slapos.test.monitor.test_config_document.MonitorConfigDocument) ... ok
test_write_config_parts (slapos.test.monitor.test_config_document.MonitorConfigDocument) ... ok
test_getPartitionCPULoadAverage (slapos.test.monitor.test_monitor_collect.TestMonitorCollect) ... /srv/slapgrid/slappart19/srv/testnode/cum/shared/python3/be66a066b245ac9aa754baf417e3d6f9/lib/python3.7/unittest/case.py:624: ResourceWarning: unclosed file <_io.TextIOWrapper name='/srv/slapgrid/slappart19/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/test/promise/data/monitor_collect.sql' mode='r' encoding='UTF-8'>
self.setUp()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_getPartitionComsumptionStatus (slapos.test.monitor.test_monitor_collect.TestMonitorCollect) ... ok
test_getPartitionConsumption (slapos.test.monitor.test_monitor_collect.TestMonitorCollect) ... ok
test_getPartitionDiskUsedAverage (slapos.test.monitor.test_monitor_collect.TestMonitorCollect) ... ok
test_getPartitionUsedMemoryAverage (slapos.test.monitor.test_monitor_collect.TestMonitorCollect) ... ok
test_monitor_bootstrap_check_folder (slapos.test.monitor.testbootstrap.MonitorBootstrapTest) ... ok
test_monitor_bootstrap_empty (slapos.test.monitor.testbootstrap.MonitorBootstrapTest) ... ok
test_monitor_bootstrap_genconfig (slapos.test.monitor.testbootstrap.MonitorBootstrapTest) ... ok
test_monitor_bootstrap_promises (slapos.test.monitor.testbootstrap.MonitorBootstrapTest) ... ok
test_monitor_bootstrap_check_folder (slapos.test.monitor.testbootstrap.MonitorBootstrapTestWithoutLegacyPromiseFolder) ... ok
test_monitor_bootstrap_empty (slapos.test.monitor.testbootstrap.MonitorBootstrapTestWithoutLegacyPromiseFolder) ... ok
test_monitor_bootstrap_genconfig (slapos.test.monitor.testbootstrap.MonitorBootstrapTestWithoutLegacyPromiseFolder) ... ok
test_monitor_bootstrap_promises (slapos.test.monitor.testbootstrap.MonitorBootstrapTestWithoutLegacyPromiseFolder) ... ok
test_monitor_instance_state (slapos.test.monitor.testglobalstate.MonitorGlobalTest) ... 2020-09-16 22:01:37,065 - Monitor - INFO - Checking promises...
2020-09-16 22:01:37,072 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:37,132 - Monitor - INFO - Checking promise promise_2...
2020-09-16 22:01:37,185 - Monitor - ERROR - error
2020-09-16 22:01:37,192 - Monitor - INFO - Checking promise promise_3...
2020-09-16 22:01:37,244 - Monitor - ERROR - error
2020-09-16 22:01:37,254 - Monitor - INFO - Checking promise promise_4...
2020-09-16 22:01:37,308 - Monitor - INFO - Finished promises.
2020-09-16 22:01:37,318 - Monitor - INFO - Checking promises...
2020-09-16 22:01:37,323 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:37,382 - Monitor - INFO - Checking promise promise_2...
2020-09-16 22:01:37,441 - Monitor - INFO - Checking promise promise_3...
2020-09-16 22:01:37,499 - Monitor - INFO - Checking promise promise_4...
2020-09-16 22:01:37,554 - Monitor - INFO - Finished promises.
ok
test_monitor_instance_state (slapos.test.monitor.testglobalstate.MonitorGlobalTestWithoutLegacyPromiseFolder) ... 2020-09-16 22:01:37,948 - Monitor - INFO - Checking promises...
2020-09-16 22:01:37,953 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:38,013 - Monitor - INFO - Checking promise promise_2...
2020-09-16 22:01:38,065 - Monitor - ERROR - error
2020-09-16 22:01:38,070 - Monitor - INFO - Checking promise promise_3...
2020-09-16 22:01:38,123 - Monitor - ERROR - error
2020-09-16 22:01:38,129 - Monitor - INFO - Checking promise promise_4...
2020-09-16 22:01:38,186 - Monitor - INFO - Finished promises.
2020-09-16 22:01:38,198 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,204 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:38,263 - Monitor - INFO - Checking promise promise_2...
2020-09-16 22:01:38,322 - Monitor - INFO - Checking promise promise_3...
2020-09-16 22:01:38,383 - Monitor - INFO - Checking promise promise_4...
2020-09-16 22:01:38,438 - Monitor - INFO - Finished promises.
ok
test_promise_NOK (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:38,476 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,481 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:38,534 - Monitor - ERROR - failed
2020-09-16 22:01:38,537 - Monitor - INFO - Finished promises.
2020-09-16 22:01:38,541 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,552 - Monitor - ERROR - failed
2020-09-16 22:01:38,553 - Monitor - INFO - 1 promises didn't need to be checked.
2020-09-16 22:01:38,554 - Monitor - INFO - Finished promises.
ok
test_promise_OK (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:38,569 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,574 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:38,633 - Monitor - INFO - Finished promises.
2020-09-16 22:01:38,640 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,645 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:01:38,706 - Monitor - INFO - Finished promises.
ok
test_promise_generic (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:38,714 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,719 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:01:38,776 - Monitor - INFO - Checking promise my_second_promise.py...
2020-09-16 22:01:38,834 - Monitor - INFO - Finished promises.
ok
test_promise_generic_failed (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:38,861 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,867 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:01:38,919 - Monitor - ERROR - failed
2020-09-16 22:01:38,923 - Monitor - INFO - Finished promises.
ok
test_promise_generic_periodicity (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:38,939 - Monitor - INFO - Checking promises...
2020-09-16 22:01:38,945 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:01:38,997 - Monitor - ERROR - failed
2020-09-16 22:01:39,000 - Monitor - INFO - Finished promises.
2020-09-16 22:01:39,002 - Monitor - INFO - Checking promises...
2020-09-16 22:01:39,004 - Monitor - INFO - 1 promises didn't need to be checked.
2020-09-16 22:01:39,005 - Monitor - INFO - Finished promises.
2020-09-16 22:01:41,010 - Monitor - INFO - Checking promises...
2020-09-16 22:01:41,016 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:01:41,068 - Monitor - ERROR - failed
2020-09-16 22:01:41,072 - Monitor - INFO - Finished promises.
ok
test_promise_generic_run_only (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:01:41,085 - Monitor - INFO - Checking promises...
2020-09-16 22:01:41,092 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:01:41,144 - Monitor - ERROR - failed
2020-09-16 22:01:41,150 - Monitor - INFO - Checking promise my_second_promise.py...
2020-09-16 22:01:41,201 - Monitor - ERROR - failed
2020-09-16 22:01:41,204 - Monitor - INFO - Finished promises.
2020-09-16 22:01:41,208 - Monitor - INFO - Checking promises...
2020-09-16 22:01:41,213 - Monitor - INFO - Checking promise my_second_promise.py...
2020-09-16 22:02:01,351 - Monitor - ERROR - Error: Promise timed out after 20 seconds
2020-09-16 22:02:01,354 - Monitor - INFO - Finished promises.
ok
test_promise_generic_status_change (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:02:01,368 - Monitor - INFO - Checking promises...
2020-09-16 22:02:01,376 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:02:01,428 - Monitor - ERROR - failed
2020-09-16 22:02:01,432 - Monitor - INFO - Finished promises.
rm: cannot remove '/tmp/tmpxr_9ymlp/etc/plugin/*.pyc': No such file or directory
2020-09-16 22:02:03,451 - Monitor - INFO - Checking promises...
2020-09-16 22:02:03,457 - Monitor - INFO - Checking promise my_promise.py...
2020-09-16 22:02:03,513 - Monitor - INFO - Finished promises.
ok
test_promise_mixed (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:02:03,527 - Monitor - INFO - Checking promises...
2020-09-16 22:02:03,532 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:02:03,588 - Monitor - INFO - Finished promises.
2020-09-16 22:02:04,596 - Monitor - INFO - Checking promises...
2020-09-16 22:02:04,602 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:02:04,755 - Monitor - ERROR - failed
2020-09-16 22:02:04,759 - Monitor - INFO - Finished promises.
ok
test_promise_two_folder (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-09-16 22:02:04,771 - Monitor - INFO - Checking promises...
2020-09-16 22:02:04,801 - Monitor - INFO - Checking promise promise_1...
2020-09-16 22:02:04,881 - Monitor - INFO - Checking promise promise_2...
2020-09-16 22:02:05,037 - Monitor - INFO - Finished promises.
ok
test_check_backup_fail (slapos.test.promise.plugin.test_backupserver_check_backup.TestBackupserverCheckBackup) ... 2020-09-16 22:02:05,055 - slapos.grid.promise - INFO - Checking promise backupserver_check_backup.py...
2020-09-16 22:02:05,208 - slapos.grid.promise - ERROR - Backup FAILED at 2020-09-16 20:02:05+00:00 (see https://DUMMY_MONITOR_URL/private/DUMMY_STATUS_DIRBASENAME/SOFTINSTTEST_status.txt ).
ok
test_check_backup_ok (slapos.test.promise.plugin.test_backupserver_check_backup.TestBackupserverCheckBackup) ... 2020-09-16 22:02:05,248 - slapos.grid.promise - INFO - Checking promise backupserver_check_backup.py...
ok
test_check_backup_too_long (slapos.test.promise.plugin.test_backupserver_check_backup.TestBackupserverCheckBackup) ... 2020-09-16 22:02:05,475 - slapos.grid.promise - INFO - Checking promise backupserver_check_backup.py...
2020-09-16 22:02:05,628 - slapos.grid.promise - ERROR - Backup didn't start at correct time: it started at 2020-09-14 20:02:05+00:00 but should have started after 2020-09-16 00:00:00+02:00. (see https://DUMMY_MONITOR_URL/private/DUMMY_STATUS_DIRBASENAME/SOFTINSTTEST_status.txt ).
ok
test (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:06,044 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
ok
test_does_not_match (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:06,267 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:06,370 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmpus227nx7/certificate.pem' does not match key '/tmp/tmpus227nx7/key.pem'
ok
test_expires (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:06,651 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:06,708 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmp73u5n6c_/certificate.pem' will expire in less than 15 days
ok
test_expires_bad_value (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:06,896 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:06,949 - slapos.grid.promise - ERROR - ERROR certificate-expiration-days is wrong: 'bad'
ok
test_expires_custom (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:07,150 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:07,202 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmptyc4_qve/certificate.pem' will expire in less than 20 days
ok
test_no_certificate (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:07,518 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:07,572 - slapos.grid.promise - ERROR - ERROR Problem loading certificate '/tmp/tmp608utzh6/nocertificate.pem', error: [Errno 2] No such file or directory: '/tmp/tmp608utzh6/nocertificate.pem'
ok
test_no_key (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificate) ... 2020-09-16 22:02:07,803 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:07,856 - slapos.grid.promise - ERROR - ERROR Problem loading key '/tmp/tmpm3eszfo3/nokey.pem', error: [Errno 2] No such file or directory: '/tmp/tmpm3eszfo3/nokey.pem'
ok
test (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:08,048 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
ok
test_does_not_match (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:08,351 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:08,403 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmp44okeloc/key.pem' does not match key '/tmp/tmp44okeloc/key.pem'
ok
test_expires (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:08,633 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:08,686 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmpxbj_y7ab/key.pem' will expire in less than 15 days
ok
test_expires_bad_value (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:08,837 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:08,889 - slapos.grid.promise - ERROR - ERROR certificate-expiration-days is wrong: 'bad'
ok
test_expires_custom (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:08,980 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:09,033 - slapos.grid.promise - ERROR - ERROR Certificate '/tmp/tmpiq1ydtaf/key.pem' will expire in less than 20 days
ok
test_no_certificate (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:09,266 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:09,319 - slapos.grid.promise - ERROR - ERROR Problem loading certificate '/tmp/tmpifig749b/nocertificate.pem', error: [Errno 2] No such file or directory: '/tmp/tmpifig749b/nocertificate.pem'
ok
test_no_key (slapos.test.promise.plugin.test_check_certificate.TestCheckCertificateSameFile) ... 2020-09-16 22:02:09,480 - slapos.grid.promise - INFO - Checking promise check-certificate.py...
2020-09-16 22:02:09,532 - slapos.grid.promise - ERROR - ERROR Problem loading key '/tmp/tmpp8kd24r7/nokey.pem', error: [Errno 2] No such file or directory: '/tmp/tmpp8kd24r7/nokey.pem'
ok
test_check_failure (slapos.test.promise.plugin.test_check_command_execute.TestCheckCommandExecute) ... 2020-09-16 22:02:09,549 - slapos.grid.promise - INFO - Checking promise check-command-execute.py...
2020-09-16 22:02:09,604 - slapos.grid.promise - ERROR - ERROR '/tmp/tmp9c7sphba/fail' run with failure, output: b'failure\nme\n'
ok
test_check_success (slapos.test.promise.plugin.test_check_command_execute.TestCheckCommandExecute) ... 2020-09-16 22:02:09,629 - slapos.grid.promise - INFO - Checking promise check-command-execute.py...
ok
test_error (slapos.test.promise.plugin.test_check_error_on_http_log.TestCheckErrorOnHttpLog) ... 2020-09-16 22:02:09,753 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:09,813 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:09,866 - slapos.grid.promise - ERROR - ERROR=2 (NOROUTE=2, UNREACHABLENET=0, TIMEOUT=0)
2020-09-16 22:02:09,880 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:09,933 - slapos.grid.promise - ERROR - ERROR=1 (NOROUTE=1, UNREACHABLENET=0, TIMEOUT=0)
ok
test_error_timeout (slapos.test.promise.plugin.test_check_error_on_http_log.TestCheckErrorOnHttpLog) ... 2020-09-16 22:02:09,958 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,022 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,074 - slapos.grid.promise - ERROR - ERROR=4 (NOROUTE=0, UNREACHABLENET=0, TIMEOUT=4)
2020-09-16 22:02:10,085 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,138 - slapos.grid.promise - ERROR - ERROR=2 (NOROUTE=0, UNREACHABLENET=0, TIMEOUT=2)
ok
test_error_unreacheabler (slapos.test.promise.plugin.test_check_error_on_http_log.TestCheckErrorOnHttpLog) ... 2020-09-16 22:02:10,161 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,223 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,276 - slapos.grid.promise - ERROR - ERROR=11 (NOROUTE=0, UNREACHABLENET=11, TIMEOUT=0)
2020-09-16 22:02:10,286 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,338 - slapos.grid.promise - ERROR - ERROR=11 (NOROUTE=0, UNREACHABLENET=11, TIMEOUT=0)
ok
test_no_error (slapos.test.promise.plugin.test_check_error_on_http_log.TestCheckErrorOnHttpLog) ... 2020-09-16 22:02:10,370 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,431 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-09-16 22:02:10,494 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
ok
test_01_no_delay_no_error_threshold (slapos.test.promise.plugin.test_check_error_on_zope_longrequest_log.TestCheckErrorOnZopeLongrequestLog) ... 2020-09-16 22:02:10,646 - slapos.grid.promise - INFO - Checking promise check-error-on-zope_longrequest-log.py...
2020-09-16 22:02:10,753 - slapos.grid.promise - ERROR - ERROR: Site has 6 long request
ok
test_02_no_delay_error_threshold (slapos.test.promise.plugin.test_check_error_on_zope_longrequest_log.TestCheckErrorOnZopeLongrequestLog) ... 2020-09-16 22:02:10,825 - slapos.grid.promise - INFO - Checking promise check-error-on-zope_longrequest-log.py...
ok
test_03_delay_no_error_threshold (slapos.test.promise.plugin.test_check_error_on_zope_longrequest_log.TestCheckErrorOnZopeLongrequestLog) ... 2020-09-16 22:02:11,027 - slapos.grid.promise - INFO - Checking promise check-error-on-zope_longrequest-log.py...
2020-09-16 22:02:11,130 - slapos.grid.promise - ERROR - ERROR: Site has 3 long request
ok
test_check_file_directory (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,153 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-09-16 22:02:11,256 - slapos.grid.promise - ERROR - ERROR IsADirectoryError(21, 'Is a directory') during opening and reading file '/tmp/tmp9dd13rna/test.file'
ok
test_check_file_empty (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,274 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
ok
test_check_file_empty_fail (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,356 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-09-16 22:02:11,408 - slapos.grid.promise - ERROR - ERROR '/tmp/tmpknys5u83/test.file' not empty, content available at https://www.example.com/
ok
test_check_file_not_empty (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,430 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
ok
test_check_file_not_empty_fail (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,529 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-09-16 22:02:11,581 - slapos.grid.promise - ERROR - ERROR '/tmp/tmps6kcf5a7/test.file' empty
ok
test_check_file_not_exists (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-09-16 22:02:11,613 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-09-16 22:02:11,666 - slapos.grid.promise - ERROR - ERROR FileNotFoundError(2, 'No such file or directory') during opening and reading file '/tmp/tmpjr_3va9v/test.file'
ok
test_check_free_disk_with_unavailable_dates (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... /srv/slapgrid/slappart19/srv/testnode/cum/shared/python3/be66a066b245ac9aa754baf417e3d6f9/lib/python3.7/unittest/case.py:624: ResourceWarning: unclosed file <_io.TextIOWrapper name='/srv/slapgrid/slappart19/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/test/promise/data/disktest.sql' mode='r' encoding='UTF-8'>
self.setUp()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
2020-09-16 22:02:11,748 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
ok
test_check_free_disk_with_unicode_string_path (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-09-16 22:02:11,842 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
ok
test_disk_space_nok (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-09-16 22:02:11,976 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
2020-09-16 22:02:12,079 - slapos.grid.promise - ERROR - Free disk space low: remaining 269.1 G (threshold: 278.0 G)
2020-09-16 22:02:12,086 - slapos.grid.promise - ERROR - Free disk space low: remaining 269.1 G (threshold: 278.0 G)
2020-09-16 22:02:12,089 - slapos.grid.promise - INFO - 1 promises didn't need to be checked.
ok
test_disk_space_ok (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-09-16 22:02:12,176 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
ok
test_error (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:12,243 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:13,359 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:14,827 - slapos.grid.promise - ERROR - PING host=couscous code=600, result=failed, packet_lost_ratio=-1 msg=Fail to parser ping output
ok
test_error6 (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:14,861 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:16,183 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:17,240 - slapos.grid.promise - ERROR - PING6 host=couscous code=600, result=failed, packet_lost_ratio=-1 msg=Fail to parser ping output
ok
test_localhost (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:17,258 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:21,673 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_localhost6_with_ping4 (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:25,877 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:30,130 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_localhost6_with_ping6 (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:34,394 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:38,620 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_packet_lost_less_than_threshold (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-09-16 22:02:42,907 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:02:53,056 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_critical (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-09-16 22:03:03,213 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-09-16 22:03:03,265 - slapos.grid.promise - ERROR - Expecting value: line 1 column 1 (char 0)
ok
test_lag (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-09-16 22:03:03,283 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-09-16 22:03:03,335 - slapos.grid.promise - ERROR - WARNING (backup: neo_21)
ok
test_out_of_date (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-09-16 22:03:03,356 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-09-16 22:03:03,409 - slapos.grid.promise - ERROR - WARNING (main)
ok
test_recovering (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-09-16 22:03:03,435 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-09-16 22:03:03,488 - slapos.grid.promise - ERROR - PROBLEM (main)
ok
test_running (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-09-16 22:03:03,506 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
ok
test_partition_deployment_state_failed (slapos.test.promise.plugin.test_check_partition_deployment_state.TestPartitionDeploymentState) ... 2020-09-16 22:03:03,575 - slapos.grid.promise - INFO - Checking promise partition-deployment-state.py...
2020-09-16 22:03:03,628 - slapos.grid.promise - ERROR - Buildout failed to process slappart0.
ok
test_partition_deployment_state_ok (slapos.test.promise.plugin.test_check_partition_deployment_state.TestPartitionDeploymentState) ... 2020-09-16 22:03:03,646 - slapos.grid.promise - INFO - Checking promise partition-deployment-state.py...
ok
test_ipv4_is_faster (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-09-16 22:03:03,708 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:11,900 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:20,036 - slapos.grid.promise - ERROR - PING host=127.0.0.1 code=200, result=0.041, packet_lost_ratio=0 msg=min 0 max 0.050 avg 0.041
PING6 host=2001:67c:1254::1 code=200, result=1.292, packet_lost_ratio=0 msg=min 0 max 1.427 avg 1.292
FAIL 1.041 (latency4) > 1.292 (latence6)
ok
test_ipv4_unreacheable_and_ipv6_ok (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-09-16 22:03:20,060 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:25,253 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_ipv6_fail (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-09-16 22:03:30,584 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:35,764 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:40,986 - slapos.grid.promise - ERROR - PING host=127.0.0.1 code=200, result=0.055, packet_lost_ratio=0 msg=min 4 max 0.062 avg 0.055
PING6 host=couscous code=600, result=failed, packet_lost_ratio=-1 msg=Fail to parser ping output
FAILED: IPv4 reachable, IPv6 unreachable
ok
test_ipv6_is_faster (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-09-16 22:03:41,008 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-09-16 22:03:55,175 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_check_cpu_load_run (slapos.test.promise.plugin.test_check_server_cpu_load.TestCheckServerCPULoad) ... 2020-09-16 22:04:09,393 - slapos.grid.promise - INFO - Checking promise server-cpu-load-promise.py...
ok
test_empty_file (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-09-16 22:04:09,524 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:09,630 - slapos.grid.promise - ERROR - ERROR loading JSON from '/tmp/tmpbgt75r_5/surykatka.json'
ok
test_no_config (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-09-16 22:04:09,656 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:09,712 - slapos.grid.promise - ERROR - ERROR File '' does not exists
ok
test_not_existing_file (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-09-16 22:04:09,736 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:09,838 - slapos.grid.promise - ERROR - ERROR File '/tmp/tmp43h82eej/surykatka.json' does not exists
ok
test (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:09,864 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_bot_status_future (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:09,991 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,044 - slapos.grid.promise - ERROR - bot_status: ERROR Last bot datetime Sat, 13 Dec 2223 08:10:11 -0000 is in future
ok
test_bot_status_old (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:10,061 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,114 - slapos.grid.promise - ERROR - bot_status: ERROR Last bot datetime Sat, 13 Dec 2223 08:10:11 -0000 is more than 15 minutes old
ok
test_empty_bot_status (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:10,130 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,237 - slapos.grid.promise - ERROR - bot_status: ERROR 'bot_status' empty in '/tmp/tmpl47bkgcu/surykatka.json'
ok
test_no_loop (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:10,257 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,366 - slapos.grid.promise - ERROR - bot_status: ERROR bot_status is 'error' instead of 'loop' in '/tmp/tmpx9lcd7pk/surykatka.json'
ok
test_not_bot_status (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-09-16 22:04:10,390 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,495 - slapos.grid.promise - ERROR - bot_status: ERROR 'bot_status' not in '/tmp/tmpyypm89sx/surykatka.json'
ok
test (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,526 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_bad_code (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,608 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,660 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 302 instead of 301 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_code_explanation_520 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,689 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,741 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 520 (Too many redirects) instead of 301 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_code_explanation_523 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,774 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,831 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 523 (Connection error) instead of 301 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_code_explanation_524 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,856 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:10,909 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 524 (Connection timeout) instead of 301 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_code_explanation_526 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:10,931 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,037 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 526 (SSL Error) instead of 301 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_ip (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,057 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,111 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR expected IPs 127.0.0.1 127.0.0.2 differes from got 127.0.0.1 127.0.0.4 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_bad_ip_status_code (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,131 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,238 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 302 instead of 301 http_query: ERROR expected IPs 127.0.0.1 127.0.0.2 differes from got 127.0.0.1 127.0.0.4 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_expired_certificate (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,277 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,330 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR Certificate on 127.0.0.1 will expire on Sat, 28 Dec 2019 12:00:00 -0000, which is less than 15 days http_query: OK with status code 302
ok
test_expired_certificate_2_day (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,346 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,448 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR Certificate on 127.0.0.1 will expire on Sat, 28 Dec 2019 12:00:00 -0000, which is less than 2 days http_query: OK with status code 302
ok
test_expired_certificate_before_today (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,475 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,528 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR Certificate on 127.0.0.1 will expire on Thu, 26 Dec 2019 12:00:00 -0000, which is less than 15 days http_query: OK with status code 302
ok
test_good_certificate_2_day (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,553 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_http (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,627 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_http_with_bad_header_dict (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,698 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,754 - slapos.grid.promise - ERROR - http://www.erp5.com/ : http_query: ERROR HTTP Header dict was {"Cache-Control": "max-age=300, public", "Vary": "Accept-Encoding,Cookie"} instead of {"Cache-Control": "max-age=300, public", "Vary": "Accept-Encoding"}
ok
test_http_with_header_dict (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,773 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_https_no_cert (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,842 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:11,896 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR IP 127.0.0.1 got status code 302 instead of 301 http_query: ERROR expected IPs 127.0.0.1 127.0.0.2 differes from got 127.0.0.1 127.0.0.4 ssl_certificate: ERROR No certificate information for 127.0.0.1 ssl_certificate: ERROR No certificate information for 127.0.0.2
ok
test_maximum_elapsed_time (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:11,914 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_maximum_elapsed_time_no_total_seconds (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,035 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_maximum_elapsed_time_too_long (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,118 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:12,172 - slapos.grid.promise - ERROR - https://www.erp5.com/ : elapsed_time: ERROR IP 127.0.0.1 replied in 6.00s which is longer than maximum 5.00s elapsed_time: ERROR IP 127.0.0.2 failed to reply http_query: OK with status code 302 on IPs 127.0.0.1 127.0.0.2 ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_no_http_query_data (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,455 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:12,559 - slapos.grid.promise - ERROR - https://www.erp5.com/ : http_query: ERROR No data elapsed_time: ERROR No data ssl_certificate: OK Certificate on 127.0.0.1 will expire on Mon, 13 Jul 2020 12:00:00 -0000, which is more than 15 days
ok
test_no_ip_list (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,593 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_no_ssl_certificate (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,739 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:12,857 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR No key 'ssl_certificate'. If the error persist, please update surykatka. http_query: OK with status code 302 on IPs 127.0.0.1 127.0.0.2
ok
test_no_ssl_certificate_data (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-09-16 22:04:12,884 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:12,937 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR No data http_query: OK with status code 302 on IPs 127.0.0.1 127.0.0.2
ok
test (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONUnknownReport) ... 2020-09-16 22:04:12,955 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-09-16 22:04:13,008 - slapos.grid.promise - ERROR - ERROR Report 'NOT_EXISTING_ENTRY' is not supported
ok
test_check_200 (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:14,351 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/urllib3-1.24.1-py3.7.egg/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
ok
test_check_200_verify (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:14,486 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
ok
test_check_200_verify_fail (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:14,670 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-09-16 22:04:14,827 - slapos.grid.promise - ERROR - ERROR SSL verify failed while accessing 'https://10.0.233.171:57965/200'
ok
test_check_200_verify_own (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:14,847 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
ok
test_check_401 (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:14,971 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/urllib3-1.24.1-py3.7.egg/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
2020-09-16 22:04:15,074 - slapos.grid.promise - ERROR - 'https://10.0.233.171:57965/401' is not available (returned 401, expected 200).
ok
test_check_401_check_secure (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,102 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/urllib3-1.24.1-py3.7.egg/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
ok
test_check_401_ignore_code (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,249 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/urllib3-1.24.1-py3.7.egg/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
ok
test_check_512_http_code (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,338 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
/srv/slapgrid/slappart19/srv/testnode/cum/soft/77519f13f65a6810567bf389305554c2/eggs/urllib3-1.24.1-py3.7.egg/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
ok
test_check_url_bad (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,470 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-09-16 22:04:15,523 - slapos.grid.promise - ERROR - ERROR: Invalid URL 'https://': No host supplied
ok
test_check_url_malformed (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,550 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-09-16 22:04:15,653 - slapos.grid.promise - ERROR - ERROR: Invalid URL '': No schema supplied. Perhaps you meant http://?
ok
test_check_url_site_off (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-09-16 22:04:15,675 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-09-16 22:04:15,778 - slapos.grid.promise - ERROR - ERROR connection not possible while accessing 'https://localhost:56789/site'
ok
test_check_200_timeout (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailableTimeout) ... 2020-09-16 22:04:17,163 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-09-16 22:04:17,672 - slapos.grid.promise - ERROR - Error: Promise timed out after 0.5 seconds
ok
test_monitor_bootstrap_fail (slapos.test.promise.plugin.test_monitor_bootstrap_status.TestPromiseMonitorBoostrap) ... 2020-09-16 22:04:17,951 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
2020-09-16 22:04:18,004 - slapos.grid.promise - ERROR - Monitor bootstrap exited with error.
---- Latest monitor-boostrap.log ----
Buildout running...
ok
test_monitor_bootstrap_no_run (slapos.test.promise.plugin.test_monitor_bootstrap_status.TestPromiseMonitorBoostrap) ... 2020-09-16 22:04:18,037 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
2020-09-16 22:04:18,090 - slapos.grid.promise - ERROR - Bootstrap didn't run!
ok
test_monitor_bootstrap_ok (slapos.test.promise.plugin.test_monitor_bootstrap_status.TestPromiseMonitorBoostrap) ... 2020-09-16 22:04:18,119 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
ok
test_getServerStatus (slapos.test.promise.test_apache_mpm_watchdog.TestApacheMPMWatchdog) ... ok
test_loadJSONFile (slapos.test.promise.test_apache_mpm_watchdog.TestApacheMPMWatchdog) ... ok
test_writeJSONFile (slapos.test.promise.test_apache_mpm_watchdog.TestApacheMPMWatchdog) ... ok
test_no_today_file_and_empty_yesterday_file (slapos.test.promise.test_check_apachedex_result.TestCheckApacheDigestResult) ... ok
test_no_today_file_but_yesterday_file (slapos.test.promise.test_check_apachedex_result.TestCheckApacheDigestResult) ... ok
test_threshold_is_greater (slapos.test.promise.test_check_apachedex_result.TestCheckApacheDigestResult) ... ok
test_threshold_is_lower (slapos.test.promise.test_check_apachedex_result.TestCheckApacheDigestResult) ... ok
test_check_memory (slapos.test.promise.test_check_computer_memory.TestComputerMemory) ... /srv/slapgrid/slappart19/srv/testnode/cum/shared/python3/be66a066b245ac9aa754baf417e3d6f9/lib/python3.7/unittest/case.py:624: ResourceWarning: unclosed file <_io.TextIOWrapper name='/srv/slapgrid/slappart19/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/test/promise/data/memtest.sql' mode='r' encoding='UTF-8'>
self.setUp()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_check_memory_with_unavailable_dates (slapos.test.promise.test_check_computer_memory.TestComputerMemory) ... ok
test_fail (slapos.test.promise.test_check_slow_queries_digest_result.TestCheckSlowQueriesDigestResult) ... ok
test_no_today_file_and_empty_yesterday_file (slapos.test.promise.test_check_slow_queries_digest_result.TestCheckSlowQueriesDigestResult) ... ok
test_no_today_file_but_yesterday_file (slapos.test.promise.test_check_slow_queries_digest_result.TestCheckSlowQueriesDigestResult) ... ok
test_threshold_is_greater (slapos.test.promise.test_check_slow_queries_digest_result.TestCheckSlowQueriesDigestResult) ... ok
test_check_memory (slapos.test.promise.test_check_user_memory.TestUserMemory) ... ok
test_check_memory_with_unavailable_dates (slapos.test.promise.test_check_user_memory.TestUserMemory) ... ok
test_port6_is_not_open (slapos.test.promise.test_is_local_tcp_port_opened.TestLocalTcpPortOpened) ... ok
test_port6_is_open (slapos.test.promise.test_is_local_tcp_port_opened.TestLocalTcpPortOpened) ... ok
test_port_is_not_open (slapos.test.promise.test_is_local_tcp_port_opened.TestLocalTcpPortOpened) ... ok
test_port_is_open (slapos.test.promise.test_is_local_tcp_port_opened.TestLocalTcpPortOpened) ... ok
test_autostemp (slapos.test.test_agent.TestAutoSTemp)
Test AutoSTemp creates the file with content and ... ok
test_cleanup_empty_group (slapos.test.test_agent.TestTestMap)
Check available group of tests ... ok
test_dropgroup (slapos.test.test_agent.TestTestMap)
Check available group of tests ... ok
test_getexcludelist (slapos.test.test_agent.TestTestMap)
Check available group of tests ... ok
test_getnextgroup (slapos.test.test_agent.TestTestMap)
Get Next Group ... ok
test_group (slapos.test.test_agent.TestTestMap)
Check available group of tests ... ok
test_complexCommand (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_raiseErro (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_simpleCommand (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_ifKOFoundErrorReturned (slapos.test.test_checkfeedaspromise.TestCheckFeedAsPromise) ... ok
test_ifNoOKPatternFoundErrorIsRaised (slapos.test.test_checkfeedaspromise.TestCheckFeedAsPromise) ... ok
test_ifOKFoundNoErrorReturned (slapos.test.test_checkfeedaspromise.TestCheckFeedAsPromise) ... ok
test_noItemInTheFeedIsNotAnError (slapos.test.test_checkfeedaspromise.TestCheckFeedAsPromise) ... ok
test_doNotRunACommandIfItHasAlreadyRun (slapos.test.test_equeue.TestEqueue) ... ok
test_doNothingIfTakeoverHasBeenTriggered (slapos.test.test_equeue.TestEqueue) ... ok
test_onlyOneCommandRunAtTheTime (slapos.test.test_equeue.TestEqueue) ... ok
test_feedItemsAreSortedByDate (slapos.test.test_generatefeed.TestGenerateFeed) ... ok
test_generateFeedCleanStatusDirectoryIfTooManyItems (slapos.test.test_generatefeed.TestGenerateFeed) ... ok
test_dnsbench_fail (slapos.test.test_networkbench.TestDNSBench)
Test dns failure resolution ... FAIL
test_dnsbench_ok (slapos.test.test_networkbench.TestDNSBench)
Test dns resolution ... ok
test_dnsbench_unexpected (slapos.test.test_networkbench.TestDNSBench)
Test dns unexpected resolution ... ok
test_request_expected_redirection (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_request_expected_response (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_request_expected_text (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_request_fail (slapos.test.test_networkbench.TestHTTPBench)
Test unreachable URL ... Traceback (most recent call last):
File "/srv/slapgrid/slappart19/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/networkbench/http.py", line 16, in get_curl
curl.perform()
pycurl.error: (6, 'Could not resolve host: thisurldontexist.erp5.com')
ok
test_request_ok (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_request_unexpected_response (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_request_unexpected_text (slapos.test.test_networkbench.TestHTTPBench)
This test is way to badly written as it depends on ... ok
test_ping6_fail (slapos.test.test_networkbench.TestPing) ... ok
test_ping6_ok (slapos.test.test_networkbench.TestPing) ... ok
test_ping_fail (slapos.test.test_networkbench.TestPing) ... ok
test_ping_ok (slapos.test.test_networkbench.TestPing) ... ok
test_setVNCPassword (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_cpu_add (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_cpu_increase (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_cpu_no_update (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_cpu_remove (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_add (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_delete (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_delete_all (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_increase (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_no_update (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_updateDevice_memory_will_reboot (slapos.test.test_qemuqmpclient.TestQemuQMPWrapper) ... ok
test_generatedRSSIsCorrect (slapos.test.test_rdiffBackupStat2RSS.TestRdiffBackupStat2RSS) ... ok
test_UserCanLoginAndUpdateCredentials (slapos.test.test_runner.TestRunnerBackEnd)
* Create a user with createNewUser ... ok
test_autoDeployWontEraseExistingInstances (slapos.test.test_runner.TestRunnerBackEnd) ... skipped 'No scenario defined'
test_changingSRUpdatesProjectFileWithExistingPath (slapos.test.test_runner.TestRunnerBackEnd) ... User opened a new SR. Removing all instances...
ok
test_getCurrentSoftwareReleaseProfile (slapos.test.test_runner.TestRunnerBackEnd)
* Mock a .project file ... ok
test_isSoftwareReleaseReady (slapos.test.test_runner.TestRunnerBackEnd) ... ok
test_parametersAreCorrectlyUpdatedAndGivenToTheInstance (slapos.test.test_runner.TestRunnerBackEnd) ... skipped 'No scenario defined'
test_removingInstanceStopsProcessesAndCleansInstanceDirectory (slapos.test.test_runner.TestRunnerBackEnd)
When removing the current running instances, processes should be stopped ... ok
test_removingUsedSoftwareReleaseCleansInstancesToo (slapos.test.test_runner.TestRunnerBackEnd)
When removing the Software Release on which depends the current running ... User removed the SR currently used. Removing all instances...
ok
test_requestingInstanceCorrectlyPassesTypeAndParameters (slapos.test.test_runner.TestRunnerBackEnd) ... skipped 'No scenario defined'
test_runInstanceWithLockMakesCorrectCallstoSupervisord (slapos.test.test_runner.TestRunnerBackEnd) ... ok
test_runSoftwareDonotRestartForeverEvenIfBuildoutFileIsWrong (slapos.test.test_runner.TestRunnerBackEnd)
Restarting compilation or instanciation should happen a limited number of ... ok
test_runSoftwareRunOnlyOnceIfSoftwareSuccessfullyCompiledOnFirstTime (slapos.test.test_runner.TestRunnerBackEnd) ... ok
test_runSoftwareWithLockMakesCorrectCallstoSupervisord (slapos.test.test_runner.TestRunnerBackEnd) ... ok
test_CwdContextManager (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_getBackupFilesModifiedDuringExportList (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_getExcludePathList (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_getSlappartSignatureMethodDict (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_synchroniseRunnerConfigurationDirectory (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_synchroniseRunnerWorkingDirectory (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_writeSignatureFile (slapos.test.test_runner_exporter.TestRunnerExporter) ... ok
test_secure_remove_file (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_check_exist (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_check_exist_false (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_keep_file (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_multiple_files (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_non_zero (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_secure_remove_file_with_link (slapos.test.test_securedelete.TestSecureDelete) ... ok
test_sublist (slapos.test.test_systool.TestSystool) ... ok

======================================================================
FAIL: test_dnsbench_fail (slapos.test.test_networkbench.TestDNSBench)
Test dns failure resolution
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/slapgrid/slappart19/srv/testnode/cum/inst/test0-0/parts/slapos.toolbox/slapos/test/test_networkbench.py", line 66, in test_dnsbench_fail
self.assertLess(info[3], 1)
AssertionError: 2.1159074306488037 not less than 1

----------------------------------------------------------------------
Ran 220 tests in 251.008s

FAILED (failures=1, skipped=3)
Test failed: <unittest.runner.TextTestResult run=220 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=220 errors=0 failures=1>