MidnightBSD Magus

devel/py-buildbot-worker

Buildbot Worker Daemon

Flavor Version Run OSVersion Arch License Restricted Status
py39 2.7.0 521 3.0 amd64 gpl2 0 fail

Events

Machine Type Time Message
m3064b info 2023-03-20 07:33:04.892504 Test Started
m3064b fail 2023-03-20 07:33:14.506704 make test returned non-zero: 1
m3064b fail 2023-03-20 07:33:14.565562 Test complete.

Log

===>  Testing for py39-buildbot-worker-2.7.0
===>   py39-buildbot-worker-2.7.0 depends on package: py39-mock>0 - not found
===>  Installing /magus/packages/All/py39-mock-3.0.5.mport
===>   py39-mock-3.0.5 depends on package: py39-six>=0 - found
===>   py39-mock-3.0.5 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-mock-3.0.5 depends on file: /usr/local/bin/python3.9 - found
Installing py39-mock-3.0.5
/usr/local/share/licenses/py39-mock-3.0.5/catalog.mk
/usr/local/share/licenses/py39-mock-3.0.5/LICENSE
/usr/local/share/licenses/py39-mock-3.0.5/bsd2
/usr/local/lib/python3.9/site-packages/mock-3.0.5-py3.9.egg-info/PKG-INFO
/usr/local/lib/python3.9/site-packages/mock-3.0.5-py3.9.egg-info/SOURCES.txt
/usr/local/lib/python3.9/site-packages/mock-3.0.5-py3.9.egg-info/dependency_links.txt
/usr/local/lib/python3.9/site-packages/mock-3.0.5-py3.9.egg-info/requires.txt
/usr/local/lib/python3.9/site-packages/mock-3.0.5-py3.9.egg-info/top_level.txt
/usr/local/lib/python3.9/site-packages/mock/__init__.py
/usr/local/lib/python3.9/site-packages/mock/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/local/lib/python3.9/site-packages/mock/__pycache__/__init__.cpython-39.pyc
/usr/local/lib/python3.9/site-packages/mock/__pycache__/mock.cpython-39.opt-1.pyc
/usr/local/lib/python3.9/site-packages/mock/__pycache__/mock.cpython-39.pyc
/usr/local/lib/python3.9/site-packages/mock/mock.py

===>  Done.
===>   py39-buildbot-worker-2.7.0 depends on package: py39-mock>0 - found
===>   Returning to build of py39-buildbot-worker-2.7.0
===>   py39-buildbot-worker-2.7.0 depends on file: /usr/local/bin/python3.9 - found
/bin/mkdir -p /magus/work/usr/mports/devel/py-buildbot-worker/work-py39/tmp
cd /magus/work/usr/mports/devel/py-buildbot-worker/work-py39/tmp && PYTHONPATH=/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0 /usr/local/bin/python3.9 -m twisted.trial buildbot_worker.test
buildbot_worker.test.test_util_hangcheck
  EndToEndHangCheckTests
    test_http ...                                                          [OK]
  HangCheckTests
    test_calls_callback ...                                                [OK]
    test_data_and_disconnect ...                                           [OK]
    test_data_cancels_timeout ...                                          [OK]
    test_disconnect_cancels_timeout ...                                    [OK]
    test_disconnect_forwarded ...                                          [OK]
    test_disconnects ...                                                   [OK]
    test_forwards_data ...                                                 [OK]
    test_transport ...                                                     [OK]
buildbot_worker.test.unit.test_bot
  TestBot
    test_getCommands ...                                                   [OK]
    test_getVersion ...                                                    [OK]
    test_getWorkerInfo ...                                                 [OK]
    test_getWorkerInfo_nodir ...                                           [OK]
    test_setBuilderList_empty ...                                          [OK]
    test_setBuilderList_single ...                                         [OK]
    test_setBuilderList_updates ...                                        [OK]
    test_shutdown ...                                                      [OK]
  TestBotFactory
    test_timers ...                                                        [OK]
    test_timers_exception ...                                              [OK]
  TestWorkerForBuilder
    test_print ...                                                         [OK]
    test_printWithCommand ...                                              [OK]
    test_setMaster ...                                                     [OK]
    test_startBuild ...                                                    [OK]
    test_startCommand ...                                                  [OK]
    test_startCommand_failure ...                                          [OK]
    test_startCommand_interruptCommand ...                                 [OK]
    test_startCommand_invalid_command ...                                  [OK]
    test_startCommand_missing_args ...                                     [OK]
buildbot_worker.test.unit.test_bot_Worker
  TestWorker
    test_constructor_083_tac ...                                           [OK]
    test_constructor_091_tac ...                                           [OK]
    test_constructor_full ...                                              [OK]
    test_constructor_invalid_both_styles ...                               [OK]
    test_constructor_invalid_both_styles_partial ...                       [OK]
    test_constructor_invalid_both_styles_partial2 ...                      [OK]
    test_constructor_minimal ...                                           [OK]
    test_recordHostname_getfqdn ...                                        [OK]
    test_recordHostname_uname ...                                          [OK]
    test_worker_graceful_shutdown ...                                      [OK]
    test_worker_print ...                                                  [OK]
    test_worker_shutdown ...                                               [OK]
buildbot_worker.test.unit.test_commands_base
  TestDummyCommand
    test_required_args ...                                                 [OK]
    test_run ...                                                           [OK]
    test_run_failure ...                                                   [OK]
    test_run_interrupt ...                                                 [OK]
buildbot_worker.test.unit.test_commands_fs
  TestCopyDirectory
    test_simple ...                                                        [OK]
    test_simple_exception ...                                              [OK]
  TestGlobPath
    test_directory ...                                                     [OK]
    test_file ...                                                          [OK]
    test_non_existent ...                                                  [OK]
    test_recursive ...                                                     [OK]
  TestListDir
    test_dir ...                                                           [OK]
    test_non_existent ...                                                  [OK]
  TestMakeDirectory
    test_already_exists ...                                                [OK]
    test_existing_file ...                                                 [OK]
    test_simple ...                                                        [OK]
  TestRemoveDirectory
    test_multiple_dirs ...                                                 [OK]
    test_simple ...                                                        [OK]
    test_simple_exception ...                                              [OK]
  TestRemoveFile
    test_simple ...                                                        [OK]
    test_simple_exception ...                                              [OK]
  TestStatFile
    test_directory ...                                                     [OK]
    test_file ...                                                          [OK]
    test_file_workdir ...                                                  [OK]
    test_non_existent ...                                                  [OK]
buildbot_worker.test.unit.test_commands_registry
  Registry
    test_all_commands_exist ...                                            [OK]
    test_getAllCommandNames ...                                            [OK]
    test_getFactory ...                                                    [OK]
    test_getFactory_KeyError ...                                           [OK]
buildbot_worker.test.unit.test_commands_shell
  TestWorkerShellCommand
    test_simple ...                                                        [OK]
buildbot_worker.test.unit.test_commands_transfer
  TestDownloadFile
    test_failure ...                                                       [OK]
    test_interrupted ...                                                   [OK]
    test_mkdir ...                                                         [OK]
    test_simple ...                                                        [OK]
    test_truncated ...                                                     [OK]
  TestUploadFile
    test_interrupted ...                                                   [OK]
    test_missing ...                                                       [OK]
    test_out_of_space ...                                                  [OK]
    test_simple ...                                                        [OK]
    test_timestamp ...                                                     [OK]
    test_truncated ...                                                     [OK]
  TestWorkerDirectoryUpload
    test_out_of_space_unpack ...                                           [OK]
    test_simple ...                                                        [OK]
    test_simple_bz2 ...                                                    [OK]
    test_simple_gz ...                                                     [OK]
