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
173.679
199
0
0
3
PASSED
Completed
SLAPOS_TEST_SHARED_PART_LIST= /srv/slapgrid/slappart9/srv/testnode/bvi/soft/65dbbd3d11daa99cf78c9566a0a4798e/bin/python_for_test setup.py test
running test
running egg_info
creating slapos.toolbox.egg-info
writing requirements to slapos.toolbox.egg-info/requires.txt
writing slapos.toolbox.egg-info/PKG-INFO
writing namespace_packages to slapos.toolbox.egg-info/namespace_packages.txt
writing top-level names to slapos.toolbox.egg-info/top_level.txt
writing dependency_links to slapos.toolbox.egg-info/dependency_links.txt
writing entry points to slapos.toolbox.egg-info/entry_points.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
WARNING: The following files in srv/backup were modified since the exporter started (srv/backup should contain almost static files):
instance/slappart0/srv/backup/data.log
instance/slappart1/srv/backup/log/log1
instance/slappart1/srv/backup/log/log2
<MagicMock name='check_output()' id='140418306509968'>
<MagicMock name='check_output()' id='140418306507024'>
{"result": {"date": "2020-02-14T08:08:08+0000", "failed": false, "message": "success", "type": "Test Result"}, "path": "/tmp/tmpovXNuw/etc/plugin/my_promise.py", "name": "my_promise.py", "execution-time": 0.05, "title": "my_promise"}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/tmpL2fxkS/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/tmpBlGXvo/public/must_unlink.history.json
restarted
restarted
restarted
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
/tmp/tmp0BRbwb/content wjkqelod
/tmp/tmpcG7M7n/content wjkqelod
/tmp/tmpcG7M7n/content changed.value
/tmp/tmpcG7M7n/content changed.value new.domain.com
/tmp/tmplq4tlN/content wjkqelod
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...
-rw------- 1 slapuser9 slapuser9 19 Feb 14 09:09 /tmp/tmpbRa3uk/.slappart0_monitor.boostrap.log
-rw------- 1 slapuser9 slapuser9 19 Feb 14 09:09 /tmp/tmpJiF3kH/.slappart0_monitor.boostrap.log
-rw------- 1 slapuser9 slapuser9 19 Feb 14 09:09 /tmp/tmp9TGh9_/.slappart0_monitor.boostrap.log
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_UserCanLoginAndUpdateCredentials (slapos.test.test_runner.TestRunnerBackEnd) ... ok
test_autoDeployWontEraseExistingInstances (slapos.test.test_runner.TestRunnerBackEnd) ... skipped 'No scenario defined'
test_changingSRUpdatesProjectFileWithExistingPath (slapos.test.test_runner.TestRunnerBackEnd) ... No handlers could be found for logger "slaprunner"
ok
test_getCurrentSoftwareReleaseProfile (slapos.test.test_runner.TestRunnerBackEnd) ... 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) ... ok
test_removingUsedSoftwareReleaseCleansInstancesToo (slapos.test.test_runner.TestRunnerBackEnd) ... 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) ... 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_promise_NOK (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:08,355 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,357 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:08,407 - Monitor - ERROR - failed
2020-02-14 09:08:08,408 - Monitor - INFO - Finished promises.
2020-02-14 09:08:08,409 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,412 - Monitor - ERROR - failed
2020-02-14 09:08:08,414 - Monitor - INFO - 1 promises didn't need to be checked.
2020-02-14 09:08:08,414 - Monitor - INFO - Finished promises.
ok
test_promise_OK (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:08,417 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,418 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:08,470 - Monitor - INFO - Finished promises.
2020-02-14 09:08:08,472 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,474 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:08,525 - Monitor - INFO - Finished promises.
ok
test_promise_generic (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:08,529 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,530 - Monitor - INFO - Checking promise my_second_promise.py...
2020-02-14 09:08:08,584 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:08,636 - Monitor - INFO - Finished promises.
ok
test_promise_generic_failed (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:08,643 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,645 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:08,696 - Monitor - ERROR - failed
2020-02-14 09:08:08,697 - Monitor - INFO - Finished promises.
ok
test_promise_generic_periodicity (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:08,700 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,702 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:08,752 - Monitor - ERROR - failed
2020-02-14 09:08:08,753 - Monitor - INFO - Finished promises.
2020-02-14 09:08:08,754 - Monitor - INFO - Checking promises...
2020-02-14 09:08:08,757 - Monitor - INFO - 1 promises didn't need to be checked.
2020-02-14 09:08:08,758 - Monitor - INFO - Finished promises.
2020-02-14 09:08:10,760 - Monitor - INFO - Checking promises...
2020-02-14 09:08:10,762 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:10,813 - Monitor - ERROR - failed
2020-02-14 09:08:10,814 - Monitor - INFO - Finished promises.
ok
test_promise_generic_run_only (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:10,824 - Monitor - INFO - Checking promises...
2020-02-14 09:08:10,826 - Monitor - INFO - Checking promise my_second_promise.py...
2020-02-14 09:08:10,877 - Monitor - ERROR - failed
2020-02-14 09:08:10,879 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:10,930 - Monitor - ERROR - failed
2020-02-14 09:08:10,931 - Monitor - INFO - Finished promises.
2020-02-14 09:08:10,933 - Monitor - INFO - Checking promises...
2020-02-14 09:08:10,935 - Monitor - INFO - Checking promise my_second_promise.py...
2020-02-14 09:08:30,996 - Monitor - ERROR - Error: Promise timed out after 20 seconds
2020-02-14 09:08:31,003 - Monitor - INFO - Finished promises.
ok
test_promise_generic_status_change (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:31,006 - Monitor - INFO - Checking promises...
2020-02-14 09:08:31,008 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:31,059 - Monitor - ERROR - failed
2020-02-14 09:08:31,060 - Monitor - INFO - Finished promises.
2020-02-14 09:08:33,078 - Monitor - INFO - Checking promises...
2020-02-14 09:08:33,081 - Monitor - INFO - Checking promise my_promise.py...
2020-02-14 09:08:33,133 - Monitor - INFO - Finished promises.
ok
test_promise_mixed (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:33,136 - Monitor - INFO - Checking promises...
2020-02-14 09:08:33,138 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:33,189 - Monitor - INFO - Finished promises.
2020-02-14 09:08:34,195 - Monitor - INFO - Checking promises...
2020-02-14 09:08:34,197 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:34,247 - Monitor - ERROR - failed
2020-02-14 09:08:34,249 - Monitor - INFO - Finished promises.
ok
test_promise_two_folder (slapos.test.monitor.testrunpromise.MonitorPromiseTest) ... 2020-02-14 09:08:34,252 - Monitor - INFO - Checking promises...
2020-02-14 09:08:34,253 - Monitor - INFO - Checking promise promise_2...
2020-02-14 09:08:34,306 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:34,357 - Monitor - INFO - Finished promises.
ok
test_monitor_instance_state (slapos.test.monitor.testglobalstate.MonitorGlobalTest) ... 2020-02-14 09:08:34,534 - Monitor - INFO - Checking promises...
2020-02-14 09:08:34,536 - Monitor - INFO - Checking promise promise_2...
2020-02-14 09:08:34,587 - Monitor - ERROR - error
2020-02-14 09:08:34,589 - Monitor - INFO - Checking promise promise_3...
2020-02-14 09:08:34,640 - Monitor - ERROR - error
2020-02-14 09:08:34,642 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:34,694 - Monitor - INFO - Checking promise promise_4...
2020-02-14 09:08:34,746 - Monitor - INFO - Finished promises.
2020-02-14 09:08:34,753 - Monitor - INFO - Checking promises...
2020-02-14 09:08:34,754 - Monitor - INFO - Checking promise promise_2...
2020-02-14 09:08:34,807 - Monitor - INFO - Checking promise promise_3...
2020-02-14 09:08:34,860 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:34,913 - Monitor - INFO - Checking promise promise_4...
2020-02-14 09:08:34,964 - Monitor - INFO - Finished promises.
ok
test_monitor_instance_state (slapos.test.monitor.testglobalstate.MonitorGlobalTestWithoutLegacyPromiseFolder) ... 2020-02-14 09:08:35,153 - Monitor - INFO - Checking promises...
2020-02-14 09:08:35,155 - Monitor - INFO - Checking promise promise_2...
2020-02-14 09:08:35,205 - Monitor - ERROR - error
2020-02-14 09:08:35,207 - Monitor - INFO - Checking promise promise_3...
2020-02-14 09:08:35,258 - Monitor - ERROR - error
2020-02-14 09:08:35,260 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:35,313 - Monitor - INFO - Checking promise promise_4...
2020-02-14 09:08:35,364 - Monitor - INFO - Finished promises.
2020-02-14 09:08:35,370 - Monitor - INFO - Checking promises...
2020-02-14 09:08:35,372 - Monitor - INFO - Checking promise promise_2...
2020-02-14 09:08:35,426 - Monitor - INFO - Checking promise promise_3...
2020-02-14 09:08:35,478 - Monitor - INFO - Checking promise promise_1...
2020-02-14 09:08:35,533 - Monitor - INFO - Checking promise promise_4...
2020-02-14 09:08:35,585 - Monitor - INFO - Finished promises.
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_write_config_default (slapos.test.monitor.test_config_document.MonitorConfigDocument) ... 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) ... 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_sublist (slapos.test.test_systool.TestSystool) ... 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_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_generatedRSSIsCorrect (slapos.test.test_rdiffBackupStat2RSS.TestRdiffBackupStat2RSS) ... ok
test_feedItemsAreSortedByDate (slapos.test.test_generatefeed.TestGenerateFeed) ... ok
test_generateFeedCleanStatusDirectoryIfTooManyItems (slapos.test.test_generatefeed.TestGenerateFeed) ... ok
test_check_memory (slapos.test.promise.test_check_computer_memory.TestComputerMemory) ... ok
test_check_memory_with_unavailable_dates (slapos.test.promise.test_check_computer_memory.TestComputerMemory) ... 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_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_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_cpu_load_run (slapos.test.promise.plugin.test_check_server_cpu_load.TestCheckServerCPULoad) ... 2020-02-14 09:09:00,983 - slapos.grid.promise - INFO - Checking promise server-cpu-load-promise.py...
ok
test_check_file_directory (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-02-14 09:09:01,038 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-02-14 09:09:01,089 - slapos.grid.promise - ERROR - ERROR IOError(21, 'Is a directory') during opening and reading file '/tmp/tmpNl4N6I/test.file'
ok
test_check_file_empty (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-02-14 09:09:01,093 - 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-02-14 09:09:01,149 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-02-14 09:09:01,199 - slapos.grid.promise - ERROR - ERROR '/tmp/tmpT8kh4k/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-02-14 09:09:01,204 - 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-02-14 09:09:01,259 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-02-14 09:09:01,309 - slapos.grid.promise - ERROR - ERROR '/tmp/tmp1QDklH/test.file' empty
ok
test_check_file_not_exists (slapos.test.promise.plugin.test_check_file_state.TestCheckFileState) ... 2020-02-14 09:09:01,314 - slapos.grid.promise - INFO - Checking promise check-file-state.py...
2020-02-14 09:09:01,365 - slapos.grid.promise - ERROR - ERROR IOError(2, 'No such file or directory') during opening and reading file '/tmp/tmpKM4i_x/test.file'
ok
test_check_failure (slapos.test.promise.plugin.test_check_command_execute.TestCheckCommandExecute) ... 2020-02-14 09:09:01,370 - slapos.grid.promise - INFO - Checking promise check-command-execute.py...
2020-02-14 09:09:01,421 - slapos.grid.promise - ERROR - ERROR '/tmp/tmpqMq5aT/fail' run with failure, output: 'failure\nme\n'
ok
test_check_success (slapos.test.promise.plugin.test_check_command_execute.TestCheckCommandExecute) ... 2020-02-14 09:09:01,426 - slapos.grid.promise - INFO - Checking promise check-command-execute.py...
ok
test_partition_deployment_state_failed (slapos.test.promise.plugin.test_check_partition_deployment_state.TestPartitionDeploymentState) ... 2020-02-14 09:09:01,481 - slapos.grid.promise - INFO - Checking promise partition-deployment-state.py...
2020-02-14 09:09:01,531 - 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-02-14 09:09:01,539 - slapos.grid.promise - INFO - Checking promise partition-deployment-state.py...
ok
test_error (slapos.test.promise.plugin.test_check_error_on_http_log.TestCheckErrorOnHttpLog) ... 2020-02-14 09:09:01,598 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,654 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,705 - slapos.grid.promise - ERROR - ERROR=2 (NOROUTE=2, UNREACHABLENET=0, TIMEOUT=0)
2020-02-14 09:09:01,711 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,762 - 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-02-14 09:09:01,771 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,826 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,877 - slapos.grid.promise - ERROR - ERROR=4 (NOROUTE=0, UNREACHABLENET=0, TIMEOUT=4)
2020-02-14 09:09:01,880 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,931 - 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-02-14 09:09:01,937 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:01,989 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:02,040 - slapos.grid.promise - ERROR - ERROR=11 (NOROUTE=0, UNREACHABLENET=11, TIMEOUT=0)
2020-02-14 09:09:02,043 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:02,094 - 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-02-14 09:09:02,100 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:02,153 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
2020-02-14 09:09:02,207 - slapos.grid.promise - INFO - Checking promise check-error-on-apache-log.py...
ok
test_empty_file (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-02-14 09:09:02,262 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,313 - slapos.grid.promise - ERROR - ERROR loading JSON from '/tmp/tmpWXwI1C/surykatka.json'
ok
test_no_config (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-02-14 09:09:02,317 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,368 - slapos.grid.promise - ERROR - ERROR File '' does not exists
ok
test_not_existing_file (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSON) ... 2020-02-14 09:09:02,371 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,422 - slapos.grid.promise - ERROR - ERROR File '/tmp/tmpnXrAe_/surykatka.json' does not exists
ok
test (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-02-14 09:09:02,426 - 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-02-14 09:09:02,480 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,531 - slapos.grid.promise - ERROR - bot_status: ERROR Last bot datetime Sat, 13 Dec 2223 08:10:11 -0000 is in future, UTC now Wed, 13 Dec 2222 09:11:12 -0000
ok
test_bot_status_old (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-02-14 09:09:02,535 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,586 - slapos.grid.promise - ERROR - bot_status: ERROR Last bot datetime Sat, 13 Dec 2223 08:10:11 -0000 is more than 15 minutes old, UTC now Wed, 13 Dec 2223 09:26:12 -0000
ok
test_empty_bot_status (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-02-14 09:09:02,590 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,641 - slapos.grid.promise - ERROR - bot_status: ERROR 'bot_status' empty in '/tmp/tmpuXT1I3/surykatka.json'
ok
test_no_loop (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-02-14 09:09:02,646 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,696 - slapos.grid.promise - ERROR - bot_status: ERROR bot_status is 'error' instead of 'loop' in '/tmp/tmp5FD4iv/surykatka.json'
ok
test_not_bot_status (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONBotStatus) ... 2020-02-14 09:09:02,700 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,751 - slapos.grid.promise - ERROR - bot_status: ERROR 'bot_status' not in '/tmp/tmpCdQF8T/surykatka.json'
ok
test (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:02,756 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
ok
test_bad_code (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:02,810 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,861 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_code_explanation_520 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:02,866 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,916 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_code_explanation_523 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:02,921 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:02,971 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_code_explanation_524 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:02,976 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,026 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_code_explanation_526 (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,031 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,082 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_ip (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,086 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,137 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_bad_ip_status_code (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,141 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,192 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_http (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,196 - 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-02-14 09:09:03,251 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,302 - 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-02-14 09:09:03,306 - 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-02-14 09:09:03,361 - 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-02-14 09:09:03,416 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,467 - 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 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_no_http_query_data (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,471 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,522 - 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, UTC now is Fri, 27 Dec 2019 15:11:12 -0000
ok
test_no_ip_list (slapos.test.promise.plugin.test_check_surykatka_json.TestCheckSurykatkaJSONHttpQuery) ... 2020-02-14 09:09:03,526 - 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-02-14 09:09:03,581 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,632 - 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 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-02-14 09:09:03,636 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,687 - slapos.grid.promise - ERROR - https://www.erp5.com/ : ssl_certificate: ERROR No data http_query: OK 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-02-14 09:09:03,691 - slapos.grid.promise - INFO - Checking promise check-surykatka-json.py...
2020-02-14 09:09:03,742 - slapos.grid.promise - ERROR - ERROR Report 'NOT_EXISTING_ENTRY' is not supported
ok
test_critical (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-02-14 09:09:03,747 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-02-14 09:09:03,798 - slapos.grid.promise - ERROR - No JSON object could be decoded
ok
test_lag (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-02-14 09:09:03,803 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-02-14 09:09:03,854 - slapos.grid.promise - ERROR - WARNING (backup: neo_21)
ok
test_out_of_date (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-02-14 09:09:03,858 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-02-14 09:09:03,909 - slapos.grid.promise - ERROR - WARNING (main)
ok
test_recovering (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-02-14 09:09:03,915 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
2020-02-14 09:09:03,965 - slapos.grid.promise - ERROR - PROBLEM (main)
ok
test_running (slapos.test.promise.plugin.test_check_neo_health.TestCheckNeoHealth) ... 2020-02-14 09:09:03,970 - slapos.grid.promise - INFO - Checking promise monitor-neo-health.py...
ok
test_check_backup_fail (slapos.test.promise.plugin.test_backupserver_check_backup.TestBackupserverCheckBackup) ... 2020-02-14 09:09:04,025 - slapos.grid.promise - INFO - Checking promise backupserver_check_backup.py...
2020-02-14 09:09:04,076 - slapos.grid.promise - ERROR - Backup FAILED at 2020-02-14 08:09:04+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-02-14 09:09:04,080 - 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-02-14 09:09:04,135 - slapos.grid.promise - INFO - Checking promise backupserver_check_backup.py...
2020-02-14 09:09:04,186 - slapos.grid.promise - ERROR - Backup didn't start at correct time: it started at 2020-02-12 08:09:04+00:00 but should have started after 2020-02-14 00:00:00+01:00. (see https://DUMMY_MONITOR_URL/private/DUMMY_STATUS_DIRBASENAME/SOFTINSTTEST_status.txt ).
ok
test_check_free_disk_with_unavailable_dates (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-02-14 09:09:04,207 - 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-02-14 09:09:04,277 - 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-02-14 09:09:04,345 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
2020-02-14 09:09:04,396 - slapos.grid.promise - ERROR - Disk will become full in 26.02 days (threshold: 25.00 days), checked from 2017-10-02 01:16:01 to 2017-10-02 09:17:01, 0.33 days span: OK
Free disk space low: remaining 269.1 G (threshold: 278.0 G)
ok
test_disk_space_nok_will_full_soon (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-02-14 09:09:04,413 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
2020-02-14 09:09:04,464 - slapos.grid.promise - ERROR - Disk will become full in 26.02 days (threshold: 30.00 days), checked from 2017-10-02 01:16:01 to 2017-10-02 09:17:01, 0.33 days span, free space dropped from 65.3% to 64.5%: ERROR
Free disk space low: remaining 269.1 G (threshold: 278.0 G)
ok
test_disk_space_ok (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-02-14 09:09:04,480 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
ok
test_disk_space_ok_will_full_soon (slapos.test.promise.plugin.test_check_free_disk_space.TestCheckFreeDiskSpace) ... 2020-02-14 09:09:04,547 - slapos.grid.promise - INFO - Checking promise check-free-disk-space.py...
2020-02-14 09:09:04,598 - slapos.grid.promise - ERROR - Disk will become full in 26.02 days (threshold: 30.00 days), checked from 2017-10-02 01:16:01 to 2017-10-02 09:17:01, 0.33 days span, free space dropped from 65.3% to 64.5%: ERROR
Disk usage: OK
ok
test_01_no_delay_no_error_threshold (slapos.test.promise.plugin.test_check_error_on_zope_longrequest_log.TestCheckErrorOnZopeLongrequestLog) ... 2020-02-14 09:09:04,603 - slapos.grid.promise - INFO - Checking promise check-error-on-zope_longrequest-log.py...
2020-02-14 09:09:04,654 - 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-02-14 09:09:04,659 - 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-02-14 09:09:04,715 - slapos.grid.promise - INFO - Checking promise check-error-on-zope_longrequest-log.py...
2020-02-14 09:09:04,765 - slapos.grid.promise - ERROR - ERROR: Site has 3 long request
ok
test_check_200 (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:04,958 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:04] "GET /200 HTTP/1.1" 200 -
ok
test_check_200_verify (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,013 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /200 HTTP/1.1" 200 -
ok
test_check_200_verify_fail (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,068 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-02-14 09:09:05,118 - slapos.grid.promise - ERROR - ERROR SSL verify failed while accessing 'https://10.0.89.71:57965/200'
ok
test_check_200_verify_own (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,122 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /200 HTTP/1.1" 200 -
ok
test_check_401 (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,177 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /401 HTTP/1.1" 401 -
2020-02-14 09:09:05,227 - slapos.grid.promise - ERROR - 'https://10.0.89.71: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-02-14 09:09:05,231 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /401 HTTP/1.1" 401 -
ok
test_check_401_ignore_code (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,285 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /401 HTTP/1.1" 401 -
ok
test_check_512_http_code (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,340 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
10.0.89.71 - - [14/Feb/2020 09:09:05] "GET /512 HTTP/1.1" 512 -
ok
test_check_url_bad (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,394 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-02-14 09:09:05,445 - slapos.grid.promise - ERROR - ERROR: Invalid URL u'https://': No host supplied
ok
test_check_url_malformed (slapos.test.promise.plugin.test_check_url_available.TestCheckUrlAvailable) ... 2020-02-14 09:09:05,449 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-02-14 09:09:05,500 - 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-02-14 09:09:05,504 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-02-14 09:09:05,554 - 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-02-14 09:09:06,056 - slapos.grid.promise - INFO - Checking promise check-url-available.py...
2020-02-14 09:09:06,562 - slapos.grid.promise - ERROR - Error: Promise timed out after 0.5 seconds
ok
test_error (slapos.test.promise.plugin.test_check_icmp_packet_lost.TestCheckICMPPacketLost) ... 2020-02-14 09:09:06,569 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:06,622 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:06,673 - 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-02-14 09:09:06,678 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:06,731 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:06,782 - 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-02-14 09:09:06,787 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:10,902 - 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-02-14 09:09:15,021 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:19,187 - 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-02-14 09:09:23,309 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:27,476 - 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-02-14 09:09:31,628 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:09:41,665 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
ok
test_monitor_bootstrap_fail (slapos.test.promise.plugin.test_monitor_bootstrap_status.TestPromiseMonitorBoostrap) ... 2020-02-14 09:09:51,711 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
2020-02-14 09:09:51,762 - 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-02-14 09:09:51,770 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
2020-02-14 09:09:51,821 - slapos.grid.promise - ERROR - Bootstrap didn't run!
ok
test_monitor_bootstrap_ok (slapos.test.promise.plugin.test_monitor_bootstrap_status.TestPromiseMonitorBoostrap) ... 2020-02-14 09:09:51,830 - slapos.grid.promise - INFO - Checking promise my-monitor-bootstrap.py...
ok
test_ipv4_is_faster (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-02-14 09:09:51,885 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:00,066 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:08,188 - slapos.grid.promise - ERROR - PING host=127.0.0.1 code=200, result=0.026, packet_lost_ratio=0 msg=min 0 max 0.032 avg 0.026
PING6 host=2001:67c:1254::1 code=200, result=1.389, packet_lost_ratio=0 msg=min 8 max 1.586 avg 1.389
FAIL 1.026 (latency4) > 1.389 (latence6)
ok
test_ipv4_unreacheable_and_ipv6_ok (slapos.test.promise.plugin.test_check_re6st_optimal_status.TestCheckRe6stOptimalStatus) ... 2020-02-14 09:10:08,198 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:12,362 - 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-02-14 09:10:16,529 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:20,693 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:24,756 - slapos.grid.promise - ERROR - PING host=127.0.0.1 code=200, result=0.024, packet_lost_ratio=0 msg=min 4 max 0.038 avg 0.024
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-02-14 09:10:24,763 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
2020-02-14 09:10:32,895 - slapos.grid.promise - INFO - Checking promise check-icmp-packet-lost.py...
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_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_complexCommand (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_raiseErro (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_simpleCommand (slapos.test.test_apachedex.TestApachedexCommand) ... ok
test_dnsbench_fail (slapos.test.test_networkbench.TestDNSBench)
Test dns failure resolution ... ok
test_dnsbench_ok (slapos.test.test_networkbench.TestDNSBench) ... 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/slappart9/srv/testnode/bvi/inst/test0-0/parts/slapos.toolbox/slapos/networkbench/http.py", line 16, in get_curl
curl.perform()
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

----------------------------------------------------------------------
Ran 199 tests in 173.679s

OK (skipped=3)