Pull request #331 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from e91f65d62d30d7dd96d49d813917dfa5b280acdf+603e15a22e98ad0ffc0e9ce671b1afa02ea84060 (f7652eee4dd60b6b90fa734c92cc961bb0ac3598) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-c DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29744 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit e91f65d62d30d7dd96d49d813917dfa5b280acdf Merge succeeded, producing e91f65d62d30d7dd96d49d813917dfa5b280acdf Checking out Revision e91f65d62d30d7dd96d49d813917dfa5b280acdf (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f e91f65d62d30d7dd96d49d813917dfa5b280acdf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e91f65d62d30d7dd96d49d813917dfa5b280acdf # timeout=10 Commit message: "feat: create new devices from json/toml files in configured directory fix: update AutoEvent marshaling for v2 fix: null-terminate incoming http data docs: update metrics documentation for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:21:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk faf7e9b42be0248c17063f68c1f9b8916e20c11f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:21:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:21:48 ========================================================= 22:21:48 EdgeX Global Pipelines Version Info 22:21:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:21:50 ------------------- 22:21:50 stable info: 22:21:50 ------------------- 22:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:21:50 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 22:21:50 Message: update stable to v1.0.184 22:21:51 ------------------- 22:21:51 experimental info: 22:21:51 ------------------- 22:21:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:21:51 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 22:21:51 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 22:21:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-c [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:21:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e91f65d62d30d7dd96d49d813917dfa5b280acdf [Pipeline] echo 22:21:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e91f65d [Pipeline] echo 22:21:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:21:54 provisioning config files... 22:21:54 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config3114826135629276484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:54 ---> docker-login.sh 22:21:54 nexus3.edgexfoundry.org:10001 22:21:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:55 Configure a credential helper to remove this warning. See 22:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:55 22:21:55 Login Succeeded 22:21:55 nexus3.edgexfoundry.org:10002 22:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:55 Configure a credential helper to remove this warning. See 22:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:55 22:21:55 Login Succeeded 22:21:55 nexus3.edgexfoundry.org:10003 22:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:55 Configure a credential helper to remove this warning. See 22:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:55 22:21:55 Login Succeeded 22:21:55 nexus3.edgexfoundry.org:10004 22:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:55 Configure a credential helper to remove this warning. See 22:21:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:55 22:21:55 Login Succeeded 22:21:55 docker.io 22:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:56 Configure a credential helper to remove this warning. See 22:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:56 22:21:56 Login Succeeded 22:21:56 ---> docker-login.sh ends [Pipeline] } 22:21:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 22:21:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:21:57 22:21:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:21:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:21:58 latest: Pulling from edgex-devops/git-semver 22:21:58 31603596830f: Pulling fs layer 22:21:58 2a8b12db71e7: Pulling fs layer 22:21:58 6ca5941a6612: Pulling fs layer 22:21:58 ecc8261a40a4: Pulling fs layer 22:21:58 ecc8261a40a4: Waiting 22:21:58 2a8b12db71e7: Verifying Checksum 22:21:58 2a8b12db71e7: Download complete 22:21:58 31603596830f: Verifying Checksum 22:21:58 31603596830f: Download complete 22:21:58 ecc8261a40a4: Verifying Checksum 22:21:58 ecc8261a40a4: Download complete 22:21:58 6ca5941a6612: Verifying Checksum 22:21:58 6ca5941a6612: Download complete 22:21:58 31603596830f: Pull complete 22:21:59 2a8b12db71e7: Pull complete 22:22:00 6ca5941a6612: Pull complete 22:22:00 ecc8261a40a4: Pull complete 22:22:00 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:22:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:22:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:22:00 prd-centos7-docker-4c-2g-29744 does not seem to be running inside a container 22:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:22:03 $ docker top 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:22:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:22:03 [ssh-agent] Looking for ssh-agent implementation... 22:22:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:22:03 $ docker exec 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 ssh-agent 22:22:04 SSH_AUTH_SOCK=/tmp/ssh-wnlljG0ih8pv/agent.11 22:22:04 SSH_AGENT_PID=16 22:22:04 Running ssh-add (command line suppressed) 22:22:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_7753658853423077775.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_7753658853423077775.key) 22:22:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:22:04 + git tag --points-at HEAD [Pipeline] } 22:22:04 $ docker exec --env ******** --env ******** 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 ssh-agent -k 22:22:04 unset SSH_AUTH_SOCK; 22:22:04 unset SSH_AGENT_PID; 22:22:04 echo Agent pid 16 killed; 22:22:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:22:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:22:05 [ssh-agent] Looking for ssh-agent implementation... 22:22:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:22:05 $ docker exec 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 ssh-agent 22:22:05 SSH_AUTH_SOCK=/tmp/ssh-QTQ0af8t5jfb/agent.47 22:22:05 SSH_AGENT_PID=52 22:22:05 Running ssh-add (command line suppressed) 22:22:05 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5072007600735206602.key (/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/private_key_5072007600735206602.key) 22:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:22:06 + git semver init 22:22:06 # -> Open(): unable to determine branch for HEAD 22:22:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.git 22:22:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-331 22:22:06 # $SEMVER_REMOTE_NAME = origin 22:22:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:22:06 # $SEMVER_USER_NAME = edgex-jenkins 22:22:06 # $SEMVER_BRANCH = PR-331 22:22:06 # $SEMVER_TEMP = /tmp/semver-311660761 22:22:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 22:22:06 # '/tmp/semver-311660761' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver' 22:22:06 # -> Force: false 22:22:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-331/.semver [Pipeline] } 22:22:06 $ docker exec --env ******** --env ******** 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 ssh-agent -k 22:22:06 unset SSH_AUTH_SOCK; 22:22:06 unset SSH_AGENT_PID; 22:22:06 echo Agent pid 52 killed; 22:22:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:22:07 + git semver [Pipeline] } 22:22:07 $ docker stop --time=1 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 22:22:08 $ docker rm -f 1318734e388b2c8289f553321e4fbbc5243b787fde912e2f720178651937da36 [Pipeline] // withDockerContainer [Pipeline] sh 22:22:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:22:09 Stashed 1 file(s) [Pipeline] echo 22:22:09 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:22:24 Still waiting to schedule task 22:22:24 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29744’ 22:22:24 Still waiting to schedule task 22:22:24 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:24:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29745 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws 22:24:17 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 22:24:22 using credential edgex-jenkins-ssh 22:24:22 Cloning the remote Git repository 22:24:22 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:24:22 > git init /w/workspace/device-sdk-c/4 # timeout=10 22:24:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:24:22 > git --version # timeout=10 22:24:22 > git --version # 'git version 2.17.1' 22:24:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:24:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:24:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:24:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:24:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 22:24:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:24:24 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit e91f65d62d30d7dd96d49d813917dfa5b280acdf [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:24:24 Failed in branch arm64 22:24:24 > git config core.sparsecheckout # timeout=10 22:24:24 > git checkout -f e91f65d62d30d7dd96d49d813917dfa5b280acdf # timeout=10 22:26:09 Running on prd-centos7-docker-4c-2g-29746 in /w/workspace/edgexfoundry_device-sdk-c_PR-331 [Pipeline] { [Pipeline] ws 22:26:09 Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout 22:26:19 using credential edgex-jenkins-ssh 22:26:20 Cloning the remote Git repository 22:26:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:26:20 > git init /w/workspace/device-sdk-c/4 # timeout=10 22:26:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:26:20 > git --version # timeout=10 22:26:20 > git --version # 'git version 2.24.3' 22:26:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:26:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:26:22 Merging remotes/origin/master commit 603e15a22e98ad0ffc0e9ce671b1afa02ea84060 into PR head commit e91f65d62d30d7dd96d49d813917dfa5b280acdf [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 22:26:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:26:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:26:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:26:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:26:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:26:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:26:22 > git config core.sparsecheckout # timeout=10 22:26:22 > git checkout -f e91f65d62d30d7dd96d49d813917dfa5b280acdf # timeout=10 [Pipeline] // stage [Pipeline] } 22:26:23 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:26:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:26:25 ---> package-listing.sh 22:26:25 ++ facter osfamily 22:26:25 ++ tr '[:upper:]' '[:lower:]' 22:26:25 + OS_FAMILY=redhat 22:26:25 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-331 22:26:25 + START_PACKAGES=/tmp/packages_start.txt 22:26:25 + END_PACKAGES=/tmp/packages_end.txt 22:26:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:26:25 + PACKAGES=/tmp/packages_start.txt 22:26:25 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' 22:26:25 + PACKAGES=/tmp/packages_end.txt 22:26:25 + case "${OS_FAMILY}" in 22:26:25 + rpm -qa 22:26:25 + sort 22:26:30 + '[' -f /tmp/packages_start.txt ']' 22:26:30 + '[' -f /tmp/packages_end.txt ']' 22:26:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:26:30 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-331 ']' 22:26:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ 22:26:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-331/archives/ [Pipeline] echo 22:26:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:26:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:26:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:31 22:26:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:26:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:31 alpine: Pulling from edgex-lftools-log-publisher 22:26:31 df20fa9351a1: Pulling fs layer 22:26:31 36b3adc4ff6f: Pulling fs layer 22:26:31 8ad3a11d3b57: Pulling fs layer 22:26:31 46f8f816bc3b: Pulling fs layer 22:26:31 93b61091891f: Pulling fs layer 22:26:31 93b9cdb0e59b: Pulling fs layer 22:26:31 5e14af77c1be: Pulling fs layer 22:26:31 01666e4c0597: Pulling fs layer 22:26:31 aa168da1d23b: Pulling fs layer 22:26:31 93b9cdb0e59b: Waiting 22:26:31 aa168da1d23b: Waiting 22:26:31 01666e4c0597: Waiting 22:26:31 46f8f816bc3b: Waiting 22:26:31 93b61091891f: Waiting 22:26:31 36b3adc4ff6f: Verifying Checksum 22:26:31 36b3adc4ff6f: Download complete 22:26:31 46f8f816bc3b: Verifying Checksum 22:26:31 46f8f816bc3b: Download complete 22:26:31 df20fa9351a1: Verifying Checksum 22:26:31 df20fa9351a1: Download complete 22:26:31 93b9cdb0e59b: Verifying Checksum 22:26:31 93b9cdb0e59b: Download complete 22:26:31 5e14af77c1be: Verifying Checksum 22:26:31 5e14af77c1be: Download complete 22:26:31 93b61091891f: Verifying Checksum 22:26:31 93b61091891f: Download complete 22:26:31 01666e4c0597: Verifying Checksum 22:26:31 01666e4c0597: Download complete 22:26:31 8ad3a11d3b57: Verifying Checksum 22:26:31 8ad3a11d3b57: Download complete 22:26:32 df20fa9351a1: Pull complete 22:26:32 36b3adc4ff6f: Pull complete 22:26:32 8ad3a11d3b57: Pull complete 22:26:33 46f8f816bc3b: Pull complete 22:26:34 93b61091891f: Pull complete 22:26:34 93b9cdb0e59b: Pull complete 22:26:34 aa168da1d23b: Verifying Checksum 22:26:34 aa168da1d23b: Download complete 22:26:34 5e14af77c1be: Pull complete 22:26:34 01666e4c0597: Pull complete 22:26:41 aa168da1d23b: Pull complete 22:26:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:26:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:26:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:26:41 prd-centos7-docker-4c-2g-29744 does not seem to be running inside a container 22:26:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-331 -v /w/workspace/edgexfoundry_device-sdk-c_PR-331:/w/workspace/edgexfoundry_device-sdk-c_PR-331:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:26:44 $ docker top 40ff0b017ce95d15f3de7b716dcb1fdd7857fda85a738bec94c872d76821f34b -eo pid,comm [Pipeline] { [Pipeline] sh 22:26:45 + touch /tmp/pre-build-complete [Pipeline] sh 22:26:45 + mkdir -p /var/log/sa [Pipeline] sh 22:26:45 + ls /var/log/sa-host 22:26:45 + sadf -c /var/log/sa-host/sa14 22:26:45 file_magic: OK 22:26:45 HZ: Using current value: 100 22:26:45 file_header: OK 22:26:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:26:45 Statistics: 22:26:45 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:26:45 File successfully converted to sysstat format version 12.2.1 22:26:45 + sadf -c /var/log/sa-host/sa23 22:26:45 file_magic: OK 22:26:45 HZ: Using current value: 100 22:26:45 file_header: OK 22:26:45 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:26:45 Statistics: 22:26:45 Hnuu...uuuununununu... 22:26:45 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:46 provisioning config files... 22:26:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-331@tmp/config8784843392593983307tmp [Pipeline] { [Pipeline] echo 22:26:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:26:46 ---> create-netrc.sh [Pipeline] } 22:26:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:26:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:26:47 ---> python-tools-install.sh [Pipeline] echo 22:26:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:26:47 ---> sudo-logs.sh 22:26:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:26:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:26:48 ---> job-cost.sh 22:26:48 lf-activate-venv: SKIPPING 22:26:48 INFO: No Stack... 22:26:49 INFO: Retrieving Pricing Info for: v1-standard-2 22:26:49 INFO: Archiving Costs [Pipeline] echo 22:26:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:26:49 ---> logs-deploy.sh 22:26:49 lf-activate-venv: SKIPPING 22:26:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-331/4 22:26:49 INFO: archiving workspace using pattern(s): 22:26:51 Archives upload complete. 22:26:51 INFO: archiving logs to Nexus