Project

General

Profile

Bug #19351

Some CI phase log filename are trimmed

Added by Vito Di Benedetto almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/12/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Experiment:
-
Stakeholders:
Duration:

Description

Sometime in the CI dashboard the log filename is trimmed because a part of the filename has the same structure of the hash used by the CI to have unique log filenames.
An example is shown in the GlideinWMS CI dasboard where the first log is shown as
junit_test_text_branch_v3_2.txt
while the actual log file name is
junit_test_text_branch_v3_2_jenkins.txt,
the "_jenkins" part is trimmed out.

History

#1 Updated by Vito Di Benedetto almost 2 years ago

We don't have control on the hash appended to the file names in the CI DB.
To be able to get the proper log filename we can do the following:
assuming the log file name is new_test_logfile.log, to avoid that logfile is truncated,
the CI reporter script can append an extra "
_" to the file name that will become new_test_logfile_.log.
If a second copy of the log is uploaded in the same day, it will be renamed by the server as new_test_logfile__[a-zA-Z0-9]{7}.log.
To restore the original file name, it is needed to replace the "_." with "."
The test has been made in this CI view:

http://dbweb6.fnal.gov:8080/TestCI/app/ns:dune/build_detail/phase_details?build_id=dune_ci_test/75&platform=Linux%202.6.32-696.20.1.el6.x86_64&phase=build&buildtype=slf6%20e15:prof

#2 Updated by Vito Di Benedetto over 1 year ago

  • Target version set to v1_7_0_RC

#3 Updated by Vladimir Podstavkov over 1 year ago

  • Status changed from Assigned to Work in progress
  • % Done changed from 0 to 90
  • Estimated time set to 1.00 h

#4 Updated by Vladimir Podstavkov over 1 year ago

  • Status changed from Work in progress to Resolved
  • % Done changed from 90 to 100

#5 Updated by Vito Di Benedetto over 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF