2025-08-06 17:58:49.266399 | Job console starting 2025-08-06 17:58:49.292981 | Updating git repos 2025-08-06 17:58:49.347561 | Cloning repos into workspace 2025-08-06 17:58:49.448202 | Restoring repo states 2025-08-06 17:58:49.458612 | Merging changes 2025-08-06 17:58:49.952495 | Checking out repos 2025-08-06 17:58:50.025588 | Preparing playbooks 2025-08-06 17:58:50.687699 | Running Ansible setup 2025-08-06 17:58:55.179475 | PRE-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/pre.yaml@main] 2025-08-06 17:58:55.981513 | 2025-08-06 17:58:55.981686 | PLAY [Base pre] 2025-08-06 17:58:55.997825 | 2025-08-06 17:58:55.997962 | TASK [Setup log path fact] 2025-08-06 17:58:56.027705 | debian-bookworm | ok 2025-08-06 17:58:56.043208 | 2025-08-06 17:58:56.043366 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-08-06 17:58:56.073316 | debian-bookworm | ok 2025-08-06 17:58:56.083448 | 2025-08-06 17:58:56.083564 | TASK [emit-job-header : Print job information] 2025-08-06 17:58:56.133897 | # Job Information 2025-08-06 17:58:56.134100 | Ansible Version: 2.16.14 2025-08-06 17:58:56.134151 | Job: mypy 2025-08-06 17:58:56.134187 | Pipeline: check 2025-08-06 17:58:56.134210 | Executor: 521e9411259a 2025-08-06 17:58:56.134231 | Triggered by: https://github.com/osism/netbox-manager/pull/145 2025-08-06 17:58:56.134254 | Event ID: fc511300-72ee-11f0-8f3b-ee4c28b1a7b9 2025-08-06 17:58:56.139964 | 2025-08-06 17:58:56.140084 | LOOP [emit-job-header : Print node information] 2025-08-06 17:58:56.265039 | debian-bookworm | ok: 2025-08-06 17:58:56.265356 | debian-bookworm | # Node Information 2025-08-06 17:58:56.265396 | debian-bookworm | Inventory Hostname: debian-bookworm 2025-08-06 17:58:56.265420 | debian-bookworm | Hostname: debian 2025-08-06 17:58:56.265443 | debian-bookworm | Username: zuul 2025-08-06 17:58:56.265463 | debian-bookworm | Distro: Debian 12.11 2025-08-06 17:58:56.265486 | debian-bookworm | Provider: regiocloud-a 2025-08-06 17:58:56.265508 | debian-bookworm | Region: 2025-08-06 17:58:56.265529 | debian-bookworm | Label: debian-bookworm 2025-08-06 17:58:56.265549 | debian-bookworm | Product Name: OpenStack Nova 2025-08-06 17:58:56.265568 | debian-bookworm | Interface IP: 2a13:1a81:8000:3124:f816:3eff:fe08:e7a8 2025-08-06 17:58:56.289735 | 2025-08-06 17:58:56.289877 | TASK [log-inventory : Ensure Zuul Ansible directory exists] 2025-08-06 17:58:56.803794 | debian-bookworm -> localhost | changed 2025-08-06 17:58:56.811188 | 2025-08-06 17:58:56.811310 | TASK [log-inventory : Copy ansible inventory to logs dir] 2025-08-06 17:58:57.996481 | debian-bookworm -> localhost | changed 2025-08-06 17:58:58.007882 | 2025-08-06 17:58:58.008013 | TASK [add-build-sshkey : Check to see if ssh key was already created for this build] 2025-08-06 17:58:58.296467 | debian-bookworm -> localhost | ok 2025-08-06 17:58:58.304766 | 2025-08-06 17:58:58.304945 | TASK [add-build-sshkey : Create a new key in workspace based on build UUID] 2025-08-06 17:58:58.334760 | debian-bookworm | ok 2025-08-06 17:58:58.359860 | debian-bookworm | included: /var/lib/zuul/builds/7aaa9b840a584145a1d0b0d75de82dae/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/create-key-and-replace.yaml 2025-08-06 17:58:58.366325 | 2025-08-06 17:58:58.366445 | TASK [add-build-sshkey : Create Temp SSH key] 2025-08-06 17:58:59.692344 | debian-bookworm -> localhost | Generating public/private rsa key pair. 2025-08-06 17:58:59.692580 | debian-bookworm -> localhost | Your identification has been saved in /var/lib/zuul/builds/7aaa9b840a584145a1d0b0d75de82dae/work/7aaa9b840a584145a1d0b0d75de82dae_id_rsa 2025-08-06 17:58:59.692620 | debian-bookworm -> localhost | Your public key has been saved in /var/lib/zuul/builds/7aaa9b840a584145a1d0b0d75de82dae/work/7aaa9b840a584145a1d0b0d75de82dae_id_rsa.pub 2025-08-06 17:58:59.692647 | debian-bookworm -> localhost | The key fingerprint is: 2025-08-06 17:58:59.692673 | debian-bookworm -> localhost | SHA256:daucNisMTRL1/h6qjosFqQooyACguVP+iFWk6VphTn0 zuul-build-sshkey 2025-08-06 17:58:59.692696 | debian-bookworm -> localhost | The key's randomart image is: 2025-08-06 17:58:59.692731 | debian-bookworm -> localhost | +---[RSA 3072]----+ 2025-08-06 17:58:59.692753 | debian-bookworm -> localhost | |. . .. | 2025-08-06 17:58:59.692775 | debian-bookworm -> localhost | |o. = . . | 2025-08-06 17:58:59.692795 | debian-bookworm -> localhost | |+ B o E. o . | 2025-08-06 17:58:59.692815 | debian-bookworm -> localhost | |.O o o. .o . . | 2025-08-06 17:58:59.692834 | debian-bookworm -> localhost | |+ * o +S . . | 2025-08-06 17:58:59.692858 | debian-bookworm -> localhost | |=* + .. .. + | 2025-08-06 17:58:59.692879 | debian-bookworm -> localhost | |B.o . .o * o | 2025-08-06 17:58:59.692899 | debian-bookworm -> localhost | |o. o .o. = . | 2025-08-06 17:58:59.692919 | debian-bookworm -> localhost | |. . ooooo . | 2025-08-06 17:58:59.692939 | debian-bookworm -> localhost | +----[SHA256]-----+ 2025-08-06 17:58:59.692991 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.818562 2025-08-06 17:58:59.699666 | 2025-08-06 17:58:59.699778 | TASK [add-build-sshkey : Remote setup ssh keys (linux)] 2025-08-06 17:58:59.730096 | debian-bookworm | ok 2025-08-06 17:58:59.745741 | debian-bookworm | included: /var/lib/zuul/builds/7aaa9b840a584145a1d0b0d75de82dae/trusted/project_1/github.com/osism/openinfra-zuul-jobs/roles/add-build-sshkey/tasks/remote-linux.yaml 2025-08-06 17:58:59.756655 | 2025-08-06 17:58:59.756761 | TASK [add-build-sshkey : Remove previously added zuul-build-sshkey] 2025-08-06 17:58:59.781090 | debian-bookworm | skipping: Conditional result was False 2025-08-06 17:58:59.794430 | 2025-08-06 17:58:59.794587 | TASK [add-build-sshkey : Enable access via build key on all nodes] 2025-08-06 17:59:00.483331 | debian-bookworm | changed 2025-08-06 17:59:00.488825 | 2025-08-06 17:59:00.488941 | TASK [add-build-sshkey : Make sure user has a .ssh] 2025-08-06 17:59:00.750750 | debian-bookworm | ok 2025-08-06 17:59:00.756472 | 2025-08-06 17:59:00.756578 | TASK [add-build-sshkey : Install build private key as SSH key on all nodes] 2025-08-06 17:59:01.461503 | debian-bookworm | changed 2025-08-06 17:59:01.471983 | 2025-08-06 17:59:01.472134 | TASK [add-build-sshkey : Install build public key as SSH key on all nodes] 2025-08-06 17:59:02.151289 | debian-bookworm | changed 2025-08-06 17:59:02.157088 | 2025-08-06 17:59:02.157220 | TASK [add-build-sshkey : Remote setup ssh keys (windows)] 2025-08-06 17:59:02.181211 | debian-bookworm | skipping: Conditional result was False 2025-08-06 17:59:02.187710 | 2025-08-06 17:59:02.187827 | TASK [remove-zuul-sshkey : Remove master key from local agent] 2025-08-06 17:59:02.650418 | debian-bookworm -> localhost | changed 2025-08-06 17:59:02.662670 | 2025-08-06 17:59:02.662893 | TASK [add-build-sshkey : Add back temp key] 2025-08-06 17:59:03.002641 | debian-bookworm -> localhost | Identity added: /var/lib/zuul/builds/7aaa9b840a584145a1d0b0d75de82dae/work/7aaa9b840a584145a1d0b0d75de82dae_id_rsa (zuul-build-sshkey) 2025-08-06 17:59:03.003226 | debian-bookworm -> localhost | ok: Runtime: 0:00:00.011700 2025-08-06 17:59:03.024220 | 2025-08-06 17:59:03.024895 | TASK [add-build-sshkey : Verify we can still SSH to all nodes] 2025-08-06 17:59:03.450592 | debian-bookworm | ok 2025-08-06 17:59:03.455928 | 2025-08-06 17:59:03.456036 | TASK [add-build-sshkey : Verify we can still SSH to all nodes (windows)] 2025-08-06 17:59:03.499313 | debian-bookworm | skipping: Conditional result was False 2025-08-06 17:59:03.525591 | 2025-08-06 17:59:03.525733 | TASK [start-zuul-console : Start zuul_console daemon.] 2025-08-06 17:59:03.969540 | debian-bookworm | ok 2025-08-06 17:59:03.981202 | 2025-08-06 17:59:03.981356 | TASK [validate-host : Define zuul_info_dir fact] 2025-08-06 17:59:04.021611 | debian-bookworm | ok 2025-08-06 17:59:04.026985 | 2025-08-06 17:59:04.027108 | TASK [validate-host : Ensure Zuul Ansible directory exists] 2025-08-06 17:59:04.314011 | debian-bookworm -> localhost | ok 2025-08-06 17:59:04.320634 | 2025-08-06 17:59:04.320756 | TASK [validate-host : Collect information about the host] 2025-08-06 17:59:05.495713 | debian-bookworm | ok 2025-08-06 17:59:05.505986 | 2025-08-06 17:59:05.506103 | TASK [validate-host : Sanitize hostname] 2025-08-06 17:59:05.626903 | debian-bookworm | ok 2025-08-06 17:59:05.667851 | 2025-08-06 17:59:05.667992 | TASK [validate-host : Write out all ansible variables/facts known for each host] 2025-08-06 17:59:06.299548 | debian-bookworm -> localhost | changed 2025-08-06 17:59:06.305547 | 2025-08-06 17:59:06.305666 | TASK [validate-host : Collect information about zuul worker] 2025-08-06 17:59:06.724856 | debian-bookworm | ok 2025-08-06 17:59:06.733825 | 2025-08-06 17:59:06.733988 | TASK [validate-host : Write out all zuul information for each host] 2025-08-06 17:59:07.299616 | debian-bookworm -> localhost | changed 2025-08-06 17:59:07.309757 | 2025-08-06 17:59:07.309879 | TASK [prepare-workspace-log : Start zuul_console daemon.] 2025-08-06 17:59:07.583203 | debian-bookworm | ok 2025-08-06 17:59:07.589157 | 2025-08-06 17:59:07.589272 | TASK [prepare-workspace-log : Synchronize src repos to workspace directory.] 2025-08-06 17:59:08.517764 | debian-bookworm | changed: 2025-08-06 17:59:08.517932 | debian-bookworm | cd+++++++++ src/ 2025-08-06 17:59:08.517965 | debian-bookworm | cd+++++++++ src/github.com/ 2025-08-06 17:59:08.517990 | debian-bookworm | cd+++++++++ src/github.com/osism/ 2025-08-06 17:59:08.518013 | debian-bookworm | cd+++++++++ src/github.com/osism/netbox-manager/ 2025-08-06 17:59:08.518034 | debian-bookworm | netbox_manager/requirements.yml 2025-08-06 17:59:08.518300 | debian-bookworm | cL+++++++++ src/github.com/osism/netbox-manager/settings.toml.sample -> netbox_manager/settings.toml.sample 2025-08-06 17:59:08.518319 | debian-bookworm | cd+++++++++ src/github.com/osism/netbox-manager/.git/ 2025-08-06 17:59:08.518338 | debian-bookworm | =2 in /tmp/venv/lib/python3.11/site-packages (from types-requests) (2.5.0) 2025-08-06 17:59:51.453621 | debian-bookworm | Installing collected packages: types-requests, types-PyYAML 2025-08-06 17:59:51.489182 | debian-bookworm | Successfully installed types-PyYAML-6.0.12.20250516 types-requests-2.32.4.20250611 2025-08-06 17:59:54.142673 | debian-bookworm | netbox_manager/main.py:1001: error: Need type annotation for "tasks_by_type" [var-annotated] 2025-08-06 17:59:54.142745 | debian-bookworm | netbox_manager/main.py:1291: error: Need type annotation for "tasks_by_type" (hint: "tasks_by_type: dict[, ] = ...") [var-annotated] 2025-08-06 17:59:54.142769 | debian-bookworm | netbox_manager/main.py:1304: error: Incompatible default for argument "resources_dir" (default has type "None", argument has type "str") [assignment] 2025-08-06 17:59:54.142950 | debian-bookworm | netbox_manager/main.py:1304: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True 2025-08-06 17:59:54.142995 | debian-bookworm | netbox_manager/main.py:1304: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase 2025-08-06 17:59:54.143014 | debian-bookworm | netbox_manager/main.py:1336: error: Need type annotation for "tasks_by_type" [var-annotated] 2025-08-06 17:59:54.143030 | debian-bookworm | netbox_manager/main.py:1535: error: Need type annotation for "merged_tasks" (hint: "merged_tasks: dict[, ] = ...") [var-annotated] 2025-08-06 17:59:54.143069 | debian-bookworm | Installing missing stub packages: 2025-08-06 17:59:54.143076 | debian-bookworm | /tmp/venv/bin/python3 -m pip install types-PyYAML types-requests 2025-08-06 17:59:54.143081 | debian-bookworm | 2025-08-06 17:59:54.143086 | debian-bookworm | 2025-08-06 17:59:54.143091 | debian-bookworm | Found 5 errors in 1 file (checked 3 source files) 2025-08-06 17:59:54.269610 | debian-bookworm | ERROR 2025-08-06 17:59:54.269858 | debian-bookworm | { 2025-08-06 17:59:54.269902 | debian-bookworm | "delta": "0:00:10.637986", 2025-08-06 17:59:54.269931 | debian-bookworm | "end": "2025-08-06 17:59:54.156748", 2025-08-06 17:59:54.269956 | debian-bookworm | "msg": "non-zero return code", 2025-08-06 17:59:54.269979 | debian-bookworm | "rc": 1, 2025-08-06 17:59:54.270003 | debian-bookworm | "start": "2025-08-06 17:59:43.518762" 2025-08-06 17:59:54.270025 | debian-bookworm | } failure 2025-08-06 17:59:54.272464 | 2025-08-06 17:59:54.272556 | PLAY RECAP 2025-08-06 17:59:54.272623 | debian-bookworm | ok: 10 changed: 7 unreachable: 0 failed: 1 skipped: 12 rescued: 0 ignored: 0 2025-08-06 17:59:54.272655 | 2025-08-06 17:59:54.416315 | RUN END RESULT_NORMAL: [untrusted : github.com/osism/zuul-jobs/playbooks/mypy/run.yaml@main] 2025-08-06 17:59:54.417265 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-08-06 17:59:55.197012 | 2025-08-06 17:59:55.197185 | PLAY [Base post] 2025-08-06 17:59:55.210730 | 2025-08-06 17:59:55.210887 | TASK [remove-build-sshkey : Remove the build SSH key from all nodes] 2025-08-06 17:59:55.760449 | debian-bookworm | changed 2025-08-06 17:59:55.768110 | 2025-08-06 17:59:55.768241 | PLAY RECAP 2025-08-06 17:59:55.768310 | debian-bookworm | ok: 1 changed: 1 unreachable: 0 failed: 0 skipped: 0 rescued: 0 ignored: 0 2025-08-06 17:59:55.768380 | 2025-08-06 17:59:55.881613 | POST-RUN END RESULT_NORMAL: [trusted : github.com/osism/zuul-config/playbooks/base/post.yaml@main] 2025-08-06 17:59:55.882479 | POST-RUN START: [trusted : github.com/osism/zuul-config/playbooks/base/post-logs.yaml@main] 2025-08-06 17:59:56.677424 | 2025-08-06 17:59:56.677587 | PLAY [Base post-logs] 2025-08-06 17:59:56.688111 | 2025-08-06 17:59:56.688287 | TASK [generate-zuul-manifest : Generate Zuul manifest] 2025-08-06 17:59:57.140421 | localhost | changed 2025-08-06 17:59:57.150446 | 2025-08-06 17:59:57.150605 | TASK [generate-zuul-manifest : Return Zuul manifest URL to Zuul] 2025-08-06 17:59:57.176707 | localhost | ok 2025-08-06 17:59:57.179810 | 2025-08-06 17:59:57.179913 | TASK [Set zuul-log-path fact] 2025-08-06 17:59:57.195560 | localhost | ok 2025-08-06 17:59:57.203516 | 2025-08-06 17:59:57.203629 | TASK [set-zuul-log-path-fact : Set log path for a build] 2025-08-06 17:59:57.239548 | localhost | ok 2025-08-06 17:59:57.243618 | 2025-08-06 17:59:57.243746 | TASK [upload-logs : Create log directories] 2025-08-06 17:59:57.735820 | localhost | changed 2025-08-06 17:59:57.738761 | 2025-08-06 17:59:57.738905 | TASK [upload-logs : Ensure logs are readable before uploading] 2025-08-06 17:59:58.250680 | localhost -> localhost | ok: Runtime: 0:00:00.007305 2025-08-06 17:59:58.254822 | 2025-08-06 17:59:58.254972 | TASK [upload-logs : Upload logs to log server] 2025-08-06 17:59:58.817695 | localhost | Output suppressed because no_log was given 2025-08-06 17:59:58.819829 | 2025-08-06 17:59:58.819945 | LOOP [upload-logs : Compress console log and json output] 2025-08-06 17:59:58.875069 | localhost | skipping: Conditional result was False 2025-08-06 17:59:58.879820 | localhost | skipping: Conditional result was False 2025-08-06 17:59:58.888467 | 2025-08-06 17:59:58.888571 | LOOP [upload-logs : Upload compressed console log and json output] 2025-08-06 17:59:58.950796 | localhost | skipping: Conditional result was False 2025-08-06 17:59:58.951556 | 2025-08-06 17:59:58.954806 | localhost | skipping: Conditional result was False 2025-08-06 17:59:58.967929 | 2025-08-06 17:59:58.968109 | LOOP [upload-logs : Upload console log and json output]