Pull request #355 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 nil4git for edgexfoundry/device-sdk-c Loading trusted files from base branch main at c75449e85aa6c6239708e25f4301185f1aa5291c rather than 1b174c37c294ebb7d067430e42a5f8fb30c49366 Obtained Jenkinsfile from c75449e85aa6c6239708e25f4301185f1aa5291c 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7360025952831251147.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6937312467545228664.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8532229935756247190.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5853467756247049073.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-355/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7234158260202514350.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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: device-sdk 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 ‘prd-centos7-docker-4c-2g-2187’ is offline Running on prd-centos7-docker-4c-2g-2188 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-355 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh4764718743837254820.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh94720528003844913.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 1b174c37c294ebb7d067430e42a5f8fb30c49366 Merge succeeded, producing 1b174c37c294ebb7d067430e42a5f8fb30c49366 Checking out Revision 1b174c37c294ebb7d067430e42a5f8fb30c49366 (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b174c37c294ebb7d067430e42a5f8fb30c49366 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/jenkins-gitclient-ssh5532385398883576709.key > git merge c75449e85aa6c6239708e25f4301185f1aa5291c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b174c37c294ebb7d067430e42a5f8fb30c49366 # timeout=10 Commit message: "fix: Update random device profile, configuration and discovery device configuration file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:30:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:30:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:30:37 ========================================================= 06:30:37 EdgeX Global Pipelines Version Info 06:30:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 574127dbd35a5f0b3785285bd9b73c60951e2550 # timeout=10 06:30:39 ------------------- 06:30:39 stable info: 06:30:39 ------------------- 06:30:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:30:39 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 06:30:39 Message: update stable to v1.0.196 06:30:39 ------------------- 06:30:39 experimental info: 06:30:39 ------------------- 06:30:39 Commited By: **** collab-it+edgex@linuxfoundation.org 06:30:39 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 06:30:39 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:30:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:30:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:30:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:30:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:30:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b174c37c294ebb7d067430e42a5f8fb30c49366 [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b174c3 [Pipeline] echo 06:30:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:40 provisioning config files... 06:30:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config7335146731554331673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:41 ---> docker-login.sh 06:30:41 nexus3.edgexfoundry.org:10001 06:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:41 Configure a credential helper to remove this warning. See 06:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:41 06:30:41 Login Succeeded 06:30:41 nexus3.edgexfoundry.org:10002 06:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:41 Configure a credential helper to remove this warning. See 06:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:41 06:30:41 Login Succeeded 06:30:41 nexus3.edgexfoundry.org:10003 06:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:41 Configure a credential helper to remove this warning. See 06:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:41 06:30:41 Login Succeeded 06:30:41 nexus3.edgexfoundry.org:10004 06:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:41 Configure a credential helper to remove this warning. See 06:30:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:41 06:30:41 Login Succeeded 06:30:41 docker.io 06:30:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:42 Configure a credential helper to remove this warning. See 06:30:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:42 06:30:42 Login Succeeded 06:30:42 ---> docker-login.sh ends [Pipeline] } 06:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 06:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:43 06:30:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:30:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:44 latest: Pulling from edgex-devops/git-semver 06:30:44 31603596830f: Pulling fs layer 06:30:44 b6dc333f4379: Pulling fs layer 06:30:44 3d9ef1400e77: Pulling fs layer 06:30:44 fd332fbdc1db: Pulling fs layer 06:30:44 fd332fbdc1db: Waiting 06:30:44 b6dc333f4379: Verifying Checksum 06:30:44 b6dc333f4379: Download complete 06:30:44 31603596830f: Verifying Checksum 06:30:44 31603596830f: Download complete 06:30:44 3d9ef1400e77: Verifying Checksum 06:30:44 3d9ef1400e77: Download complete 06:30:44 31603596830f: Pull complete 06:30:44 fd332fbdc1db: Verifying Checksum 06:30:44 fd332fbdc1db: Download complete 06:30:44 b6dc333f4379: Pull complete 06:30:45 3d9ef1400e77: Pull complete 06:30:45 fd332fbdc1db: Pull complete 06:30:45 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 06:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:30:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:30:45 prd-centos7-docker-4c-2g-2188 does not seem to be running inside a container 06:30:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:30:46 $ docker top 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:30:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:46 [ssh-agent] Looking for ssh-agent implementation... 06:30:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:46 $ docker exec 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db ssh-agent 06:30:47 SSH_AUTH_SOCK=/tmp/ssh-OX93DZDVRIGJ/agent.13 06:30:47 SSH_AGENT_PID=19 06:30:47 Running ssh-add (command line suppressed) 06:30:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8062959615384753420.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_8062959615384753420.key) 06:30:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:47 + git tag --points-at HEAD [Pipeline] } 06:30:47 $ docker exec --env ******** --env ******** 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db ssh-agent -k 06:30:47 unset SSH_AUTH_SOCK; 06:30:47 unset SSH_AGENT_PID; 06:30:47 echo Agent pid 19 killed; 06:30:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:30:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:30:47 [ssh-agent] Looking for ssh-agent implementation... 06:30:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:30:47 $ docker exec 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db ssh-agent 06:30:47 SSH_AUTH_SOCK=/tmp/ssh-B2at9NhMVa4U/agent.52 06:30:47 SSH_AGENT_PID=59 06:30:47 Running ssh-add (command line suppressed) 06:30:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_7962492917051976323.key (/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/private_key_7962492917051976323.key) 06:30:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:30:48 + git semver init 06:30:48 # -> Open(): unable to determine branch for HEAD 06:30:48 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.git 06:30:48 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-355 06:30:48 # $SEMVER_REMOTE_NAME = origin 06:30:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:30:48 # $SEMVER_USER_NAME = edgex-jenkins 06:30:48 # $SEMVER_BRANCH = PR-355 06:30:48 # $SEMVER_TEMP = /tmp/semver-128439082 06:30:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 06:30:49 # '/tmp/semver-128439082' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver' 06:30:49 # -> Force: false 06:30:49 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-355/.semver [Pipeline] } 06:30:49 $ docker exec --env ******** --env ******** 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db ssh-agent -k 06:30:49 unset SSH_AUTH_SOCK; 06:30:49 unset SSH_AGENT_PID; 06:30:49 echo Agent pid 59 killed; 06:30:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:30:50 + git semver [Pipeline] } 06:30:50 $ docker stop --time=1 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db 06:30:51 $ docker rm -f 57c4d4f84294edf3d989cbb96db6fc7c6081108475ef8c31b617f586824893db [Pipeline] // withDockerContainer [Pipeline] sh 06:30:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:30:52 Stashed 1 file(s) [Pipeline] echo 06:30:52 [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 06:31:07 Still waiting to schedule task 06:31:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:31:07 Still waiting to schedule task 06:31:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:32:49 Running on prd-centos7-docker-4c-2g-2190 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:32:49 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 06:32:49 Selected Git installation does not exist. Using Default 06:32:49 The recommended git tool is: NONE 06:32:51 using credential edgex-jenkins-ssh 06:32:51 Cloning the remote Git repository 06:32:51 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:32:51 > git init /w/workspace/device-sdk-c/5 # timeout=10 06:32:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:32:51 > git --version # timeout=10 06:32:52 > git --version # 'git version 2.24.4' 06:32:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:52 [INFO] Currently running in a labeled security context 06:32:52 [INFO] Currently SELinux is 'enforcing' on the host 06:32:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh4772525836907886821.key 06:32:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:53 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 1b174c37c294ebb7d067430e42a5f8fb30c49366 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:32:53 Failed in branch amd64 06:32:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:32:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:32:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:32:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:52 [INFO] Currently running in a labeled security context 06:32:52 [INFO] Currently SELinux is 'enforcing' on the host 06:32:52 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-c/5@tmp/jenkins-gitclient-ssh7521723974805089536.key 06:32:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:32:53 > git config core.sparsecheckout # timeout=10 06:32:53 > git checkout -f 1b174c37c294ebb7d067430e42a5f8fb30c49366 # timeout=10 06:33:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2189 in /w/workspace/edgexfoundry_device-sdk-c_PR-355 [Pipeline] { [Pipeline] ws 06:33:09 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 06:33:09 Selected Git installation does not exist. Using Default 06:33:09 The recommended git tool is: NONE 06:33:15 using credential edgex-jenkins-ssh 06:33:15 Cloning the remote Git repository 06:33:15 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:33:15 > git init /w/workspace/device-sdk-c/5 # timeout=10 06:33:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:33:15 > git --version # timeout=10 06:33:15 > git --version # 'git version 2.17.1' 06:33:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:33:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:33:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:33:17 Merging remotes/origin/main commit c75449e85aa6c6239708e25f4301185f1aa5291c into PR head commit 1b174c37c294ebb7d067430e42a5f8fb30c49366 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:33:18 Failed in branch arm64 [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 06:33:17 > git config core.sparsecheckout # timeout=10 06:33:17 > git checkout -f 1b174c37c294ebb7d067430e42a5f8fb30c49366 # timeout=10 06:33:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:33:19 ---> package-listing.sh 06:33:19 ++ facter osfamily 06:33:19 ++ tr '[:upper:]' '[:lower:]' 06:33:19 + OS_FAMILY=redhat 06:33:19 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-355 06:33:19 + START_PACKAGES=/tmp/packages_start.txt 06:33:19 + END_PACKAGES=/tmp/packages_end.txt 06:33:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:33:19 + PACKAGES=/tmp/packages_start.txt 06:33:19 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:33:19 + PACKAGES=/tmp/packages_end.txt 06:33:19 + case "${OS_FAMILY}" in 06:33:19 + sort 06:33:19 + rpm -qa 06:33:20 + '[' -f /tmp/packages_start.txt ']' 06:33:20 + '[' -f /tmp/packages_end.txt ']' 06:33:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:33:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-355 ']' 06:33:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ 06:33:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-355/archives/ [Pipeline] echo 06:33:20 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:33:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:33:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:33:21 06:33:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:33:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:33:22 alpine: Pulling from edgex-lftools-log-publisher 06:33:22 df20fa9351a1: Pulling fs layer 06:33:22 36b3adc4ff6f: Pulling fs layer 06:33:22 8ad3a11d3b57: Pulling fs layer 06:33:22 46f8f816bc3b: Pulling fs layer 06:33:22 93b61091891f: Pulling fs layer 06:33:22 93b9cdb0e59b: Pulling fs layer 06:33:22 5e14af77c1be: Pulling fs layer 06:33:22 01666e4c0597: Pulling fs layer 06:33:22 aa168da1d23b: Pulling fs layer 06:33:22 93b61091891f: Waiting 06:33:22 93b9cdb0e59b: Waiting 06:33:22 5e14af77c1be: Waiting 06:33:22 01666e4c0597: Waiting 06:33:22 aa168da1d23b: Waiting 06:33:22 46f8f816bc3b: Waiting 06:33:22 36b3adc4ff6f: Verifying Checksum 06:33:22 36b3adc4ff6f: Download complete 06:33:22 46f8f816bc3b: Verifying Checksum 06:33:22 46f8f816bc3b: Download complete 06:33:22 df20fa9351a1: Verifying Checksum 06:33:22 df20fa9351a1: Download complete 06:33:22 93b9cdb0e59b: Verifying Checksum 06:33:22 93b9cdb0e59b: Download complete 06:33:22 5e14af77c1be: Verifying Checksum 06:33:22 5e14af77c1be: Download complete 06:33:22 93b61091891f: Verifying Checksum 06:33:22 93b61091891f: Download complete 06:33:22 01666e4c0597: Verifying Checksum 06:33:22 01666e4c0597: Download complete 06:33:22 df20fa9351a1: Pull complete 06:33:22 36b3adc4ff6f: Pull complete 06:33:22 8ad3a11d3b57: Verifying Checksum 06:33:22 8ad3a11d3b57: Download complete 06:33:23 8ad3a11d3b57: Pull complete 06:33:23 46f8f816bc3b: Pull complete 06:33:23 93b61091891f: Pull complete 06:33:23 93b9cdb0e59b: Pull complete 06:33:23 5e14af77c1be: Pull complete 06:33:24 01666e4c0597: Pull complete 06:33:24 aa168da1d23b: Verifying Checksum 06:33:24 aa168da1d23b: Download complete 06:33:28 aa168da1d23b: Pull complete 06:33:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:33:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:33:28 prd-centos7-docker-4c-2g-2188 does not seem to be running inside a container 06:33:28 $ 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-355/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-355 -v /w/workspace/edgexfoundry_device-sdk-c_PR-355:/w/workspace/edgexfoundry_device-sdk-c_PR-355:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-355@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:33:30 $ docker top b443add4e5e47ad03017afe01e27c55ea04b9cc08ecbb8e54f16b3a2dce26bce -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:33:31 + mkdir -p /var/log/sa [Pipeline] sh 06:33:31 + ls /var/log/sa-host 06:33:31 + sadf -c /var/log/sa-host/sa05 06:33:31 file_magic: OK 06:33:31 HZ: Using current value: 100 06:33:31 file_header: OK 06:33:31 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 06:33:31 Statistics: 06:33:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:33:31 File successfully converted to sysstat format version 12.2.1 06:33:31 + sadf -c /var/log/sa-host/sa08 06:33:31 file_magic: OK 06:33:31 HZ: Using current value: 100 06:33:31 file_header: OK 06:33:31 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 06:33:31 Statistics: 06:33:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:33:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:32 provisioning config files... 06:33:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-355@tmp/config8791847650772603061tmp [Pipeline] { [Pipeline] echo 06:33:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:33:32 ---> create-netrc.sh [Pipeline] } 06:33:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:33:32 ---> python-tools-install.sh [Pipeline] echo 06:33:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:33:33 ---> sudo-logs.sh 06:33:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:33:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:33:33 ---> job-cost.sh 06:33:33 lf-activate-venv: SKIPPING 06:33:33 INFO: No Stack... 06:33:34 INFO: Retrieving Pricing Info for: v3-standard-2 06:33:34 INFO: Archiving Costs [Pipeline] echo 06:33:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:33:35 ---> logs-deploy.sh 06:33:35 lf-activate-venv: SKIPPING 06:33:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-355/5 06:33:35 INFO: archiving workspace using pattern(s): 06:33:36 Archives upload complete. 06:33:36 INFO: archiving logs to Nexus 06:33:36 ---> uname -a: 06:33:36 Linux prd-centos7-docker-4c-2g-2188.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 06:33:36 06:33:36 06:33:36 ---> lscpu: 06:33:36 Architecture: x86_64 06:33:36 CPU op-mode(s): 32-bit, 64-bit 06:33:36 Byte Order: Little Endian 06:33:36 Address sizes: 40 bits physical, 48 bits virtual 06:33:36 CPU(s): 2 06:33:36 On-line CPU(s) list: 0,1 06:33:36 Thread(s) per core: 1 06:33:36 Core(s) per socket: 1 06:33:36 Socket(s): 2 06:33:36 NUMA node(s): 1 06:33:36 Vendor ID: AuthenticAMD 06:33:36 CPU family: 23 06:33:36 Model: 49 06:33:36 Model name: AMD EPYC-Rome Processor 06:33:36 Stepping: 0 06:33:36 CPU MHz: 2800.000 06:33:36 BogoMIPS: 5600.00 06:33:36 Virtualization: AMD-V 06:33:36 Hypervisor vendor: KVM 06:33:36 Virtualization type: full 06:33:36 L1d cache: 64 KiB 06:33:36 L1i cache: 64 KiB 06:33:36 L2 cache: 1 MiB 06:33:36 L3 cache: 32 MiB 06:33:36 NUMA node0 CPU(s): 0,1 06:33:36 Vulnerability Itlb multihit: Not affected 06:33:36 Vulnerability L1tf: Not affected 06:33:36 Vulnerability Mds: Not affected 06:33:36 Vulnerability Meltdown: Not affected 06:33:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:33:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:33:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:33:36 Vulnerability Srbds: Not affected 06:33:36 Vulnerability Tsx async abort: Not affected 06:33:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 06:33:36 06:33:36 06:33:36 ---> nproc: 06:33:36 2 06:33:36 06:33:36