Pull request #1055 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc rather than b972f8d7600f8bbaad2456189b6d7b77b78f649a Obtained Jenkinsfile from 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7698712549164761609.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8895297460720278164.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1843555652580665102.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7153152865832675228.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1055/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh486478907050770948.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-28042 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [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-1055 # 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-1055@tmp/jenkins-gitclient-ssh847966908976939863.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-1055@tmp/jenkins-gitclient-ssh9070530415867532525.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit b972f8d7600f8bbaad2456189b6d7b77b78f649a Merge succeeded, producing b972f8d7600f8bbaad2456189b6d7b77b78f649a Checking out Revision b972f8d7600f8bbaad2456189b6d7b77b78f649a (PR-1055) > git config core.sparsecheckout # timeout=10 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # 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-1055@tmp/jenkins-gitclient-ssh671939110485313747.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" First time build. Skipping changelog. > git rev-list --no-walk 9ebc0a267d74b8439ac3babc29c7da197ae8c506 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:37:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:37:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:37:06 ========================================================= 04:37:06 EdgeX Global Pipelines Version Info 04:37:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:37:08 ------------------- 04:37:08 stable info: 04:37:08 ------------------- 04:37:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:37:08 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 04:37:08 Message: update stable to v1.0.211 04:37:08 ------------------- 04:37:08 experimental info: 04:37:08 ------------------- 04:37:08 Commited By: **** collab-it+edgex@linuxfoundation.org 04:37:08 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 04:37:08 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo 04:37:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b972f8d7600f8bbaad2456189b6d7b77b78f649a [Pipeline] echo 04:37:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b972f8d [Pipeline] echo 04:37:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:09 provisioning config files... 04:37:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config3250023406790845839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:09 ---> docker-login.sh 04:37:09 nexus3.edgexfoundry.org:10001 04:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:09 Configure a credential helper to remove this warning. See 04:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:09 04:37:09 Login Succeeded 04:37:09 nexus3.edgexfoundry.org:10002 04:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:09 Configure a credential helper to remove this warning. See 04:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:09 04:37:09 Login Succeeded 04:37:09 nexus3.edgexfoundry.org:10003 04:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:09 Configure a credential helper to remove this warning. See 04:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:09 04:37:09 Login Succeeded 04:37:09 nexus3.edgexfoundry.org:10004 04:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:09 Configure a credential helper to remove this warning. See 04:37:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:09 04:37:09 Login Succeeded 04:37:09 docker.io 04:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:10 Configure a credential helper to remove this warning. See 04:37:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:10 04:37:10 Login Succeeded 04:37:10 ---> docker-login.sh ends [Pipeline] } 04:37:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:37:10 + git rev-list -1 --merges b972f8d7600f8bbaad2456189b6d7b77b78f649a~1..b972f8d7600f8bbaad2456189b6d7b77b78f649a [Pipeline] echo 04:37:10 -----------> git rev-list -1 --merges b972f8d7600f8bbaad2456189b6d7b77b78f649a~1..b972f8d7600f8bbaad2456189b6d7b77b78f649a b972f8d7600f8bbaad2456189b6d7b77b78f649a [false] [Pipeline] sh 04:37:11 + git log --format=format:%s -1 b972f8d7600f8bbaad2456189b6d7b77b78f649a [Pipeline] echo 04:37:11 ========================================================= 04:37:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:37:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:11 + git log --format=format:%s -1 b972f8d7600f8bbaad2456189b6d7b77b78f649a [Pipeline] echo 04:37:11 [semverPrep] GIT_COMMIT: b972f8d7600f8bbaad2456189b6d7b77b78f649a, Commit Message: fix: Update ProfileCache when adding or updating the Provision Watcher [Pipeline] echo 04:37:11 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:37:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:12 04:37:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:37:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:12 latest: Pulling from edgex-devops/git-semver 04:37:12 a0d0a0d46f8b: Pulling fs layer 04:37:12 3e5f54012d9b: Pulling fs layer 04:37:12 4c7163046ea9: Pulling fs layer 04:37:12 0c2d73faf560: Pulling fs layer 04:37:12 0c2d73faf560: Waiting 04:37:12 3e5f54012d9b: Verifying Checksum 04:37:12 3e5f54012d9b: Download complete 04:37:12 a0d0a0d46f8b: Verifying Checksum 04:37:12 a0d0a0d46f8b: Download complete 04:37:12 4c7163046ea9: Verifying Checksum 04:37:12 4c7163046ea9: Download complete 04:37:12 0c2d73faf560: Verifying Checksum 04:37:12 0c2d73faf560: Download complete 04:37:12 a0d0a0d46f8b: Pull complete 04:37:12 3e5f54012d9b: Pull complete 04:37:13 4c7163046ea9: Pull complete 04:37:13 0c2d73faf560: Pull complete 04:37:13 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:37:13 prd-centos7-docker-4c-2g-28042 does not seem to be running inside a container 04:37:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:37:14 $ docker top c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:37:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:14 [ssh-agent] Looking for ssh-agent implementation... 04:37:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:14 $ docker exec c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 ssh-agent 04:37:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMjbFei/agent.14 04:37:14 SSH_AGENT_PID=21 04:37:14 Running ssh-add (command line suppressed) 04:37:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1888020969200229867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1888020969200229867.key) 04:37:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:14 + git tag --points-at HEAD [Pipeline] } 04:37:14 $ docker exec --env ******** --env ******** c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 ssh-agent -k 04:37:15 unset SSH_AUTH_SOCK; 04:37:15 unset SSH_AGENT_PID; 04:37:15 echo Agent pid 21 killed; 04:37:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:37:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:15 [ssh-agent] Looking for ssh-agent implementation... 04:37:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:15 $ docker exec c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 ssh-agent 04:37:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbIJOpH/agent.54 04:37:15 SSH_AGENT_PID=60 04:37:15 Running ssh-add (command line suppressed) 04:37:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_2746517101997269342.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_2746517101997269342.key) 04:37:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:15 + git semver init 04:37:15 # -> Open(): unable to determine branch for HEAD 04:37:15 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git 04:37:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 04:37:15 # $SEMVER_REMOTE_NAME = origin 04:37:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:37:15 # $SEMVER_USER_NAME = edgex-jenkins 04:37:15 # $SEMVER_BRANCH = PR-1055 04:37:15 # $SEMVER_TEMP = /tmp/semver-049255852 04:37:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:37:16 # '/tmp/semver-049255852' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' 04:37:16 # -> Force: false 04:37:16 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } 04:37:16 $ docker exec --env ******** --env ******** c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 ssh-agent -k 04:37:16 unset SSH_AUTH_SOCK; 04:37:16 unset SSH_AGENT_PID; 04:37:16 echo Agent pid 60 killed; 04:37:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:37:18 + git semver [Pipeline] } 04:37:18 $ docker stop --time=1 c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 04:37:19 $ docker rm -f c94f2138f21c1d5094f9a25ab7e985ac693b37cbe0c532ce3ea33823eaacf113 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:37:19 Stashed 1 file(s) [Pipeline] echo 04:37:19 [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:37:35 Still waiting to schedule task 04:37:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28042’ 04:37:35 Still waiting to schedule task 04:37:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:39:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28043 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 04:39:28 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:39:28 Selected Git installation does not exist. Using Default 04:39:28 The recommended git tool is: NONE 04:39:34 using credential edgex-jenkins-ssh 04:39:34 Cloning the remote Git repository 04:39:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:39:35 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:39:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:39:35 > git --version # timeout=10 04:39:35 > git --version # 'git version 2.17.1' 04:39:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:39:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:39:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:39:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:39:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:39:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:39:37 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:39:37 Merge succeeded, producing b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:39:37 Checking out Revision b972f8d7600f8bbaad2456189b6d7b77b78f649a (PR-1055) 04:39:37 > git config core.sparsecheckout # timeout=10 04:39:37 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 04:39:37 > git remote # timeout=10 04:39:37 > git config --get remote.origin.url # timeout=10 04:39:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:39:37 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 04:39:37 > git rev-parse HEAD^{commit} # timeout=10 04:39:37 > git config core.sparsecheckout # timeout=10 04:39:37 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 04:39:43 Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:39:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:39:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:39:44 Dload Upload Total Spent Left Speed 04:39:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 69146 0 --:--:-- --:--:-- --:--:-- 68744 100 11824 100 11824 0 0 68346 0 --:--:-- --:--:-- --:--:-- 68346 [Pipeline] sh 04:39:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:39:45 + sudo tee /etc/docker/daemon.new 04:39:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:39:45 { 04:39:45 "registry-mirrors": [ 04:39:45 "https://nexus3.edgexfoundry.org:10001" 04:39:45 ], 04:39:45 "bip": "10.250.0.254/24", 04:39:45 "hosts": [ 04:39:45 "tcp://0.0.0.0:5555", 04:39:45 "unix:///var/run/docker.sock" 04:39:45 ], 04:39:45 "mtu": 1458, 04:39:45 "selinux-enabled": true, 04:39:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:39:45 } [Pipeline] sh 04:39:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:39:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:04 provisioning config files... 04:40:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6773437926547298978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:04 ---> docker-login.sh 04:40:04 nexus3.edgexfoundry.org:10001 04:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:05 Configure a credential helper to remove this warning. See 04:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:05 04:40:05 Login Succeeded 04:40:05 nexus3.edgexfoundry.org:10002 04:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:06 Configure a credential helper to remove this warning. See 04:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:06 04:40:06 Login Succeeded 04:40:06 nexus3.edgexfoundry.org:10003 04:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:06 Configure a credential helper to remove this warning. See 04:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:06 04:40:06 Login Succeeded 04:40:06 nexus3.edgexfoundry.org:10004 04:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:07 Configure a credential helper to remove this warning. See 04:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:07 04:40:07 Login Succeeded 04:40:07 docker.io 04:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:08 Configure a credential helper to remove this warning. See 04:40:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:08 04:40:08 Login Succeeded 04:40:08 ---> docker-login.sh ends [Pipeline] } 04:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:40:09 ========================================================= 04:40:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:40:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:40:09 + 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:40:10 Sending build context to Docker daemon 2.772MB 04:40:10 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:40:10 Step 2/10 : FROM ${BASE} AS builder 04:40:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:40:10 552d1f2373af: Pulling fs layer 04:40:10 ea3f2d53f512: Pulling fs layer 04:40:10 9e70ebbbe112: Pulling fs layer 04:40:10 7a9cfe048b4a: Pulling fs layer 04:40:10 72dc09318566: Pulling fs layer 04:40:10 f4f7b4309257: Pulling fs layer 04:40:10 0ac9a79272e3: Pulling fs layer 04:40:10 b78e95d17946: Pulling fs layer 04:40:10 7a9cfe048b4a: Waiting 04:40:10 72dc09318566: Waiting 04:40:10 f4f7b4309257: Waiting 04:40:10 0ac9a79272e3: Waiting 04:40:10 b78e95d17946: Waiting 04:40:10 9e70ebbbe112: Verifying Checksum 04:40:10 9e70ebbbe112: Download complete 04:40:10 72dc09318566: Download complete 04:40:10 f4f7b4309257: Verifying Checksum 04:40:10 f4f7b4309257: Download complete 04:40:10 0ac9a79272e3: Verifying Checksum 04:40:10 0ac9a79272e3: Download complete 04:40:10 552d1f2373af: Verifying Checksum 04:40:10 552d1f2373af: Download complete 04:40:10 552d1f2373af: Pull complete 04:40:11 ea3f2d53f512: Pull complete 04:40:12 9e70ebbbe112: Pull complete 04:40:12 b78e95d17946: Verifying Checksum 04:40:12 b78e95d17946: Download complete 04:40:12 7a9cfe048b4a: Verifying Checksum 04:40:12 7a9cfe048b4a: Download complete 04:40:22 7a9cfe048b4a: Pull complete 04:40:23 72dc09318566: Pull complete 04:40:23 f4f7b4309257: Pull complete 04:40:24 0ac9a79272e3: Pull complete 04:40:30 b78e95d17946: Pull complete 04:40:30 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:40:30 ---> 8b459fc5aaf0 04:40:30 Step 3/10 : ARG MAKE=make build 04:40:32 ---> Running in 4a10a9d7f0f8 04:40:32 Removing intermediate container 4a10a9d7f0f8 04:40:32 ---> 3841441b7054 04:40:32 Step 4/10 : WORKDIR /device-sdk-go 04:40:32 ---> Running in 22fbd9af0e2d 04:40:33 Removing intermediate container 22fbd9af0e2d 04:40:33 ---> 734169d24512 04:40:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:33 ---> Running in d40a5591764d 04:40:34 Removing intermediate container d40a5591764d 04:40:34 ---> c46f350e5b2f 04:40:34 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:34 ---> Running in 00cb27944dfc 04:40:36 Removing intermediate container 00cb27944dfc 04:40:36 ---> 12b10d7e9c9e 04:40:36 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:40:36 ---> Running in c84a26bc3a8d 04:40:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:40:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:40:39 OK: 219 MiB in 52 packages 04:40:40 Removing intermediate container c84a26bc3a8d 04:40:40 ---> a28855a89887 04:40:40 Step 8/10 : COPY . . 04:40:42 ---> 03f6054ec505 04:40:42 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:40:42 ---> Running in 5cc24194a795 04:42:03 Removing intermediate container 5cc24194a795 04:42:03 ---> 83ee0f4432dd 04:42:03 Step 10/10 : RUN ${MAKE} 04:42:03 ---> Running in face51c3260b 04:42:03 noop 04:42:03 Removing intermediate container face51c3260b 04:42:03 ---> 94af87a440b2 04:42:03 Successfully built 94af87a440b2 04:42:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:42:04 + docker inspect -f . ci-base-image-arm64 04:42:04 . [Pipeline] withDockerContainer 04:42:04 prd-ubuntu18.04-docker-arm64-4c-16g-28043 does not seem to be running inside a container 04:42:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:42:06 $ docker top a1e32c1dc018d4048f428c2152d3090c5cb06a0e668f2147ada38e5ec588dda2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:42:07 + go version 04:42:07 go version go1.16.8 linux/arm64 [Pipeline] } 04:42:07 $ docker stop --time=1 a1e32c1dc018d4048f428c2152d3090c5cb06a0e668f2147ada38e5ec588dda2 04:42:08 $ docker rm -f a1e32c1dc018d4048f428c2152d3090c5cb06a0e668f2147ada38e5ec588dda2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:42:09 + docker inspect -f . ci-base-image-arm64 04:42:09 . [Pipeline] withDockerContainer 04:42:09 prd-ubuntu18.04-docker-arm64-4c-16g-28043 does not seem to be running inside a container 04:42:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:42:11 $ docker top fca2cf262d51924c937b7241d816a01eb34251f19ef162b1530a8b712cacf769 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:42:12 + make test 04:42:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:42:20 Running on prd-centos7-docker-4c-2g-28044 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws 04:42:20 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:42:20 Selected Git installation does not exist. Using Default 04:42:20 The recommended git tool is: NONE 04:42:23 using credential edgex-jenkins-ssh 04:42:23 Cloning the remote Git repository 04:42:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:42:23 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:42:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:42:23 > git --version # timeout=10 04:42:23 > git --version # 'git version 2.24.4' 04:42:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:24 [INFO] Currently running in a labeled security context 04:42:24 [INFO] Currently SELinux is 'enforcing' on the host 04:42:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh9182223439545763837.key 04:42:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:24 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:42:25 Merge succeeded, producing b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:42:25 Checking out Revision b972f8d7600f8bbaad2456189b6d7b77b78f649a (PR-1055) 04:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:42:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:42:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:42:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:24 [INFO] Currently running in a labeled security context 04:42:24 [INFO] Currently SELinux is 'enforcing' on the host 04:42:24 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8459165862051271768.key 04:42:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:42:25 > git config core.sparsecheckout # timeout=10 04:42:25 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 04:42:25 > git remote # timeout=10 04:42:25 > git config --get remote.origin.url # timeout=10 04:42:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:25 [INFO] Currently running in a labeled security context 04:42:25 [INFO] Currently SELinux is 'enforcing' on the host 04:42:25 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh2178621191861630966.key 04:42:25 > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 04:42:25 > git rev-parse HEAD^{commit} # timeout=10 04:42:25 > git config core.sparsecheckout # timeout=10 04:42:25 > git checkout -f b972f8d7600f8bbaad2456189b6d7b77b78f649a # timeout=10 04:42:29 Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:29 provisioning config files... 04:42:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7886699335795654204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:30 ---> docker-login.sh 04:42:30 nexus3.edgexfoundry.org:10001 04:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:30 Configure a credential helper to remove this warning. See 04:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:30 04:42:30 Login Succeeded 04:42:30 nexus3.edgexfoundry.org:10002 04:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:30 Configure a credential helper to remove this warning. See 04:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:30 04:42:30 Login Succeeded 04:42:30 nexus3.edgexfoundry.org:10003 04:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:30 Configure a credential helper to remove this warning. See 04:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:30 04:42:30 Login Succeeded 04:42:30 nexus3.edgexfoundry.org:10004 04:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:30 Configure a credential helper to remove this warning. See 04:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:30 04:42:30 Login Succeeded 04:42:30 docker.io 04:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:31 Configure a credential helper to remove this warning. See 04:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:31 04:42:31 Login Succeeded 04:42:31 ---> docker-login.sh ends [Pipeline] } 04:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:42:31 ========================================================= 04:42:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:42:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:42:31 + 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:42:31 Sending build context to Docker daemon 2.773MB 04:42:31 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:42:31 Step 2/10 : FROM ${BASE} AS builder 04:42:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:42:31 a0d0a0d46f8b: Pulling fs layer 04:42:31 31adcdaf11c8: Pulling fs layer 04:42:31 b8b176561691: Pulling fs layer 04:42:31 4527c011a84f: Pulling fs layer 04:42:31 5d74067f8e1e: Pulling fs layer 04:42:31 e0aca202a116: Pulling fs layer 04:42:31 3a43be97a3b4: Pulling fs layer 04:42:31 34cad66bf833: Pulling fs layer 04:42:31 b4e3c513aaa6: Pulling fs layer 04:42:31 4527c011a84f: Waiting 04:42:31 5d74067f8e1e: Waiting 04:42:31 e0aca202a116: Waiting 04:42:31 3a43be97a3b4: Waiting 04:42:31 34cad66bf833: Waiting 04:42:31 b4e3c513aaa6: Waiting 04:42:31 b8b176561691: Verifying Checksum 04:42:31 b8b176561691: Download complete 04:42:31 31adcdaf11c8: Verifying Checksum 04:42:31 31adcdaf11c8: Download complete 04:42:31 5d74067f8e1e: Verifying Checksum 04:42:31 5d74067f8e1e: Download complete 04:42:31 a0d0a0d46f8b: Verifying Checksum 04:42:31 a0d0a0d46f8b: Download complete 04:42:31 e0aca202a116: Verifying Checksum 04:42:31 e0aca202a116: Download complete 04:42:31 3a43be97a3b4: Verifying Checksum 04:42:31 3a43be97a3b4: Download complete 04:42:31 34cad66bf833: Verifying Checksum 04:42:31 34cad66bf833: Download complete 04:42:32 a0d0a0d46f8b: Pull complete 04:42:32 4527c011a84f: Verifying Checksum 04:42:32 4527c011a84f: Download complete 04:42:32 b4e3c513aaa6: Verifying Checksum 04:42:32 b4e3c513aaa6: Download complete 04:42:32 31adcdaf11c8: Pull complete 04:42:32 b8b176561691: Pull complete 04:42:37 4527c011a84f: Pull complete 04:42:37 5d74067f8e1e: Pull complete 04:42:37 e0aca202a116: Pull complete 04:42:37 3a43be97a3b4: Pull complete 04:42:37 34cad66bf833: Pull complete 04:42:39 b4e3c513aaa6: Pull complete 04:42:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:42:39 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:42:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:42:39 ---> 9f6097aaca64 04:42:39 Step 3/10 : ARG MAKE=make build 04:42:41 ---> Running in 5495f6b075f8 04:42:41 Removing intermediate container 5495f6b075f8 04:42:41 ---> 10be4c9220e5 04:42:41 Step 4/10 : WORKDIR /device-sdk-go 04:42:42 ---> Running in edde8155dfce 04:42:42 Removing intermediate container edde8155dfce 04:42:42 ---> d562fb776476 04:42:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:42:42 ---> Running in f5a9f538757f 04:42:42 Removing intermediate container f5a9f538757f 04:42:42 ---> 0b424fb195d9 04:42:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:42 ---> Running in ea16b1acaae1 04:42:42 Removing intermediate container ea16b1acaae1 04:42:42 ---> b8a241229506 04:42:42 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:42:42 ---> Running in dc619aaf516c 04:42:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:42:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:42:44 OK: 220 MiB in 52 packages 04:42:44 Removing intermediate container dc619aaf516c 04:42:44 ---> 59d53c42a947 04:42:44 Step 8/10 : COPY . . 04:42:44 ---> 15321b6ad2a6 04:42:44 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:42:44 ---> Running in 0ac4b5a2d5e1 04:43:23 Removing intermediate container 0ac4b5a2d5e1 04:43:23 ---> 388e9018a7b7 04:43:23 Step 10/10 : RUN ${MAKE} 04:43:23 ---> Running in 9b9502eb3ebb 04:43:23 noop 04:43:23 Removing intermediate container 9b9502eb3ebb 04:43:23 ---> 96122edac5cb 04:43:23 Successfully built 96122edac5cb 04:43:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:43:24 + docker inspect -f . ci-base-image-x86_64 04:43:24 . [Pipeline] withDockerContainer 04:43:24 prd-centos7-docker-4c-2g-28044 does not seem to be running inside a container 04:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:43:24 $ docker top afb04f5d7f4066b6cb4b3b895c92dbb3b9c9ef5d5f9743a4e4c146d3af0137ff -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:25 + go version 04:43:25 go version go1.16.8 linux/amd64 [Pipeline] } 04:43:25 $ docker stop --time=1 afb04f5d7f4066b6cb4b3b895c92dbb3b9c9ef5d5f9743a4e4c146d3af0137ff 04:43:26 $ docker rm -f afb04f5d7f4066b6cb4b3b895c92dbb3b9c9ef5d5f9743a4e4c146d3af0137ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:43:26 + docker inspect -f . ci-base-image-x86_64 04:43:26 . [Pipeline] withDockerContainer 04:43:26 prd-centos7-docker-4c-2g-28044 does not seem to be running inside a container 04:43:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:43:27 $ docker top b2bac1ac4117230e7b50c95a6b1e8d9fc96521564472eb1643de02584e1f0839 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:43:27 + make test 04:43:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:43:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:43:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:43:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:43:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:43:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.343s coverage: 23.3% of statements 04:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:43:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.227s coverage: 27.6% of statements 04:43:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.291s coverage: 78.9% of statements 04:43:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.236s coverage: 9.0% of statements 04:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:43:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.303s coverage: 28.7% of statements 04:43:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:43:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.289s coverage: 83.3% of statements 04:43:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:43:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:43:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.353s coverage: 57.8% of statements 04:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.112s coverage: 89.2% of statements 04:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:44:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements 04:44:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:44:00 GO111MODULE=on go vet ./... 04:44:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:44:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:44:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements 04:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 27.6% of statements 04:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements 04:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements 04:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:44:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 04:44:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:44:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 83.3% of statements 04:44:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:44:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:44:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.8% of statements 04:44:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.893s coverage: 89.2% of statements 04:44:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:44:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.064s coverage: 4.9% of statements 04:44:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:44:12 GO111MODULE=on go vet ./... 04:44:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:44:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:44:34 ./bin/test-attribution-txt.sh [Pipeline] } 04:44:34 $ docker stop --time=1 b2bac1ac4117230e7b50c95a6b1e8d9fc96521564472eb1643de02584e1f0839 04:44:36 $ docker rm -f b2bac1ac4117230e7b50c95a6b1e8d9fc96521564472eb1643de02584e1f0839 [Pipeline] // withDockerContainer [Pipeline] sh 04:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:44:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:44:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:44:39 + ls -al . 04:44:39 total 264 04:44:39 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 04:44 . 04:44:39 drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 04:42 .. 04:44:39 drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 04:42 bin 04:44:39 -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 04:42 CHANGELOG.md 04:44:39 -rw-r--r--. 1 jenkins jenkins 128021 Nov 9 04:44 coverage.out 04:44:39 -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 04:42 .dockerignore 04:44:39 drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 04:42 example 04:44:39 drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 04:42 .git 04:44:39 drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 04:42 .github 04:44:39 -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 04:42 .gitignore 04:44:39 -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 04:42 go.mod 04:44:39 -rw-rw-r--. 1 jenkins jenkins 49022 Nov 9 04:42 go.sum 04:44:39 -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 04:42 GOVERNANCE.md 04:44:39 drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 04:42 internal 04:44:39 -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 04:42 Jenkinsfile 04:44:39 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 04:42 LICENSE 04:44:39 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 04:42 Makefile 04:44:39 drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 04:42 openapi 04:44:39 -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 04:42 OWNERS.md 04:44:39 drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 04:42 pkg 04:44:39 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 04:42 README.md 04:44:39 drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 04:42 snap 04:44:39 -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 04:37 VERSION 04:44:39 -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 04:42 version.go [Pipeline] isUnix [Pipeline] sh 04:44:40 + 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=b972f8d7600f8bbaad2456189b6d7b77b78f649a --label arch=amd64 --label version=0.0.0 . 04:44:40 Sending build context to Docker daemon 2.902MB 04:44:40 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:44:40 Step 2/24 : FROM ${BASE} AS builder 04:44:40 ---> 96122edac5cb 04:44:40 Step 3/24 : ARG MAKE=make build 04:44:40 ---> Running in 5b025473066f 04:44:41 Removing intermediate container 5b025473066f 04:44:41 ---> ea9bcc6cbc23 04:44:41 Step 4/24 : WORKDIR /device-sdk-go 04:44:41 ---> Running in 18a1b9c5f8b8 04:44:41 Removing intermediate container 18a1b9c5f8b8 04:44:41 ---> b24cf73159d5 04:44:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:41 ---> Running in df1d56a113a9 04:44:41 Removing intermediate container df1d56a113a9 04:44:41 ---> 85a8c3a3b79e 04:44:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:41 ---> Running in 54a8d97dd24e 04:44:41 Removing intermediate container 54a8d97dd24e 04:44:41 ---> 2a0580af8042 04:44:41 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:44:41 ---> Running in d577829ecff7 04:44:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:44:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:44:43 OK: 220 MiB in 52 packages 04:44:43 Removing intermediate container d577829ecff7 04:44:43 ---> b9a8e7353733 04:44:43 Step 8/24 : COPY . . 04:44:43 ---> 6136aa986a50 04:44:43 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:44:43 ---> Running in e6db7741b5d0 04:44:44 Removing intermediate container e6db7741b5d0 04:44:44 ---> 34fd6845160c 04:44:44 Step 10/24 : RUN ${MAKE} 04:44:44 ---> Running in 9dacdf51ddfd 04:44:45 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:45:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:45:01 Removing intermediate container 9dacdf51ddfd 04:45:01 ---> d3560167df93 04:45:01 Step 11/24 : FROM alpine:3.14 04:45:05 3.14: Pulling from library/alpine 04:45:05 a0d0a0d46f8b: Already exists 04:45:05 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:45:05 Status: Downloaded newer image for alpine:3.14 04:45:05 ---> 14119a10abf4 04:45:05 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:45:05 ---> Running in 21f0bdeb5245 04:45:05 Removing intermediate container 21f0bdeb5245 04:45:05 ---> c17dafa73007 04:45:05 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:05 ---> Running in def35ef9ab59 04:45:05 Removing intermediate container def35ef9ab59 04:45:05 ---> 882d82b5d675 04:45:05 Step 14/24 : RUN apk add --update --no-cache zeromq 04:45:05 ---> Running in f2687b9bc10e 04:45:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:45:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:45:07 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:45:07 (2/5) Installing libsodium (1.0.18-r0) 04:45:07 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:45:07 (4/5) Installing libzmq (4.3.4-r0) 04:45:07 (5/5) Installing zeromq (4.3.4-r0) 04:45:07 Executing busybox-1.33.1-r3.trigger 04:45:07 OK: 8 MiB in 19 packages 04:45:07 Removing intermediate container f2687b9bc10e 04:45:07 ---> 83ea80732e05 04:45:07 Step 15/24 : WORKDIR / 04:45:07 ---> Running in c213a3f96b83 04:45:08 Removing intermediate container c213a3f96b83 04:45:08 ---> 8a8ca1da7d39 04:45:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:45:08 ---> 485ea403f5f9 04:45:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:45:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:45:08 ./bin/test-attribution-txt.sh [Pipeline] } 04:45:08 $ docker stop --time=1 fca2cf262d51924c937b7241d816a01eb34251f19ef162b1530a8b712cacf769 04:45:08 ---> 9fd9c3661ba4 04:45:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:45:08 ---> bc048b77775a 04:45:08 Step 19/24 : EXPOSE 59999 04:45:08 ---> Running in 3a1842a1cf4b 04:45:08 Removing intermediate container 3a1842a1cf4b 04:45:08 ---> 8e590e699d3d 04:45:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:45:08 ---> Running in d980b22a9b0b 04:45:08 Removing intermediate container d980b22a9b0b 04:45:08 ---> 0077c13bcde5 04:45:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:45:08 ---> Running in e1926b2308bc 04:45:08 Removing intermediate container e1926b2308bc 04:45:08 ---> 46461f40f691 04:45:08 Step 22/24 : LABEL arch=amd64 04:45:08 ---> Running in 55f8c28844a8 04:45:09 Removing intermediate container 55f8c28844a8 04:45:09 ---> 4f6fd749dfdf 04:45:09 Step 23/24 : LABEL git_sha=b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:45:09 ---> Running in 5f6d1a43be72 04:45:09 Removing intermediate container 5f6d1a43be72 04:45:09 ---> 4911b7864ece 04:45:09 Step 24/24 : LABEL version=0.0.0 04:45:09 ---> Running in 82b2cd9d6994 04:45:09 Removing intermediate container 82b2cd9d6994 04:45:09 ---> 541b7296ca77 04:45:09 [Warning] One or more build-args [ARCH] were not consumed 04:45:09 Successfully built 541b7296ca77 04:45:09 Successfully tagged device-sdk-simple:latest 04:45:10 $ docker rm -f fca2cf262d51924c937b7241d816a01eb34251f19ef162b1530a8b712cacf769 [Pipeline] // withDockerContainer [Pipeline] sh [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] } 04:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] stash 04:45:11 Warning: overwriting stash ‘coverage-report’ Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:11 04:45:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:45:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:45:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:12 latest: Pulling from edgex-lftools-log-publisher 04:45:12 b4d181a07f80: Pulling fs layer 04:45:12 a1111a8f2ec3: Pulling fs layer 04:45:12 ed53099fbce6: Pulling fs layer 04:45:12 dc539afda2c1: Pulling fs layer 04:45:12 77bc0d833cb6: Pulling fs layer 04:45:12 9065ff56babe: Pulling fs layer 04:45:12 d287ab97295c: Pulling fs layer 04:45:12 dc539afda2c1: Waiting 04:45:12 77bc0d833cb6: Waiting 04:45:12 9065ff56babe: Waiting 04:45:12 d287ab97295c: Waiting 04:45:12 a1111a8f2ec3: Verifying Checksum 04:45:12 a1111a8f2ec3: Download complete 04:45:12 dc539afda2c1: Verifying Checksum 04:45:12 dc539afda2c1: Download complete 04:45:12 ed53099fbce6: Verifying Checksum 04:45:12 ed53099fbce6: Download complete 04:45:12 9065ff56babe: Verifying Checksum 04:45:12 9065ff56babe: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:12 77bc0d833cb6: Verifying Checksum 04:45:12 77bc0d833cb6: Download complete 04:45:12 b4d181a07f80: Verifying Checksum 04:45:12 b4d181a07f80: Download complete 04:45:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:12 + ls -al . 04:45:12 total 300 04:45:12 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 04:44 . 04:45:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:39 .. 04:45:12 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 04:39 .dockerignore 04:45:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 04:39 .git 04:45:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:39 .github 04:45:12 -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 04:39 .gitignore 04:45:12 -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 04:39 CHANGELOG.md 04:45:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 04:39 GOVERNANCE.md 04:45:12 -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 04:39 Jenkinsfile 04:45:12 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 04:39 LICENSE 04:45:12 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 04:39 Makefile 04:45:12 -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 04:39 OWNERS.md 04:45:12 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 04:39 README.md 04:45:12 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 04:37 VERSION 04:45:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 04:39 bin 04:45:12 -rw-r--r-- 1 jenkins jenkins 128021 Nov 9 04:43 coverage.out 04:45:12 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:39 example 04:45:12 -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 04:39 go.mod 04:45:12 -rw-rw-r-- 1 jenkins jenkins 49022 Nov 9 04:39 go.sum 04:45:12 drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 04:39 internal 04:45:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:39 openapi 04:45:12 drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:39 pkg 04:45:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:39 snap 04:45:12 -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 04:39 version.go [Pipeline] isUnix [Pipeline] sh 04:45:12 d287ab97295c: Verifying Checksum 04:45:12 d287ab97295c: Download complete 04:45:13 + 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=b972f8d7600f8bbaad2456189b6d7b77b78f649a --label arch=arm64 --label version=0.0.0 . 04:45:13 Sending build context to Docker daemon 2.901MB 04:45:13 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:45:13 Step 2/24 : FROM ${BASE} AS builder 04:45:13 ---> 94af87a440b2 04:45:13 Step 3/24 : ARG MAKE=make build 04:45:13 ---> Running in 11ade42a7ef5 04:45:13 b4d181a07f80: Pull complete 04:45:13 Removing intermediate container 11ade42a7ef5 04:45:13 ---> 53d45fc507fa 04:45:13 Step 4/24 : WORKDIR /device-sdk-go 04:45:14 a1111a8f2ec3: Pull complete 04:45:14 ---> Running in ec8bdbdc2dbe 04:45:14 Removing intermediate container ec8bdbdc2dbe 04:45:14 ---> 246fe64515f7 04:45:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:45:14 ---> Running in 24329c8aad95 04:45:14 ed53099fbce6: Pull complete 04:45:14 dc539afda2c1: Pull complete 04:45:14 77bc0d833cb6: Pull complete 04:45:14 Removing intermediate container 24329c8aad95 04:45:14 ---> 95389cd65350 04:45:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:14 ---> Running in 41260c289c69 04:45:15 9065ff56babe: Pull complete 04:45:16 Removing intermediate container 41260c289c69 04:45:16 ---> ec183143b11a 04:45:16 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:45:16 ---> Running in ff94c7d59829 04:45:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:45:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:45:19 OK: 219 MiB in 52 packages 04:45:20 Removing intermediate container ff94c7d59829 04:45:20 ---> 54c7788ce61a 04:45:20 Step 8/24 : COPY . . 04:45:21 d287ab97295c: Pull complete 04:45:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:45:21 ---> 6e17ad8226e3 04:45:21 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:21 ---> Running in cabe6db16d86 04:45:21 prd-centos7-docker-4c-2g-28044 does not seem to be running inside a container 04:45:21 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:45:23 Removing intermediate container cabe6db16d86 04:45:23 ---> 2207dd80cbf7 04:45:23 Step 10/24 : RUN ${MAKE} 04:45:24 ---> Running in 81d6e3018f76 04:45:24 $ docker top 1884feee045ff99ccc0acecad72f3c8df941173fd5889babce127c69e881d510 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:24 ---> job-cost.sh 04:45:24 lf-activate-venv: SKIPPING 04:45:24 INFO: No Stack... 04:45:25 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:45:28 INFO: Retrieving Pricing Info for: v3-standard-2 04:45:28 INFO: Archiving Costs [Pipeline] sh 04:45:28 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 04:45:28 + cut -d, -f6 [Pipeline] lock 04:45:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] 04:45:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] did not exist. Created. 04:45:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:29 + echo total: 0.05999999865889549 [Pipeline] stash 04:45:29 Stashed 1 file(s) [Pipeline] } 04:45:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:29 $ docker stop --time=1 1884feee045ff99ccc0acecad72f3c8df941173fd5889babce127c69e881d510 04:45:30 $ docker rm -f 1884feee045ff99ccc0acecad72f3c8df941173fd5889babce127c69e881d510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:45:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:46:00 Removing intermediate container 81d6e3018f76 04:46:00 ---> 0392b78793d7 04:46:00 Step 11/24 : FROM alpine:3.14 04:46:03 3.14: Pulling from library/alpine 04:46:03 552d1f2373af: Already exists 04:46:04 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 04:46:04 Status: Downloaded newer image for alpine:3.14 04:46:04 ---> bb3de5531c18 04:46:04 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:46:04 ---> Running in 69eb0dafc3ae 04:46:04 Removing intermediate container 69eb0dafc3ae 04:46:04 ---> e47b26dcd91a 04:46:04 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:46:04 ---> Running in 07cea5dfb9c2 04:46:06 Removing intermediate container 07cea5dfb9c2 04:46:06 ---> 4072ec47ade0 04:46:06 Step 14/24 : RUN apk add --update --no-cache zeromq 04:46:06 ---> Running in 95e7d10fbd36 04:46:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:46:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:46:09 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:46:09 (2/5) Installing libsodium (1.0.18-r0) 04:46:09 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:46:09 (4/5) Installing libzmq (4.3.4-r0) 04:46:09 (5/5) Installing zeromq (4.3.4-r0) 04:46:09 Executing busybox-1.33.1-r3.trigger 04:46:09 OK: 8 MiB in 19 packages 04:46:10 Removing intermediate container 95e7d10fbd36 04:46:10 ---> c7097a118017 04:46:10 Step 15/24 : WORKDIR / 04:46:10 ---> Running in f2762b95b384 04:46:11 Removing intermediate container f2762b95b384 04:46:11 ---> 17306e3c2b06 04:46:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:46:11 ---> 43152f794869 04:46:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:46:13 ---> 654e3db3366d 04:46:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:46:13 ---> 50f460585de1 04:46:13 Step 19/24 : EXPOSE 59999 04:46:13 ---> Running in d3b0e6c34dff 04:46:14 Removing intermediate container d3b0e6c34dff 04:46:14 ---> 117123ac738a 04:46:14 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:46:14 ---> Running in 636c357ceeaf 04:46:14 Removing intermediate container 636c357ceeaf 04:46:14 ---> b4884e877362 04:46:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:46:14 ---> Running in 70a729afb5d8 04:46:15 Removing intermediate container 70a729afb5d8 04:46:15 ---> fb33bae9438f 04:46:15 Step 22/24 : LABEL arch=arm64 04:46:15 ---> Running in d5615b7cd5b1 04:46:15 Removing intermediate container d5615b7cd5b1 04:46:15 ---> 065b0f89eb6f 04:46:15 Step 23/24 : LABEL git_sha=b972f8d7600f8bbaad2456189b6d7b77b78f649a 04:46:15 ---> Running in 67316c6bfbf7 04:46:16 Removing intermediate container 67316c6bfbf7 04:46:16 ---> 1a9003fecd7a 04:46:16 Step 24/24 : LABEL version=0.0.0 04:46:16 ---> Running in 0023c493e213 04:46:16 Removing intermediate container 0023c493e213 04:46:16 ---> eb00ba205735 04:46:16 [Warning] One or more build-args [ARCH] were not consumed 04:46:16 Successfully built eb00ba205735 04:46:16 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:46:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:17 04:46:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:46:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:17 arm64: Pulling from edgex-lftools-log-publisher 04:46:17 448f6bf000e3: Pulling fs layer 04:46:17 f757da607395: Pulling fs layer 04:46:17 05883995daec: Pulling fs layer 04:46:17 8603b9c90790: Pulling fs layer 04:46:17 1560dd03e051: Pulling fs layer 04:46:17 27f5ce0e4adf: Pulling fs layer 04:46:17 c2d8d7efcc4b: Pulling fs layer 04:46:17 8603b9c90790: Waiting 04:46:17 1560dd03e051: Waiting 04:46:17 27f5ce0e4adf: Waiting 04:46:17 c2d8d7efcc4b: Waiting 04:46:17 f757da607395: Verifying Checksum 04:46:17 f757da607395: Download complete 04:46:17 8603b9c90790: Verifying Checksum 04:46:17 8603b9c90790: Download complete 04:46:18 1560dd03e051: Verifying Checksum 04:46:18 1560dd03e051: Download complete 04:46:18 27f5ce0e4adf: Verifying Checksum 04:46:18 27f5ce0e4adf: Download complete 04:46:18 05883995daec: Verifying Checksum 04:46:18 05883995daec: Download complete 04:46:18 448f6bf000e3: Download complete 04:46:20 c2d8d7efcc4b: Verifying Checksum 04:46:20 c2d8d7efcc4b: Download complete 04:46:21 448f6bf000e3: Pull complete 04:46:22 f757da607395: Pull complete 04:46:24 05883995daec: Pull complete 04:46:24 8603b9c90790: Pull complete 04:46:25 1560dd03e051: Pull complete 04:46:25 27f5ce0e4adf: Pull complete 04:46:40 c2d8d7efcc4b: Pull complete 04:46:40 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:46:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:46:40 prd-ubuntu18.04-docker-arm64-4c-16g-28043 does not seem to be running inside a container 04:46:40 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:46:43 $ docker top 69d216c3abfab53d43e986244dbf9528d4eabda7012a8646796d1b8c4e34fc6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:44 ---> job-cost.sh 04:46:44 lf-activate-venv: SKIPPING 04:46:44 INFO: No Stack... 04:46:44 INFO: Retrieving Pricing Info for: v3-standard-4 04:46:45 INFO: Archiving Costs [Pipeline] sh 04:46:46 + + catcut /w/workspace/device-sdk-go/3/archives/cost.csv -d, 04:46:46 -f6 [Pipeline] lock 04:46:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] 04:46:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] did not exist. Created. 04:46:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:46:46 /w/workspace/device-sdk-go/3@tmp/durable-80b8d1cb/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-80b8d1cb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:46:47 + echo total: 0.10999999940395355 [Pipeline] stash 04:46:47 Warning: overwriting stash ‘stack-cost’ 04:46:47 Stashed 1 file(s) [Pipeline] } 04:46:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:46:47 $ docker stop --time=1 69d216c3abfab53d43e986244dbf9528d4eabda7012a8646796d1b8c4e34fc6b 04:46:49 $ docker rm -f 69d216c3abfab53d43e986244dbf9528d4eabda7012a8646796d1b8c4e34fc6b [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:46:49 provisioning config files... 04:46:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config3500203509159864707tmp [Pipeline] { [Pipeline] sh 04:46:50 + set +x 04:46:50 + curl -s https://codecov.io/bash 04:46:50 + bash -s -- 04:46:50 04:46:50 _____ _ 04:46:50 / ____| | | 04:46:50 | | ___ __| | ___ ___ _____ __ 04:46:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:46:50 | |___| (_) | (_| | __/ (_| (_) \ V / 04:46:50 \_____\___/ \__,_|\___|\___\___/ \_/ 04:46:50 Bash-1.0.6 04:46:50 04:46:50 04:46:50 ==> git version 2.24.4 found 04:46:50 ==> 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:46:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:46:50 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:46:50 ==> Jenkins CI detected. 04:46:50 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 04:46:50 project root: . 04:46:50 --> token set from env 04:46:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:46:50 ==> Running gcov in . (disable via -X gcov) 04:46:50 ==> Python coveragepy not found 04:46:50 ==> Searching for coverage reports in: 04:46:50 + . 04:46:50 -> Found 1 reports 04:46:50 ==> Detecting git/mercurial file structure 04:46:50 ==> Reading reports 04:46:50 + ./coverage.out bytes=128021 04:46:50 ==> Appending adjustments 04:46:50 https://docs.codecov.io/docs/fixing-reports 04:46:50 + Found adjustments 04:46:50 ==> Gzipping contents 04:46:50 16K /tmp/codecov.5uPXiR.gz 04:46:50 ==> Uploading reports 04:46:50 url: https://codecov.io 04:46:50 query: branch=PR-1055&commit=b972f8d7600f8bbaad2456189b6d7b77b78f649a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 04:46:50 -> Pinging Codecov 04:46:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1055&commit=b972f8d7600f8bbaad2456189b6d7b77b78f649a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= 04:46:51 -> Uploading to 04:46:51 https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/b972f8d7600f8bbaad2456189b6d7b77b78f649a/68be169b-ce62-4ccb-92c6-0564e7a4f274.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T044651Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62fc21dff30903bf945fae60bf9179d6cdb7c2d039830c8182eb29c5df7fe2f3 04:46:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:46:51 Dload Upload Total Spent Left Speed 04:46:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16270 0 0 100 16270 0 37102 --:--:-- --:--:-- --:--:-- 37061 04:46:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b972f8d7600f8bbaad2456189b6d7b77b78f649a [Pipeline] } 04:46:51 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:46:53 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:46:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:46:54 ---> package-listing.sh 04:46:54 ++ tr '[:upper:]' '[:lower:]' 04:46:54 ++ facter osfamily 04:46:55 + OS_FAMILY=redhat 04:46:55 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 04:46:55 + START_PACKAGES=/tmp/packages_start.txt 04:46:55 + END_PACKAGES=/tmp/packages_end.txt 04:46:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:46:55 + PACKAGES=/tmp/packages_start.txt 04:46:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 04:46:55 + PACKAGES=/tmp/packages_end.txt 04:46:55 + case "${OS_FAMILY}" in 04:46:55 + rpm -qa 04:46:55 + sort 04:46:55 + '[' -f /tmp/packages_start.txt ']' 04:46:55 + '[' -f /tmp/packages_end.txt ']' 04:46:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:55 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' 04:46:55 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ 04:46:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [Pipeline] echo 04:46:55 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-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:46:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:56 04:46:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:46:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:57 latest: Pulling from edgex-lftools-log-publisher 04:46:57 b4d181a07f80: Pulling fs layer 04:46:57 a1111a8f2ec3: Pulling fs layer 04:46:57 ed53099fbce6: Pulling fs layer 04:46:57 dc539afda2c1: Pulling fs layer 04:46:57 77bc0d833cb6: Pulling fs layer 04:46:57 9065ff56babe: Pulling fs layer 04:46:57 d287ab97295c: Pulling fs layer 04:46:57 77bc0d833cb6: Waiting 04:46:57 9065ff56babe: Waiting 04:46:57 d287ab97295c: Waiting 04:46:57 dc539afda2c1: Waiting 04:46:57 a1111a8f2ec3: Verifying Checksum 04:46:57 a1111a8f2ec3: Download complete 04:46:57 dc539afda2c1: Verifying Checksum 04:46:57 dc539afda2c1: Download complete 04:46:57 ed53099fbce6: Verifying Checksum 04:46:57 ed53099fbce6: Download complete 04:46:57 77bc0d833cb6: Verifying Checksum 04:46:57 77bc0d833cb6: Download complete 04:46:57 9065ff56babe: Verifying Checksum 04:46:57 9065ff56babe: Download complete 04:46:57 b4d181a07f80: Verifying Checksum 04:46:57 b4d181a07f80: Download complete 04:46:57 d287ab97295c: Verifying Checksum 04:46:57 d287ab97295c: Download complete 04:46:58 b4d181a07f80: Pull complete 04:46:59 a1111a8f2ec3: Pull complete 04:46:59 ed53099fbce6: Pull complete 04:46:59 dc539afda2c1: Pull complete 04:46:59 77bc0d833cb6: Pull complete 04:46:59 9065ff56babe: Pull complete 04:47:05 d287ab97295c: Pull complete 04:47:05 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:47:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:47:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:47:05 prd-centos7-docker-4c-2g-28042 does not seem to be running inside a container 04:47:05 $ 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-1055/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-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:47:07 $ docker top 0ea3fe83f2b978b720bc2e0dd579180217531a910a5711cf92b950f0d534a98d -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:08 + touch /tmp/pre-build-complete [Pipeline] sh 04:47:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:47:08 + ls /var/log/sa-host 04:47:08 + sadf -c /var/log/sa-host/sa09 04:47:08 file_magic: OK 04:47:08 HZ: Using current value: 100 04:47:08 file_header: OK 04:47:08 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:47:08 Statistics: 04:47:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:47:08 File successfully converted to sysstat format version 12.0.3 04:47:08 + sadf -c /var/log/sa-host/sa30 04:47:08 file_magic: OK 04:47:08 HZ: Using current value: 100 04:47:08 file_header: OK 04:47:08 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:47:08 Statistics: 04:47:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:47:08 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:09 provisioning config files... 04:47:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config866707001461908572tmp [Pipeline] { [Pipeline] echo 04:47:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:47:09 ---> create-netrc.sh [Pipeline] } 04:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:47:09 ---> python-tools-install.sh [Pipeline] echo 04:47:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:47:10 ---> sudo-logs.sh 04:47:10 Archiving 'sudo' log.. 04:47:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-28042.novalocal: Name or service not known 04:47:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-28042.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:47:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:47:10 ---> job-cost.sh 04:47:10 lf-activate-venv: SKIPPING 04:47:10 DEBUG: total: 0.10999999940395355 04:47:10 INFO: Retrieving Stack Cost... 04:47:12 INFO: Retrieving Pricing Info for: v3-standard-2 04:47:12 INFO: Archiving Costs [Pipeline] echo 04:47:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:47:12 ---> logs-deploy.sh 04:47:12 lf-activate-venv: SKIPPING 04:47:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/3 04:47:12 INFO: archiving workspace using pattern(s): 04:47:13 Archives upload complete. 04:47:13 INFO: archiving logs to Nexus 04:47:14 ---> uname -a: 04:47:14 Linux prd-centos7-docker-4c-2g-28042.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:47:14 04:47:14 04:47:14 ---> lscpu: 04:47:14 Architecture: x86_64 04:47:14 CPU op-mode(s): 32-bit, 64-bit 04:47:14 Byte Order: Little Endian 04:47:14 Address sizes: 40 bits physical, 48 bits virtual 04:47:14 CPU(s): 2 04:47:14 On-line CPU(s) list: 0,1 04:47:14 Thread(s) per core: 1 04:47:14 Core(s) per socket: 1 04:47:14 Socket(s): 2 04:47:14 NUMA node(s): 1 04:47:14 Vendor ID: AuthenticAMD 04:47:14 CPU family: 23 04:47:14 Model: 49 04:47:14 Model name: AMD EPYC-Rome Processor 04:47:14 Stepping: 0 04:47:14 CPU MHz: 2799.998 04:47:14 BogoMIPS: 5599.99 04:47:14 Virtualization: AMD-V 04:47:14 Hypervisor vendor: KVM 04:47:14 Virtualization type: full 04:47:14 L1d cache: 32K 04:47:14 L1i cache: 32K 04:47:14 L2 cache: 512K 04:47:14 L3 cache: 16384K 04:47:14 NUMA node0 CPU(s): 0,1 04:47:14 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:47:14 04:47:14 04:47:14 ---> nproc: 04:47:14 2 04:47:14 04:47:14 04:47:14 ---> df -h: 04:47:14 Filesystem Size Used Avail Use% Mounted on 04:47:14 overlay 40G 7.7G 33G 20% / 04:47:14 tmpfs 64M 0 64M 0% /dev 04:47:14 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:47:14 shm 64M 0 64M 0% /dev/shm 04:47:14 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:47:14 04:47:14 04:47:14 ---> sar -b -r -n DEV: 04:47:14 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 04:47:14 04:47:14 04:36:26 LINUX RESTART (2 CPU) 04:47:14 04:47:14 04:37:01 tps rtps wtps bread/s bwrtn/s 04:47:14 04:38:01 74.52 3.40 71.12 2351.24 3061.65 04:47:14 04:39:01 0.43 0.00 0.43 0.00 7.30 04:47:14 04:40:01 0.27 0.00 0.27 0.00 3.25 04:47:14 04:41:01 0.23 0.00 0.23 0.00 3.48 04:47:14 04:42:01 0.27 0.00 0.27 0.00 2.50 04:47:14 04:43:01 0.25 0.00 0.25 0.00 3.63 04:47:14 04:44:01 0.32 0.00 0.32 0.00 4.73 04:47:14 04:45:01 0.25 0.00 0.25 0.00 2.45 04:47:14 04:46:01 0.28 0.00 0.28 0.00 3.50 04:47:14 04:47:01 5.81 0.15 5.66 14.25 211.37 04:47:14 Average: 8.26 0.35 7.91 236.59 330.45 04:47:14 04:47:14 04:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:47:14 04:38:01 5673812 0 632912 7.90 2620 1699596 1276748 14.10 577000 1523420 20 04:47:14 04:39:01 5687780 0 618936 7.73 2620 1699604 1163808 12.85 565668 1523384 16 04:47:14 04:40:01 5688472 0 618244 7.72 2620 1699604 1164024 12.85 564572 1523560 8 04:47:14 04:41:01 5688200 0 618508 7.72 2620 1699612 1163808 12.85 565528 1523560 8 04:47:14 04:42:01 5691104 0 615600 7.69 2620 1699616 1163904 12.85 562380 1524248 16 04:47:14 04:43:01 5690168 0 616532 7.70 2620 1699620 1164012 12.85 562896 1524248 8 04:47:14 04:44:01 5690012 0 616684 7.70 2620 1699624 1163808 12.85 562956 1524272 8 04:47:14 04:45:01 5689528 0 617164 7.71 2620 1699628 1163808 12.85 563468 1524272 8 04:47:14 04:46:01 5680388 0 626300 7.82 2620 1699632 1163808 12.85 574360 1522360 8 04:47:14 04:47:01 5136168 0 746028 9.31 2620 2124124 1526668 16.86 864212 1731628 423536 04:47:14 Average: 5631563 0 632691 7.90 2620 1742066 1211440 13.37 596304 1544495 42364 04:47:14 04:47:14 04:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:47:14 04:38:01 eth0 82.75 63.68 391.89 24.57 0.00 0.00 0.00 0.00 04:47:14 04:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:38:01 docker0 9.24 5.93 1.72 29.81 0.00 0.00 0.00 0.00 04:47:14 04:39:01 eth0 0.60 0.12 0.06 0.02 0.00 0.00 0.00 0.00 04:47:14 04:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:40:01 eth0 1.47 0.77 1.10 0.23 0.00 0.00 0.00 0.00 04:47:14 04:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:41:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:47:14 04:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:42:01 eth0 0.68 0.23 0.13 0.07 0.00 0.00 0.00 0.00 04:47:14 04:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:43:01 eth0 0.62 0.40 0.35 0.21 0.00 0.00 0.00 0.00 04:47:14 04:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:44:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:47:14 04:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:45:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:47:14 04:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:46:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:47:14 04:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:47:01 eth0 121.86 68.25 2597.67 11.00 0.00 0.00 0.00 0.00 04:47:14 04:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 04:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 Average: eth0 20.85 13.39 299.22 3.61 0.00 0.00 0.00 0.00 04:47:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:47:14 Average: docker0 0.92 0.59 0.17 2.98 0.00 0.00 0.00 0.00 04:47:14 04:47:14 04:47:14 ---> sar -P ALL: 04:47:14 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/09/21 _x86_64_ (2 CPU) 04:47:14 04:47:14 04:36:26 LINUX RESTART (2 CPU) 04:47:14 04:47:14 04:37:01 CPU %user %nice %system %iowait %steal %idle 04:47:14 04:38:01 all 6.10 0.00 2.25 1.96 0.10 89.59 04:47:14 04:38:01 0 6.20 0.00 2.15 0.81 0.10 90.73 04:47:14 04:38:01 1 6.01 0.00 2.35 3.10 0.10 88.44 04:47:14 04:39:01 all 0.28 0.00 0.08 0.00 0.03 99.62 04:47:14 04:39:01 0 0.18 0.00 0.08 0.00 0.02 99.72 04:47:14 04:39:01 1 0.37 0.00 0.07 0.00 0.03 99.53 04:47:14 04:40:01 all 0.29 0.00 0.08 0.00 0.02 99.61 04:47:14 04:40:01 0 0.15 0.00 0.12 0.00 0.03 99.70 04:47:14 04:40:01 1 0.43 0.00 0.05 0.00 0.00 99.52 04:47:14 04:41:01 all 0.28 0.00 0.05 0.00 0.02 99.65 04:47:14 04:41:01 0 0.07 0.00 0.05 0.00 0.02 99.87 04:47:14 04:41:01 1 0.50 0.00 0.05 0.00 0.02 99.43 04:47:14 04:42:01 all 0.19 0.00 0.06 0.00 0.05 99.70 04:47:14 04:42:01 0 0.13 0.00 0.08 0.00 0.07 99.72 04:47:14 04:42:01 1 0.25 0.00 0.03 0.00 0.03 99.68 04:47:14 04:43:01 all 0.14 0.00 0.06 0.00 0.02 99.78 04:47:14 04:43:01 0 0.10 0.00 0.10 0.00 0.02 99.78 04:47:14 04:43:01 1 0.18 0.00 0.02 0.00 0.02 99.78 04:47:14 04:44:01 all 0.23 0.00 0.06 0.01 0.03 99.67 04:47:14 04:44:01 0 0.12 0.00 0.07 0.02 0.05 99.75 04:47:14 04:44:01 1 0.35 0.00 0.05 0.00 0.02 99.58 04:47:14 04:45:01 all 0.18 0.00 0.07 0.00 0.03 99.73 04:47:14 04:45:01 0 0.03 0.00 0.05 0.00 0.02 99.90 04:47:14 04:45:01 1 0.32 0.00 0.08 0.00 0.03 99.57 04:47:14 04:46:01 all 0.18 0.00 0.07 0.00 0.03 99.72 04:47:14 04:46:01 0 0.07 0.00 0.03 0.00 0.02 99.88 04:47:14 04:46:01 1 0.30 0.00 0.10 0.00 0.03 99.56 04:47:14 04:47:01 all 6.45 0.00 2.04 0.02 0.06 91.44 04:47:14 04:47:01 0 6.44 0.00 2.17 0.02 0.07 91.31 04:47:14 04:47:01 1 6.46 0.00 1.91 0.02 0.05 91.56 04:47:14 Average: all 1.42 0.00 0.48 0.20 0.04 97.87 04:47:14 Average: 0 1.34 0.00 0.49 0.08 0.04 98.05 04:47:14 Average: 1 1.51 0.00 0.47 0.31 0.03 97.68 04:47:14 04:47:14 04:47:14