buildbot_worker.test.unit.test_commands_utils
  GetCommand
    test_getCommand_empty ...                                              [OK]
    test_getCommand_multi ...                                              [OK]
    test_getCommand_multi_exe ...                                          [OK]
    test_getCommand_single ...                                             [OK]
    test_getCommand_single_exe ...                                         [OK]
  RmdirRecursive
    test_rmdirRecursive_easy ...                                           [OK]
    test_rmdirRecursive_symlink ...                                        [OK]
buildbot_worker.test.unit.test_runprocess
  TestLogFileWatcher
    test_invalid_utf8 ...                                                  [OK]
    test_statFile_exists ...                                               [OK]
    test_statFile_missing ...                                              [OK]
  TestLogging
    testSendBuffered ...                                                   [OK]
    testSendBufferedInterleaved ...                                        [OK]
    testSendChunked ...                                                    [OK]
    testSendLog ...                                                        [OK]
    testSendNotimeout ...                                                  [OK]
    testSendStatus ...                                                     [OK]
  TestPOSIXKilling
    test_double_fork_no_usePTY ...                                         [OK]
    test_double_fork_no_usePTY_no_pgroup ...                               [OK]
    test_double_fork_usePTY ...                                         [ERROR]
                                        [ERROR]
                                        [ERROR]
    test_pgroup_no_usePTY ...                                              [OK]
    test_pgroup_no_usePTY_no_pgroup ...                                    [OK]
    test_pgroup_usePTY ...                                              [ERROR]
                                             [ERROR]
                                             [ERROR]
    test_sigterm ...                                                       [OK]
    test_simple ...                                                        [OK]
    test_simple_interruptSignal ...                                        [OK]
  TestRunProcess
    testCommandEncoding ...                                                [OK]
    testCommandEncodingList ...                                            [OK]
    testCommandEncodingObfuscated ...                                      [OK]
    testCommandMaxTime ...                                                 [OK]
    testCommandTimeout ...                                                 [OK]
    testEnvironArray ...                                                   [OK]
    testEnvironExpandVar ...                                               [OK]
    testEnvironInt ...                                                     [OK]
    testEnvironPythonPath ...                                              [OK]
    testInitialStdinUnicode ...                                            [OK]
    testInvalidUTF8 ...                                                    [OK]
    testKeepStderr ...                                                     [OK]
    testKeepStdout ...                                                     [OK]
    testLogEnviron ...                                                     [OK]
    testMultiWordStringCommand ...                                         [OK]
    testMultiWordStringCommandQuotes ...                                   [OK]
    testNoLogEnviron ...                                                   [OK]
    testNoStderr ...                                                       [OK]
    testNoStdout ...                                                       [OK]
    testObfuscatedCommand ...                                              [OK]
    testPipeString ...                                                [SKIPPED]
    testStart ...                                                          [OK]
    testStderr ...                                                         [OK]
    testStringCommand ...                                                  [OK]
    testTrickyArguments ...                                                [OK]
    testUnsetEnvironVar ...                                                [OK]
    test_incrementalDecoder ...                                            [OK]
    test_spawnAsBatchCommandList ...                                       [OK]
    test_spawnAsBatchCommandListWithNonAscii ...                           [OK]
    test_spawnAsBatchCommandString ...                                     [OK]
    test_spawnAsBatchCommandWithNonAscii ...                               [OK]
    test_startCommand_exception ...                                        [OK]
    test_stdin_closed ...                                                  [OK]
buildbot_worker.test.unit.test_scripts_base
  TestIsWorkerDir
    test_open_error ...                                                    [OK]
    test_read_error ...                                                    [OK]
    test_unexpected_tac_contents ...                                       [OK]
    test_workerdir_good ...                                                [OK]
buildbot_worker.test.unit.test_scripts_create_worker
  TestCreateWorker
    testBackslashInBasedir ...                                             [OK]
    testCreateError ...                                                    [OK]
    testDefaultTACContents ...                                             [OK]
    testDeleteLeftoverDirs ...                                             [OK]
    testDoubleQuotesInBasedir ...                                          [OK]
    testMinArgs ...                                                        [OK]
    testNoLogRotate ...                                                    [OK]
    testQuiet ...                                                          [OK]
    testQuotesInBasedir ...                                                [OK]
    testSpecialCharactersInOptions ...                                     [OK]
    testUseTLS ...                                                         [OK]
    testWithOpts ...                                                       [OK]
  TestMakeBaseDir
    testBasedirCreated ...                                                 [OK]
    testBasedirCreatedQuiet ...                                            [OK]
    testBasedirExists ...                                                  [OK]
    testBasedirExistsQuiet ...                                             [OK]
    testMkdirError ...                                                     [OK]
  TestMakeBuildbotTac
    testDiffTacFile ...                                                    [OK]
    testDiffTacFileQuiet ...                                               [OK]
    testNoTacFile ...                                                      [OK]
    testTacFileCorrect ...                                                 [OK]
    testTacFileCorrectQuiet ...                                            [OK]
    testTacOpenError ...                                                   [OK]
    testTacReadError ...                                                   [OK]
    testTacWriteError ...                                                  [OK]
  TestMakeInfoFiles
    testCreatedSuccessfully ...                                            [OK]
    testCreatedSuccessfullyQuiet ...                                       [OK]
    testInfoDirExists ...                                                  [OK]
    testMkdirError ...                                                     [OK]
    testMkdirErrorQuiet ...                                                [OK]
    testOpenError ...                                                      [OK]
    testOpenErrorQuiet ...                                                 [OK]
    testWriteError ...                                                     [OK]
    testWriteErrorQuiet ...                                                [OK]
buildbot_worker.test.unit.test_scripts_restart
  TestRestart
    test_bad_basedir ...                                                   [OK]
    test_no_worker_running ...                                             [OK]
    test_restart ...                                                       [OK]
buildbot_worker.test.unit.test_scripts_runner
  TestCreateWorkerOptions
    test_all_args ...                                                      [OK]
    test_defaults ...                                                      [OK]
    test_inv_allow_shutdown ...                                            [OK]
    test_inv_keepalive ...                                                 [OK]
    test_inv_log_count ...                                                 [OK]
    test_inv_log_size ...                                                  [OK]
    test_inv_maxdelay ...                                                  [OK]
    test_inv_numcpus ...                                                   [OK]
    test_inv_umask ...                                                     [OK]
    test_master_url ...                                                    [OK]
    test_min_args ...                                                      [OK]
    test_synopsis ...                                                      [OK]
    test_too_few_args ...                                                  [OK]
    test_too_many_args ...                                                 [OK]
    test_validateMasterArgument_empty_master ...                           [OK]
    test_validateMasterArgument_inv_port ...                               [OK]
    test_validateMasterArgument_ipv4 ...                                   [OK]
    test_validateMasterArgument_ipv4_port ...                              [OK]
    test_validateMasterArgument_ipv6 ...                                   [OK]
    test_validateMasterArgument_ipv6_no_bracket ...                        [OK]
    test_validateMasterArgument_ipv6_port ...                              [OK]
    test_validateMasterArgument_no_port ...                                [OK]
    test_validateMasterArgument_ok ...                                     [OK]
  TestMakerBase
    test_basedir_arg ...                                                   [OK]
    test_defaults ...                                                      [OK]
    test_too_many_args ...                                                 [OK]
  TestOptions
    test_defaults ...                                                      [OK]
    test_verbose ...                                                       [OK]
    test_version ...                                                       [OK]
  TestRestartOptions
    test_all_args ...                                                      [OK]
    test_basedir_arg ...                                                   [OK]
    test_defaults ...                                                      [OK]
    test_synopsis ...                                                      [OK]
    test_too_many_args ...                                                 [OK]
  TestRun
    test_run_bad_noargs ...                                                [OK]
    test_run_bad_suboption ...                                             [OK]
    test_run_good ...                                                      [OK]
  TestStartOptions
    test_all_args ...                                                      [OK]
    test_basedir_arg ...                                                   [OK]
    test_defaults ...                                                      [OK]
    test_synopsis ...                                                      [OK]
    test_too_many_args ...                                                 [OK]
  TestStopOptions
    test_basedir_arg ...                                                   [OK]
    test_defaults ...                                                      [OK]
    test_synopsis ...                                                      [OK]
    test_too_many_args ...                                                 [OK]
