Started by an SCM change
Obtained jenkins_tests/clubb_api_commitment_test/Jenkinsfile from git https://github.com/larson-group/clubb.git
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /home/jenkins/workspace/clubb_api_commitment_test
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
Cloning the remote Git repository
Cloning repository https://github.com/larson-group/clubb.git
> git init /home/jenkins/workspace/clubb_api_commitment_test # timeout=10
Fetching upstream changes from https://github.com/larson-group/clubb.git
> git --version # timeout=10
> git --version # 'git version 2.30.2'
using GIT_ASKPASS to set credentials A token based key used by Jenkins to preform Github actions, created 6/21/2021
> git fetch --tags --force --progress -- https://github.com/larson-group/clubb.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/larson-group/clubb.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 693a178ea4becdb7f4950d8406c89a4953bdbbcd (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 693a178ea4becdb7f4950d8406c89a4953bdbbcd # timeout=10
Commit message: "Needed to remove a print statement."
> git rev-list --no-walk 616669cf5f2194502e9ecbafb2d267635d439c32 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Run the API Commitment Script)
[Pipeline] sh
+ utilities/api_analysis/run_full_api_diagnostics.bash
Checking out CLUBB
Cloning into 'CLUBB'...
Checking out SAM
Cloning into 'SAM'...
Checking out WRF
Cloning into 'WRF'...
Checking out CAM
Cloning into 'CAM'...
Moving CLUBB_core
Removing .git Folders
find: ‘CLUBB/.git’: No such file or directory
find: ‘SAM/.git’: No such file or directory
find: ‘WRF/.git’: No such file or directory
find: ‘CAM/.git’: No such file or directory
Copying the SILHS API into the CLUBB API
Running the Usage Analyzer
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/usage_analyzer.py", line 414
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
Removing API from CLUBB_core
Removing API from SILHS
Removing G_Unit_Tests from CLUBB
Moving SILHS to CLUBB_core
Testing CLUBB_Standalone's API Commitment
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/api_commitment_test.py", line 109
print "An API error occurred in ", file, errorDictionary[file]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("An API error occurred in ", file, errorDictionary[file])?
Testing CLUBB_core's API Commitment
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/api_commitment_test.py", line 109
print "An API error occurred in ", file, errorDictionary[file]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("An API error occurred in ", file, errorDictionary[file])?
Testing SAM's API Commitment
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/api_commitment_test.py", line 109
print "An API error occurred in ", file, errorDictionary[file]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("An API error occurred in ", file, errorDictionary[file])?
Testing CAM's API Commitment
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/api_commitment_test.py", line 109
print "An API error occurred in ", file, errorDictionary[file]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("An API error occurred in ", file, errorDictionary[file])?
Testing WRF's API Commitment
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/api_commitment_test.py", line 109
print "An API error occurred in ", file, errorDictionary[file]
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("An API error occurred in ", file, errorDictionary[file])?
File "/home/jenkins/workspace/clubb_api_commitment_test/utilities/api_analysis/create_module_table.py", line 76
print datetime.datetime.now()
^
SyntaxError: invalid syntax
Removing Checkouts
Testing API Commitment
All host models passed.
Removing Dependencies
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Display Tables)
[Pipeline] sh
+ cat utilities/api_analysis/log/apiCommitmentTable.txt
[Pipeline] sh
+ cat utilities/api_analysis/log/usageAnalyzerTable.txt
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS