Started by an SCM change
Obtained jenkins_tests/sam_clubb_silhs_gfortran_build/Jenkinsfile from git https://github.com/larson-group/sam_clubb.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /home/jenkins/workspace/sam_clubb_silhs_gfortran_build
[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/sam_clubb.git
> git init /home/jenkins/workspace/sam_clubb_silhs_gfortran_build # timeout=10
Fetching upstream changes from https://github.com/larson-group/sam_clubb.git
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
using GIT_ASKPASS to set credentials A token based key used by Jenkins to preform Github actions, created 6/21/2021
> git fetch --tags --progress https://github.com/larson-group/sam_clubb.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://github.com/larson-group/sam_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 7a15cabc2f682512b22888c558ad2467936c6bae (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 7a15cabc2f682512b22888c558ad2467936c6bae # timeout=10
Commit message: "Autoupdated CLUBB files from Clubb's src/CLUBB_core"
> git rev-list --no-walk 2bffc7d133f7d8bcf0e2566d49ab0011643930fd # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Edit Makefile)
[Pipeline] sh
+ sed -i 's/FFLAGS += -I.*/FFLAGS += -I${INC_MPI} -I${INC_NETCDF} -DCLUBB -DCLUBB_REAL_TYPE=8 -DNETCDF -DUWM_STATS -DUWM_MISC -DSILHS -DUWM_MICRO_CHANGES -DMICRO_RESTART/g' Makefile
+ vim Makefile '+%s/# {nightly gfortran} DO NOT REMOVE THIS LINE\n#ifeq ($(PLATFORM),Linux)\nifeq ($(PLATFORM),NOTNOT) # Change to line above to use/# {nightly gfortran} DO NOT REMOVE THIS LINE\rifeq ($(PLATFORM),Linux)\r#ifeq ($(PLATFORM),NOTNOT) # Change to line above to use/g' +wqall
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[m[m[0m[H[2J[24;1H"Makefile" 707L, 24368C
"Makefile" 707L, 24368C written
+ vim Makefile '+%s/# {nightly pgi} DO NOT REMOVE THIS LINE\nifeq ($(PLATFORM),Linux)\n#ifeq ($(PLATFORM),NOTNOT) # Change to line above to use/# {nightly pgi} DO NOT REMOVE THIS LINE\r#ifeq ($(PLATFORM),Linux)\rifeq ($(PLATFORM),NOTNOT) # Change to line above to use/g' +wqall
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal
[m[m[0m[H[2J[24;1H"Makefile" 707L, 24368C
"Makefile" 707L, 24368C written
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Edit Default Case)
[Pipeline] sh
+ sed -i 's/nstop.*/nstop = 6,/g' DYCOMS_RF02/prm
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Compile)
[Pipeline] sh
+ ./Build
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_2D ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_2D
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_2D
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_3D ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_3D
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_3D
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOMENTS ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOMENTS
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOMENTS
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_STAT ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_STAT
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_STAT
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOVIES ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOVIES
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOVIES
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/RESTART ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/RESTART
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/RESTART
if ! ( -d /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ ) mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ
mkdir /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ
if ! ( -d OUT_2D ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_2D OUT_2D
if ! ( -d OUT_3D ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_3D OUT_3D
if ! ( -d OUT_MOMENTS ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOMENTS OUT_MOMENTS
if ! ( -d OUT_STAT ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_STAT OUT_STAT
if ! ( -d OUT_MOVIES ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OUT_MOVIES OUT_MOVIES
if ! ( -d RESTART ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/RESTART RESTART
if ! ( -d OBJ ) ln -s /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ OBJ
cat
if ( -e /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ/MICRO_RAD_OPTIONS ) then
mv -f MICRO_RAD_OPTIONS.new /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ/MICRO_RAD_OPTIONS
cd /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/OBJ
if ( ! ( -e Filepath ) ) then
cat
endif
gmake -j4 -f /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/Makefile
cat: Srcfiles: No such file or directory
/home/jenkins/workspace/sam_clubb_silhs_gfortran_build/SRC/SCRIPT/mkSrcfiles > Srcfiles
/home/jenkins/workspace/sam_clubb_silhs_gfortran_build/SRC/SCRIPT/mkDepends Filepath Srcfiles > Depends
/usr/local/mpi/MPICH-3.3.1-gfortran/bin/mpif90 -g -fbounds-check -mieee-fp -finit-real=nan -finit-integer=-99999 -finit-logical=false -fall-intrinsics -fallow-argument-mismatch -fbacktrace -ffree-line-length-0 -fcheck=all -I/usr/local/mpi/MPICH-3.3.1-gfortran/include -I/usr/local/NETCDF-Fortran-4.4.5-gfortran/include -DCLUBB -DCLUBB_REAL_TYPE=8 -DNETCDF -DUWM_STATS -DUWM_MISC -DSILHS -DUWM_MICRO_CHANGES -DMICRO_RESTART -o /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/SAM_ADV_MPDATA_SGS_CLUBB_RAD_CAM_MICRO_M2005_UWM -L/usr/local/mpi/MPICH-3.3.1-gfortran/lib -L/usr/local/NETCDF-Fortran-4.4.5-gfortran/lib -lnetcdff
/opt/rh/devtoolset-10/root/usr/libexec/gcc/x86_64-redhat-linux/10/ld: /lib/../lib64/crt1.o: in function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
gmake: *** [/home/jenkins/workspace/sam_clubb_silhs_gfortran_build/Makefile:693: /home/jenkins/workspace/sam_clubb_silhs_gfortran_build/SAM_ADV_MPDATA_SGS_CLUBB_RAD_CAM_MICRO_M2005_UWM] Error 1
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Run SAM)
Stage "Run SAM" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ cat runsam.log
cat: runsam.log: No such file or directory
[Pipeline] echo
SAM did not create a log.
[Pipeline] sh
+ cp runsam.log /home/jenkins/test_logs/sam_clubb_silhs_gfortran_build/
cp: cannot stat ‘runsam.log’: No such file or directory
[Pipeline] }
[Pipeline] // script
Error when executing always post condition:
hudson.AbortException: script returned exit code 1
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:659)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:605)
at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:549)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[Pipeline] script
[Pipeline] {
[Pipeline] emailext
Sending email to: messnermet@uwm.edu
Not sent to the following valid addresses: messnermet@uwm.edu
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE