If you run bkr job-logs immediately after a job has finished, the logs will still be stored locally on the lab controller and the URLs printed will be on there. But a few minutes later, beaker-transfer moves the files to the archive server and those URLs are now invalid. This is the same problem we had with JUnit XML output (bug 1291130) and results XML. bkr job-logs should print out the stable "bouncer" URLs for each log file, the same way we do in those other places.
On Gerrit: https://gerrit.beaker-project.org/#/c/5401/
This bug fix is included in beaker-server-24.0-0.git.204.bf63e0d which is currently available for download here: https://beaker-project.org/nightlies/develop/
Verify passed on https://beaker-devel.app.eng.bos.redhat.com Steps: 1. run command bkr job-logs when job in running status. [dowang@dowang-desktop ~]$ bkr job-logs J:11808 http://lab-devel-02.rhts.eng.bos.redhat.com/beaker/logs/recipes/17+/17506/console.log 2. run command after job complete for a few minutes. [dowang@dowang-desktop ~]$ bkr job-logs J:11808 http://lab-devel-02.rhts.eng.bos.redhat.com/beaker/logs/recipes/17+/17506/console.log Results: after job finished few minutes, logs will transfer to archive server. So, URL also change to archive server. Change status to verified.
Beaker 24.0 has been released.