# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:6 Saturday 27 July 2024 13:32:21 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:12 Saturday 27 July 2024 13:32:23 +0000 (0:00:01.547) 0:00:01.560 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.024) 0:00:01.584 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.022) 0:00:01.607 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.018) 0:00:01.625 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.174) 0:00:01.800 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.046) 0:00:01.847 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.030) 0:00:01.877 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 13:32:23 +0000 (0:00:00.025) 0:00:01.903 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.430) 0:00:02.333 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.018) 0:00:02.352 ********* changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.194) 0:00:02.547 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.019) 0:00:02.566 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.031) 0:00:02.597 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.010) 0:00:02.608 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.117) 0:00:02.725 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.009) 0:00:02.735 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.188) 0:00:02.923 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.011) 0:00:02.935 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.016) 0:00:02.952 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.010) 0:00:02.962 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.010) 0:00:02.973 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ActiveEnterTimestampMonotonic": "1267211315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:32:15 UTC", "AssertTimestampMonotonic": "1267210204", "Backlog": "128", "Before": "tangd@0.service shutdown.target sockets.target multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ConditionTimestampMonotonic": "1267210202", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 13:32:15 UTC", "InactiveExitTimestampMonotonic": "1267211315", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys] ************************************************************* task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:17 Saturday 27 July 2024 13:32:24 +0000 (0:00:00.326) 0:00:03.299 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722087144.2204957, "ctime": 1722087144.2204957, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087144.2204957, "nlink": 1, "path": "/var/db/tang/hXJK6jYX-uQqN48QGsnWpIGSeJA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722087144.2154956, "ctime": 1722087144.2204957, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087144.2154956, "nlink": 1, "path": "/var/db/tang/4alBvB7YyQ5bSHm-4TXMPA2QfeI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Run with nbde_server_rotate_keys not set to check keys] ****************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:28 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.198) 0:00:03.498 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.013) 0:00:03.511 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.011) 0:00:03.523 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.011) 0:00:03.534 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.009) 0:00:03.544 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.009) 0:00:03.554 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.016) 0:00:03.570 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.014) 0:00:03.585 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.346) 0:00:03.931 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.009) 0:00:03.941 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.115) 0:00:04.057 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.014) 0:00:04.071 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.015) 0:00:04.087 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.010) 0:00:04.097 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.115) 0:00:04.213 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 13:32:25 +0000 (0:00:00.011) 0:00:04.224 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.121) 0:00:04.346 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.009) 0:00:04.356 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.010) 0:00:04.367 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.009) 0:00:04.377 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.009) 0:00:04.387 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ActiveEnterTimestampMonotonic": "1267211315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:32:15 UTC", "AssertTimestampMonotonic": "1267210204", "Backlog": "128", "Before": "tangd@0.service shutdown.target sockets.target multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ConditionTimestampMonotonic": "1267210202", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 13:32:15 UTC", "InactiveExitTimestampMonotonic": "1267211315", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:35 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.183) 0:00:04.570 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722087144.2204957, "ctime": 1722087144.2204957, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087144.2204957, "nlink": 1, "path": "/var/db/tang/hXJK6jYX-uQqN48QGsnWpIGSeJA.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722087144.2154956, "ctime": 1722087144.2204957, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087144.2154956, "nlink": 1, "path": "/var/db/tang/4alBvB7YyQ5bSHm-4TXMPA2QfeI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:46 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.113) 0:00:04.684 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run with nbde_server_rotate_keys set to check keys] ********************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:50 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.011) 0:00:04.696 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.013) 0:00:04.709 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.011) 0:00:04.721 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.011) 0:00:04.733 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.009) 0:00:04.742 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.015) 0:00:04.758 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.021) 0:00:04.779 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.016) 0:00:04.796 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.358) 0:00:05.155 ********* changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.127) 0:00:05.282 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.010) 0:00:05.293 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 27 July 2024 13:32:26 +0000 (0:00:00.010) 0:00:05.303 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.013) 0:00:05.316 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.009) 0:00:05.326 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.112) 0:00:05.439 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.011) 0:00:05.450 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.124) 0:00:05.575 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.011) 0:00:05.587 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.011) 0:00:05.598 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.010) 0:00:05.608 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.009) 0:00:05.618 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ActiveEnterTimestampMonotonic": "1267211315", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:32:15 UTC", "AssertTimestampMonotonic": "1267210204", "Backlog": "128", "Before": "tangd@0.service shutdown.target sockets.target multi-user.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 13:32:15 UTC", "ConditionTimestampMonotonic": "1267210202", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 13:32:15 UTC", "InactiveExitTimestampMonotonic": "1267211315", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:57 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.185) 0:00:05.804 ********* ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1722087146.9524946, "ctime": 1722087146.9584947, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087146.9524946, "nlink": 1, "path": "/var/db/tang/fgmBjuuybUMZzwGxuN1xjSYvuOs.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722087146.9574947, "ctime": 1722087146.9584947, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722087146.9574947, "nlink": 1, "path": "/var/db/tang/XtPDmL7ESmLo-gBF3mvORxCmYbY.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:68 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.115) 0:00:05.919 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:72 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.011) 0:00:05.931 ********* included: /WORKDIR/git-weekly-cida85k4ui/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tasks/cleanup.yml:2 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.014) 0:00:05.945 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cida85k4ui/tests/tasks/cleanup.yml:9 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.011) 0:00:05.957 ********* skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.004234", "end": "2024-07-27 13:32:27.833022", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-27 13:32:27.828788" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/fgmBjuuybUMZzwGxuN1xjSYvuOs.jwk /var/db/tang/XtPDmL7ESmLo-gBF3mvORxCmYbY.jwk /var/db/tang/. /var/db/tang/.. /var/db/tang/.4alBvB7YyQ5bSHm-4TXMPA2QfeI.jwk /var/db/tang/.hXJK6jYX-uQqN48QGsnWpIGSeJA.jwk rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/.’ rm: refusing to remove ‘.’ or ‘..’ directory: skipping ‘/var/db/tang/..’ + : changed: [sut] => (item={'path': '/var/cache/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.003967", "end": "2024-07-27 13:32:27.950767", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-27 13:32:27.946800" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=40 changed=3 unreachable=0 failed=0 skipped=29 rescued=0 ignored=0 Saturday 27 July 2024 13:32:27 +0000 (0:00:00.319) 0:00:06.276 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.55s /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:6 ------ linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.43s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.36s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.35s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.33s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.32s /WORKDIR/git-weekly-cida85k4ui/tests/tasks/cleanup.yml:9 ---------------------- Gather keys ------------------------------------------------------------- 0.20s /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:17 ----- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.19s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.19s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.19s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.18s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.17s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.13s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Gather keys after running with nbde_server_rotate_keys set -------------- 0.12s /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:57 ----- Gather keys after running with nbde_server_rotate_keys not set ---------- 0.11s /WORKDIR/git-weekly-cida85k4ui/tests/tests_nbde_server_rotate_keys.yml:35 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---