https://jenkins.onap.org/view/ci-management/job/ci-management-openstack-cron/
Occasional output due to build failures not parsing script output correctly?
---> Orphaned ports
12:05:22 + mapfile -t os_ports_ts
12:05:22 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at
12:05:22 ++ awk '-F ' '{print $1 " " $3}'
12:05:22 ++ grep -E DOWN
12:05:24 + '[' 1 -eq 0 ']'
12:05:24 ++ date -d '30 minutes ago' +%s
12:05:24 + cutoff=1661250924
12:05:24 + for port_ts in '"${os_ports_ts[@]}"'
12:05:24 + created_at_isots=None
12:05:24 + port_uuid=9a3c0385-a08d-4d6c-8546-fdde03b41d9e
12:05:24 + echo 'checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None'
12:05:24 checking port uuid: 9a3c0385-a08d-4d6c-8546-fdde03b41d9e with TS: None
12:05:24 ++ date -d None +%s
12:05:24 date: invalid date ‘None’
12:05:24 + created_at_uxts=
12:05:24 Build step 'Conditional step (single)' marked build as failure
This is passing because there are no orphaned ports:
---> Orphaned ports
11:05:04 + mapfile -t os_ports_ts
11:05:04 ++ openstack --os-cloud vex port list -f value -c ID -c status -c created_at
11:05:04 ++ grep -E DOWN
11:05:04 ++ awk '-F ' '{print $1 " " $3}'
11:05:06 + '[' 0 -eq 0 ']'
11:05:06 + echo 'No orphaned ports found.'
11:05:06 No orphaned ports found.
https://jenkins.onap.org/view/ci-management/job/ci-management-openstack-cron/
Occasional output due to build failures not parsing script output correctly?
This is passing because there are no orphaned ports: