SatelliteQE / robottelo-ci

Jenkins jobs configuration files to be used to run Robottelo against Satellite 6.
GNU General Public License v3.0
14 stars 45 forks source link

Regression : SAT_HOST is exported before RHEV_SAT_HOST #1495

Open ntkathole opened 5 years ago

ntkathole commented 5 years ago

https://github.com/SatelliteQE/robottelo-ci/blob/8e5c899a9b467ab7549f713694272e1040cd1325/scripts/satellite6_upgrader.sh#L26

Another regression from PR #1442 . We are trying to export SAT_HOST before we have value exported of RHEV_SAT_HOST. This causes value of SAT_HOST to None and later fab tasks gets failed.

See satellite6-upgrader job 1178.

san7ket commented 5 years ago

Is this still Valid

ntkathole commented 5 years ago

Yes it is valid

san7ket commented 5 years ago

Is @jyejare going to work on this ?

jyejare commented 5 years ago

Will fix it today , Thanks guys for bringing it up

jyejare commented 5 years ago

I am really amazed to see that while executing, it sourced compute resources conf file but not the upgrade conf file below that:

https://github.com/SatelliteQE/robottelo-ci/blob/8e5c899a9b467ab7549f713694272e1040cd1325/scripts/satellite6_upgrader.sh#L21

jyejare commented 5 years ago

I dont know how, but somehow: In Preupgrade - setupPrerequisites: source config/sat6_upgrade.conf isnt happening / delaying. and InUpgrade - setupPrerequisites: source config/compute_resources.conf isnt happening / delaying.

Jenkins issue maybe. We can try adding sleep for some seconds.

san7ket commented 5 years ago

Don't think it's a issue with jenkins since it doesn't happen any where else

jyejare commented 5 years ago

I tried sourcing through the Jenkins system later, it sourced as expected.

Dont know what's wrong with it while running job.