Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-2713

job-cost.sh script fails in O-RAN Jenkins build jobs

Issue XMLXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • Q1 2020 Tech Debt
    • None
    • None
    • None

      The cost script is failing, but happily it's after the build finishes so it's not breaking our builds. You might like to repair. I noticed it here:

      https://jenkins.o-ran-sc.org/job/ci-management-jjb-verify/426/console

      The error I spotted:

      17:10:49 ---> job-cost.sh
      17:10:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-T0L9
      17:10:54 Cache entry deserialization failed, entry ignored
      17:11:02 lf-activate-venv(): INFO: Installing: python-openstackclient 
      
      17:11:37 lf-activate-venv(): INFO: Adding /tmp/venv-T0L9/bin to PATH
      17:11:37 INFO: No Stack...
      
      17:11:38 INFO: Retrieving Pricing Info for: v2-highcpu-1
      
      17:11:39 jq - commandline JSON processor [version 1.5]
      17:11:39 Usage: jq [options] <jq filter> [file...]
      17:11:39 
      17:11:39 	jq is a tool for processing JSON inputs, applying the
      17:11:39 	given filter to its JSON text inputs and producing the
      17:11:39 	filter's results as JSON on standard output.
      17:11:39 	The simplest filter is ., which is the identity filter,
      17:11:39 	copying jq's input to its output unmodified (except for
      17:11:39 	formatting).
      17:11:39 	For more advanced filters see the jq(1) manpage ("man jq")
      17:11:39 	and/or https://stedolan.github.io/jq
      17:11:39 
      17:11:39 	Some of the options include:
      17:11:39 	 -c		compact instead of pretty-printed output;
      17:11:39 	 -n		use `null` as the single input value;
      17:11:39 	 -e		set the exit status code based on the output;
      17:11:39 	 -s		read (slurp) all inputs into an array; apply filter to it;
      17:11:39 	 -r		output raw strings, not JSON texts;
      17:11:39 	 -R		read raw strings, not JSON texts;
      17:11:39 	 -C		colorize JSON;
      17:11:39 	 -M		monochrome (don't colorize JSON);
      17:11:39 	 -S		sort keys of objects on output;
      17:11:39 	 --tab	use tabs for indentation;
      17:11:39 	 --arg a v	set variable $a to value <v>;
      17:11:39 	 --argjson a v	set variable $a to JSON value <v>;
      17:11:39 	 --slurpfile a f	set variable $a to an array of JSON texts read from <f>;
      17:11:39 	See the manpage for more options.
      17:11:39 ERROR: Pricing API returned invalid json
      17:11:39 INFO: Archiving Costs
      

              Unassigned Unassigned
              cl778h Chris Lott
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: