Processing '/var/lib/jenkins/jobs/foreman-nightly-test/builds/363/tap-master-files/debug/n9.dusty/tmp/debug/pipeline-foreman-nightly-centos7/root/bats_results/fb-test-puppet.bats.tap'
Parsing TAP test result [/var/lib/jenkins/jobs/foreman-nightly-test/builds/363/tap-master-files/debug/n9.dusty/tmp/debug/pipeline-foreman-nightly-centos7/root/bats_results/fb-test-puppet.bats.tap].
1..8
ok 1 check smart proxy is registered
ok 2 assert puppet version
ok 3 wake up puppet agent
ok 4 check host is registered
ok 5 install puppet module
ok 6 import ntp puppet class
not ok 7 assign puppet class to host
# (in test file fb-test-puppet.bats, line 72)
# `hammer host update $pc_ids $id --name $(hostname -f)' failed with status 65
# Could not update the host:
# Environment with id 1 doesn't exist or is not assigned to proper organization and/or location
ok 8 apply class with puppet agent
The most relevant suspect:
https://github.com/theforeman/foreman/commit/08e367ae9b54179cc09471bd4622caf778d7dac5
@tbrisker could you have a look?