Pull request #1027 event 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8+a03e475574a7b0a183ed31a31e341c573996d3f6 (c8a6699301facae5482a19b6cd106b7ce5166ddf) 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-ssh2794139867615394401.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-ssh5585680727735430146.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1027/workspace@libs/edgex-global-pipelines # timeout=10 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-1027/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3007226813496475590.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1027/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6050613034158280840.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3124661004114888706.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-1027/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-1027/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4076839983805129856.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-133 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [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-1027 # 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-1027@tmp/jenkins-gitclient-ssh728908400723459033.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 a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 Merge succeeded, producing c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 Checking out Revision c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 (PR-1027) > 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-1027@tmp/jenkins-gitclient-ssh2599245558300691947.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # 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-1027@tmp/jenkins-gitclient-ssh463560562532482984.key > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 Commit message: "fix: Stop AutoEvents if the Device is locked" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:51:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:51:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:51:30 ========================================================= 12:51:30 EdgeX Global Pipelines Version Info 12:51:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:51:32 ------------------- 12:51:32 stable info: 12:51:32 ------------------- 12:51:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:51:32 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 12:51:32 Message: update stable to v1.0.206 12:51:32 ------------------- 12:51:32 experimental info: 12:51:32 ------------------- 12:51:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:51:32 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 12:51:32 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:51:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:51:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1027 [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1027 [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1027 [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 [Pipeline] echo 12:51:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7ab418 [Pipeline] echo 12:51:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:51:35 provisioning config files... 12:51:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/config3821605036066201383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:35 ---> docker-login.sh 12:51:35 nexus3.edgexfoundry.org:10001 12:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:35 Configure a credential helper to remove this warning. See 12:51:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:35 12:51:35 Login Succeeded 12:51:35 nexus3.edgexfoundry.org:10002 12:51:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:36 Configure a credential helper to remove this warning. See 12:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:36 12:51:36 Login Succeeded 12:51:36 nexus3.edgexfoundry.org:10003 12:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:36 Configure a credential helper to remove this warning. See 12:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:36 12:51:36 Login Succeeded 12:51:36 nexus3.edgexfoundry.org:10004 12:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:36 Configure a credential helper to remove this warning. See 12:51:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:36 12:51:36 Login Succeeded 12:51:36 docker.io 12:51:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:37 Configure a credential helper to remove this warning. See 12:51:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:37 12:51:37 Login Succeeded 12:51:37 ---> docker-login.sh ends [Pipeline] } 12:51:37 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 12:51:37 + git log --format=format:%s -1 c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 [Pipeline] echo 12:51:37 GIT_COMMIT: c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8, Commit Message: fix: Stop AutoEvents if the Device is locked [Pipeline] echo 12:51:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:51:39 12:51:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:51:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:51:39 latest: Pulling from edgex-devops/git-semver 12:51:39 31603596830f: Pulling fs layer 12:51:39 04fac38145f0: Pulling fs layer 12:51:39 701f6daf10bf: Pulling fs layer 12:51:39 24f72da36158: Pulling fs layer 12:51:39 24f72da36158: Waiting 12:51:39 04fac38145f0: Verifying Checksum 12:51:39 04fac38145f0: Download complete 12:51:39 31603596830f: Verifying Checksum 12:51:39 31603596830f: Download complete 12:51:39 24f72da36158: Verifying Checksum 12:51:39 24f72da36158: Download complete 12:51:39 701f6daf10bf: Verifying Checksum 12:51:39 701f6daf10bf: Download complete 12:51:39 31603596830f: Pull complete 12:51:39 04fac38145f0: Pull complete 12:51:40 701f6daf10bf: Pull complete 12:51:40 24f72da36158: Pull complete 12:51:40 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 12:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:51:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:51:40 prd-centos7-docker-4c-2g-133 does not seem to be running inside a container 12:51:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1027 -v /w/workspace/gexfoundry_device-sdk-go_PR-1027:/w/workspace/gexfoundry_device-sdk-go_PR-1027:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1027@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 12:51:41 $ docker top 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:51:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:42 [ssh-agent] Looking for ssh-agent implementation... 12:51:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:42 $ docker exec 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad ssh-agent 12:51:42 SSH_AUTH_SOCK=/tmp/ssh-zFrpDiDCC7wl/agent.13 12:51:42 SSH_AGENT_PID=19 12:51:42 Running ssh-add (command line suppressed) 12:51:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_4243790689411660487.key (/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_4243790689411660487.key) 12:51:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:42 + git tag --points-at HEAD [Pipeline] } 12:51:42 $ docker exec --env ******** --env ******** 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad ssh-agent -k 12:51:42 unset SSH_AUTH_SOCK; 12:51:42 unset SSH_AGENT_PID; 12:51:42 echo Agent pid 19 killed; 12:51:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:51:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:43 [ssh-agent] Looking for ssh-agent implementation... 12:51:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:43 $ docker exec 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad ssh-agent 12:51:43 SSH_AUTH_SOCK=/tmp/ssh-LIHuwtHaZSZu/agent.53 12:51:43 SSH_AGENT_PID=59 12:51:43 Running ssh-add (command line suppressed) 12:51:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_3957978857517448712.key (/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_3957978857517448712.key) 12:51:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:43 + git semver init 12:51:43 # -> Open(): unable to determine branch for HEAD 12:51:43 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1027/.git 12:51:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1027 12:51:43 # $SEMVER_REMOTE_NAME = origin 12:51:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:51:43 # $SEMVER_USER_NAME = edgex-jenkins 12:51:43 # $SEMVER_BRANCH = PR-1027 12:51:43 # $SEMVER_TEMP = /tmp/semver-375622828 12:51:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:51:44 # '/tmp/semver-375622828' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1027/.semver' 12:51:44 # -> Force: false 12:51:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1027/.semver [Pipeline] } 12:51:44 $ docker exec --env ******** --env ******** 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad ssh-agent -k 12:51:44 unset SSH_AUTH_SOCK; 12:51:44 unset SSH_AGENT_PID; 12:51:44 echo Agent pid 59 killed; 12:51:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:51:45 + git semver [Pipeline] } 12:51:45 $ docker stop --time=1 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad 12:51:46 $ docker rm -f 53f7dd8842e7d5d3ab8b05650b8bdae5f03fafe634e71357f096ae35b32957ad [Pipeline] // withDockerContainer [Pipeline] sh 12:51:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:51:47 Stashed 1 file(s) [Pipeline] echo 12:51:47 [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 12:52:03 Still waiting to schedule task 12:52:03 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-133’ 12:52:03 Still waiting to schedule task 12:52:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:56:11 Running on prd-centos7-docker-4c-2g-138 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [Pipeline] { [Pipeline] ws 12:56:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 12:56:12 Selected Git installation does not exist. Using Default 12:56:12 The recommended git tool is: NONE 12:56:15 using credential edgex-jenkins-ssh 12:56:15 Cloning the remote Git repository 12:56:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:56:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 12:56:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:56:14 > git --version # timeout=10 12:56:14 > git --version # 'git version 2.24.4' 12:56:14 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:14 [INFO] Currently running in a labeled security context 12:56:14 [INFO] Currently SELinux is 'enforcing' on the host 12:56:14 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1014997370845812073.key 12:56:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:16 Merging remotes/origin/main commit a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 12:56:16 Merge succeeded, producing c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 12:56:16 Checking out Revision c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 (PR-1027) 12:56:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:56:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:56:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:56:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:56:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:15 [INFO] Currently running in a labeled security context 12:56:15 [INFO] Currently SELinux is 'enforcing' on the host 12:56:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh178794242140880025.key 12:56:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:56:16 > git config core.sparsecheckout # timeout=10 12:56:16 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 12:56:16 > git remote # timeout=10 12:56:16 > git config --get remote.origin.url # timeout=10 12:56:16 using GIT_SSH to set credentials SSH Credentials for GitHub 12:56:16 [INFO] Currently running in a labeled security context 12:56:16 [INFO] Currently SELinux is 'enforcing' on the host 12:56:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7188172780754864523.key 12:56:16 > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 12:56:16 > git rev-parse HEAD^{commit} # timeout=10 12:56:16 > git config core.sparsecheckout # timeout=10 12:56:16 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 12:56:20 Commit message: "fix: Stop AutoEvents if the Device is locked" 12:56:20 > git --version # timeout=10 12:56:20 > git --version # 'git version 2.24.4' 12:56:20 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:56:21 provisioning config files... 12:56:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3902018904318045380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:21 ---> docker-login.sh 12:56:21 nexus3.edgexfoundry.org:10001 12:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10002 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10003 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10004 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 docker.io 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:23 Configure a credential helper to remove this warning. See 12:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:23 12:56:23 Login Succeeded 12:56:23 ---> docker-login.sh ends [Pipeline] } 12:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:23 ========================================================= 12:56:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 12:56:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:56:23 + 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 . 12:56:23 Sending build context to Docker daemon 2.628MB 12:56:23 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 12:56:23 Step 2/9 : FROM ${BASE} AS builder 12:56:23 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 12:56:23 4e9f2cdf4387: Pulling fs layer 12:56:23 57d31006c564: Pulling fs layer 12:56:23 bd5ccded8296: Pulling fs layer 12:56:23 304dd3a0f381: Pulling fs layer 12:56:23 d37cda54a23b: Pulling fs layer 12:56:23 38ea18935520: Pulling fs layer 12:56:23 ceb1e79740a2: Pulling fs layer 12:56:23 b665197a1568: Pulling fs layer 12:56:23 842a00ea3e35: Pulling fs layer 12:56:23 304dd3a0f381: Waiting 12:56:23 d37cda54a23b: Waiting 12:56:23 38ea18935520: Waiting 12:56:23 ceb1e79740a2: Waiting 12:56:23 b665197a1568: Waiting 12:56:23 842a00ea3e35: Waiting 12:56:24 bd5ccded8296: Download complete 12:56:24 57d31006c564: Verifying Checksum 12:56:24 57d31006c564: Download complete 12:56:24 d37cda54a23b: Verifying Checksum 12:56:24 d37cda54a23b: Download complete 12:56:24 38ea18935520: Verifying Checksum 12:56:24 38ea18935520: Download complete 12:56:24 4e9f2cdf4387: Verifying Checksum 12:56:24 4e9f2cdf4387: Download complete 12:56:24 ceb1e79740a2: Verifying Checksum 12:56:24 ceb1e79740a2: Download complete 12:56:24 4e9f2cdf4387: Pull complete 12:56:24 57d31006c564: Pull complete 12:56:24 bd5ccded8296: Pull complete 12:56:32 b665197a1568: Verifying Checksum 12:56:32 b665197a1568: Download complete 12:56:59 304dd3a0f381: Verifying Checksum 12:56:59 304dd3a0f381: Download complete 12:56:59 842a00ea3e35: Verifying Checksum 12:56:59 842a00ea3e35: Download complete 12:57:01 304dd3a0f381: Pull complete 12:57:01 d37cda54a23b: Pull complete 12:57:01 38ea18935520: Pull complete 12:57:01 ceb1e79740a2: Pull complete 12:57:01 b665197a1568: Pull complete 12:57:04 842a00ea3e35: Pull complete 12:57:04 Digest: sha256:8be23356d7c113ca3b28698ca9a8c0562f3cd483a847db66f47f9eff4f9454b6 12:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 12:57:04 ---> bfa24e8e2367 12:57:04 Step 3/9 : WORKDIR /device-sdk-go 12:57:07 ---> Running in 0dc535bcabbb 12:57:07 Removing intermediate container 0dc535bcabbb 12:57:07 ---> 246874dfeeb9 12:57:07 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:57:07 ---> Running in 97ef2ed91cbc 12:57:07 Removing intermediate container 97ef2ed91cbc 12:57:07 ---> a7e3f0e1dc6d 12:57:07 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:57:07 ---> Running in 51e9c79a6c24 12:57:08 Removing intermediate container 51e9c79a6c24 12:57:08 ---> 121cf5322dfe 12:57:08 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 12:57:08 ---> Running in ca02723cba79 12:57:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 12:57:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 12:57:09 OK: 219 MiB in 52 packages 12:57:09 Removing intermediate container ca02723cba79 12:57:09 ---> 78cf55dc31ce 12:57:09 Step 7/9 : COPY . . 12:57:10 ---> a19295dbecec 12:57:10 Step 8/9 : RUN go mod download 12:57:10 ---> Running in 1d42612955ea 12:57:20 Removing intermediate container 1d42612955ea 12:57:20 ---> 68d9d171b5da 12:57:20 Step 9/9 : RUN make build 12:57:20 ---> Running in 81634c6dbdb3 12:57:20 go mod tidy 12:57:20 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 12:57:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 12:57:31 Removing intermediate container 81634c6dbdb3 12:57:31 ---> 9a008276e500 12:57:31 [Warning] One or more build-args [MAKE] were not consumed 12:57:31 Successfully built 9a008276e500 12:57:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:57:31 + docker inspect -f . ci-base-image-x86_64 12:57:31 . [Pipeline] withDockerContainer 12:57:31 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 12:57:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 12:57:32 $ docker top eabb9d0a36dd8c6c36eccb80044192d23014e6f6523c6cfa2c9b31c6faaa7eb0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:32 + go version 12:57:32 go version go1.16.8 linux/amd64 [Pipeline] } 12:57:32 $ docker stop --time=1 eabb9d0a36dd8c6c36eccb80044192d23014e6f6523c6cfa2c9b31c6faaa7eb0 12:57:33 $ docker rm -f eabb9d0a36dd8c6c36eccb80044192d23014e6f6523c6cfa2c9b31c6faaa7eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:57:34 + docker inspect -f . ci-base-image-x86_64 12:57:34 . [Pipeline] withDockerContainer 12:57:34 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 12:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 12:57:35 $ docker top 5918d2b5562072fc696f1ee65517aeb24937e17f8f7e9304f84e09d8752aa793 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:57:35 + go mod tidy [Pipeline] sh 12:57:36 + make test 12:57:36 go mod tidy 12:57:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:57:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:57:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-139 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [Pipeline] { [Pipeline] ws 12:57:54 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 12:57:55 Selected Git installation does not exist. Using Default 12:57:55 The recommended git tool is: NONE 12:58:01 using credential edgex-jenkins-ssh 12:58:01 Cloning the remote Git repository 12:58:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:58:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 12:58:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:58:02 > git --version # timeout=10 12:58:02 > git --version # 'git version 2.17.1' 12:58:02 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 12:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:58:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:58:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:58:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:58:04 Merging remotes/origin/main commit a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 12:58:04 Merge succeeded, producing c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 12:58:04 Checking out Revision c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 (PR-1027) 12:58:04 > git config core.sparsecheckout # timeout=10 12:58:04 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 12:58:04 > git remote # timeout=10 12:58:04 > git config --get remote.origin.url # timeout=10 12:58:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:04 > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 12:58:04 > git rev-parse HEAD^{commit} # timeout=10 12:58:04 > git config core.sparsecheckout # timeout=10 12:58:05 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 12:58:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.5% of statements 12:58:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:58:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements 12:58:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements 12:58:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 9.0% of statements 12:58:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 12:58:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 12:58:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:58:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements 12:58:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 12:58:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements 12:58:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:58:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:58:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements 12:58:09 Commit message: "fix: Stop AutoEvents if the Device is locked" 12:58:09 > git --version # timeout=10 12:58:09 > git --version # 'git version 2.17.1' 12:58:09 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 12:58:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.806s coverage: 89.2% of statements 12:58:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 12:58:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.9% of statements 12:58:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:58:10 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:10 provisioning config files... 12:58:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1026864646536316070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:11 ---> docker-login.sh 12:58:11 nexus3.edgexfoundry.org:10001 12:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:20 gofmt -l . 12:58:20 [ "`gofmt -l .`" = "" ] 12:58:20 ./bin/test-attribution-txt.sh 12:58:20 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:58:20 $ docker stop --time=1 5918d2b5562072fc696f1ee65517aeb24937e17f8f7e9304f84e09d8752aa793 12:58:22 $ docker rm -f 5918d2b5562072fc696f1ee65517aeb24937e17f8f7e9304f84e09d8752aa793 [Pipeline] // withDockerContainer 12:58:22 Error response from daemon: Get https://nexus3.edgexfoundry.org:10001/v2/: net/http: TLS handshake timeout [Pipeline] sh [Pipeline] } 12:58:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:58:23 + sudo chown -R jenkins:jenkins . [Pipeline] // script [Pipeline] stash [Pipeline] } [Pipeline] // stage 12:58:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // stage Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [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] sh [Pipeline] isUnix [Pipeline] sh 12:58:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:58:26 12:58:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:58:27 + ls -al . 12:58:27 total 236 12:58:27 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 6 12:58 . 12:58:27 drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 12:56 .. 12:58:27 drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 12:56 bin 12:58:27 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 6 12:56 CHANGELOG.md 12:58:27 -rw-r--r--. 1 jenkins jenkins 125906 Oct 6 12:58 coverage.out 12:58:27 -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 12:56 .dockerignore 12:58:27 drwxrwxr-x. 5 jenkins jenkins 62 Oct 6 12:56 example 12:58:27 drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 12:56 .git 12:58:27 drwxrwxr-x. 3 jenkins jenkins 125 Oct 6 12:56 .github 12:58:27 -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 12:56 .gitignore 12:58:27 -rw-r--r--. 1 jenkins jenkins 576 Oct 6 12:58 go.mod 12:58:27 -rw-r--r--. 1 jenkins jenkins 20493 Oct 6 12:57 go.sum 12:58:27 -rw-rw-r--. 1 jenkins jenkins 677 Oct 6 12:56 GOVERNANCE.md 12:58:27 drwxrwxr-x. 15 jenkins jenkins 224 Oct 6 12:56 internal 12:58:27 -rw-rw-r--. 1 jenkins jenkins 880 Oct 6 12:56 Jenkinsfile 12:58:27 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 12:56 LICENSE 12:58:27 -rw-rw-r--. 1 jenkins jenkins 1026 Oct 6 12:56 Makefile 12:58:27 drwxrwxr-x. 3 jenkins jenkins 16 Oct 6 12:56 openapi 12:58:27 -rw-rw-r--. 1 jenkins jenkins 619 Oct 6 12:56 OWNERS.md 12:58:27 drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 12:56 pkg 12:58:27 -rw-rw-r--. 1 jenkins jenkins 7646 Oct 6 12:56 README.md 12:58:27 drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 12:56 snap 12:58:27 -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 12:51 VERSION 12:58:27 -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 12:56 version.go [Pipeline] isUnix [Pipeline] sh 12:58:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:58:27 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 --label arch=amd64 --label version=0.0.0 . 12:58:27 Sending build context to Docker daemon 2.755MB 12:58:27 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 12:58:27 Step 2/23 : FROM ${BASE} AS builder 12:58:27 ---> 9a008276e500 12:58:27 Step 3/23 : WORKDIR /device-sdk-go 12:58:27 ---> Running in 35fb2237894e 12:58:28 Removing intermediate container 35fb2237894e 12:58:28 ---> 8cce9ed8c368 12:58:28 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:58:28 ---> Running in ffa5394c318a 12:58:28 Removing intermediate container ffa5394c318a 12:58:28 ---> 388c1277b274 12:58:28 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:28 ---> Running in 568afdb6ec81 12:58:28 arm64: Pulling from edgex-lftools-log-publisher 12:58:28 448f6bf000e3: Pulling fs layer 12:58:28 f757da607395: Pulling fs layer 12:58:28 05883995daec: Pulling fs layer 12:58:28 8603b9c90790: Pulling fs layer 12:58:28 1560dd03e051: Pulling fs layer 12:58:28 8603b9c90790: Waiting 12:58:28 27f5ce0e4adf: Pulling fs layer 12:58:28 c2d8d7efcc4b: Pulling fs layer 12:58:28 1560dd03e051: Waiting 12:58:28 27f5ce0e4adf: Waiting 12:58:28 c2d8d7efcc4b: Waiting 12:58:28 f757da607395: Verifying Checksum 12:58:28 f757da607395: Download complete 12:58:28 8603b9c90790: Download complete 12:58:28 1560dd03e051: Verifying Checksum 12:58:28 1560dd03e051: Download complete 12:58:28 Removing intermediate container 568afdb6ec81 12:58:28 ---> d80f43e1304b 12:58:28 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 12:58:28 ---> Running in ef74ef0331c1 12:58:28 27f5ce0e4adf: Verifying Checksum 12:58:28 27f5ce0e4adf: Download complete 12:58:28 05883995daec: Verifying Checksum 12:58:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 12:58:29 448f6bf000e3: Verifying Checksum 12:58:29 448f6bf000e3: Download complete 12:58:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 12:58:30 OK: 219 MiB in 52 packages 12:58:30 Removing intermediate container ef74ef0331c1 12:58:30 ---> 94e0cb55add8 12:58:30 Step 7/23 : COPY . . 12:58:30 ---> eacec5a15713 12:58:30 Step 8/23 : RUN go mod download 12:58:30 ---> Running in 3f499277a7d3 12:58:31 Removing intermediate container 3f499277a7d3 12:58:31 ---> 23c61b1a2cfe 12:58:31 Step 9/23 : RUN make build 12:58:31 ---> Running in 5aa273cff151 12:58:31 go mod tidy 12:58:31 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 12:58:31 c2d8d7efcc4b: Verifying Checksum 12:58:31 c2d8d7efcc4b: Download complete 12:58:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 12:58:32 Removing intermediate container 5aa273cff151 12:58:32 ---> 29c0c67e8f30 12:58:32 Step 10/23 : FROM alpine:3.14 12:58:33 3.14: Pulling from library/alpine 12:58:33 a0d0a0d46f8b: Pulling fs layer 12:58:33 448f6bf000e3: Pull complete 12:58:33 a0d0a0d46f8b: Verifying Checksum 12:58:33 a0d0a0d46f8b: Download complete 12:58:33 a0d0a0d46f8b: Pull complete 12:58:33 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 12:58:33 Status: Downloaded newer image for alpine:3.14 12:58:33 ---> 14119a10abf4 12:58:33 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:58:33 ---> Running in 534e278c6ef5 12:58:33 Removing intermediate container 534e278c6ef5 12:58:33 ---> 5b1293dbd429 12:58:33 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:33 ---> Running in 0242aefc3584 12:58:34 Removing intermediate container 0242aefc3584 12:58:34 ---> 07b72868d6e9 12:58:34 Step 13/23 : RUN apk add --update --no-cache zeromq 12:58:34 ---> Running in 31100e8d2d2e 12:58:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:58:34 f757da607395: Pull complete 12:58:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:58:35 (1/5) Installing libgcc (10.3.1_git20210424-r2) 12:58:35 (2/5) Installing libsodium (1.0.18-r0) 12:58:35 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 12:58:35 (4/5) Installing libzmq (4.3.4-r0) 12:58:35 05883995daec: Pull complete 12:58:35 8603b9c90790: Pull complete 12:58:36 (5/5) Installing zeromq (4.3.4-r0) 12:58:36 Executing busybox-1.33.1-r3.trigger 12:58:36 OK: 8 MiB in 19 packages 12:58:36 Removing intermediate container 31100e8d2d2e 12:58:36 ---> 4d6f3e3f7b2b 12:58:36 Step 14/23 : WORKDIR / 12:58:36 ---> Running in 8d355d1e3333 12:58:36 Removing intermediate container 8d355d1e3333 12:58:36 ---> 779b35f059a0 12:58:36 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:58:36 ---> a6e07ac5f908 12:58:36 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:58:36 ---> ad2a60463a61 12:58:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:58:36 1560dd03e051: Pull complete 12:58:37 ---> ef67773ef444 12:58:37 Step 18/23 : EXPOSE 59999 12:58:37 ---> Running in f06ecd194ba9 12:58:37 Removing intermediate container f06ecd194ba9 12:58:37 ---> 08fa7a492c31 12:58:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 12:58:37 ---> Running in 3c6c01a17bc0 12:58:37 Removing intermediate container 3c6c01a17bc0 12:58:37 ---> 985e73c481db 12:58:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:58:37 ---> Running in 902c93c52706 12:58:37 Removing intermediate container 902c93c52706 12:58:37 ---> 884a1ffbf40b 12:58:37 Step 21/23 : LABEL arch=amd64 12:58:37 ---> Running in 4694a570f759 12:58:37 Removing intermediate container 4694a570f759 12:58:37 ---> 6ceecf87b727 12:58:37 Step 22/23 : LABEL git_sha=c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 12:58:37 ---> Running in 6843d88b89ab 12:58:37 27f5ce0e4adf: Pull complete 12:58:37 Removing intermediate container 6843d88b89ab 12:58:37 ---> d5c49cfb4e92 12:58:37 Step 23/23 : LABEL version=0.0.0 12:58:37 ---> Running in cccc09d42bc2 12:58:37 Removing intermediate container cccc09d42bc2 12:58:37 ---> 290e10e05a9a 12:58:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:58:37 Successfully built 290e10e05a9a 12:58:37 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:58:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:38 12:58:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:58:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:39 latest: Pulling from edgex-lftools-log-publisher 12:58:39 b4d181a07f80: Pulling fs layer 12:58:39 a1111a8f2ec3: Pulling fs layer 12:58:39 ed53099fbce6: Pulling fs layer 12:58:39 dc539afda2c1: Pulling fs layer 12:58:39 77bc0d833cb6: Pulling fs layer 12:58:39 9065ff56babe: Pulling fs layer 12:58:39 d287ab97295c: Pulling fs layer 12:58:39 9065ff56babe: Waiting 12:58:39 dc539afda2c1: Waiting 12:58:39 d287ab97295c: Waiting 12:58:39 77bc0d833cb6: Waiting 12:58:39 a1111a8f2ec3: Verifying Checksum 12:58:39 a1111a8f2ec3: Download complete 12:58:39 dc539afda2c1: Verifying Checksum 12:58:39 dc539afda2c1: Download complete 12:58:39 ed53099fbce6: Verifying Checksum 12:58:39 ed53099fbce6: Download complete 12:58:39 9065ff56babe: Verifying Checksum 12:58:39 9065ff56babe: Download complete 12:58:39 77bc0d833cb6: Verifying Checksum 12:58:39 77bc0d833cb6: Download complete 12:58:39 b4d181a07f80: Verifying Checksum 12:58:39 b4d181a07f80: Download complete 12:58:41 d287ab97295c: Verifying Checksum 12:58:41 d287ab97295c: Download complete 12:58:41 b4d181a07f80: Pull complete 12:58:41 a1111a8f2ec3: Pull complete 12:58:42 ed53099fbce6: Pull complete 12:58:42 dc539afda2c1: Pull complete 12:58:42 77bc0d833cb6: Pull complete 12:58:42 9065ff56babe: Pull complete 12:58:48 d287ab97295c: Pull complete 12:58:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:58:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:58:48 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 12:58:48 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 12:58:50 $ docker top a6c382f86e17f2c153cfbdecf18cfebb288c61fa9805567db1914aaf4724d10a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:51 ---> job-cost.sh 12:58:51 lf-activate-venv: SKIPPING 12:58:51 INFO: No Stack... 12:58:52 c2d8d7efcc4b: Pull complete 12:58:52 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:58:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:58:53 prd-ubuntu18.04-docker-arm64-4c-16g-139 does not seem to be running inside a container 12:58:53 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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:arm64 cat 12:58:58 $ docker top 812159dff86b11d14106729ec0609dcf7c3b22ced9c694a8fe4fff44686d25d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:59 ---> job-cost.sh 12:58:59 lf-activate-venv: SKIPPING 12:58:59 INFO: No Stack... 12:59:06 INFO: Retrieving Pricing Info for: v3-standard-4 12:59:06 INFO: Archiving Costs [Pipeline] sh 12:59:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 12:59:07 + cut -d, -f6 [Pipeline] lock 12:59:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] 12:59:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] did not exist. Created. 12:59:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:08 + echo total: 0.10999999940395355 [Pipeline] stash 12:59:09 INFO: Retrieving Pricing Info for: v3-standard-2 12:59:09 INFO: Archiving Costs [Pipeline] sh 12:59:09 Stashed 1 file(s) [Pipeline] } 12:59:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:09 $ docker stop --time=1 812159dff86b11d14106729ec0609dcf7c3b22ced9c694a8fe4fff44686d25d4 12:59:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 12:59:09 + cut -d, -f6 12:59:11 $ docker rm -f 812159dff86b11d14106729ec0609dcf7c3b22ced9c694a8fe4fff44686d25d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] lock 12:59:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] 12:59:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] did not exist. Created. 12:59:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] [Pipeline] { [Pipeline] // script [Pipeline] unstash [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 12:59:12 /w/workspace/device-sdk-go/1@tmp/durable-34b860d2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-34b860d2/script.sh: Syntax error: Unterminated quoted string [Pipeline] // stage [Pipeline] } 12:59:12 Failed in branch arm64 [Pipeline] sh 12:59:12 + echo total: 0.05999999865889549 [Pipeline] stash 12:59:12 Warning: overwriting stash ‘stack-cost’ 12:59:13 Stashed 1 file(s) [Pipeline] } 12:59:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:13 $ docker stop --time=1 a6c382f86e17f2c153cfbdecf18cfebb288c61fa9805567db1914aaf4724d10a 12:59:14 $ docker rm -f a6c382f86e17f2c153cfbdecf18cfebb288c61fa9805567db1914aaf4724d10a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 12:59:18 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives ']' [Pipeline] libraryResource [Pipeline] sh 12:59:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:59:19 ---> package-listing.sh 12:59:19 ++ facter osfamily 12:59:19 ++ tr '[:upper:]' '[:lower:]' 12:59:19 + OS_FAMILY=redhat 12:59:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1027 12:59:19 + START_PACKAGES=/tmp/packages_start.txt 12:59:19 + END_PACKAGES=/tmp/packages_end.txt 12:59:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:59:19 + PACKAGES=/tmp/packages_start.txt 12:59:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1027 ']' 12:59:19 + PACKAGES=/tmp/packages_end.txt 12:59:19 + case "${OS_FAMILY}" in 12:59:19 + sort 12:59:19 + rpm -qa 12:59:20 + '[' -f /tmp/packages_start.txt ']' 12:59:20 + '[' -f /tmp/packages_end.txt ']' 12:59:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:59:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1027 ']' 12:59:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives/ 12:59:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives/ [Pipeline] echo 12:59: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/gexfoundry_device-sdk-go_PR-1027/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:59:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:59:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:21 12:59:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:59:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:21 latest: Pulling from edgex-lftools-log-publisher 12:59:21 b4d181a07f80: Pulling fs layer 12:59:21 a1111a8f2ec3: Pulling fs layer 12:59:21 ed53099fbce6: Pulling fs layer 12:59:21 dc539afda2c1: Pulling fs layer 12:59:21 77bc0d833cb6: Pulling fs layer 12:59:21 9065ff56babe: Pulling fs layer 12:59:21 d287ab97295c: Pulling fs layer 12:59:21 dc539afda2c1: Waiting 12:59:21 77bc0d833cb6: Waiting 12:59:21 9065ff56babe: Waiting 12:59:21 d287ab97295c: Waiting 12:59:21 a1111a8f2ec3: Verifying Checksum 12:59:21 a1111a8f2ec3: Download complete 12:59:21 dc539afda2c1: Verifying Checksum 12:59:21 dc539afda2c1: Download complete 12:59:22 ed53099fbce6: Verifying Checksum 12:59:22 ed53099fbce6: Download complete 12:59:22 9065ff56babe: Verifying Checksum 12:59:22 9065ff56babe: Download complete 12:59:22 b4d181a07f80: Download complete 12:59:22 77bc0d833cb6: Verifying Checksum 12:59:22 77bc0d833cb6: Download complete 12:59:24 b4d181a07f80: Pull complete 12:59:24 a1111a8f2ec3: Pull complete 12:59:24 d287ab97295c: Verifying Checksum 12:59:24 d287ab97295c: Download complete 12:59:24 ed53099fbce6: Pull complete 12:59:24 dc539afda2c1: Pull complete 12:59:25 77bc0d833cb6: Pull complete 12:59:25 9065ff56babe: Pull complete 12:59:32 d287ab97295c: Pull complete 12:59:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:59:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:59:32 prd-centos7-docker-4c-2g-133 does not seem to be running inside a container 12:59:32 $ 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-1027/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-1027 -v /w/workspace/gexfoundry_device-sdk-go_PR-1027:/w/workspace/gexfoundry_device-sdk-go_PR-1027:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1027@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 12:59:34 $ docker top 137e7e951de64adbdbf4d3f1d9dc7936974f7199229b821e00e0b730fe0a9237 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:35 + touch /tmp/pre-build-complete [Pipeline] sh 12:59:35 + mkdir -p /var/log/sysstat [Pipeline] sh 12:59:35 + ls /var/log/sa-host 12:59:35 + sadf -c /var/log/sa-host/sa06 12:59:35 file_magic: OK 12:59:35 HZ: Using current value: 100 12:59:35 file_header: OK 12:59:35 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 12:59:35 Statistics: 12:59:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:59:35 File successfully converted to sysstat format version 12.0.3 12:59:35 + sadf -c /var/log/sa-host/sa30 12:59:35 file_magic: OK 12:59:35 HZ: Using current value: 100 12:59:35 file_header: OK 12:59:35 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 12:59:35 Statistics: 12:59:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:59:35 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:36 provisioning config files... 12:59:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/config5767287560076495755tmp [Pipeline] { [Pipeline] echo 12:59:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:59:37 ---> create-netrc.sh [Pipeline] } 12:59:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:59:37 ---> python-tools-install.sh [Pipeline] echo 12:59:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:59:37 ---> sudo-logs.sh 12:59:37 Archiving 'sudo' log.. 12:59:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-133.novalocal: Name or service not known 12:59:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-133.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:59:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:59:38 ---> job-cost.sh 12:59:38 lf-activate-venv: SKIPPING 12:59:38 DEBUG: total: 0.05999999865889549 12:59:38 INFO: Retrieving Stack Cost... 12:59:48 INFO: Retrieving Pricing Info for: v3-standard-2 12:59:48 INFO: Archiving Costs [Pipeline] echo 12:59:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:59:48 ---> logs-deploy.sh 12:59:48 lf-activate-venv: SKIPPING 12:59:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1027/1 12:59:48 INFO: archiving workspace using pattern(s):