Pull request #1062 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b+26056eb6751852d3be2b177fe263ccb57def27d1 (b169fedf980f08cdaeebf840f29c54f19b0fbb2a) 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-ssh3980955443760569953.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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-ssh7763028693663991441.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 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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-1062/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-1062/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8154141222652844145.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-1062/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6694899017152900487.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 # timeout=10 Commit message: "Merge pull request #363 from ernestojeda/fix-lts-clone" > 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-ssh890512605263455130.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-1062/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-1062/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8973654836987217041.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 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 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 USE_ALPINE: true 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-11 in /w/workspace/gexfoundry_device-sdk-go_PR-1062 [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-1062 # 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-1062@tmp/jenkins-gitclient-ssh6047920116945664852.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 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b Merge succeeded, producing 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b Checking out Revision 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b (PR-1062) > 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-1062@tmp/jenkins-gitclient-ssh8074889563537678627.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1062/head:refs/remotes/origin/PR-1062 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # 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-1062@tmp/jenkins-gitclient-ssh5266795990179174534.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:10:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:10:44 ========================================================= 04:10:44 EdgeX Global Pipelines Version Info 04:10:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:10:45 ------------------- 04:10:45 stable info: 04:10:45 ------------------- 04:10:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:10:45 Commit SHA: 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 04:10:45 Message: update stable to v1.0.212 04:10:46 ------------------- 04:10:46 experimental info: 04:10:46 ------------------- 04:10:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:10:46 Commit SHA: 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 04:10:46 Message: update experimental to v1.0.212 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:10:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1062 [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1062 [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1062 [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ea79ec [Pipeline] echo 04:10:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:47 provisioning config files... 04:10:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/config6548235301636103999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:47 ---> docker-login.sh 04:10:47 nexus3.edgexfoundry.org:10001 04:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:48 Configure a credential helper to remove this warning. See 04:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:48 04:10:48 Login Succeeded 04:10:48 nexus3.edgexfoundry.org:10002 04:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:48 Configure a credential helper to remove this warning. See 04:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:48 04:10:48 Login Succeeded 04:10:48 nexus3.edgexfoundry.org:10003 04:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:48 Configure a credential helper to remove this warning. See 04:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:48 04:10:48 Login Succeeded 04:10:48 nexus3.edgexfoundry.org:10004 04:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:48 Configure a credential helper to remove this warning. See 04:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:48 04:10:48 Login Succeeded 04:10:48 docker.io 04:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:48 Configure a credential helper to remove this warning. See 04:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:48 04:10:48 Login Succeeded 04:10:48 ---> docker-login.sh ends [Pipeline] } 04:10:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:10:49 + git rev-list -1 --merges 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b~1..2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [Pipeline] echo 04:10:49 -----------> git rev-list -1 --merges 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b~1..2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [false] [Pipeline] sh 04:10:49 + git log --format=format:%s -1 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [Pipeline] echo 04:10:49 ========================================================= 04:10:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:10:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:50 + git log --format=format:%s -1 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [Pipeline] echo 04:10:50 [semverPrep] GIT_COMMIT: 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 04:10:50 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:10:50 04:10:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:10:51 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:10:51 latest: Pulling from edgex-devops/git-semver 04:10:51 a0d0a0d46f8b: Pulling fs layer 04:10:51 3e5f54012d9b: Pulling fs layer 04:10:51 4c7163046ea9: Pulling fs layer 04:10:51 0c2d73faf560: Pulling fs layer 04:10:51 0c2d73faf560: Waiting 04:10:51 3e5f54012d9b: Verifying Checksum 04:10:51 3e5f54012d9b: Download complete 04:10:51 a0d0a0d46f8b: Verifying Checksum 04:10:51 a0d0a0d46f8b: Download complete 04:10:51 4c7163046ea9: Verifying Checksum 04:10:51 4c7163046ea9: Download complete 04:10:51 0c2d73faf560: Verifying Checksum 04:10:51 0c2d73faf560: Download complete 04:10:51 a0d0a0d46f8b: Pull complete 04:10:51 3e5f54012d9b: Pull complete 04:10:51 4c7163046ea9: Pull complete 04:10:51 0c2d73faf560: Pull complete 04:10:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:10:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:10:51 prd-centos7-docker-4c-2g-11 does not seem to be running inside a container 04:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1062 -v /w/workspace/gexfoundry_device-sdk-go_PR-1062:/w/workspace/gexfoundry_device-sdk-go_PR-1062:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1062@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:10:52 $ docker top 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:10:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:52 [ssh-agent] Looking for ssh-agent implementation... 04:10:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:52 $ docker exec 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d ssh-agent 04:10:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHDiGGK/agent.13 04:10:52 SSH_AGENT_PID=19 04:10:52 Running ssh-add (command line suppressed) 04:10:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/private_key_4858324773993510638.key (/w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/private_key_4858324773993510638.key) 04:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:53 + git tag --points-at HEAD [Pipeline] } 04:10:53 $ docker exec --env ******** --env ******** 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d ssh-agent -k 04:10:53 unset SSH_AUTH_SOCK; 04:10:53 unset SSH_AGENT_PID; 04:10:53 echo Agent pid 19 killed; 04:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:53 [ssh-agent] Looking for ssh-agent implementation... 04:10:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:53 $ docker exec 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d ssh-agent 04:10:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCeGfpg/agent.54 04:10:53 SSH_AGENT_PID=60 04:10:53 Running ssh-add (command line suppressed) 04:10:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/private_key_8814062175354813912.key (/w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/private_key_8814062175354813912.key) 04:10:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:54 + git semver init 04:10:54 # -> Open(): unable to determine branch for HEAD 04:10:54 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1062/.git 04:10:54 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1062 04:10:54 # $SEMVER_REMOTE_NAME = origin 04:10:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:10:54 # $SEMVER_USER_NAME = edgex-jenkins 04:10:54 # $SEMVER_BRANCH = PR-1062 04:10:54 # $SEMVER_TEMP = /tmp/semver-279634266 04:10:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:10:55 # '/tmp/semver-279634266' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1062/.semver' 04:10:55 # -> Force: false 04:10:55 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1062/.semver [Pipeline] } 04:10:54 $ docker exec --env ******** --env ******** 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d ssh-agent -k 04:10:55 unset SSH_AUTH_SOCK; 04:10:55 unset SSH_AGENT_PID; 04:10:55 echo Agent pid 60 killed; 04:10:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:10:55 + git semver [Pipeline] } 04:10:55 $ docker stop --time=1 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d 04:10:56 $ docker rm -f 2a909f4d19a1bf79b37df299b5b8818528072ea43e863619fe5f240daa93394d [Pipeline] // withDockerContainer [Pipeline] sh 04:10:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:10:57 Stashed 1 file(s) [Pipeline] echo 04:10:57 [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 04:11:12 Still waiting to schedule task 04:11:12 ‘prd-centos7-docker-4c-2g-12’ is offline 04:11:12 Still waiting to schedule task 04:11:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:12:28 Running on prd-centos7-docker-4c-2g-19 in /w/workspace/gexfoundry_device-sdk-go_PR-1062 [Pipeline] { [Pipeline] ws 04:12:28 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:12:28 Selected Git installation does not exist. Using Default 04:12:28 The recommended git tool is: NONE 04:12:30 using credential edgex-jenkins-ssh 04:12:30 Cloning the remote Git repository 04:12:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:12:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:12:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:30 > git --version # timeout=10 04:12:30 > git --version # 'git version 2.24.4' 04:12:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:30 [INFO] Currently running in a labeled security context 04:12:30 [INFO] Currently SELinux is 'enforcing' on the host 04:12:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh9177197594475122084.key 04:12:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:31 [INFO] Currently running in a labeled security context 04:12:31 [INFO] Currently SELinux is 'enforcing' on the host 04:12:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5914492919625405416.key 04:12:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1062/head:refs/remotes/origin/PR-1062 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:12:32 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:12:32 Merge succeeded, producing 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:12:32 Checking out Revision 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b (PR-1062) 04:12:31 > git config core.sparsecheckout # timeout=10 04:12:31 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # timeout=10 04:12:31 > git remote # timeout=10 04:12:31 > git config --get remote.origin.url # timeout=10 04:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:31 [INFO] Currently running in a labeled security context 04:12:31 [INFO] Currently SELinux is 'enforcing' on the host 04:12:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1016989108008106845.key 04:12:31 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:12:31 > git rev-parse HEAD^{commit} # timeout=10 04:12:31 > git config core.sparsecheckout # timeout=10 04:12:32 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # timeout=10 04:12:36 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 04:12:35 > git --version # timeout=10 04:12:35 > git --version # 'git version 2.24.4' 04:12:35 fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:36 provisioning config files... 04:12:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2230522457673000208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:37 ---> docker-login.sh 04:12:37 nexus3.edgexfoundry.org:10001 04:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:37 Configure a credential helper to remove this warning. See 04:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:37 04:12:37 Login Succeeded 04:12:37 nexus3.edgexfoundry.org:10002 04:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:37 Configure a credential helper to remove this warning. See 04:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:37 04:12:37 Login Succeeded 04:12:37 nexus3.edgexfoundry.org:10003 04:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:37 Configure a credential helper to remove this warning. See 04:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:37 04:12:37 Login Succeeded 04:12:37 nexus3.edgexfoundry.org:10004 04:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:37 Configure a credential helper to remove this warning. See 04:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:37 04:12:37 Login Succeeded 04:12:37 docker.io 04:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:38 Configure a credential helper to remove this warning. See 04:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:38 04:12:38 Login Succeeded 04:12:38 ---> docker-login.sh ends [Pipeline] } 04:12:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:38 ========================================================= 04:12:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:12:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:12:39 + 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 . 04:12:39 Sending build context to Docker daemon 2.76MB 04:12:39 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:12:39 Step 2/10 : FROM ${BASE} AS builder 04:12:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:12:39 a0d0a0d46f8b: Pulling fs layer 04:12:39 31adcdaf11c8: Pulling fs layer 04:12:39 b8b176561691: Pulling fs layer 04:12:39 4527c011a84f: Pulling fs layer 04:12:39 5d74067f8e1e: Pulling fs layer 04:12:39 e0aca202a116: Pulling fs layer 04:12:39 3a43be97a3b4: Pulling fs layer 04:12:39 34cad66bf833: Pulling fs layer 04:12:39 b4e3c513aaa6: Pulling fs layer 04:12:39 4527c011a84f: Waiting 04:12:39 e0aca202a116: Waiting 04:12:39 3a43be97a3b4: Waiting 04:12:39 5d74067f8e1e: Waiting 04:12:39 b4e3c513aaa6: Waiting 04:12:39 34cad66bf833: Waiting 04:12:39 b8b176561691: Verifying Checksum 04:12:39 b8b176561691: Download complete 04:12:39 31adcdaf11c8: Verifying Checksum 04:12:39 31adcdaf11c8: Download complete 04:12:39 5d74067f8e1e: Verifying Checksum 04:12:39 5d74067f8e1e: Download complete 04:12:39 e0aca202a116: Verifying Checksum 04:12:39 e0aca202a116: Download complete 04:12:39 a0d0a0d46f8b: Verifying Checksum 04:12:39 a0d0a0d46f8b: Download complete 04:12:39 3a43be97a3b4: Verifying Checksum 04:12:39 3a43be97a3b4: Download complete 04:12:39 34cad66bf833: Verifying Checksum 04:12:39 34cad66bf833: Download complete 04:12:39 a0d0a0d46f8b: Pull complete 04:12:40 4527c011a84f: Verifying Checksum 04:12:40 4527c011a84f: Download complete 04:12:40 31adcdaf11c8: Pull complete 04:12:40 b4e3c513aaa6: Verifying Checksum 04:12:40 b4e3c513aaa6: Download complete 04:12:40 b8b176561691: Pull complete 04:12:44 4527c011a84f: Pull complete 04:12:44 5d74067f8e1e: Pull complete 04:12:44 e0aca202a116: Pull complete 04:12:44 3a43be97a3b4: Pull complete 04:12:44 34cad66bf833: Pull complete 04:12:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15 in /w/workspace/gexfoundry_device-sdk-go_PR-1062 [Pipeline] { [Pipeline] ws 04:12:46 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:12:46 b4e3c513aaa6: Pull complete 04:12:46 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:12:46 ---> 9f6097aaca64 04:12:46 Step 3/10 : ARG MAKE=make build 04:12:47 Selected Git installation does not exist. Using Default 04:12:47 The recommended git tool is: NONE 04:12:48 ---> Running in 7332f7f74fa7 04:12:48 Removing intermediate container 7332f7f74fa7 04:12:48 ---> d4894bfd6ecd 04:12:48 Step 4/10 : WORKDIR /device-sdk-go 04:12:48 ---> Running in c563b958cda9 04:12:48 Removing intermediate container c563b958cda9 04:12:48 ---> ba8ce4bf1d0d 04:12:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:12:48 ---> Running in 2917e8b27dc3 04:12:48 Removing intermediate container 2917e8b27dc3 04:12:48 ---> 0f162b1d7572 04:12:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:49 ---> Running in b94f2b186bf4 04:12:49 Removing intermediate container b94f2b186bf4 04:12:49 ---> 13f266601673 04:12:49 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:12:49 ---> Running in 1a4cffe39ea5 04:12:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:12:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:12:51 OK: 220 MiB in 52 packages 04:12:51 Removing intermediate container 1a4cffe39ea5 04:12:51 ---> b4bb374413e9 04:12:51 Step 8/10 : COPY . . 04:12:51 ---> b7d64ff11794 04:12:51 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:51 ---> Running in e96dcfee18ff 04:12:52 using credential edgex-jenkins-ssh 04:12:52 Cloning the remote Git repository 04:12:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:12:52 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:12:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:52 > git --version # timeout=10 04:12:52 > git --version # 'git version 2.17.1' 04:12:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:12:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:12:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1062/head:refs/remotes/origin/PR-1062 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:12:54 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:12:54 Merge succeeded, producing 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:12:54 Checking out Revision 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b (PR-1062) 04:12:54 > git config core.sparsecheckout # timeout=10 04:12:54 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # timeout=10 04:12:54 > git remote # timeout=10 04:12:54 > git config --get remote.origin.url # timeout=10 04:12:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:12:54 > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 04:12:54 > git rev-parse HEAD^{commit} # timeout=10 04:12:54 > git config core.sparsecheckout # timeout=10 04:12:54 > git checkout -f 2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b # timeout=10 04:12:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" 04:12:59 > git --version # timeout=10 04:12:59 > git --version # 'git version 2.17.1' 04:12:59 fatal: bad object 1a66093135c01cdc1d6c9e07e402cdd5cbdad076 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:13:00 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:00 Dload Upload Total Spent Left Speed 04:13:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 84457 0 --:--:-- --:--:-- --:--:-- 84457 [Pipeline] sh 04:13:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:13:01 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 04:13:01 04:13:01 { 04:13:01 "registry-mirrors": [ 04:13:01 "https://nexus3.edgexfoundry.org:10001" 04:13:01 ], 04:13:01 "bip": "10.250.0.254/24", 04:13:01 "hosts": [ 04:13:01 "tcp://0.0.0.0:5555", 04:13:01 "unix:///var/run/docker.sock" 04:13:01 ], 04:13:01 "mtu": 1458, 04:13:01 "selinux-enabled": true, 04:13:01 "seccomp-profile": "/etc/docker/seccomp.json" 04:13:01 } [Pipeline] sh 04:13:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:13:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:20 provisioning config files... 04:13:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4402921167590675933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:20 ---> docker-login.sh 04:13:20 nexus3.edgexfoundry.org:10001 04:13:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:22 Configure a credential helper to remove this warning. See 04:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:22 04:13:22 Login Succeeded 04:13:22 nexus3.edgexfoundry.org:10002 04:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:22 Configure a credential helper to remove this warning. See 04:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:22 04:13:22 Login Succeeded 04:13:22 nexus3.edgexfoundry.org:10003 04:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:23 Configure a credential helper to remove this warning. See 04:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:23 04:13:23 Login Succeeded 04:13:23 nexus3.edgexfoundry.org:10004 04:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:23 Configure a credential helper to remove this warning. See 04:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:23 04:13:23 Login Succeeded 04:13:23 docker.io 04:13:23 Removing intermediate container e96dcfee18ff 04:13:23 ---> 17e24b5a9e1e 04:13:23 Step 10/10 : RUN ${MAKE} 04:13:23 ---> Running in 86cf4424c445 04:13:23 noop 04:13:23 Removing intermediate container 86cf4424c445 04:13:23 ---> b2c354fa53fc 04:13:23 Successfully built b2c354fa53fc 04:13:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:13:24 + docker inspect -f . ci-base-image-x86_64 04:13:24 . [Pipeline] withDockerContainer 04:13:24 prd-centos7-docker-4c-2g-19 does not seem to be running inside a container 04:13:24 $ 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 ******** ci-base-image-x86_64 cat 04:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:13:24 Configure a credential helper to remove this warning. See 04:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:13:24 04:13:24 Login Succeeded 04:13:24 ---> docker-login.sh ends 04:13:24 $ docker top becc3177735a8452e2b967a364ee3aec9bc8b0c41ab59c1d5e6ecc4358a8c572 -eo pid,comm [Pipeline] { [Pipeline] } 04:13:24 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:13:25 + go version 04:13:25 go version go1.16.8 linux/amd64 [Pipeline] } 04:13:25 $ docker stop --time=1 becc3177735a8452e2b967a364ee3aec9bc8b0c41ab59c1d5e6ecc4358a8c572 04:13:26 $ docker rm -f becc3177735a8452e2b967a364ee3aec9bc8b0c41ab59c1d5e6ecc4358a8c572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 04:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] // stage [Pipeline] echo 04:13:26 ========================================================= 04:13:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:13:26 ========================================================= [Pipeline] fileExists [Pipeline] stage [Pipeline] { (Test) [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:13:27 + 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 . 04:13:27 + docker inspect -f . ci-base-image-x86_64 04:13:27 . [Pipeline] withDockerContainer 04:13:27 prd-centos7-docker-4c-2g-19 does not seem to be running inside a container 04:13:27 $ 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 ******** ci-base-image-x86_64 cat 04:13:27 $ docker top 909add54fd6d128bf9aff2ec7fe9119cb43febccbd0eb81fbeaf0feeefa1231e -eo pid,comm 04:13:27 Sending build context to Docker daemon 2.759MB 04:13:27 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:13:27 Step 2/10 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:13:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:13:27 552d1f2373af: Pulling fs layer 04:13:27 ea3f2d53f512: Pulling fs layer 04:13:27 9e70ebbbe112: Pulling fs layer 04:13:27 7a9cfe048b4a: Pulling fs layer 04:13:27 72dc09318566: Pulling fs layer 04:13:27 f4f7b4309257: Pulling fs layer 04:13:27 0ac9a79272e3: Pulling fs layer 04:13:27 b78e95d17946: Pulling fs layer 04:13:27 72dc09318566: Waiting 04:13:27 f4f7b4309257: Waiting 04:13:27 0ac9a79272e3: Waiting 04:13:27 b78e95d17946: Waiting 04:13:27 7a9cfe048b4a: Waiting 04:13:27 9e70ebbbe112: Verifying Checksum 04:13:27 9e70ebbbe112: Download complete 04:13:27 ea3f2d53f512: Verifying Checksum 04:13:27 ea3f2d53f512: Download complete 04:13:27 72dc09318566: Download complete 04:13:27 f4f7b4309257: Verifying Checksum 04:13:27 f4f7b4309257: Download complete 04:13:27 552d1f2373af: Download complete 04:13:27 0ac9a79272e3: Verifying Checksum 04:13:27 0ac9a79272e3: Download complete 04:13:28 + make test 04:13:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:28 552d1f2373af: Pull complete 04:13:29 ea3f2d53f512: Pull complete 04:13:29 9e70ebbbe112: Pull complete 04:13:29 b78e95d17946: Verifying Checksum 04:13:29 b78e95d17946: Download complete 04:13:30 7a9cfe048b4a: Verifying Checksum 04:13:30 7a9cfe048b4a: Download complete 04:13:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:13:40 7a9cfe048b4a: Pull complete 04:13:40 72dc09318566: Pull complete 04:13:41 f4f7b4309257: Pull complete 04:13:41 0ac9a79272e3: Pull complete 04:13:46 b78e95d17946: Pull complete 04:13:46 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:13:46 ---> 8b459fc5aaf0 04:13:46 Step 3/10 : ARG MAKE=make build 04:13:48 ---> Running in d8a4dd11dd36 04:13:49 Removing intermediate container d8a4dd11dd36 04:13:49 ---> 59655e75989e 04:13:49 Step 4/10 : WORKDIR /device-sdk-go 04:13:49 ---> Running in b42877af478a 04:13:49 Removing intermediate container b42877af478a 04:13:49 ---> 635213549ef2 04:13:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:49 ---> Running in a3e7f7dd0917 04:13:50 Removing intermediate container a3e7f7dd0917 04:13:50 ---> 800f09a158e8 04:13:50 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:50 ---> Running in 294d9f261d9b 04:13:52 Removing intermediate container 294d9f261d9b 04:13:52 ---> 90b93f36702b 04:13:52 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:52 ---> Running in e83538b955e5 04:13:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:13:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:13:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:13:55 OK: 219 MiB in 52 packages 04:13:56 Removing intermediate container e83538b955e5 04:13:56 ---> 5b2e8f927178 04:13:56 Step 8/10 : COPY . . 04:13:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.3% of statements 04:13:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:13:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 04:13:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements 04:13:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements 04:13:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:13:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:13:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:13:57 ---> 55f952926371 04:13:57 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:57 ---> Running in 0eacdcbbf719 04:13:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements 04:13:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements 04:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.846s coverage: 89.2% of statements 04:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.8% of statements 04:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:01 GO111MODULE=on go vet ./... 04:14:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:19 ./bin/test-attribution-txt.sh [Pipeline] } 04:14:19 $ docker stop --time=1 909add54fd6d128bf9aff2ec7fe9119cb43febccbd0eb81fbeaf0feeefa1231e 04:14:20 $ docker rm -f 909add54fd6d128bf9aff2ec7fe9119cb43febccbd0eb81fbeaf0feeefa1231e [Pipeline] // withDockerContainer [Pipeline] sh 04:14:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:14:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:23 + ls -al . 04:14:23 total 264 04:14:23 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 04:14 . 04:14:23 drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 04:12 .. 04:14:23 drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 04:12 bin 04:14:23 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 11 04:12 CHANGELOG.md 04:14:23 -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 04:14 coverage.out 04:14:23 -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 04:12 .dockerignore 04:14:23 drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 04:12 example 04:14:23 drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 04:12 .git 04:14:23 drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 04:12 .github 04:14:23 -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 04:12 .gitignore 04:14:23 -rw-rw-r--. 1 jenkins jenkins 603 Nov 11 04:12 go.mod 04:14:23 -rw-rw-r--. 1 jenkins jenkins 49135 Nov 11 04:12 go.sum 04:14:23 -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 04:12 GOVERNANCE.md 04:14:23 drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 04:12 internal 04:14:23 -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 04:12 Jenkinsfile 04:14:23 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 04:12 LICENSE 04:14:23 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 04:12 Makefile 04:14:23 drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 04:12 openapi 04:14:23 -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 04:12 OWNERS.md 04:14:23 drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 04:12 pkg 04:14:23 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 04:12 README.md 04:14:23 drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 04:12 snap 04:14:23 -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 04:10 VERSION 04:14:23 -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 04:12 version.go [Pipeline] isUnix [Pipeline] sh 04:14:23 + 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=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b --label arch=amd64 --label version=0.0.0 . 04:14:23 Sending build context to Docker daemon 2.889MB 04:14:23 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:14:23 Step 2/24 : FROM ${BASE} AS builder 04:14:23 ---> b2c354fa53fc 04:14:23 Step 3/24 : ARG MAKE=make build 04:14:23 ---> Running in 6fffc29e5c9b 04:14:23 Removing intermediate container 6fffc29e5c9b 04:14:23 ---> 0fc388c2d3fa 04:14:23 Step 4/24 : WORKDIR /device-sdk-go 04:14:23 ---> Running in 0ce7efb57cc4 04:14:23 Removing intermediate container 0ce7efb57cc4 04:14:23 ---> 86f9c3adf650 04:14:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:14:23 ---> Running in c4b62f4684ab 04:14:23 Removing intermediate container c4b62f4684ab 04:14:23 ---> bdd740dc6a0c 04:14:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:23 ---> Running in 90408794f4a7 04:14:24 Removing intermediate container 90408794f4a7 04:14:24 ---> 1a5337253727 04:14:24 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:24 ---> Running in 2b4c5676bf20 04:14:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:14:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:14:25 OK: 220 MiB in 52 packages 04:14:25 Removing intermediate container 2b4c5676bf20 04:14:25 ---> 5fd3ec8ab2e3 04:14:25 Step 8/24 : COPY . . 04:14:26 ---> 20cb67ecfef8 04:14:26 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:26 ---> Running in a83aede6cdab 04:14:26 Removing intermediate container a83aede6cdab 04:14:26 ---> bcfb2a6b557d 04:14:26 Step 10/24 : RUN ${MAKE} 04:14:26 ---> Running in c48ba9bae466 04:14:27 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 04:14:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:14:38 Removing intermediate container c48ba9bae466 04:14:38 ---> e5e3a3bce15e 04:14:38 Step 11/24 : FROM alpine:3.14 04:14:42 3.14: Pulling from library/alpine 04:14:42 a0d0a0d46f8b: Already exists 04:14:42 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:14:42 Status: Downloaded newer image for alpine:3.14 04:14:42 ---> 14119a10abf4 04:14:42 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:14:42 ---> Running in 100f3be1a2a1 04:14:42 Removing intermediate container 100f3be1a2a1 04:14:42 ---> 2614f99fee03 04:14:42 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:42 ---> Running in 38df354f7871 04:14:42 Removing intermediate container 38df354f7871 04:14:42 ---> 48cf6c29fc14 04:14:42 Step 14/24 : RUN apk add --update --no-cache zeromq 04:14:42 ---> Running in 63beaec05c74 04:14:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:14:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:14:44 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:14:44 (2/5) Installing libsodium (1.0.18-r0) 04:14:44 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:14:44 (4/5) Installing libzmq (4.3.4-r0) 04:14:44 (5/5) Installing zeromq (4.3.4-r0) 04:14:44 Executing busybox-1.33.1-r3.trigger 04:14:44 OK: 8 MiB in 19 packages 04:14:44 Removing intermediate container 63beaec05c74 04:14:44 ---> 4b8f65c6683c 04:14:44 Step 15/24 : WORKDIR / 04:14:44 ---> Running in 264ce7bae088 04:14:44 Removing intermediate container 264ce7bae088 04:14:44 ---> 913a8755e7da 04:14:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:14:45 ---> 1514e4df3880 04:14:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:14:45 ---> 5d0e7e5489d6 04:14:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:14:45 ---> 450d817a91a3 04:14:45 Step 19/24 : EXPOSE 59999 04:14:45 ---> Running in 600767406cf3 04:14:45 Removing intermediate container 600767406cf3 04:14:45 ---> d0e934b5698c 04:14:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:14:45 ---> Running in 56ce494df9d6 04:14:45 Removing intermediate container 56ce494df9d6 04:14:45 ---> 519c6e299074 04:14:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:14:45 ---> Running in 4bedf631a5fc 04:14:45 Removing intermediate container 4bedf631a5fc 04:14:45 ---> 3edd822eaf7a 04:14:45 Step 22/24 : LABEL arch=amd64 04:14:46 ---> Running in e8f66822a4e5 04:14:46 Removing intermediate container e8f66822a4e5 04:14:46 ---> fe2c0de80747 04:14:46 Step 23/24 : LABEL git_sha=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:14:46 ---> Running in 6c5e78684035 04:14:46 Removing intermediate container 6c5e78684035 04:14:46 ---> 5d1092ba5ab8 04:14:46 Step 24/24 : LABEL version=0.0.0 04:14:46 ---> Running in 4acfc4e0d25a 04:14:46 Removing intermediate container 4acfc4e0d25a 04:14:46 ---> 2fbded82a7e5 04:14:46 [Warning] One or more build-args [ARCH] were not consumed 04:14:46 Successfully built 2fbded82a7e5 04:14:46 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 04:14:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:47 04:14:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:14:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:47 latest: Pulling from edgex-lftools-log-publisher 04:14:47 b4d181a07f80: Pulling fs layer 04:14:47 a1111a8f2ec3: Pulling fs layer 04:14:47 ed53099fbce6: Pulling fs layer 04:14:47 dc539afda2c1: Pulling fs layer 04:14:47 77bc0d833cb6: Pulling fs layer 04:14:47 9065ff56babe: Pulling fs layer 04:14:47 d287ab97295c: Pulling fs layer 04:14:47 77bc0d833cb6: Waiting 04:14:47 9065ff56babe: Waiting 04:14:47 d287ab97295c: Waiting 04:14:47 dc539afda2c1: Waiting 04:14:47 a1111a8f2ec3: Verifying Checksum 04:14:47 a1111a8f2ec3: Download complete 04:14:47 dc539afda2c1: Verifying Checksum 04:14:47 dc539afda2c1: Download complete 04:14:47 ed53099fbce6: Verifying Checksum 04:14:47 ed53099fbce6: Download complete 04:14:47 9065ff56babe: Verifying Checksum 04:14:47 9065ff56babe: Download complete 04:14:47 b4d181a07f80: Verifying Checksum 04:14:47 b4d181a07f80: Download complete 04:14:47 77bc0d833cb6: Verifying Checksum 04:14:47 77bc0d833cb6: Download complete 04:14:48 d287ab97295c: Verifying Checksum 04:14:48 d287ab97295c: Download complete 04:14:49 b4d181a07f80: Pull complete 04:14:49 a1111a8f2ec3: Pull complete 04:14:49 ed53099fbce6: Pull complete 04:14:49 dc539afda2c1: Pull complete 04:14:50 77bc0d833cb6: Pull complete 04:14:50 9065ff56babe: Pull complete 04:14:55 d287ab97295c: Pull complete 04:14:55 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:14:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:14:55 prd-centos7-docker-4c-2g-19 does not seem to be running inside a container 04:14:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:14:58 $ docker top da9d2bc82617ad5be5c0ca3db1400427ee3a775d19293bce09e97c0c9357eb2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:58 ---> job-cost.sh 04:14:58 lf-activate-venv: SKIPPING 04:14:58 INFO: No Stack... 04:14:58 INFO: Retrieving Pricing Info for: v3-standard-2 04:14:59 INFO: Archiving Costs [Pipeline] sh 04:14:59 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:14:59 + cut -d, -f6 [Pipeline] lock 04:14:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] 04:14:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] did not exist. Created. 04:14:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:14:59 + echo total: 0.05999999865889549 [Pipeline] stash 04:14:59 Stashed 1 file(s) [Pipeline] } 04:14:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:00 $ docker stop --time=1 da9d2bc82617ad5be5c0ca3db1400427ee3a775d19293bce09e97c0c9357eb2f 04:15:01 $ docker rm -f da9d2bc82617ad5be5c0ca3db1400427ee3a775d19293bce09e97c0c9357eb2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:15:19 Removing intermediate container 0eacdcbbf719 04:15:19 ---> d3918fa13762 04:15:19 Step 10/10 : RUN ${MAKE} 04:15:19 ---> Running in 0e7568afa34e 04:15:19 noop 04:15:19 Removing intermediate container 0e7568afa34e 04:15:19 ---> c5576c4cd369 04:15:19 Successfully built c5576c4cd369 04:15:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:15:20 + docker inspect -f . ci-base-image-arm64 04:15:20 . [Pipeline] withDockerContainer 04:15:20 prd-ubuntu18.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 04:15:20 $ 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 ******** ci-base-image-arm64 cat 04:15:22 $ docker top a3073bd63cfd1b02eb1f55457fc8919b4427c91dfe4efc68bd834f38e8127e3b -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:23 + go version 04:15:23 go version go1.16.8 linux/arm64 [Pipeline] } 04:15:23 $ docker stop --time=1 a3073bd63cfd1b02eb1f55457fc8919b4427c91dfe4efc68bd834f38e8127e3b 04:15:25 $ docker rm -f a3073bd63cfd1b02eb1f55457fc8919b4427c91dfe4efc68bd834f38e8127e3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:26 + docker inspect -f . ci-base-image-arm64 04:15:26 . [Pipeline] withDockerContainer 04:15:27 prd-ubuntu18.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 04:15:27 $ 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 ******** ci-base-image-arm64 cat 04:15:28 $ docker top 13fe316804c7f911afcaa6454f2a88f91eca46678669a4f459ad8bd36a9185d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:15:30 + make test 04:15:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:16:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:17:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:17:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:17:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:17:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.390s coverage: 23.3% of statements 04:17:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:17:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 27.6% of statements 04:17:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.276s coverage: 78.9% of statements 04:17:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.256s coverage: 9.0% of statements 04:17:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:17:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:17:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:17:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.383s coverage: 28.7% of statements 04:17:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:17:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.245s coverage: 83.3% of statements 04:17:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:17:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:17:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.451s coverage: 57.8% of statements 04:17:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.635s coverage: 89.2% of statements 04:17:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:17:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.248s coverage: 4.8% of statements 04:17:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:17:47 GO111MODULE=on go vet ./... 04:19:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:09 ./bin/test-attribution-txt.sh [Pipeline] } 04:19:09 $ docker stop --time=1 13fe316804c7f911afcaa6454f2a88f91eca46678669a4f459ad8bd36a9185d9 04:19:11 $ docker rm -f 13fe316804c7f911afcaa6454f2a88f91eca46678669a4f459ad8bd36a9185d9 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:12 Warning: overwriting stash ‘coverage-report’ 04:19:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:14 + ls -al . 04:19:14 total 300 04:19:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:19 . 04:19:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:12 .. 04:19:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:12 .dockerignore 04:19:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:12 .git 04:19:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:12 .github 04:19:14 -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 04:12 .gitignore 04:19:14 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 11 04:12 CHANGELOG.md 04:19:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:12 GOVERNANCE.md 04:19:14 -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 04:12 Jenkinsfile 04:19:14 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:12 LICENSE 04:19:14 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 04:12 Makefile 04:19:14 -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:12 OWNERS.md 04:19:14 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 04:12 README.md 04:19:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:10 VERSION 04:19:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:12 bin 04:19:14 -rw-r--r-- 1 jenkins jenkins 128369 Nov 11 04:17 coverage.out 04:19:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:12 example 04:19:14 -rw-rw-r-- 1 jenkins jenkins 603 Nov 11 04:12 go.mod 04:19:14 -rw-rw-r-- 1 jenkins jenkins 49135 Nov 11 04:12 go.sum 04:19:14 drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 04:12 internal 04:19:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:12 openapi 04:19:14 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:12 pkg 04:19:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:12 snap 04:19:14 -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:12 version.go [Pipeline] isUnix [Pipeline] sh 04:19:15 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b --label arch=arm64 --label version=0.0.0 . 04:19:15 Sending build context to Docker daemon 2.888MB 04:19:15 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:19:15 Step 2/24 : FROM ${BASE} AS builder 04:19:15 ---> c5576c4cd369 04:19:15 Step 3/24 : ARG MAKE=make build 04:19:16 ---> Running in 7dbe8018edb6 04:19:16 Removing intermediate container 7dbe8018edb6 04:19:16 ---> 7aadff14a9b3 04:19:16 Step 4/24 : WORKDIR /device-sdk-go 04:19:16 ---> Running in 3dac881117a6 04:19:17 Removing intermediate container 3dac881117a6 04:19:17 ---> 78f473dd51f9 04:19:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:19:17 ---> Running in 00855fb5445b 04:19:18 Removing intermediate container 00855fb5445b 04:19:18 ---> 576b915a2ba0 04:19:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:18 ---> Running in d79efdf957e6 04:19:20 Removing intermediate container d79efdf957e6 04:19:20 ---> ae3402798aff 04:19:20 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:19:20 ---> Running in edeeebd6c283 04:19:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:19:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:19:24 OK: 219 MiB in 52 packages 04:19:25 Removing intermediate container edeeebd6c283 04:19:25 ---> 49037a1d5924 04:19:25 Step 8/24 : COPY . . 04:19:26 ---> 71752f7acab2 04:19:26 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:26 ---> Running in c7bd9b53432a 04:19:30 Removing intermediate container c7bd9b53432a 04:19:30 ---> 3026cd862bb5 04:19:30 Step 10/24 : RUN ${MAKE} 04:19:30 ---> Running in de9e013817a4 04:19: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 04:20:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:21 Removing intermediate container de9e013817a4 04:20:21 ---> 9093371095da 04:20:21 Step 11/24 : FROM alpine:3.14 04:20:21 3.14: Pulling from library/alpine 04:20:21 552d1f2373af: Already exists 04:20:21 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:20:21 Status: Downloaded newer image for alpine:3.14 04:20:21 ---> bb3de5531c18 04:20:21 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:22 ---> Running in bbe6e3794c31 04:20:22 Removing intermediate container bbe6e3794c31 04:20:22 ---> 47f5e45f96f4 04:20:22 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:22 ---> Running in f5a4d6365fcc 04:20:24 Removing intermediate container f5a4d6365fcc 04:20:24 ---> 9d84b2f8829b 04:20:24 Step 14/24 : RUN apk add --update --no-cache zeromq 04:20:25 ---> Running in 9e67702efedb 04:20:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:20:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:20:28 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:20:28 (2/5) Installing libsodium (1.0.18-r0) 04:20:28 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:20:28 (4/5) Installing libzmq (4.3.4-r0) 04:20:28 (5/5) Installing zeromq (4.3.4-r0) 04:20:28 Executing busybox-1.33.1-r3.trigger 04:20:28 OK: 8 MiB in 19 packages 04:20:30 Removing intermediate container 9e67702efedb 04:20:30 ---> 47610851513b 04:20:30 Step 15/24 : WORKDIR / 04:20:30 ---> Running in 5f98f2eefcd9 04:20:30 Removing intermediate container 5f98f2eefcd9 04:20:30 ---> 313ddafb8311 04:20:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:31 ---> 9281fa89d8f3 04:20:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:32 ---> d82459cf1de6 04:20:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:33 ---> 08038c09e2cd 04:20:33 Step 19/24 : EXPOSE 59999 04:20:33 ---> Running in f4e500e6cb9b 04:20:34 Removing intermediate container f4e500e6cb9b 04:20:34 ---> 1113fa37b921 04:20:34 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:20:34 ---> Running in 75a9b1dcff35 04:20:34 Removing intermediate container 75a9b1dcff35 04:20:34 ---> 10c25879d893 04:20:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:34 ---> Running in dc40b3f1f839 04:20:35 Removing intermediate container dc40b3f1f839 04:20:35 ---> db8fa8084ce8 04:20:35 Step 22/24 : LABEL arch=arm64 04:20:35 ---> Running in 7544531c1b85 04:20:35 Removing intermediate container 7544531c1b85 04:20:35 ---> fc062ba441ac 04:20:35 Step 23/24 : LABEL git_sha=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b 04:20:36 ---> Running in 0384bf0a22f5 04:20:36 Removing intermediate container 0384bf0a22f5 04:20:36 ---> e2c36e92ad94 04:20:36 Step 24/24 : LABEL version=0.0.0 04:20:36 ---> Running in d74de8a20ff9 04:20:37 Removing intermediate container d74de8a20ff9 04:20:37 ---> 2edd8e131563 04:20:37 [Warning] One or more build-args [ARCH] were not consumed 04:20:37 Successfully built 2edd8e131563 04:20:37 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:20:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:38 04:20:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:20:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:38 arm64: Pulling from edgex-lftools-log-publisher 04:20:38 448f6bf000e3: Pulling fs layer 04:20:38 f757da607395: Pulling fs layer 04:20:38 05883995daec: Pulling fs layer 04:20:38 8603b9c90790: Pulling fs layer 04:20:38 1560dd03e051: Pulling fs layer 04:20:38 27f5ce0e4adf: Pulling fs layer 04:20:38 c2d8d7efcc4b: Pulling fs layer 04:20:38 8603b9c90790: Waiting 04:20:38 1560dd03e051: Waiting 04:20:38 27f5ce0e4adf: Waiting 04:20:38 c2d8d7efcc4b: Waiting 04:20:38 f757da607395: Verifying Checksum 04:20:38 f757da607395: Download complete 04:20:38 8603b9c90790: Verifying Checksum 04:20:38 8603b9c90790: Download complete 04:20:39 1560dd03e051: Verifying Checksum 04:20:39 1560dd03e051: Download complete 04:20:39 27f5ce0e4adf: Verifying Checksum 04:20:39 27f5ce0e4adf: Download complete 04:20:39 05883995daec: Verifying Checksum 04:20:39 05883995daec: Download complete 04:20:39 448f6bf000e3: Download complete 04:20:42 c2d8d7efcc4b: Verifying Checksum 04:20:42 c2d8d7efcc4b: Download complete 04:20:43 448f6bf000e3: Pull complete 04:20:44 f757da607395: Pull complete 04:20:45 05883995daec: Pull complete 04:20:46 8603b9c90790: Pull complete 04:20:47 1560dd03e051: Pull complete 04:20:47 27f5ce0e4adf: Pull complete 04:21:02 c2d8d7efcc4b: Pull complete 04:21:02 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:21:02 prd-ubuntu18.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 04:21:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:06 $ docker top 3cbdd76aed569ce8c9c18c8bb1a3f60e66e442072b2e9c63119c9d2cc38bff9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:07 ---> job-cost.sh 04:21:07 lf-activate-venv: SKIPPING 04:21:07 INFO: No Stack... 04:21:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:09 INFO: Archiving Costs [Pipeline] sh 04:21:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:21:09 + cut -d, -f6 [Pipeline] lock 04:21:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] 04:21:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] did not exist. Created. 04:21:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:10 /w/workspace/device-sdk-go/1@tmp/durable-854d2967/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-854d2967/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:11 Warning: overwriting stash ‘stack-cost’ 04:21:11 Stashed 1 file(s) [Pipeline] } 04:21:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1062-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:11 $ docker stop --time=1 3cbdd76aed569ce8c9c18c8bb1a3f60e66e442072b2e9c63119c9d2cc38bff9b 04:21:13 $ docker rm -f 3cbdd76aed569ce8c9c18c8bb1a3f60e66e442072b2e9c63119c9d2cc38bff9b [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) [Pipeline] unstash [Pipeline] configFileProvider 04:21:14 provisioning config files... 04:21:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/config7109903552275897137tmp [Pipeline] { [Pipeline] sh 04:21:14 + set +x 04:21:14 + bash -s -- 04:21:14 + curl -s https://codecov.io/bash 04:21:14 04:21:14 _____ _ 04:21:14 / ____| | | 04:21:14 | | ___ __| | ___ ___ _____ __ 04:21:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:14 Bash-1.0.6 04:21:14 04:21:14 04:21:14 ==> git version 2.24.4 found 04:21:14 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 04:21:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:21:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:21:14 ==> Jenkins CI detected. 04:21:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1062 04:21:14 project root: . 04:21:14 --> token set from env 04:21:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:14 ==> Running gcov in . (disable via -X gcov) 04:21:14 ==> Python coveragepy not found 04:21:14 ==> Searching for coverage reports in: 04:21:14 + . 04:21:14 -> Found 1 reports 04:21:14 ==> Detecting git/mercurial file structure 04:21:14 ==> Reading reports 04:21:14 + ./coverage.out bytes=128369 04:21:14 ==> Appending adjustments 04:21:14 https://docs.codecov.io/docs/fixing-reports 04:21:14 + Found adjustments 04:21:14 ==> Gzipping contents 04:21:14 16K /tmp/codecov.Z0K7Tq.gz 04:21:14 ==> Uploading reports 04:21:14 url: https://codecov.io 04:21:14 query: branch=PR-1062&commit=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1062%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1062&job=&cmd_args= 04:21:14 -> Pinging Codecov 04:21:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1062&commit=2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1062%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1062&job=&cmd_args= 04:21:15 -> Uploading to 04:21:15 https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b/03a07213-4ea4-40de-a944-ca5b2b231b01.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T042115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05834036a1a0f7f3f5d05c495e2ac57c88f15553d1984772949f5edf638000e8 04:21:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:15 Dload Upload Total Spent Left Speed 04:21:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16308 0 0 100 16308 0 39510 --:--:-- --:--:-- --:--:-- 39486 100 16308 0 0 100 16308 0 39495 --:--:-- --:--:-- --:--:-- 39486 04:21:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2ea79ec5fb16c1f97d2c97d6969f12d0c8c1b45b [Pipeline] } 04:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:21:17 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1062/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:21:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:18 ---> package-listing.sh 04:21:18 ++ facter osfamily 04:21:18 ++ tr '[:upper:]' '[:lower:]' 04:21:19 + OS_FAMILY=redhat 04:21:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1062 04:21:19 + START_PACKAGES=/tmp/packages_start.txt 04:21:19 + END_PACKAGES=/tmp/packages_end.txt 04:21:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:19 + PACKAGES=/tmp/packages_start.txt 04:21:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1062 ']' 04:21:19 + PACKAGES=/tmp/packages_end.txt 04:21:19 + case "${OS_FAMILY}" in 04:21:19 + rpm -qa 04:21:19 + sort 04:21:19 + '[' -f /tmp/packages_start.txt ']' 04:21:19 + '[' -f /tmp/packages_end.txt ']' 04:21:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1062 ']' 04:21:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1062/archives/ 04:21:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1062/archives/ [Pipeline] echo 04:21:19 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-1062/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:20 04:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:20 latest: Pulling from edgex-lftools-log-publisher 04:21:20 b4d181a07f80: Pulling fs layer 04:21:20 a1111a8f2ec3: Pulling fs layer 04:21:20 ed53099fbce6: Pulling fs layer 04:21:20 dc539afda2c1: Pulling fs layer 04:21:20 77bc0d833cb6: Pulling fs layer 04:21:20 9065ff56babe: Pulling fs layer 04:21:20 d287ab97295c: Pulling fs layer 04:21:20 dc539afda2c1: Waiting 04:21:20 77bc0d833cb6: Waiting 04:21:20 9065ff56babe: Waiting 04:21:20 d287ab97295c: Waiting 04:21:20 a1111a8f2ec3: Verifying Checksum 04:21:20 a1111a8f2ec3: Download complete 04:21:20 dc539afda2c1: Verifying Checksum 04:21:20 dc539afda2c1: Download complete 04:21:20 ed53099fbce6: Verifying Checksum 04:21:20 ed53099fbce6: Download complete 04:21:20 9065ff56babe: Verifying Checksum 04:21:20 9065ff56babe: Download complete 04:21:20 77bc0d833cb6: Verifying Checksum 04:21:20 77bc0d833cb6: Download complete 04:21:20 b4d181a07f80: Verifying Checksum 04:21:20 b4d181a07f80: Download complete 04:21:21 d287ab97295c: Verifying Checksum 04:21:21 d287ab97295c: Download complete 04:21:22 b4d181a07f80: Pull complete 04:21:22 a1111a8f2ec3: Pull complete 04:21:23 ed53099fbce6: Pull complete 04:21:23 dc539afda2c1: Pull complete 04:21:23 77bc0d833cb6: Pull complete 04:21:23 9065ff56babe: Pull complete 04:21:28 d287ab97295c: Pull complete 04:21:28 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:21:29 prd-centos7-docker-4c-2g-11 does not seem to be running inside a container 04:21:29 $ 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-1062/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-1062 -v /w/workspace/gexfoundry_device-sdk-go_PR-1062:/w/workspace/gexfoundry_device-sdk-go_PR-1062:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1062@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:31 $ docker top 28f871392e32b428c60442ec63e6090811dc0c4ddba0279bca48e7f6e122db32 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:31 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:32 + ls /var/log/sa-host 04:21:32 + sadf -c /var/log/sa-host/sa11 04:21:32 file_magic: OK 04:21:32 HZ: Using current value: 100 04:21:32 file_header: OK 04:21:32 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 04:21:32 Statistics: 04:21:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:21:32 File successfully converted to sysstat format version 12.0.3 04:21:32 + sadf -c /var/log/sa-host/sa30 04:21:32 file_magic: OK 04:21:32 HZ: Using current value: 100 04:21:32 file_header: OK 04:21:32 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 04:21:32 Statistics: 04:21:32 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:21:32 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:32 provisioning config files... 04:21:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1062@tmp/config3486844388610210153tmp [Pipeline] { [Pipeline] echo 04:21:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:32 ---> create-netrc.sh [Pipeline] } 04:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> python-tools-install.sh [Pipeline] echo 04:21:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> sudo-logs.sh 04:21:33 Archiving 'sudo' log.. 04:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-11.novalocal: Name or service not known 04:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-11.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:21:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:34 ---> job-cost.sh 04:21:34 lf-activate-venv: SKIPPING 04:21:34 DEBUG: total: 0.10999999940395355 04:21:34 INFO: Retrieving Stack Cost... 04:21:36 INFO: Retrieving Pricing Info for: v3-standard-2 04:21:36 INFO: Archiving Costs [Pipeline] echo 04:21:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:36 ---> logs-deploy.sh 04:21:36 lf-activate-venv: SKIPPING 04:21:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1062/1 04:21:36 INFO: archiving workspace using pattern(s): 04:21:37 Archives upload complete. 04:21:37 INFO: archiving logs to Nexus 04:21:37 ---> uname -a: 04:21:37 Linux prd-centos7-docker-4c-2g-11.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 04:21:37 04:21:37 04:21:37 ---> lscpu: 04:21:37 Architecture: x86_64 04:21:37 CPU op-mode(s): 32-bit, 64-bit 04:21:37 Byte Order: Little Endian 04:21:37 Address sizes: 40 bits physical, 48 bits virtual 04:21:37 CPU(s): 2 04:21:37 On-line CPU(s) list: 0,1 04:21:37 Thread(s) per core: 1 04:21:37 Core(s) per socket: 1 04:21:37 Socket(s): 2 04:21:37 NUMA node(s): 1 04:21:37 Vendor ID: AuthenticAMD 04:21:37 CPU family: 23 04:21:37 Model: 49 04:21:37 Model name: AMD EPYC-Rome Processor 04:21:37 Stepping: 0 04:21:37 CPU MHz: 2799.998 04:21:37 BogoMIPS: 5599.99 04:21:37 Virtualization: AMD-V 04:21:37 Hypervisor vendor: KVM 04:21:37 Virtualization type: full 04:21:37 L1d cache: 32K 04:21:37 L1i cache: 32K 04:21:37 L2 cache: 512K 04:21:37 L3 cache: 16384K 04:21:37 NUMA node0 CPU(s): 0,1 04:21:37 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 04:21:37 04:21:37 04:21:37 ---> nproc: 04:21:37 2 04:21:37 04:21:37 04:21:37 ---> df -h: 04:21:37 Filesystem Size Used Avail Use% Mounted on 04:21:37 overlay 40G 7.7G 33G 20% / 04:21:37 tmpfs 64M 0 64M 0% /dev 04:21:37 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:21:37 shm 64M 0 64M 0% /dev/shm 04:21:37 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:21:37 04:21:37 04:21:37 ---> sar -b -r -n DEV: 04:21:37 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/11/21 _x86_64_ (2 CPU) 04:21:37 04:21:37 04:10:11 LINUX RESTART (2 CPU) 04:21:37 04:21:37 04:11:01 tps rtps wtps bread/s bwrtn/s 04:21:37 04:12:01 3.18 0.03 3.15 1.07 103.21 04:21:37 04:13:01 0.33 0.00 0.33 0.00 5.83 04:21:37 04:14:01 0.23 0.00 0.23 0.00 2.30 04:21:37 04:15:01 0.23 0.00 0.23 0.00 3.48 04:21:37 04:16:01 0.23 0.00 0.23 0.00 3.03 04:21:37 04:17:01 0.33 0.00 0.33 0.00 4.96 04:21:37 04:18:02 0.30 0.00 0.30 0.00 4.21 04:21:37 04:19:01 0.20 0.00 0.20 0.00 1.93 04:21:37 04:20:01 0.27 0.00 0.27 0.00 3.88 04:21:37 04:21:01 0.20 0.00 0.20 0.00 2.70 04:21:37 Average: 0.55 0.00 0.55 0.11 13.58 04:21:37 04:21:37 04:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:21:37 04:12:01 5679868 0 626876 7.83 2620 1699576 1497516 16.53 572608 1522368 12 04:21:37 04:13:01 5679748 0 626988 7.83 2620 1699584 1480040 16.34 572788 1522900 8 04:21:37 04:14:01 5685720 0 621016 7.75 2620 1699584 1465724 16.18 567460 1522900 8 04:21:37 04:15:01 5687296 0 619432 7.73 2620 1699592 1451104 16.02 564768 1523780 8 04:21:37 04:16:01 5689304 0 617420 7.71 2620 1699596 1439796 15.90 563196 1523780 8 04:21:37 04:17:01 5688892 0 617828 7.71 2620 1699600 1439856 15.90 563472 1523852 8 04:21:37 04:18:02 5688528 0 618188 7.72 2620 1699604 1439796 15.90 564208 1523852 8 04:21:37 04:19:01 5691492 0 615220 7.68 2620 1699608 1413068 15.60 561460 1523932 8 04:21:37 04:20:01 5691880 0 614772 7.68 2620 1699668 1413132 15.60 561596 1523948 20 04:21:37 04:21:01 5682688 0 624016 7.79 2620 1699616 1413216 15.60 570480 1523948 8 04:21:37 Average: 5686542 0 620176 7.74 2620 1699603 1445325 15.96 566204 1523526 10 04:21:37 04:21:37 04:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:21:37 04:12:01 eth0 3.58 0.63 0.81 0.37 0.00 0.00 0.00 0.00 04:21:37 04:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:13:01 eth0 4.65 1.28 1.67 1.00 0.00 0.00 0.00 0.00 04:21:37 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:14:01 eth0 5.18 0.92 1.19 0.59 0.00 0.00 0.00 0.00 04:21:37 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:15:01 eth0 3.68 0.87 1.23 0.77 0.00 0.00 0.00 0.00 04:21:37 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:16:01 eth0 3.18 1.00 1.08 0.65 0.00 0.00 0.00 0.00 04:21:37 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:17:01 eth0 1.47 0.90 0.80 0.63 0.00 0.00 0.00 0.00 04:21:37 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:18:02 eth0 0.55 0.40 0.27 0.21 0.00 0.00 0.00 0.00 04:21:37 04:18:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:18:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:19:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:21:37 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:20:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:21:37 04:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:21:01 eth0 0.32 0.22 0.14 0.07 0.00 0.00 0.00 0.00 04:21:37 04:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 Average: eth0 2.30 0.64 0.72 0.43 0.00 0.00 0.00 0.00 04:21:37 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:21:37 04:21:37 04:21:37 ---> sar -P ALL: 04:21:37 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/11/21 _x86_64_ (2 CPU) 04:21:37 04:21:37 04:10:11 LINUX RESTART (2 CPU) 04:21:37 04:21:37 04:11:01 CPU %user %nice %system %iowait %steal %idle 04:21:37 04:12:01 all 0.25 0.00 0.06 0.00 0.02 99.67 04:21:37 04:12:01 0 0.10 0.00 0.07 0.00 0.02 99.82 04:21:37 04:12:01 1 0.40 0.00 0.05 0.00 0.02 99.53 04:21:37 04:13:01 all 0.24 0.00 0.05 0.00 0.02 99.69 04:21:37 04:13:01 0 0.10 0.00 0.05 0.00 0.02 99.83 04:21:37 04:13:01 1 0.38 0.00 0.05 0.00 0.02 99.55 04:21:37 04:14:01 all 0.13 0.00 0.05 0.00 0.03 99.80 04:21:37 04:14:01 0 0.20 0.00 0.03 0.00 0.03 99.73 04:21:37 04:14:01 1 0.05 0.00 0.07 0.00 0.02 99.87 04:21:37 04:15:01 all 0.18 0.00 0.05 0.00 0.02 99.76 04:21:37 04:15:01 0 0.28 0.00 0.07 0.00 0.02 99.63 04:21:37 04:15:01 1 0.07 0.00 0.03 0.00 0.02 99.88 04:21:37 04:16:01 all 0.23 0.00 0.04 0.00 0.02 99.71 04:21:37 04:16:01 0 0.40 0.00 0.05 0.00 0.02 99.53 04:21:37 04:16:01 1 0.07 0.00 0.03 0.00 0.02 99.88 04:21:37 04:17:01 all 0.23 0.00 0.03 0.00 0.02 99.72 04:21:37 04:17:01 0 0.40 0.00 0.03 0.00 0.02 99.55 04:21:37 04:17:01 1 0.07 0.00 0.02 0.00 0.02 99.90 04:21:37 04:18:02 all 0.21 0.00 0.04 0.00 0.02 99.73 04:21:37 04:18:02 0 0.37 0.00 0.03 0.00 0.02 99.58 04:21:37 04:18:02 1 0.05 0.00 0.05 0.00 0.02 99.88 04:21:37 04:19:01 all 0.18 0.00 0.04 0.00 0.02 99.76 04:21:37 04:19:01 0 0.29 0.00 0.03 0.00 0.00 99.68 04:21:37 04:19:01 1 0.07 0.00 0.05 0.00 0.03 99.85 04:21:37 04:20:01 all 0.23 0.00 0.03 0.00 0.02 99.72 04:21:37 04:20:01 0 0.40 0.00 0.00 0.00 0.02 99.58 04:21:37 04:20:01 1 0.05 0.00 0.07 0.00 0.02 99.87 04:21:37 04:21:01 all 0.14 0.00 0.07 0.00 0.03 99.77 04:21:37 04:21:01 0 0.22 0.00 0.03 0.00 0.02 99.73 04:21:37 04:21:01 1 0.07 0.00 0.10 0.00 0.03 99.80 04:21:37 Average: all 0.20 0.00 0.05 0.00 0.02 99.73 04:21:37 Average: 0 0.28 0.00 0.04 0.00 0.02 99.67 04:21:37 Average: 1 0.13 0.00 0.05 0.00 0.02 99.80 04:21:37 04:21:37 04:21:37