Pull request #1025 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 968d3db8c2290dc5857cf0eb9311eccc6509e672 rather than eabed3f58719318ea7a9d7ab868bd51e972b17b1 Obtained Jenkinsfile from 968d3db8c2290dc5857cf0eb9311eccc6509e672 Running in Durability level: MAX_SURVIVABILITY 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1583307727776183732.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7058291115951906065.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 c141c1271097dc03ad291c2451e310eaf98cdd06 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-go/branches/PR-1025/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4036904416395646671.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5387121937573019578.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/lf-pipelines # timeout=10 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7779110935674200138.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true 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-1417 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [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-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1025 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh7375692044528940633.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit eabed3f58719318ea7a9d7ab868bd51e972b17b1 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh4229833729848378187.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing eabed3f58719318ea7a9d7ab868bd51e972b17b1 Checking out Revision eabed3f58719318ea7a9d7ab868bd51e972b17b1 (PR-1025) > git config core.sparsecheckout # timeout=10 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh2795964966314701279.key > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 Commit message: "fix: Remove the redundant variable definition" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:55 ========================================================= 23:37:55 EdgeX Global Pipelines Version Info 23:37:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:56 ------------------- 23:37:56 stable info: 23:37:56 ------------------- 23:37:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:56 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 23:37:56 Message: update stable to v1.0.206 23:37:57 ------------------- 23:37:57 experimental info: 23:37:57 ------------------- 23:37:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:57 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 23:37:57 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1025 [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1025 [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1025 [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eabed3f58719318ea7a9d7ab868bd51e972b17b1 [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eabed3f [Pipeline] echo 23:37:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:59 provisioning config files... 23:37:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/config3711798023891827456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:00 ---> docker-login.sh 23:38:00 nexus3.edgexfoundry.org:10001 23:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:00 Configure a credential helper to remove this warning. See 23:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:00 23:38:00 Login Succeeded 23:38:00 nexus3.edgexfoundry.org:10002 23:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:00 Configure a credential helper to remove this warning. See 23:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:00 23:38:00 Login Succeeded 23:38:00 nexus3.edgexfoundry.org:10003 23:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:00 Configure a credential helper to remove this warning. See 23:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:00 23:38:00 Login Succeeded 23:38:00 nexus3.edgexfoundry.org:10004 23:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:00 Configure a credential helper to remove this warning. See 23:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:00 23:38:00 Login Succeeded 23:38:00 docker.io 23:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:01 Configure a credential helper to remove this warning. See 23:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:01 23:38:01 Login Succeeded 23:38:01 ---> docker-login.sh ends [Pipeline] } 23:38:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:02 + git log --format=format:%s -1 eabed3f58719318ea7a9d7ab868bd51e972b17b1 [Pipeline] echo 23:38:02 GIT_COMMIT: eabed3f58719318ea7a9d7ab868bd51e972b17b1, Commit Message: fix: Remove the redundant variable definition [Pipeline] echo 23:38:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:03 23:38:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:38:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:03 latest: Pulling from edgex-devops/git-semver 23:38:03 31603596830f: Pulling fs layer 23:38:03 04fac38145f0: Pulling fs layer 23:38:03 701f6daf10bf: Pulling fs layer 23:38:03 24f72da36158: Pulling fs layer 23:38:03 24f72da36158: Waiting 23:38:03 04fac38145f0: Verifying Checksum 23:38:03 04fac38145f0: Download complete 23:38:03 31603596830f: Verifying Checksum 23:38:03 31603596830f: Download complete 23:38:03 24f72da36158: Verifying Checksum 23:38:03 24f72da36158: Download complete 23:38:03 701f6daf10bf: Verifying Checksum 23:38:03 701f6daf10bf: Download complete 23:38:03 31603596830f: Pull complete 23:38:04 04fac38145f0: Pull complete 23:38:04 701f6daf10bf: Pull complete 23:38:04 24f72da36158: Pull complete 23:38:04 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:38:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:38:04 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 23:38:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1025 -v /w/workspace/gexfoundry_device-sdk-go_PR-1025:/w/workspace/gexfoundry_device-sdk-go_PR-1025:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1025@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:38:05 $ docker top 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:05 [ssh-agent] Looking for ssh-agent implementation... 23:38:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:05 $ docker exec 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 ssh-agent 23:38:06 SSH_AUTH_SOCK=/tmp/ssh-Y5hHJunnmUwd/agent.14 23:38:06 SSH_AGENT_PID=20 23:38:06 Running ssh-add (command line suppressed) 23:38:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_5977835701991871664.key (/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_5977835701991871664.key) 23:38:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:06 + git tag --points-at HEAD [Pipeline] } 23:38:06 $ docker exec --env ******** --env ******** 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 ssh-agent -k 23:38:06 unset SSH_AUTH_SOCK; 23:38:06 unset SSH_AGENT_PID; 23:38:06 echo Agent pid 20 killed; 23:38:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:38:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:06 [ssh-agent] Looking for ssh-agent implementation... 23:38:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:06 $ docker exec 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 ssh-agent 23:38:07 SSH_AUTH_SOCK=/tmp/ssh-LkfSKPcm9njr/agent.53 23:38:07 SSH_AGENT_PID=60 23:38:07 Running ssh-add (command line suppressed) 23:38:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_7246277984055201803.key (/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_7246277984055201803.key) 23:38:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:07 + git semver init 23:38:07 # -> Open(): unable to determine branch for HEAD 23:38:07 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1025/.git 23:38:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1025 23:38:07 # $SEMVER_REMOTE_NAME = origin 23:38:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:38:07 # $SEMVER_USER_NAME = edgex-jenkins 23:38:07 # $SEMVER_BRANCH = PR-1025 23:38:07 # $SEMVER_TEMP = /tmp/semver-118053131 23:38:07 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:38:08 # '/tmp/semver-118053131' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1025/.semver' 23:38:08 # -> Force: false 23:38:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1025/.semver [Pipeline] } 23:38:08 $ docker exec --env ******** --env ******** 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 ssh-agent -k 23:38:08 unset SSH_AUTH_SOCK; 23:38:08 unset SSH_AGENT_PID; 23:38:08 echo Agent pid 60 killed; 23:38:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:08 + git semver [Pipeline] } 23:38:08 $ docker stop --time=1 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 23:38:10 $ docker rm -f 1cf1908a68f672702c34e13fdf9e7cbb44337a1b88281d53a1aadf58dd119853 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:38:10 Stashed 1 file(s) [Pipeline] echo 23:38:10 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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 23:38:26 Still waiting to schedule task 23:38:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:38:26 Still waiting to schedule task 23:38:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:40:48 Running on prd-centos7-docker-4c-2g-1419 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [Pipeline] { [Pipeline] ws 23:40:48 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:40:48 Selected Git installation does not exist. Using Default 23:40:48 The recommended git tool is: NONE 23:40:51 using credential edgex-jenkins-ssh 23:40:51 Cloning the remote Git repository 23:40:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:40:51 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:40:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:40:51 > git --version # timeout=10 23:40:51 > git --version # 'git version 2.24.4' 23:40:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:51 [INFO] Currently running in a labeled security context 23:40:51 [INFO] Currently SELinux is 'enforcing' on the host 23:40:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6742326195964084035.key 23:40:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:52 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit eabed3f58719318ea7a9d7ab868bd51e972b17b1 23:40:52 Merge succeeded, producing eabed3f58719318ea7a9d7ab868bd51e972b17b1 23:40:52 Checking out Revision eabed3f58719318ea7a9d7ab868bd51e972b17b1 (PR-1025) 23:40:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:40:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:40:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:40:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:52 [INFO] Currently running in a labeled security context 23:40:52 [INFO] Currently SELinux is 'enforcing' on the host 23:40:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1494091513025319265.key 23:40:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:52 > git config core.sparsecheckout # timeout=10 23:40:52 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 23:40:52 > git remote # timeout=10 23:40:52 > git config --get remote.origin.url # timeout=10 23:40:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:52 [INFO] Currently running in a labeled security context 23:40:52 [INFO] Currently SELinux is 'enforcing' on the host 23:40:52 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5933072310171771814.key 23:40:52 > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 23:40:52 > git rev-parse HEAD^{commit} # timeout=10 23:40:52 > git config core.sparsecheckout # timeout=10 23:40:52 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 23:40:56 Commit message: "fix: Remove the redundant variable definition" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:57 provisioning config files... 23:40:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5729207852116539167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:58 ---> docker-login.sh 23:40:58 nexus3.edgexfoundry.org:10001 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10002 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10003 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10004 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 docker.io 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:59 Configure a credential helper to remove this warning. See 23:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:59 23:40:59 Login Succeeded 23:40:59 ---> docker-login.sh ends [Pipeline] } 23:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:59 ========================================================= 23:40:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:40:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:00 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:41:00 Sending build context to Docker daemon 2.67MB 23:41:00 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 23:41:00 Step 2/9 : FROM ${BASE} AS builder 23:41:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:00 540db60ca938: Pulling fs layer 23:41:00 adcc1eea9eea: Pulling fs layer 23:41:00 4c4ab2625f07: Pulling fs layer 23:41:00 db62176df00c: Pulling fs layer 23:41:00 3b30891b0d05: Pulling fs layer 23:41:00 06b49ca38bd5: Pulling fs layer 23:41:00 c788192a36de: Pulling fs layer 23:41:00 a77e37c0d609: Pulling fs layer 23:41:00 c3185cebc471: Pulling fs layer 23:41:00 db62176df00c: Waiting 23:41:00 3b30891b0d05: Waiting 23:41:00 06b49ca38bd5: Waiting 23:41:00 c788192a36de: Waiting 23:41:00 a77e37c0d609: Waiting 23:41:00 c3185cebc471: Waiting 23:41:00 4c4ab2625f07: Verifying Checksum 23:41:00 4c4ab2625f07: Download complete 23:41:00 adcc1eea9eea: Verifying Checksum 23:41:00 adcc1eea9eea: Download complete 23:41:00 3b30891b0d05: Verifying Checksum 23:41:00 3b30891b0d05: Download complete 23:41:00 06b49ca38bd5: Verifying Checksum 23:41:00 06b49ca38bd5: Download complete 23:41:00 540db60ca938: Verifying Checksum 23:41:00 540db60ca938: Download complete 23:41:00 c788192a36de: Verifying Checksum 23:41:00 c788192a36de: Download complete 23:41:00 540db60ca938: Pull complete 23:41:00 adcc1eea9eea: Pull complete 23:41:00 4c4ab2625f07: Pull complete 23:41:01 a77e37c0d609: Verifying Checksum 23:41:01 a77e37c0d609: Download complete 23:41:02 c3185cebc471: Verifying Checksum 23:41:02 c3185cebc471: Download complete 23:41:02 db62176df00c: Verifying Checksum 23:41:02 db62176df00c: Download complete 23:41:06 db62176df00c: Pull complete 23:41:06 3b30891b0d05: Pull complete 23:41:06 06b49ca38bd5: Pull complete 23:41:06 c788192a36de: Pull complete 23:41:06 a77e37c0d609: Pull complete 23:41:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1418 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [Pipeline] { [Pipeline] ws 23:41:08 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:41:09 c3185cebc471: Pull complete 23:41:09 Selected Git installation does not exist. Using Default 23:41:09 The recommended git tool is: NONE 23:41:09 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:41:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:41:09 ---> 031687cdd783 23:41:09 Step 3/9 : WORKDIR /device-sdk-go 23:41:11 ---> Running in a54b05c2e647 23:41:11 Removing intermediate container a54b05c2e647 23:41:11 ---> 7d0c42cc4bc4 23:41:11 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:41:11 ---> Running in af8e24196d15 23:41:11 Removing intermediate container af8e24196d15 23:41:11 ---> 85d5e4e4d793 23:41:11 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:11 ---> Running in 760d4df1a665 23:41:12 Removing intermediate container 760d4df1a665 23:41:12 ---> b16aacdc88be 23:41:12 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:41:12 ---> Running in c449fa0bfa6e 23:41:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:41:13 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:41:13 OK: 219 MiB in 52 packages 23:41:13 Removing intermediate container c449fa0bfa6e 23:41:13 ---> 60fe5aca5983 23:41:13 Step 7/9 : COPY . . 23:41:14 ---> 532e43af2641 23:41:14 Step 8/9 : RUN go mod download 23:41:14 ---> Running in f1502111bb2e 23:41:15 using credential edgex-jenkins-ssh 23:41:15 Cloning the remote Git repository 23:41:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:41:16 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:41:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:41:16 > git --version # timeout=10 23:41:16 > git --version # 'git version 2.17.1' 23:41:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:41:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:41:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:41:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:41:18 Merging remotes/origin/main commit 968d3db8c2290dc5857cf0eb9311eccc6509e672 into PR head commit eabed3f58719318ea7a9d7ab868bd51e972b17b1 23:41:19 Merge succeeded, producing eabed3f58719318ea7a9d7ab868bd51e972b17b1 23:41:19 Checking out Revision eabed3f58719318ea7a9d7ab868bd51e972b17b1 (PR-1025) 23:41:18 > git config core.sparsecheckout # timeout=10 23:41:18 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 23:41:18 > git remote # timeout=10 23:41:18 > git config --get remote.origin.url # timeout=10 23:41:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:18 > git merge 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 23:41:19 > git rev-parse HEAD^{commit} # timeout=10 23:41:19 > git config core.sparsecheckout # timeout=10 23:41:19 > git checkout -f eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 23:41:23 Commit message: "fix: Remove the redundant variable definition" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:24 provisioning config files... 23:41:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1489207692322552773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:25 ---> docker-login.sh 23:41:25 nexus3.edgexfoundry.org:10001 23:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:26 Removing intermediate container f1502111bb2e 23:41:26 ---> bf79ab98997f 23:41:26 Step 9/9 : RUN make build 23:41:26 ---> Running in 2d2c976a0941 23:41:26 go mod tidy 23:41:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:26 Configure a credential helper to remove this warning. See 23:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:26 23:41:26 Login Succeeded 23:41:26 nexus3.edgexfoundry.org:10002 23:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:27 # github.com/edgexfoundry/device-sdk-go/v2/pkg/models 23:41:27 pkg/models/commandvalue.go:434:16: undefined: common.ValueTypeObject 23:41:27 pkg/models/commandvalue.go:435:77: undefined: common.ValueTypeObject 23:41:27 pkg/models/commandvalue.go:498:7: undefined: common.ValueTypeObject 23:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:27 Configure a credential helper to remove this warning. See 23:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:27 23:41:27 Login Succeeded 23:41:27 nexus3.edgexfoundry.org:10003 23:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:27 Configure a credential helper to remove this warning. See 23:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:27 23:41:27 Login Succeeded 23:41:27 nexus3.edgexfoundry.org:10004 23:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:28 Configure a credential helper to remove this warning. See 23:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:28 23:41:28 Login Succeeded 23:41:28 docker.io 23:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:29 Configure a credential helper to remove this warning. See 23:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:29 23:41:29 Login Succeeded 23:41:29 ---> docker-login.sh ends [Pipeline] } 23:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:30 ========================================================= 23:41:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:41:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:30 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:41:31 Sending build context to Docker daemon 2.669MB 23:41:31 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 23:41:31 Step 2/9 : FROM ${BASE} AS builder 23:41:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:31 595b0fe564bb: Pulling fs layer 23:41:31 24495759ef45: Pulling fs layer 23:41:31 d148012ef14d: Pulling fs layer 23:41:31 e90a11edd702: Pulling fs layer 23:41:31 d77568369979: Pulling fs layer 23:41:31 fc1c9f9a7f3b: Pulling fs layer 23:41:31 170f2ba95c9a: Pulling fs layer 23:41:31 97ac5df62f85: Pulling fs layer 23:41:31 fc1c9f9a7f3b: Waiting 23:41:31 170f2ba95c9a: Waiting 23:41:31 e90a11edd702: Waiting 23:41:31 d77568369979: Waiting 23:41:31 97ac5df62f85: Waiting 23:41:31 d148012ef14d: Verifying Checksum 23:41:31 d148012ef14d: Download complete 23:41:31 24495759ef45: Download complete 23:41:31 d77568369979: Download complete 23:41:31 fc1c9f9a7f3b: Verifying Checksum 23:41:31 fc1c9f9a7f3b: Download complete 23:41:32 170f2ba95c9a: Verifying Checksum 23:41:32 170f2ba95c9a: Download complete 23:41:32 595b0fe564bb: Verifying Checksum 23:41:32 595b0fe564bb: Download complete 23:41:32 595b0fe564bb: Pull complete 23:41:33 24495759ef45: Pull complete 23:41:33 make: *** [Makefile:22: example/cmd/device-simple/device-simple] Error 2 23:41:33 The command '/bin/sh -c make build' returned a non-zero code: 2 23:41:33 d148012ef14d: Pull complete [Pipeline] } [Pipeline] // script [Pipeline] } 23:41:34 97ac5df62f85: Verifying Checksum 23:41:34 97ac5df62f85: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } 23:41:34 e90a11edd702: Verifying Checksum 23:41:34 e90a11edd702: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:35 23:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:41:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:36 latest: Pulling from edgex-lftools-log-publisher 23:41:36 b4d181a07f80: Pulling fs layer 23:41:36 a1111a8f2ec3: Pulling fs layer 23:41:36 ed53099fbce6: Pulling fs layer 23:41:36 dc539afda2c1: Pulling fs layer 23:41:36 77bc0d833cb6: Pulling fs layer 23:41:36 9065ff56babe: Pulling fs layer 23:41:36 d287ab97295c: Pulling fs layer 23:41:36 77bc0d833cb6: Waiting 23:41:36 9065ff56babe: Waiting 23:41:36 d287ab97295c: Waiting 23:41:36 dc539afda2c1: Waiting 23:41:36 a1111a8f2ec3: Verifying Checksum 23:41:36 a1111a8f2ec3: Download complete 23:41:36 dc539afda2c1: Verifying Checksum 23:41:36 dc539afda2c1: Download complete 23:41:36 ed53099fbce6: Verifying Checksum 23:41:36 ed53099fbce6: Download complete 23:41:36 9065ff56babe: Verifying Checksum 23:41:36 9065ff56babe: Download complete 23:41:36 77bc0d833cb6: Verifying Checksum 23:41:36 77bc0d833cb6: Download complete 23:41:36 b4d181a07f80: Verifying Checksum 23:41:36 b4d181a07f80: Download complete 23:41:38 d287ab97295c: Verifying Checksum 23:41:38 d287ab97295c: Download complete 23:41:38 b4d181a07f80: Pull complete 23:41:38 a1111a8f2ec3: Pull complete 23:41:39 ed53099fbce6: Pull complete 23:41:39 dc539afda2c1: Pull complete 23:41:39 77bc0d833cb6: Pull complete 23:41:39 9065ff56babe: Pull complete 23:41:44 d287ab97295c: Pull complete 23:41:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:41:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:41:44 prd-centos7-docker-4c-2g-1419 does not seem to be running inside a container 23:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:41:44 e90a11edd702: Pull complete 23:41:44 d77568369979: Pull complete 23:41:44 fc1c9f9a7f3b: Pull complete 23:41:45 170f2ba95c9a: Pull complete 23:41:47 $ docker top c6cfce75dfc7eb8b2c05a24f6274cc34a98bd77ff8bf43f69be06279b31efd73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:47 ---> job-cost.sh 23:41:47 lf-activate-venv: SKIPPING 23:41:47 INFO: No Stack... 23:41:48 INFO: Retrieving Pricing Info for: v3-standard-2 23:41:48 INFO: Archiving Costs [Pipeline] sh 23:41:48 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 23:41:48 + cut -d, -f6 [Pipeline] lock 23:41:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] 23:41:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] did not exist. Created. 23:41:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:49 + echo total: 0.05999999865889549 [Pipeline] stash 23:41:49 Stashed 1 file(s) [Pipeline] } 23:41:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:41:49 $ docker stop --time=1 c6cfce75dfc7eb8b2c05a24f6274cc34a98bd77ff8bf43f69be06279b31efd73 23:41:50 $ docker rm -f c6cfce75dfc7eb8b2c05a24f6274cc34a98bd77ff8bf43f69be06279b31efd73 [Pipeline] // withDockerContainer [Pipeline] } 23:41:50 97ac5df62f85: Pull complete 23:41:50 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:41:50 ---> 04bc70af865f 23:41:50 Step 3/9 : WORKDIR /device-sdk-go [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:41:51 Failed in branch amd64 23:41:56 ---> Running in 020803c92865 23:41:56 Removing intermediate container 020803c92865 23:41:56 ---> 56a5d7617ddd 23:41:56 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:41:56 ---> Running in af98f334ec9d 23:41:57 Removing intermediate container af98f334ec9d 23:41:57 ---> 51f5eea523af 23:41:57 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:57 ---> Running in 101dea9874e3 23:42:00 Removing intermediate container 101dea9874e3 23:42:00 ---> 4525fe66a9e8 23:42:00 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:42:00 ---> Running in 4804f78c28a3 23:42:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:42:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:42:02 OK: 218 MiB in 52 packages 23:42:03 Removing intermediate container 4804f78c28a3 23:42:03 ---> e51444ccbaeb 23:42:03 Step 7/9 : COPY . . 23:42:05 ---> cb40397ddd11 23:42:05 Step 8/9 : RUN go mod download 23:42:05 ---> Running in b57e3c09ffe4 23:42:32 Removing intermediate container b57e3c09ffe4 23:42:32 ---> e2db2b2e56ce 23:42:32 Step 9/9 : RUN make build 23:42:32 ---> Running in b330d53dfdc1 23:42:32 go mod tidy 23:42:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:42:39 # github.com/edgexfoundry/device-sdk-go/v2/pkg/models 23:42:39 pkg/models/commandvalue.go:434:16: undefined: common.ValueTypeObject 23:42:39 pkg/models/commandvalue.go:435:77: undefined: common.ValueTypeObject 23:42:39 pkg/models/commandvalue.go:498:7: undefined: common.ValueTypeObject 23:42:58 make: *** [Makefile:22: example/cmd/device-simple/device-simple] Error 2 23:42:58 The command '/bin/sh -c make build' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:59 23:42:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:43:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:00 arm64: Pulling from edgex-lftools-log-publisher 23:43:00 448f6bf000e3: Pulling fs layer 23:43:00 f757da607395: Pulling fs layer 23:43:00 05883995daec: Pulling fs layer 23:43:00 8603b9c90790: Pulling fs layer 23:43:00 1560dd03e051: Pulling fs layer 23:43:00 27f5ce0e4adf: Pulling fs layer 23:43:00 c2d8d7efcc4b: Pulling fs layer 23:43:00 1560dd03e051: Waiting 23:43:00 27f5ce0e4adf: Waiting 23:43:00 c2d8d7efcc4b: Waiting 23:43:00 8603b9c90790: Waiting 23:43:00 f757da607395: Download complete 23:43:00 8603b9c90790: Verifying Checksum 23:43:00 8603b9c90790: Download complete 23:43:01 05883995daec: Download complete 23:43:01 27f5ce0e4adf: Verifying Checksum 23:43:01 27f5ce0e4adf: Download complete 23:43:01 1560dd03e051: Verifying Checksum 23:43:01 1560dd03e051: Download complete 23:43:01 448f6bf000e3: Verifying Checksum 23:43:01 448f6bf000e3: Download complete 23:43:04 c2d8d7efcc4b: Verifying Checksum 23:43:04 c2d8d7efcc4b: Download complete 23:43:04 448f6bf000e3: Pull complete 23:43:05 f757da607395: Pull complete 23:43:06 05883995daec: Pull complete 23:43:07 8603b9c90790: Pull complete 23:43:08 1560dd03e051: Pull complete 23:43:08 27f5ce0e4adf: Pull complete 23:43:23 c2d8d7efcc4b: Pull complete 23:43:23 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:43:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:43:24 prd-ubuntu18.04-docker-arm64-4c-16g-1418 does not seem to be running inside a container 23:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:43:28 $ docker top a264b602d3bf41d93bb5245b355f077a155935a1e73353531c04d70f67b12cc6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:30 ---> job-cost.sh 23:43:30 lf-activate-venv: SKIPPING 23:43:30 INFO: No Stack... 23:43:31 INFO: Retrieving Pricing Info for: v3-standard-4 23:43:31 INFO: Archiving Costs [Pipeline] sh 23:43:32 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 23:43:32 + cut -d, -f6 [Pipeline] lock 23:43:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] 23:43:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] did not exist. Created. 23:43:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:33 /w/workspace/device-sdk-go/2@tmp/durable-4dee8c28/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-4dee8c28/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:43:34 + echo total: 0.10999999940395355 [Pipeline] stash 23:43:34 Warning: overwriting stash ‘stack-cost’ 23:43:34 Stashed 1 file(s) [Pipeline] } 23:43:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:43:34 $ docker stop --time=1 a264b602d3bf41d93bb5245b355f077a155935a1e73353531c04d70f67b12cc6 23:43:36 $ docker rm -f a264b602d3bf41d93bb5245b355f077a155935a1e73353531c04d70f67b12cc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:43:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [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] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) 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] sh 23:43:40 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:43:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:43:41 ---> package-listing.sh 23:43:41 ++ facter osfamily 23:43:41 ++ tr '[:upper:]' '[:lower:]' 23:43:41 + OS_FAMILY=redhat 23:43:41 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1025 23:43:41 + START_PACKAGES=/tmp/packages_start.txt 23:43:41 + END_PACKAGES=/tmp/packages_end.txt 23:43:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:43:41 + PACKAGES=/tmp/packages_start.txt 23:43:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1025 ']' 23:43:41 + PACKAGES=/tmp/packages_end.txt 23:43:41 + case "${OS_FAMILY}" in 23:43:41 + rpm -qa 23:43:41 + sort 23:43:42 + '[' -f /tmp/packages_start.txt ']' 23:43:42 + '[' -f /tmp/packages_end.txt ']' 23:43:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:43:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1025 ']' 23:43:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives/ 23:43:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives/ [Pipeline] echo 23:43:42 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/gexfoundry_device-sdk-go_PR-1025/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:43:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:43:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:43 23:43:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:43:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:43 latest: Pulling from edgex-lftools-log-publisher 23:43:43 b4d181a07f80: Pulling fs layer 23:43:43 a1111a8f2ec3: Pulling fs layer 23:43:43 ed53099fbce6: Pulling fs layer 23:43:43 dc539afda2c1: Pulling fs layer 23:43:43 77bc0d833cb6: Pulling fs layer 23:43:43 9065ff56babe: Pulling fs layer 23:43:43 d287ab97295c: Pulling fs layer 23:43:43 dc539afda2c1: Waiting 23:43:43 77bc0d833cb6: Waiting 23:43:43 9065ff56babe: Waiting 23:43:43 d287ab97295c: Waiting 23:43:43 a1111a8f2ec3: Verifying Checksum 23:43:43 a1111a8f2ec3: Download complete 23:43:43 dc539afda2c1: Verifying Checksum 23:43:43 dc539afda2c1: Download complete 23:43:43 ed53099fbce6: Verifying Checksum 23:43:43 ed53099fbce6: Download complete 23:43:43 9065ff56babe: Verifying Checksum 23:43:43 9065ff56babe: Download complete 23:43:44 77bc0d833cb6: Verifying Checksum 23:43:44 77bc0d833cb6: Download complete 23:43:44 b4d181a07f80: Verifying Checksum 23:43:44 b4d181a07f80: Download complete 23:43:45 d287ab97295c: Verifying Checksum 23:43:45 d287ab97295c: Download complete 23:43:45 b4d181a07f80: Pull complete 23:43:46 a1111a8f2ec3: Pull complete 23:43:46 ed53099fbce6: Pull complete 23:43:46 dc539afda2c1: Pull complete 23:43:47 77bc0d833cb6: Pull complete 23:43:47 9065ff56babe: Pull complete 23:43:52 d287ab97295c: Pull complete 23:43:52 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:43:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:43:52 prd-centos7-docker-4c-2g-1417 does not seem to be running inside a container 23:43:53 $ 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/gexfoundry_device-sdk-go_PR-1025/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1025 -v /w/workspace/gexfoundry_device-sdk-go_PR-1025:/w/workspace/gexfoundry_device-sdk-go_PR-1025:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1025@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:43:56 $ docker top f44215834ff6b9f4024775a77c7c2f9cfd185f6f3ecf0cd9313d7b9005b46425 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:56 + touch /tmp/pre-build-complete [Pipeline] sh 23:43:56 + mkdir -p /var/log/sysstat [Pipeline] sh 23:43:57 + ls /var/log/sa-host 23:43:57 + sadf -c /var/log/sa-host/sa04 23:43:57 file_magic: OK 23:43:57 HZ: Using current value: 100 23:43:57 file_header: OK 23:43:57 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 23:43:57 Statistics: 23:43:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:43:57 File successfully converted to sysstat format version 12.0.3 23:43:57 + sadf -c /var/log/sa-host/sa30 23:43:57 file_magic: OK 23:43:57 HZ: Using current value: 100 23:43:57 file_header: OK 23:43:57 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 23:43:57 Statistics: 23:43:57 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:43:57 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:57 provisioning config files... 23:43:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/config7656698560338800147tmp [Pipeline] { [Pipeline] echo 23:43:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:43:57 ---> create-netrc.sh [Pipeline] } 23:43:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> python-tools-install.sh [Pipeline] echo 23:43:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> sudo-logs.sh 23:43:58 Archiving 'sudo' log.. 23:43:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1417.novalocal: Name or service not known 23:43:58 sudo: unable to resolve host prd-centos7-docker-4c-2g-1417.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:43:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:43:59 ---> job-cost.sh 23:43:59 lf-activate-venv: SKIPPING 23:43:59 DEBUG: total: 0.10999999940395355 23:43:59 INFO: Retrieving Stack Cost... 23:44:01 INFO: Retrieving Pricing Info for: v3-standard-2 23:44:01 INFO: Archiving Costs [Pipeline] echo 23:44:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:44:01 ---> logs-deploy.sh 23:44:01 lf-activate-venv: SKIPPING 23:44:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1025/2 23:44:01 INFO: archiving workspace using pattern(s): 23:44:02 Archives upload complete. 23:44:02 INFO: archiving logs to Nexus 23:44:03 ---> uname -a: 23:44:03 Linux prd-centos7-docker-4c-2g-1417.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 23:44:03 23:44:03 23:44:03 ---> lscpu: 23:44:03 Architecture: x86_64 23:44:03 CPU op-mode(s): 32-bit, 64-bit 23:44:03 Byte Order: Little Endian 23:44:03 Address sizes: 40 bits physical, 48 bits virtual 23:44:03 CPU(s): 2 23:44:03 On-line CPU(s) list: 0,1 23:44:03 Thread(s) per core: 1 23:44:03 Core(s) per socket: 1 23:44:03 Socket(s): 2 23:44:03 NUMA node(s): 1 23:44:03 Vendor ID: AuthenticAMD 23:44:03 CPU family: 23 23:44:03 Model: 49 23:44:03 Model name: AMD EPYC-Rome Processor 23:44:03 Stepping: 0 23:44:03 CPU MHz: 2799.996 23:44:03 BogoMIPS: 5599.99 23:44:03 Virtualization: AMD-V 23:44:03 Hypervisor vendor: KVM 23:44:03 Virtualization type: full 23:44:03 L1d cache: 32K 23:44:03 L1i cache: 32K 23:44:03 L2 cache: 512K 23:44:03 L3 cache: 16384K 23:44:03 NUMA node0 CPU(s): 0,1 23:44:03 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:44:03 23:44:03 23:44:03 ---> nproc: 23:44:03 2 23:44:03 23:44:03 23:44:03 ---> df -h: 23:44:03 Filesystem Size Used Avail Use% Mounted on 23:44:03 overlay 40G 7.7G 33G 20% / 23:44:03 tmpfs 64M 0 64M 0% /dev 23:44:03 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:44:03 shm 64M 0 64M 0% /dev/shm 23:44:03 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:44:03 23:44:03 23:44:03 ---> sar -b -r -n DEV: 23:44:03 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 23:44:03 23:44:03 23:37:17 LINUX RESTART (2 CPU) 23:44:03 23:44:03 23:38:01 tps rtps wtps bread/s bwrtn/s 23:44:03 23:39:01 18.22 0.78 17.44 333.64 2966.16 23:44:03 23:40:01 0.45 0.00 0.45 0.00 7.14 23:44:03 23:41:01 0.37 0.00 0.37 0.00 4.68 23:44:03 23:42:01 0.25 0.00 0.25 0.00 3.90 23:44:03 23:43:01 0.37 0.00 0.37 0.00 4.70 23:44:03 Average: 3.93 0.16 3.77 66.73 597.34 23:44:03 23:44:03 23:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:44:03 23:39:01 5662016 0 637224 7.96 2620 1707080 1265456 13.97 575840 1531820 24 23:44:03 23:40:01 5674748 0 624484 7.80 2620 1707088 1165080 12.86 565860 1531780 12 23:44:03 23:41:01 5670836 0 628396 7.85 2620 1707088 1165320 12.87 568768 1532492 20 23:44:03 23:42:01 5668468 0 630756 7.88 2620 1707096 1165368 12.87 571116 1532492 8 23:44:03 23:43:01 5673324 0 625892 7.81 2620 1707104 1165176 12.86 566540 1532612 8 23:44:03 Average: 5669878 0 629350 7.86 2620 1707091 1185280 13.09 569625 1532239 14 23:44:03 23:44:03 23:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:44:03 23:39:01 eth0 64.62 53.15 358.60 13.11 0.00 0.00 0.00 0.00 23:44:03 23:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:39:01 docker0 9.31 4.75 1.58 28.12 0.00 0.00 0.00 0.00 23:44:03 23:40:01 eth0 0.85 0.05 0.06 0.00 0.00 0.00 0.00 0.00 23:44:03 23:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:41:01 eth0 1.15 0.38 0.33 0.20 0.00 0.00 0.00 0.00 23:44:03 23:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:42:01 eth0 0.58 0.27 0.27 0.20 0.00 0.00 0.00 0.00 23:44:03 23:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:43:01 eth0 0.40 0.25 0.15 0.08 0.00 0.00 0.00 0.00 23:44:03 23:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 23:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 Average: eth0 13.52 10.82 71.89 2.72 0.00 0.00 0.00 0.00 23:44:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:44:03 Average: docker0 1.86 0.95 0.32 5.62 0.00 0.00 0.00 0.00 23:44:03 23:44:03 23:44:03 ---> sar -P ALL: 23:44:03 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 23:44:03 23:44:03 23:37:17 LINUX RESTART (2 CPU) 23:44:03 23:44:03 23:38:01 CPU %user %nice %system %iowait %steal %idle 23:44:03 23:39:01 all 2.73 0.00 1.29 0.36 0.05 95.57 23:44:03 23:39:01 0 2.57 0.00 1.29 0.40 0.05 95.68 23:44:03 23:39:01 1 2.88 0.00 1.28 0.32 0.05 95.47 23:44:03 23:40:01 all 0.23 0.00 0.08 0.00 0.01 99.68 23:44:03 23:40:01 0 0.35 0.00 0.05 0.00 0.00 99.60 23:44:03 23:40:01 1 0.12 0.00 0.10 0.00 0.02 99.77 23:44:03 23:41:01 all 0.19 0.00 0.09 0.00 0.03 99.68 23:44:03 23:41:01 0 0.25 0.00 0.10 0.00 0.03 99.62 23:44:03 23:41:01 1 0.13 0.00 0.08 0.00 0.03 99.75 23:44:03 23:42:01 all 0.23 0.00 0.05 0.00 0.02 99.71 23:44:03 23:42:01 0 0.30 0.00 0.05 0.00 0.00 99.65 23:44:03 23:42:01 1 0.15 0.00 0.05 0.00 0.03 99.77 23:44:03 23:43:01 all 0.21 0.00 0.07 0.00 0.03 99.70 23:44:03 23:43:01 0 0.17 0.00 0.05 0.00 0.03 99.75 23:44:03 23:43:01 1 0.25 0.00 0.08 0.00 0.02 99.65 23:44:03 Average: all 0.71 0.00 0.31 0.07 0.03 98.87 23:44:03 Average: 0 0.73 0.00 0.31 0.08 0.02 98.86 23:44:03 Average: 1 0.70 0.00 0.32 0.06 0.03 98.89 23:44:03 23:44:03 23:44:03