Luna-nightly-rpm-pipeline 886 failed

Luna nightly pipeline failed:

https://ci.theforeman.org/job/luna-nightly-rpm-pipeline/886/

foreman-pipeline-luna-rpm-nightly (failed) (remote job)

Looks like Ansible is failing on all platforms, but it doesn’t report exactly what’s going on:

1..3
ok 1 almalinux9 install: run 'uptime' via Ansible
ok 2 almalinux9 install: import a role
not ok 3 almalinux9 install: run a role
# (in test file fb-test-foreman-ansible.bats, line 43)
#   `hammer --output csv --no-headers config-report list --search "host=${HOSTNAME} origin=Ansible" | grep "${HOSTNAME}.*Ansible"' failed
# $ [fb-test-foreman-ansible.bats, line 9]
# $ HOSTNAME="$(hostname -f)"
# $ hostname -f
# $ export HOSTNAME
# $ ROLE_NAME=theforeman.batstest
# $ export ROLE_NAME
# $ "$@"
# $ hammer host ansible-roles assign --name "${HOSTNAME}" --ansible-roles "${ROLE_NAME}"
# $ grep 'Ansible roles were assigned to the host'
# Ansible roles were assigned to the host
# $ hammer host ansible-roles play --name "${HOSTNAME}"
# $ grep 'Ansible roles are being played.'
# Ansible roles are being played. Job ID: 6
# $ tWaitForTask Actions::RemoteExecution::RunHostsJob
# $$ [foreman_helper.bash, line 144]
# $$ local TASK_LABEL=$1
# $$ local next_wait_time=0
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $$ [[ $next_wait_time -eq 12 ]]
# $$ sleep $(( next_wait_time++ ))
# $$ [[ $(hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped" | wc -l) -ne 0 ]]
# $$ hammer --no-headers task list --search="label=${TASK_LABEL} state != stopped"
# $$ wc -l
# $ [fb-test-foreman-ansible.bats, line 43]
# $ hammer --output csv --no-headers config-report list --search "host=${HOSTNAME} origin=Ansible"
# $ grep "${HOSTNAME}.*Ansible"

Could this be related to the ansible-core upgrade?

cc @Odilhao

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.