buildbot_worker.test.unit.test_scripts_start
  TestStartCommand
    test_start_command_bad_basedir ...                                     [OK]
    test_start_command_good ...                                            [OK]
buildbot_worker.test.unit.test_scripts_stop
  TestStop
    test_bad_basedir ...                                                   [OK]
    test_failed_stop ...                                                   [OK]
    test_no_worker_running ...                                             [OK]
    test_successful_stop ...                                               [OK]
  TestStopWorker
    test_no_pid_file ...                                                   [OK]
    test_stop_timeout ...                                                  [OK]
    test_successful_stop ...                                               [OK]
buildbot_worker.test.unit.test_util
  TestObfuscated
    testObfuscatedCommand ...                                              [OK]
    testObfuscatedNonList ...                                              [OK]
    testObfuscatedNonString ...                                            [OK]
    testSimple ...                                                         [OK]
  TestRewrap
    test_main ...                                                          [OK]
  remove_userpassword
    test_another_url_with_no_user_and_password ...                         [OK]
    test_another_url_with_user_and_password ...                            [OK]
    test_file_path ...                                                     [OK]
    test_file_path_with_at_sign ...                                        [OK]
    test_url_with_no_user_and_password ...                                 [OK]
    test_url_with_user_and_password ...                                    [OK]
    test_win32file_path ...                                                [OK]
    test_with_different_protocol_with_user_and_password ...                [OK]
    test_with_different_protocol_without_user_and_password ...             [OK]

===============================================================================
[SKIPPED]
not a win32 platform

buildbot_worker.test.unit.test_runprocess.TestRunProcess.testPipeString
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0/buildbot_worker/test/unit/test_runprocess.py", line 762, in do_test_double_fork
    yield defer.gatherResults([pidfiles_d, runproc_d])
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback (failure with no frames): : -1
]]

buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_double_fork_usePTY
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
.poll()>
.poll()>

buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_double_fork_usePTY
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0/buildbot_worker/runprocess.py", line 453, in start
    self._startCommand()
  File "/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0/buildbot_worker/runprocess.py", line 575, in _startCommand
    self.process = self._spawnProcess(
  File "/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0/buildbot_worker/runprocess.py", line 611, in _spawnProcess
    return reactor.spawnProcess(processProtocol, executable, args, env,
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/posixbase.py", line 336, in spawnProcess
    return process.PTYProcess(self, executable, args, env, path,
  File "/usr/local/lib/python3.9/site-packages/twisted/internet/process.py", line 985, in __init__
    masterfd, slavefd = pty.openpty()
  File "/usr/local/lib/python3.9/pty.py", line 30, in openpty
    master_fd, slave_name = _open_terminal()
  File "/usr/local/lib/python3.9/pty.py", line 60, in _open_terminal
    raise OSError('out of pty devices')
builtins.OSError: out of pty devices

buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_double_fork_usePTY
buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_pgroup_usePTY
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/magus/work/usr/mports/devel/py-buildbot-worker/work-py39/buildbot-worker-2.7.0/buildbot_worker/test/unit/test_runprocess.py", line 708, in do_test_pgroup
    yield defer.gatherResults([pidfiles_d, runproc_d])
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback (failure with no frames): : -1
]]

buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_pgroup_usePTY
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
.poll()>
.poll()>

buildbot_worker.test.unit.test_runprocess.TestPOSIXKilling.test_pgroup_usePTY
-------------------------------------------------------------------------------
Ran 252 tests in 1.243s

FAILED (skips=1, errors=6, successes=249)
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/py-buildbot-worker