Pull request #8 opened 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 jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 252a76c7f581232fc5465cd9d4f7abcf41d0ac17+7472832c1a10574f3c58874fc08b27a833a10064 (0e33d6aa433fe72873911da3da0a90bfef27754d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh867425025897424913.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh1677907684839719851.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-8/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-8/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3484275374628464667.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-8/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8805613684995195694.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8825209478316724828.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-8/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-8/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3076044531948046877.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-gpio] ========================================================= [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-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1020 in /w/workspace/edgexfoundry_device-gpio_PR-8 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-8 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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/edgexfoundry_device-gpio_PR-8@tmp/jenkins-gitclient-ssh6801810463353502877.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7472832c1a10574f3c58874fc08b27a833a10064 into PR head commit 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 Merge succeeded, producing 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 Checking out Revision 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 (PR-8) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.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-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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/edgexfoundry_device-gpio_PR-8@tmp/jenkins-gitclient-ssh6328682118296891683.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # 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/edgexfoundry_device-gpio_PR-8@tmp/jenkins-gitclient-ssh683662890362028599.key > git merge 7472832c1a10574f3c58874fc08b27a833a10064 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # timeout=10 Commit message: "build: update alpine base to 3.14" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:00:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:00:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:00:26 ========================================================= 22:00:26 EdgeX Global Pipelines Version Info 22:00:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:00:28 ------------------- 22:00:28 stable info: 22:00:28 ------------------- 22:00:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:00:28 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:00:28 Message: update stable to v1.0.205 22:00:29 ------------------- 22:00:29 experimental info: 22:00:29 ------------------- 22:00:29 Commited By: **** collab-it+edgex@linuxfoundation.org 22:00:29 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 22:00:29 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-8 [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-8 [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-8 [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 252a76c [Pipeline] echo 22:00:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:00:31 provisioning config files... 22:00:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-8@tmp/config2283607954991197714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:00:32 ---> docker-login.sh 22:00:32 nexus3.edgexfoundry.org:10001 22:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:32 Configure a credential helper to remove this warning. See 22:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:32 22:00:32 Login Succeeded 22:00:32 nexus3.edgexfoundry.org:10002 22:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:32 Configure a credential helper to remove this warning. See 22:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:32 22:00:32 Login Succeeded 22:00:32 nexus3.edgexfoundry.org:10003 22:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:32 Configure a credential helper to remove this warning. See 22:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:32 22:00:32 Login Succeeded 22:00:32 nexus3.edgexfoundry.org:10004 22:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:32 Configure a credential helper to remove this warning. See 22:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:32 22:00:32 Login Succeeded 22:00:32 docker.io 22:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:00:33 Configure a credential helper to remove this warning. See 22:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:00:33 22:00:33 Login Succeeded 22:00:33 ---> docker-login.sh ends [Pipeline] } 22:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:00:33 + git log --format=format:%s -1 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 [Pipeline] echo 22:00:34 GIT_COMMIT: 252a76c7f581232fc5465cd9d4f7abcf41d0ac17, Commit Message: build: update alpine base to 3.14 [Pipeline] echo 22:00:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:00:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:00:35 22:00:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:00:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:00:35 latest: Pulling from edgex-devops/git-semver 22:00:35 31603596830f: Pulling fs layer 22:00:35 04fac38145f0: Pulling fs layer 22:00:35 701f6daf10bf: Pulling fs layer 22:00:35 24f72da36158: Pulling fs layer 22:00:35 24f72da36158: Waiting 22:00:35 04fac38145f0: Verifying Checksum 22:00:35 04fac38145f0: Download complete 22:00:35 31603596830f: Verifying Checksum 22:00:35 31603596830f: Download complete 22:00:35 31603596830f: Pull complete 22:00:35 24f72da36158: Verifying Checksum 22:00:35 24f72da36158: Download complete 22:00:35 04fac38145f0: Pull complete 22:00:35 701f6daf10bf: Verifying Checksum 22:00:35 701f6daf10bf: Download complete 22:00:36 701f6daf10bf: Pull complete 22:00:36 24f72da36158: Pull complete 22:00:36 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 22:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:00:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:00:36 prd-centos7-docker-4c-2g-1020 does not seem to be running inside a container 22:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-8 -v /w/workspace/edgexfoundry_device-gpio_PR-8:/w/workspace/edgexfoundry_device-gpio_PR-8:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-8@tmp:/w/workspace/edgexfoundry_device-gpio_PR-8@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:00:37 $ docker top 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:38 [ssh-agent] Looking for ssh-agent implementation... 22:00:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:38 $ docker exec 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c ssh-agent 22:00:38 SSH_AUTH_SOCK=/tmp/ssh-ntOLrVxTlO0g/agent.13 22:00:38 SSH_AGENT_PID=19 22:00:38 Running ssh-add (command line suppressed) 22:00:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-8@tmp/private_key_961865460033401339.key (/w/workspace/edgexfoundry_device-gpio_PR-8@tmp/private_key_961865460033401339.key) 22:00:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:38 + git tag --points-at HEAD [Pipeline] } 22:00:38 $ docker exec --env ******** --env ******** 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c ssh-agent -k 22:00:38 unset SSH_AUTH_SOCK; 22:00:38 unset SSH_AGENT_PID; 22:00:38 echo Agent pid 19 killed; 22:00:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:00:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:39 [ssh-agent] Looking for ssh-agent implementation... 22:00:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:39 $ docker exec 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c ssh-agent 22:00:39 SSH_AUTH_SOCK=/tmp/ssh-dVOHh7QGvGDF/agent.53 22:00:39 SSH_AGENT_PID=61 22:00:39 Running ssh-add (command line suppressed) 22:00:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-8@tmp/private_key_7657335623564887869.key (/w/workspace/edgexfoundry_device-gpio_PR-8@tmp/private_key_7657335623564887869.key) 22:00:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:39 + git semver init 22:00:39 # -> Open(): unable to determine branch for HEAD 22:00:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-8/.git 22:00:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-8 22:00:39 # $SEMVER_REMOTE_NAME = origin 22:00:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:00:39 # $SEMVER_USER_NAME = edgex-jenkins 22:00:39 # $SEMVER_BRANCH = PR-8 22:00:39 # $SEMVER_TEMP = /tmp/semver-624352900 22:00:39 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 22:00:48 # '/tmp/semver-624352900' -> '/w/workspace/edgexfoundry_device-gpio_PR-8/.semver' 22:00:48 # -> Force: false 22:00:48 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-8/.semver [Pipeline] } 22:00:48 $ docker exec --env ******** --env ******** 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c ssh-agent -k 22:00:48 unset SSH_AUTH_SOCK; 22:00:48 unset SSH_AGENT_PID; 22:00:48 echo Agent pid 61 killed; 22:00:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:48 + git semver [Pipeline] } 22:00:48 $ docker stop --time=1 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c 22:00:50 $ docker rm -f 11a4b062ac48f9d9052441d5a79c1624160889a270edc674ee24cb22a9c7bb8c [Pipeline] // withDockerContainer [Pipeline] sh 22:00:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:00:50 Stashed 1 file(s) [Pipeline] echo 22:00:50 [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 22:01:06 Still waiting to schedule task 22:01:06 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ 22:01:06 ‘prd-centos7-docker-4c-2g-1006’ is offline 22:01:06 ‘prd-centos7-docker-4c-2g-1017’ is offline 22:01:06 ‘prd-centos7-docker-4c-2g-1021’ is offline 22:01:06 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1011’ doesn’t have label ‘centos7-docker-4c-2g’ 22:01:06 Still waiting to schedule task 22:01:06 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:03:07 Running on prd-centos7-docker-4c-2g-1024 in /w/workspace/edgexfoundry_device-gpio_PR-8 [Pipeline] { [Pipeline] ws 22:03:07 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 22:03:07 The recommended git tool is: git 22:03:10 using credential edgex-jenkins-ssh 22:03:10 Cloning the remote Git repository 22:03:10 Cloning repository git@github.com:edgexfoundry/device-gpio.git 22:03:10 > git init /w/workspace/device-gpio/1 # timeout=10 22:03:10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:03:10 > git --version # timeout=10 22:03:10 > git --version # 'git version 2.24.4' 22:03:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:10 [INFO] Currently running in a labeled security context 22:03:10 [INFO] Currently SELinux is 'enforcing' on the host 22:03:10 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh6654820642047615551.key 22:03:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:03:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:03:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:03:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:03:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:11 [INFO] Currently running in a labeled security context 22:03:11 [INFO] Currently SELinux is 'enforcing' on the host 22:03:11 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh4010158795638871932.key 22:03:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:03:12 Merging remotes/origin/main commit 7472832c1a10574f3c58874fc08b27a833a10064 into PR head commit 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:03:12 Merge succeeded, producing 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:03:12 Checking out Revision 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 (PR-8) 22:03:12 > git config core.sparsecheckout # timeout=10 22:03:12 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # timeout=10 22:03:12 > git remote # timeout=10 22:03:12 > git config --get remote.origin.url # timeout=10 22:03:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:03:12 [INFO] Currently running in a labeled security context 22:03:12 [INFO] Currently SELinux is 'enforcing' on the host 22:03:12 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh118588358261852450.key 22:03:12 > git merge 7472832c1a10574f3c58874fc08b27a833a10064 # timeout=10 22:03:12 > git rev-parse HEAD^{commit} # timeout=10 22:03:12 > git config core.sparsecheckout # timeout=10 22:03:12 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # timeout=10 22:03:16 Commit message: "build: update alpine base to 3.14" 22:03:16 > git --version # timeout=10 22:03:16 > git --version # 'git version 2.24.4' 22:03:16 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:16 provisioning config files... 22:03:16 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5979658217324296115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:17 ---> docker-login.sh 22:03:17 nexus3.edgexfoundry.org:10001 22:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:17 Configure a credential helper to remove this warning. See 22:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:17 22:03:17 Login Succeeded 22:03:17 nexus3.edgexfoundry.org:10002 22:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:17 Configure a credential helper to remove this warning. See 22:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:17 22:03:17 Login Succeeded 22:03:17 nexus3.edgexfoundry.org:10003 22:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:17 Configure a credential helper to remove this warning. See 22:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:17 22:03:17 Login Succeeded 22:03:17 nexus3.edgexfoundry.org:10004 22:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:17 Configure a credential helper to remove this warning. See 22:03:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:17 22:03:17 Login Succeeded 22:03:17 docker.io 22:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:18 Configure a credential helper to remove this warning. See 22:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:18 22:03:18 Login Succeeded 22:03:18 ---> docker-login.sh ends [Pipeline] } 22:03:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:03:18 ========================================================= 22:03:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:03:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:03:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:03:19 Sending build context to Docker daemon 5.505MB 22:03:19 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:03:19 Step 2/10 : FROM ${BASE} AS builder 22:03:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:03:19 540db60ca938: Pulling fs layer 22:03:19 adcc1eea9eea: Pulling fs layer 22:03:19 4c4ab2625f07: Pulling fs layer 22:03:19 db62176df00c: Pulling fs layer 22:03:19 3b30891b0d05: Pulling fs layer 22:03:19 06b49ca38bd5: Pulling fs layer 22:03:19 c788192a36de: Pulling fs layer 22:03:19 a77e37c0d609: Pulling fs layer 22:03:19 c3185cebc471: Pulling fs layer 22:03:19 db62176df00c: Waiting 22:03:19 3b30891b0d05: Waiting 22:03:19 06b49ca38bd5: Waiting 22:03:19 c788192a36de: Waiting 22:03:19 a77e37c0d609: Waiting 22:03:19 c3185cebc471: Waiting 22:03:19 4c4ab2625f07: Download complete 22:03:19 adcc1eea9eea: Verifying Checksum 22:03:19 adcc1eea9eea: Download complete 22:03:19 3b30891b0d05: Download complete 22:03:19 06b49ca38bd5: Verifying Checksum 22:03:19 06b49ca38bd5: Download complete 22:03:19 c788192a36de: Verifying Checksum 22:03:19 c788192a36de: Download complete 22:03:20 540db60ca938: Verifying Checksum 22:03:20 540db60ca938: Download complete 22:03:20 540db60ca938: Pull complete 22:03:20 adcc1eea9eea: Pull complete 22:03:20 4c4ab2625f07: Pull complete 22:03:20 a77e37c0d609: Verifying Checksum 22:03:20 a77e37c0d609: Download complete 22:03:27 db62176df00c: Verifying Checksum 22:03:27 db62176df00c: Download complete 22:03:27 c3185cebc471: Verifying Checksum 22:03:27 c3185cebc471: Download complete 22:03:31 db62176df00c: Pull complete 22:03:31 3b30891b0d05: Pull complete 22:03:31 06b49ca38bd5: Pull complete 22:03:31 c788192a36de: Pull complete 22:03:31 a77e37c0d609: Pull complete 22:03:33 c3185cebc471: Pull complete 22:03:33 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 22:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:03:33 ---> 031687cdd783 22:03:33 Step 3/10 : ARG MAKE='make build' 22:03:35 ---> Running in 9b6c54159a1e 22:03:35 Removing intermediate container 9b6c54159a1e 22:03:35 ---> b9550268ced1 22:03:35 Step 4/10 : WORKDIR /device-gpio 22:03:35 ---> Running in e77f07cc7434 22:03:35 Removing intermediate container e77f07cc7434 22:03:35 ---> 895ca1735b12 22:03:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:03:35 ---> Running in fc3261c63440 22:03:35 Removing intermediate container fc3261c63440 22:03:35 ---> 36b7575ea3dc 22:03:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:03:35 ---> Running in fce27f5c8f49 22:03:35 Removing intermediate container fce27f5c8f49 22:03:35 ---> 0404edcf77f7 22:03:35 Step 7/10 : RUN apk add --update --no-cache make git 22:03:35 ---> Running in a3cf7eca669a 22:03:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:03:39 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:03:46 OK: 219 MiB in 52 packages 22:03:46 Removing intermediate container a3cf7eca669a 22:03:46 ---> 0dad89aba723 22:03:46 Step 8/10 : COPY . . 22:03:46 ---> e198f860abba 22:03:46 Step 9/10 : RUN go mod tidy 22:03:46 ---> Running in 6492555e7899 22:03:53 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 22:03:53 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 22:03:53 go: downloading github.com/spf13/cast v1.3.1 22:03:53 go: downloading github.com/warthog618/gpiod v0.6.0 22:03:53 go: downloading github.com/gorilla/mux v1.8.0 22:03:53 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 22:03:54 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 22:03:54 go: downloading github.com/google/uuid v1.1.2 22:03:54 go: downloading github.com/stretchr/testify v1.5.1 22:03:54 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:03:54 go: downloading github.com/go-kit/kit v0.8.0 22:03:54 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:03:54 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:03:54 go: downloading gopkg.in/yaml.v2 v2.4.0 22:03:54 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 22:03:55 go: downloading github.com/davecgh/go-spew v1.1.1 22:03:55 go: downloading github.com/pmezard/go-difflib v1.0.0 22:03:55 go: downloading github.com/x448/float16 v0.8.4 22:03:55 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:03:55 go: downloading github.com/go-stack/stack v1.8.0 22:03:55 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 22:03:55 go: downloading github.com/go-playground/validator/v10 v10.3.0 22:03:55 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:03:55 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 22:03:55 go: downloading github.com/pelletier/go-toml v1.2.0 22:03:55 go: downloading github.com/BurntSushi/toml v0.3.1 22:03:55 go: downloading github.com/hashicorp/consul/api v1.1.0 22:03:55 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:03:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:03:55 go: downloading github.com/go-playground/universal-translator v0.17.0 22:03:55 go: downloading github.com/leodido/go-urn v1.2.0 22:03:55 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:03:56 go: downloading github.com/go-playground/locales v0.13.0 22:04:06 go: downloading github.com/kr/pretty v0.1.0 22:04:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:04:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 22:04:06 go: downloading github.com/hashicorp/serf v0.8.2 22:04:06 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:04:06 go: downloading github.com/hashicorp/consul/sdk v0.1.1 22:04:06 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:04:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:04:06 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:04:06 go: downloading github.com/kr/text v0.1.0 22:04:06 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:04:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:04:06 go: downloading github.com/pkg/errors v0.8.1 22:04:07 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:04:07 go: downloading github.com/hashicorp/memberlist v0.1.3 22:04:07 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:04:07 go: downloading github.com/mitchellh/copystructure v1.0.0 22:04:07 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:04:07 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:04:07 go: downloading github.com/google/btree v1.0.0 22:04:07 go: downloading github.com/hashicorp/go-multierror v1.0.0 22:04:07 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 22:04:07 go: downloading github.com/miekg/dns v1.1.4 22:04:07 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:04:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:04:07 go: downloading github.com/hashicorp/golang-lru v0.5.1 22:04:07 go: downloading github.com/hashicorp/errwrap v1.0.0 22:04:07 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 22:04:07 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 22:04:11 Removing intermediate container 6492555e7899 22:04:11 ---> 36b077d0e031 22:04:11 Step 10/10 : RUN ${MAKE} 22:04:11 ---> Running in 4baddf638a32 22:04:11 noop 22:04:11 Removing intermediate container 4baddf638a32 22:04:11 ---> fa954be307c9 22:04:11 Successfully built fa954be307c9 22:04:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:04:11 + docker inspect -f . ci-base-image-x86_64 22:04:11 . [Pipeline] withDockerContainer 22:04:12 prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container 22:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:12 $ docker top 06715588cacdc785d8826869e6da4db8f28a93613f4e7481e44049f7da6a315d -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:13 + go version 22:04:13 go version go1.16.6 linux/amd64 [Pipeline] } 22:04:13 $ docker stop --time=1 06715588cacdc785d8826869e6da4db8f28a93613f4e7481e44049f7da6a315d 22:04:14 $ docker rm -f 06715588cacdc785d8826869e6da4db8f28a93613f4e7481e44049f7da6a315d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:04:15 + docker inspect -f . ci-base-image-x86_64 22:04:15 . [Pipeline] withDockerContainer 22:04:15 prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container 22:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:04:15 $ docker top 6da7b2a1f3931330264a68df29d83e9c47e6029df51ca9766419ad8d1af52b9c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:04:16 + go mod tidy [Pipeline] sh 22:04:17 + make test 22:04:17 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:04:22 ? github.com/edgexfoundry/device-gpio [no test files] 22:04:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 22:04:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 22:04:34 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:04:39 gofmt -l . 22:04:39 [ "`gofmt -l .`" = "" ] 22:04:39 ./bin/test-attribution-txt.sh 22:04:39 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:04:39 $ docker stop --time=1 6da7b2a1f3931330264a68df29d83e9c47e6029df51ca9766419ad8d1af52b9c 22:04:41 $ docker rm -f 6da7b2a1f3931330264a68df29d83e9c47e6029df51ca9766419ad8d1af52b9c [Pipeline] // withDockerContainer [Pipeline] sh 22:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:04:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:04:44 + ls -al . 22:04:44 total 108 22:04:44 drwxrwxr-x. 7 jenkins jenkins 4096 Sep 23 22:04 . 22:04:44 drwxrwxr-x. 4 jenkins jenkins 28 Sep 23 22:03 .. 22:04:44 -rw-rw-r--. 1 jenkins jenkins 5451 Sep 23 22:03 Attribution.txt 22:04:44 drwxrwxr-x. 2 jenkins jenkins 64 Sep 23 22:03 bin 22:04:44 drwxrwxr-x. 3 jenkins jenkins 32 Sep 23 22:03 cmd 22:04:44 -rw-r--r--. 1 jenkins jenkins 10 Sep 23 22:04 coverage.out 22:04:44 -rw-rw-r--. 1 jenkins jenkins 1502 Sep 23 22:03 Dockerfile 22:04:44 -rw-rw-r--. 1 jenkins jenkins 120 Sep 23 22:03 .dockerignore 22:04:44 drwxrwxr-x. 8 jenkins jenkins 179 Sep 23 22:03 .git 22:04:44 drwxrwxr-x. 2 jenkins jenkins 81 Sep 23 22:03 .github 22:04:44 -rw-rw-r--. 1 jenkins jenkins 350 Sep 23 22:03 .gitignore 22:04:44 -rw-r--r--. 1 jenkins jenkins 379 Sep 23 22:04 go.mod 22:04:44 -rw-r--r--. 1 jenkins jenkins 30244 Sep 23 22:04 go.sum 22:04:44 -rw-rw-r--. 1 jenkins jenkins 677 Sep 23 22:03 GOVERNANCE.md 22:04:44 drwxrwxr-x. 3 jenkins jenkins 20 Sep 23 22:03 internal 22:04:44 -rw-rw-r--. 1 jenkins jenkins 657 Sep 23 22:03 Jenkinsfile 22:04:44 -rw-rw-r--. 1 jenkins jenkins 11340 Sep 23 22:03 LICENSE 22:04:44 -rw-rw-r--. 1 jenkins jenkins 906 Sep 23 22:03 Makefile 22:04:44 -rw-rw-r--. 1 jenkins jenkins 617 Sep 23 22:03 OWNERS.md 22:04:44 -rw-rw-r--. 1 jenkins jenkins 8048 Sep 23 22:03 README.md 22:04:44 -rw-rw-r--. 1 jenkins jenkins 5 Sep 23 22:00 VERSION 22:04:44 -rw-rw-r--. 1 jenkins jenkins 209 Sep 23 22:03 version.go [Pipeline] isUnix [Pipeline] sh 22:04:44 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=252a76c7f581232fc5465cd9d4f7abcf41d0ac17 --label arch=amd64 --label version=0.0.0 . 22:04:44 Sending build context to Docker daemon 5.506MB 22:04:44 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 22:04:44 Step 2/23 : FROM ${BASE} AS builder 22:04:44 ---> fa954be307c9 22:04:44 Step 3/23 : ARG MAKE='make build' 22:04:44 ---> Running in 9ab797c40f06 22:04:45 Removing intermediate container 9ab797c40f06 22:04:45 ---> 7905cd8f817e 22:04:45 Step 4/23 : WORKDIR /device-gpio 22:04:45 ---> Running in b77f6f77a0ee 22:04:45 Removing intermediate container b77f6f77a0ee 22:04:45 ---> 21b7070f8d40 22:04:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:04:45 ---> Running in 091b4be8076d 22:04:45 Removing intermediate container 091b4be8076d 22:04:45 ---> 8e4dc33ae88a 22:04:45 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:04:45 ---> Running in 59deebc2bf37 22:04:45 Removing intermediate container 59deebc2bf37 22:04:45 ---> 695ae06c9d83 22:04:45 Step 7/23 : RUN apk add --update --no-cache make git 22:04:45 ---> Running in b8a8b9d03a91 22:04:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:04:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:04:47 OK: 219 MiB in 52 packages 22:04:48 Removing intermediate container b8a8b9d03a91 22:04:48 ---> 3cda6e695315 22:04:48 Step 8/23 : COPY . . 22:04:48 ---> 1c89a46c7dfa 22:04:48 Step 9/23 : RUN go mod tidy 22:04:48 ---> Running in 91f273afa5c4 22:04:48 Removing intermediate container 91f273afa5c4 22:04:48 ---> f39e002c3cec 22:04:48 Step 10/23 : RUN ${MAKE} 22:04:48 ---> Running in cf6201fadc7e 22:04:49 go mod tidy 22:04:49 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 22:05:01 Removing intermediate container cf6201fadc7e 22:05:01 ---> b9780accfff1 22:05:01 Step 11/23 : FROM scratch 22:05:01 ---> 22:05:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:05:01 ---> Running in 4116dc0fe7ee 22:05:01 Removing intermediate container 4116dc0fe7ee 22:05:01 ---> 3a0237c406ae 22:05:01 Step 13/23 : ENV APP_PORT=49994 22:05:01 ---> Running in e7f73023adcd 22:05:01 Removing intermediate container e7f73023adcd 22:05:01 ---> 40708d164b65 22:05:01 Step 14/23 : EXPOSE $APP_PORT 22:05:01 ---> Running in d68a5ec97ac3 22:05:01 Removing intermediate container d68a5ec97ac3 22:05:01 ---> 044d51d00e90 22:05:01 Step 15/23 : WORKDIR / 22:05:01 ---> Running in 04e4242e0a05 22:05:01 Removing intermediate container 04e4242e0a05 22:05:01 ---> 711d0a367a0d 22:05:01 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 22:05:01 ---> aab7f92f420d 22:05:01 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 22:05:01 ---> 25f6700af053 22:05:01 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 22:05:01 ---> bdacfb869b2c 22:05:01 Step 19/23 : ENTRYPOINT ["/device-gpio"] 22:05:01 ---> Running in 82bba827c664 22:05:01 Removing intermediate container 82bba827c664 22:05:01 ---> cac4d5cae25c 22:05:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:05:01 ---> Running in e201bbfc5c95 22:05:01 Removing intermediate container e201bbfc5c95 22:05:01 ---> 4749fd4b1705 22:05:01 Step 21/23 : LABEL arch=amd64 22:05:01 ---> Running in 38567cbb0da0 22:05:01 Removing intermediate container 38567cbb0da0 22:05:01 ---> 24ddf1cafefe 22:05:01 Step 22/23 : LABEL git_sha=252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:05:01 ---> Running in 7ca2be90d2f3 22:05:01 Removing intermediate container 7ca2be90d2f3 22:05:01 ---> 0a9c170615f5 22:05:01 Step 23/23 : LABEL version=0.0.0 22:05:01 ---> Running in 60557fea5bf6 22:05:01 Removing intermediate container 60557fea5bf6 22:05:01 ---> d34c7fd200d7 22:05:01 [Warning] One or more build-args [ARCH] were not consumed 22:05:01 Successfully built d34c7fd200d7 22:05:01 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:02 22:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:03 latest: Pulling from edgex-lftools-log-publisher 22:05:03 b4d181a07f80: Pulling fs layer 22:05:03 a1111a8f2ec3: Pulling fs layer 22:05:03 ed53099fbce6: Pulling fs layer 22:05:03 dc539afda2c1: Pulling fs layer 22:05:03 77bc0d833cb6: Pulling fs layer 22:05:03 9065ff56babe: Pulling fs layer 22:05:03 d287ab97295c: Pulling fs layer 22:05:03 dc539afda2c1: Waiting 22:05:03 77bc0d833cb6: Waiting 22:05:03 9065ff56babe: Waiting 22:05:03 d287ab97295c: Waiting 22:05:03 a1111a8f2ec3: Verifying Checksum 22:05:03 a1111a8f2ec3: Download complete 22:05:03 dc539afda2c1: Verifying Checksum 22:05:03 dc539afda2c1: Download complete 22:05:03 77bc0d833cb6: Verifying Checksum 22:05:03 77bc0d833cb6: Download complete 22:05:03 9065ff56babe: Verifying Checksum 22:05:03 9065ff56babe: Download complete 22:05:04 ed53099fbce6: Verifying Checksum 22:05:04 ed53099fbce6: Download complete 22:05:05 b4d181a07f80: Verifying Checksum 22:05:05 b4d181a07f80: Download complete 22:05:06 b4d181a07f80: Pull complete 22:05:06 a1111a8f2ec3: Pull complete 22:05:06 ed53099fbce6: Pull complete 22:05:06 dc539afda2c1: Pull complete 22:05:06 77bc0d833cb6: Pull complete 22:05:06 9065ff56babe: Pull complete 22:05:10 d287ab97295c: Verifying Checksum 22:05:10 d287ab97295c: Download complete 22:05:14 d287ab97295c: Pull complete 22:05:14 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:05:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:05:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:05:14 prd-centos7-docker-4c-2g-1024 does not seem to be running inside a container 22:05:14 $ 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-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:05:17 $ docker top d738a61f23640bb06bdad283fadecc66bd2f2b73fe58683f9e0a7ebcd087d663 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:17 ---> job-cost.sh 22:05:17 lf-activate-venv: SKIPPING 22:05:17 INFO: No Stack... 22:05:18 INFO: Retrieving Pricing Info for: v3-standard-2 22:05:18 INFO: Archiving Costs [Pipeline] sh 22:05:19 + cat /w/workspace/device-gpio/1/archives/cost.csv 22:05:19 + cut -d, -f6 [Pipeline] lock 22:05:19 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] 22:05:19 Resource [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] did not exist. Created. 22:05:19 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:05:19 + echo total: 0.05999999865889549 [Pipeline] stash 22:05:19 Stashed 1 file(s) [Pipeline] } 22:05:19 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:05:19 $ docker stop --time=1 d738a61f23640bb06bdad283fadecc66bd2f2b73fe58683f9e0a7ebcd087d663 22:05:21 $ docker rm -f d738a61f23640bb06bdad283fadecc66bd2f2b73fe58683f9e0a7ebcd087d663 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1026 in /w/workspace/edgexfoundry_device-gpio_PR-8 [Pipeline] { [Pipeline] ws 22:05:30 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 22:05:31 The recommended git tool is: git 22:05:37 using credential edgex-jenkins-ssh 22:05:37 Cloning the remote Git repository 22:05:37 Cloning repository git@github.com:edgexfoundry/device-gpio.git 22:05:37 > git init /w/workspace/device-gpio/1 # timeout=10 22:05:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:05:37 > git --version # timeout=10 22:05:37 > git --version # 'git version 2.17.1' 22:05:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:43 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:05:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:44 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 22:05:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 22:05:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:05:44 Merging remotes/origin/main commit 7472832c1a10574f3c58874fc08b27a833a10064 into PR head commit 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:05:44 Merge succeeded, producing 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:05:44 Checking out Revision 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 (PR-8) 22:05:44 > git config core.sparsecheckout # timeout=10 22:05:44 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # timeout=10 22:05:44 > git remote # timeout=10 22:05:44 > git config --get remote.origin.url # timeout=10 22:05:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:44 > git merge 7472832c1a10574f3c58874fc08b27a833a10064 # timeout=10 22:05:44 > git rev-parse HEAD^{commit} # timeout=10 22:05:44 > git config core.sparsecheckout # timeout=10 22:05:44 > git checkout -f 252a76c7f581232fc5465cd9d4f7abcf41d0ac17 # timeout=10 22:05:49 Commit message: "build: update alpine base to 3.14" 22:05:49 > git --version # timeout=10 22:05:49 > git --version # 'git version 2.17.1' 22:05:49 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:50 provisioning config files... 22:05:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5431991362133559443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:50 ---> docker-login.sh 22:05:50 nexus3.edgexfoundry.org:10001 22:05:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:53 Configure a credential helper to remove this warning. See 22:05:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:53 22:05:53 Login Succeeded 22:05:53 nexus3.edgexfoundry.org:10002 22:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:54 Configure a credential helper to remove this warning. See 22:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:54 22:05:54 Login Succeeded 22:05:54 nexus3.edgexfoundry.org:10003 22:05:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:54 Configure a credential helper to remove this warning. See 22:05:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:54 22:05:54 Login Succeeded 22:05:54 nexus3.edgexfoundry.org:10004 22:05:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:55 Configure a credential helper to remove this warning. See 22:05:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:55 22:05:55 Login Succeeded 22:05:55 docker.io 22:05:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:56 Configure a credential helper to remove this warning. See 22:05:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:56 22:05:56 Login Succeeded 22:05:56 ---> docker-login.sh ends [Pipeline] } 22:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:57 ========================================================= 22:05:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:05:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:05:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 22:05:58 Sending build context to Docker daemon 5.504MB 22:05:58 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:05:58 Step 2/10 : FROM ${BASE} AS builder 22:05:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:58 595b0fe564bb: Pulling fs layer 22:05:58 24495759ef45: Pulling fs layer 22:05:58 d148012ef14d: Pulling fs layer 22:05:58 e90a11edd702: Pulling fs layer 22:05:58 d77568369979: Pulling fs layer 22:05:58 fc1c9f9a7f3b: Pulling fs layer 22:05:58 170f2ba95c9a: Pulling fs layer 22:05:58 97ac5df62f85: Pulling fs layer 22:05:58 fc1c9f9a7f3b: Waiting 22:05:58 170f2ba95c9a: Waiting 22:05:58 97ac5df62f85: Waiting 22:05:58 e90a11edd702: Waiting 22:05:58 d77568369979: Waiting 22:05:58 d148012ef14d: Verifying Checksum 22:05:58 d148012ef14d: Download complete 22:05:58 24495759ef45: Verifying Checksum 22:05:58 24495759ef45: Download complete 22:05:58 d77568369979: Download complete 22:05:59 fc1c9f9a7f3b: Verifying Checksum 22:05:59 fc1c9f9a7f3b: Download complete 22:05:59 595b0fe564bb: Verifying Checksum 22:05:59 595b0fe564bb: Download complete 22:05:59 170f2ba95c9a: Verifying Checksum 22:05:59 170f2ba95c9a: Download complete 22:05:59 595b0fe564bb: Pull complete 22:06:00 24495759ef45: Pull complete 22:06:00 d148012ef14d: Pull complete 22:06:02 97ac5df62f85: Verifying Checksum 22:06:02 97ac5df62f85: Download complete 22:06:03 e90a11edd702: Verifying Checksum 22:06:03 e90a11edd702: Download complete 22:06:13 e90a11edd702: Pull complete 22:06:13 d77568369979: Pull complete 22:06:13 fc1c9f9a7f3b: Pull complete 22:06:14 170f2ba95c9a: Pull complete 22:06:19 97ac5df62f85: Pull complete 22:06:19 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 22:06:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:06:19 ---> 04bc70af865f 22:06:19 Step 3/10 : ARG MAKE='make build' 22:06:24 ---> Running in f4b4e0806060 22:06:25 Removing intermediate container f4b4e0806060 22:06:25 ---> 64cc28323d52 22:06:25 Step 4/10 : WORKDIR /device-gpio 22:06:25 ---> Running in d650686c8698 22:06:26 Removing intermediate container d650686c8698 22:06:26 ---> 2d3ee9444389 22:06:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:06:26 ---> Running in dd0aa2cd3be1 22:06:26 Removing intermediate container dd0aa2cd3be1 22:06:26 ---> f814af948e87 22:06:26 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:06:27 ---> Running in c1b3e3636322 22:06:30 Removing intermediate container c1b3e3636322 22:06:30 ---> d0c124bb2632 22:06:30 Step 7/10 : RUN apk add --update --no-cache make git 22:06:30 ---> Running in 5a16830f04fa 22:06:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:06:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:06:33 OK: 218 MiB in 52 packages 22:06:35 Removing intermediate container 5a16830f04fa 22:06:35 ---> 3c4b095d24d8 22:06:35 Step 8/10 : COPY . . 22:06:36 ---> f58d4a2d267a 22:06:36 Step 9/10 : RUN go mod tidy 22:06:36 ---> Running in 1061fe7dcdd8 22:06:46 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 22:06:46 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 22:06:46 go: downloading github.com/spf13/cast v1.3.1 22:06:46 go: downloading github.com/warthog618/gpiod v0.6.0 22:06:46 go: downloading github.com/gorilla/mux v1.8.0 22:06:46 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 22:06:46 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 22:06:46 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 22:06:46 go: downloading github.com/google/uuid v1.1.2 22:06:46 go: downloading github.com/stretchr/testify v1.5.1 22:06:46 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 22:06:46 go: downloading github.com/go-kit/kit v0.8.0 22:06:46 go: downloading github.com/OneOfOne/xxhash v1.2.8 22:06:47 go: downloading gopkg.in/yaml.v2 v2.4.0 22:06:47 go: downloading github.com/x448/float16 v0.8.4 22:06:47 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 22:06:47 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 22:06:47 go: downloading github.com/davecgh/go-spew v1.1.1 22:06:47 go: downloading github.com/pmezard/go-difflib v1.0.0 22:06:47 go: downloading github.com/go-playground/validator/v10 v10.3.0 22:06:47 go: downloading github.com/BurntSushi/toml v0.3.1 22:06:47 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 22:06:48 go: downloading github.com/pelletier/go-toml v1.2.0 22:06:48 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 22:06:48 go: downloading github.com/hashicorp/consul/api v1.1.0 22:06:48 go: downloading github.com/go-logfmt/logfmt v0.4.0 22:06:48 go: downloading github.com/go-stack/stack v1.8.0 22:06:48 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 22:06:48 go: downloading github.com/go-playground/universal-translator v0.17.0 22:06:48 go: downloading github.com/leodido/go-urn v1.2.0 22:06:48 go: downloading github.com/go-playground/assert/v2 v2.0.1 22:06:48 go: downloading github.com/go-playground/locales v0.13.0 22:06:49 go: downloading github.com/kr/pretty v0.1.0 22:06:49 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 22:06:49 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 22:06:49 go: downloading github.com/hashicorp/serf v0.8.2 22:06:50 go: downloading github.com/mitchellh/mapstructure v1.1.2 22:06:50 go: downloading github.com/hashicorp/consul/sdk v0.1.1 22:06:50 go: downloading github.com/hashicorp/go-uuid v1.0.1 22:06:50 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 22:06:50 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 22:06:50 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 22:06:51 go: downloading github.com/kr/text v0.1.0 22:06:51 go: downloading github.com/mitchellh/go-homedir v1.1.0 22:06:51 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 22:06:51 go: downloading github.com/pkg/errors v0.8.1 22:06:51 go: downloading github.com/hashicorp/go-msgpack v0.5.3 22:06:51 go: downloading github.com/hashicorp/memberlist v0.1.3 22:06:51 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 22:06:51 go: downloading github.com/mitchellh/copystructure v1.0.0 22:06:51 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 22:06:51 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 22:06:51 go: downloading github.com/mitchellh/reflectwalk v1.0.0 22:06:51 go: downloading github.com/google/btree v1.0.0 22:06:51 go: downloading github.com/hashicorp/go-multierror v1.0.0 22:06:51 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 22:06:51 go: downloading github.com/miekg/dns v1.1.4 22:06:51 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 22:06:51 go: downloading github.com/hashicorp/golang-lru v0.5.1 22:06:52 go: downloading github.com/hashicorp/errwrap v1.0.0 22:06:52 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 22:06:52 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 22:07:07 Removing intermediate container 1061fe7dcdd8 22:07:07 ---> e48b528ac2b3 22:07:07 Step 10/10 : RUN ${MAKE} 22:07:07 ---> Running in e99026e51702 22:07:07 noop 22:07:08 Removing intermediate container e99026e51702 22:07:08 ---> e77c31e936eb 22:07:08 Successfully built e77c31e936eb 22:07:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:07:08 + docker inspect -f . ci-base-image-arm64 22:07:08 . [Pipeline] withDockerContainer 22:07:09 prd-ubuntu18.04-docker-arm64-4c-16g-1026 does not seem to be running inside a container 22:07:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:07:11 $ docker top 23fa58a18a5dd502e0ae68adceeff56b48a3a289df7ea4da23ef6e5e72aea9fe -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:12 + go version 22:07:12 go version go1.16.6 linux/arm64 [Pipeline] } 22:07:12 $ docker stop --time=1 23fa58a18a5dd502e0ae68adceeff56b48a3a289df7ea4da23ef6e5e72aea9fe 22:07:14 $ docker rm -f 23fa58a18a5dd502e0ae68adceeff56b48a3a289df7ea4da23ef6e5e72aea9fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:07:15 + docker inspect -f . ci-base-image-arm64 22:07:15 . [Pipeline] withDockerContainer 22:07:15 prd-ubuntu18.04-docker-arm64-4c-16g-1026 does not seem to be running inside a container 22:07:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:07:17 $ docker top 71ef83e654379712dfd2f83afabc5526fb5bcd4467218a89502b07fbcfd2b4ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:07:19 + go mod tidy [Pipeline] sh 22:07:20 + make test 22:07:20 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:07:21 ? github.com/edgexfoundry/device-gpio [no test files] 22:08:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 22:08:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 22:08:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 22:08:31 gofmt -l . 22:08:31 [ "`gofmt -l .`" = "" ] 22:08:31 ./bin/test-attribution-txt.sh 22:08:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:08:31 $ docker stop --time=1 71ef83e654379712dfd2f83afabc5526fb5bcd4467218a89502b07fbcfd2b4ad 22:08:33 $ docker rm -f 71ef83e654379712dfd2f83afabc5526fb5bcd4467218a89502b07fbcfd2b4ad [Pipeline] // withDockerContainer [Pipeline] sh 22:08:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:08:34 Warning: overwriting stash ‘coverage-report’ 22:08:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:08:36 + ls -al . 22:08:36 total 132 22:08:36 drwxrwxr-x 7 jenkins jenkins 4096 Sep 23 22:08 . 22:08:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 22:05 .. 22:08:36 -rw-rw-r-- 1 jenkins jenkins 120 Sep 23 22:05 .dockerignore 22:08:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 22:05 .git 22:08:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 22:05 .github 22:08:36 -rw-rw-r-- 1 jenkins jenkins 350 Sep 23 22:05 .gitignore 22:08:36 -rw-rw-r-- 1 jenkins jenkins 5451 Sep 23 22:05 Attribution.txt 22:08:36 -rw-rw-r-- 1 jenkins jenkins 1502 Sep 23 22:05 Dockerfile 22:08:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 22:05 GOVERNANCE.md 22:08:36 -rw-rw-r-- 1 jenkins jenkins 657 Sep 23 22:05 Jenkinsfile 22:08:36 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 22:05 LICENSE 22:08:36 -rw-rw-r-- 1 jenkins jenkins 906 Sep 23 22:05 Makefile 22:08:36 -rw-rw-r-- 1 jenkins jenkins 617 Sep 23 22:05 OWNERS.md 22:08:36 -rw-rw-r-- 1 jenkins jenkins 8048 Sep 23 22:05 README.md 22:08:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 22:00 VERSION 22:08:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 22:05 bin 22:08:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 22:05 cmd 22:08:36 -rw-r--r-- 1 jenkins jenkins 10 Sep 23 22:07 coverage.out 22:08:36 -rw-r--r-- 1 jenkins jenkins 379 Sep 23 22:08 go.mod 22:08:36 -rw-r--r-- 1 jenkins jenkins 30244 Sep 23 22:07 go.sum 22:08:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 22:05 internal 22:08:36 -rw-rw-r-- 1 jenkins jenkins 209 Sep 23 22:05 version.go [Pipeline] isUnix [Pipeline] sh 22:08:37 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=252a76c7f581232fc5465cd9d4f7abcf41d0ac17 --label arch=arm64 --label version=0.0.0 . 22:08:37 Sending build context to Docker daemon 5.505MB 22:08:37 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 22:08:37 Step 2/23 : FROM ${BASE} AS builder 22:08:37 ---> e77c31e936eb 22:08:37 Step 3/23 : ARG MAKE='make build' 22:08:38 ---> Running in c1bc0bbc3e56 22:08:39 Removing intermediate container c1bc0bbc3e56 22:08:39 ---> 9743ae858f32 22:08:39 Step 4/23 : WORKDIR /device-gpio 22:08:39 ---> Running in bc56d3bdd264 22:08:39 Removing intermediate container bc56d3bdd264 22:08:39 ---> c8a0762f3caf 22:08:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:08:40 ---> Running in 555e3b824693 22:08:41 Removing intermediate container 555e3b824693 22:08:41 ---> 373ed335d412 22:08:41 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:08:41 ---> Running in 1212a8eb519f 22:08:44 Removing intermediate container 1212a8eb519f 22:08:44 ---> a5b92f56d3e6 22:08:44 Step 7/23 : RUN apk add --update --no-cache make git 22:08:44 ---> Running in a40d412dcd1a 22:08:45 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:08:46 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:08:48 OK: 218 MiB in 52 packages 22:08:49 Removing intermediate container a40d412dcd1a 22:08:49 ---> 5f782a04e1f7 22:08:49 Step 8/23 : COPY . . 22:08:50 ---> db231b9c32bc 22:08:50 Step 9/23 : RUN go mod tidy 22:08:51 ---> Running in d64f7ebec935 22:08:54 Removing intermediate container d64f7ebec935 22:08:54 ---> 4713ff4e9766 22:08:54 Step 10/23 : RUN ${MAKE} 22:08:54 ---> Running in db59d8fbc26f 22:08:56 go mod tidy 22:08:56 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 22:09:35 Removing intermediate container db59d8fbc26f 22:09:35 ---> 7279c3e41b7e 22:09:35 Step 11/23 : FROM scratch 22:09:35 ---> 22:09:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 22:09:35 ---> Running in cd95b0ae3fa4 22:09:35 Removing intermediate container cd95b0ae3fa4 22:09:35 ---> d191f93e0dd5 22:09:35 Step 13/23 : ENV APP_PORT=49994 22:09:35 ---> Running in 2b26c2c3977b 22:09:35 Removing intermediate container 2b26c2c3977b 22:09:35 ---> 38e4570c4f19 22:09:35 Step 14/23 : EXPOSE $APP_PORT 22:09:35 ---> Running in 2b047745ea31 22:09:35 Removing intermediate container 2b047745ea31 22:09:35 ---> 4e1f2e034b47 22:09:35 Step 15/23 : WORKDIR / 22:09:35 ---> Running in 8c697f308c0d 22:09:35 Removing intermediate container 8c697f308c0d 22:09:35 ---> f47f393dba45 22:09:35 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 22:09:35 ---> 4b4c16e82be5 22:09:35 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 22:09:35 ---> acf83ae7e8bb 22:09:35 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 22:09:35 ---> a0ca401c36e1 22:09:35 Step 19/23 : ENTRYPOINT ["/device-gpio"] 22:09:35 ---> Running in 4a2b2f735bf0 22:09:35 Removing intermediate container 4a2b2f735bf0 22:09:35 ---> b2e5ea4838d6 22:09:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:09:35 ---> Running in 0001d6b76c72 22:09:36 Removing intermediate container 0001d6b76c72 22:09:36 ---> e28ee07e7a61 22:09:36 Step 21/23 : LABEL arch=arm64 22:09:36 ---> Running in ca62fc2342bb 22:09:37 Removing intermediate container ca62fc2342bb 22:09:37 ---> d41c8c219e15 22:09:37 Step 22/23 : LABEL git_sha=252a76c7f581232fc5465cd9d4f7abcf41d0ac17 22:09:37 ---> Running in faf311ba989c 22:09:37 Removing intermediate container faf311ba989c 22:09:37 ---> 2048528fe95d 22:09:37 Step 23/23 : LABEL version=0.0.0 22:09:37 ---> Running in 83eded4014e3 22:09:38 Removing intermediate container 83eded4014e3 22:09:38 ---> e63befbd3270 22:09:38 [Warning] One or more build-args [ARCH] were not consumed 22:09:38 Successfully built e63befbd3270 22:09:38 Successfully tagged device-gpio-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 22:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:40 22:09:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:09:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:09:40 arm64: Pulling from edgex-lftools-log-publisher 22:09:40 448f6bf000e3: Pulling fs layer 22:09:40 f757da607395: Pulling fs layer 22:09:40 05883995daec: Pulling fs layer 22:09:40 8603b9c90790: Pulling fs layer 22:09:40 1560dd03e051: Pulling fs layer 22:09:40 27f5ce0e4adf: Pulling fs layer 22:09:40 c2d8d7efcc4b: Pulling fs layer 22:09:40 8603b9c90790: Waiting 22:09:40 27f5ce0e4adf: Waiting 22:09:40 1560dd03e051: Waiting 22:09:41 f757da607395: Verifying Checksum 22:09:41 f757da607395: Download complete 22:09:41 8603b9c90790: Verifying Checksum 22:09:41 8603b9c90790: Download complete 22:09:42 1560dd03e051: Verifying Checksum 22:09:42 1560dd03e051: Download complete 22:09:42 27f5ce0e4adf: Verifying Checksum 22:09:42 27f5ce0e4adf: Download complete 22:09:42 05883995daec: Verifying Checksum 22:09:42 05883995daec: Download complete 22:09:43 448f6bf000e3: Verifying Checksum 22:09:43 448f6bf000e3: Download complete 22:09:46 c2d8d7efcc4b: Verifying Checksum 22:09:46 c2d8d7efcc4b: Download complete 22:09:47 448f6bf000e3: Pull complete 22:09:47 f757da607395: Pull complete 22:09:49 05883995daec: Pull complete 22:09:49 8603b9c90790: Pull complete 22:09:50 1560dd03e051: Pull complete 22:09:51 27f5ce0e4adf: Pull complete 22:10:06 c2d8d7efcc4b: Pull complete 22:10:06 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:10:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:10:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:10:06 prd-ubuntu18.04-docker-arm64-4c-16g-1026 does not seem to be running inside a container 22:10:06 $ 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-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:10:13 $ docker top 269c7b2648ed5e6bbcb769b053d496261d0ce10c03c2d53066a8eb7f0d9c5034 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:14 ---> job-cost.sh 22:10:14 lf-activate-venv: SKIPPING 22:10:14 INFO: No Stack... 22:10:15 INFO: Retrieving Pricing Info for: v3-standard-4 22:10:16 INFO: Archiving Costs [Pipeline] sh 22:10:16 + cat /w/workspace/device-gpio/1/archives/cost.csv 22:10:16 + cut -d, -f6 [Pipeline] lock 22:10:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] 22:10:16 Resource [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] did not exist. Created. 22:10:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:10:17 /w/workspace/device-gpio/1@tmp/durable-aed0be06/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-aed0be06/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:10:18 + echo total: 0.10999999940395355 [Pipeline] stash 22:10:18 Warning: overwriting stash ‘stack-cost’ 22:10:18 Stashed 1 file(s) [Pipeline] } 22:10:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-8-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:10:18 $ docker stop --time=1 269c7b2648ed5e6bbcb769b053d496261d0ce10c03c2d53066a8eb7f0d9c5034 22:10:20 $ docker rm -f 269c7b2648ed5e6bbcb769b053d496261d0ce10c03c2d53066a8eb7f0d9c5034 [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 22:10:22 provisioning config files... 22:10:22 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-8@tmp/config7780561682438063065tmp [Pipeline] { [Pipeline] sh 22:10:22 + set +x 22:10:22 + bash -s -- 22:10:22 + curl -s https://codecov.io/bash 22:10:22 22:10:22 _____ _ 22:10:22 / ____| | | 22:10:22 | | ___ __| | ___ ___ _____ __ 22:10:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:10:22 | |___| (_) | (_| | __/ (_| (_) \ V / 22:10:22 \_____\___/ \__,_|\___|\___\___/ \_/ 22:10:22 Bash-1.0.6 22:10:22 22:10:22 22:10:22 ==> git version 2.24.4 found 22:10:22 ==> 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 22:10:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:10:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:10:22 ==> Jenkins CI detected. 22:10:22 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-8 22:10:22 project root: . 22:10:22 --> token set from env 22:10:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:10:22 ==> Running gcov in . (disable via -X gcov) 22:10:22 ==> Python coveragepy not found 22:10:22 ==> Searching for coverage reports in: 22:10:22 + . 22:10:22 -> Found 1 reports 22:10:22 ==> Detecting git/mercurial file structure 22:10:22 ==> Reading reports 22:10:22 + ./coverage.out bytes=10 22:10:22 ==> Appending adjustments 22:10:22 https://docs.codecov.io/docs/fixing-reports 22:10:22 + Found adjustments 22:10:22 ==> Gzipping contents 22:10:22 4.0K /tmp/codecov.FeWK0L.gz 22:10:22 ==> Uploading reports 22:10:22 url: https://codecov.io 22:10:22 query: branch=PR-8&commit=252a76c7f581232fc5465cd9d4f7abcf41d0ac17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-8%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=8&job=&cmd_args= 22:10:22 -> Pinging Codecov 22:10:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-8&commit=252a76c7f581232fc5465cd9d4f7abcf41d0ac17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-8%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=8&job=&cmd_args= 22:10:23 -> Uploading to 22:10:23 https://storage.googleapis.com/codecov/v4/raw/2021-09-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/252a76c7f581232fc5465cd9d4f7abcf41d0ac17/9b9cc463-4d87-4cb9-8c27-6a82a101c979.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210923T221022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50c2c6318647d80163de499a172211407db26442a010a477fe0cf918b3f3db08 22:10:23 % Total % Received % Xferd Average Speed Time Time Time Current 22:10:23 Dload Upload Total Spent Left Speed 22:10:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 576 0 0 100 576 0 842 --:--:-- --:--:-- --:--:-- 842 100 576 0 0 100 576 0 842 --:--:-- --:--:-- --:--:-- 842 22:10:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/252a76c7f581232fc5465cd9d4f7abcf41d0ac17 [Pipeline] } 22:10:23 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:10:26 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-8/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:10:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:10:27 ---> package-listing.sh 22:10:27 ++ tr '[:upper:]' '[:lower:]' 22:10:27 ++ facter osfamily 22:10:27 + OS_FAMILY=redhat 22:10:27 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-8 22:10:27 + START_PACKAGES=/tmp/packages_start.txt 22:10:27 + END_PACKAGES=/tmp/packages_end.txt 22:10:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:10:27 + PACKAGES=/tmp/packages_start.txt 22:10:27 + '[' /w/workspace/edgexfoundry_device-gpio_PR-8 ']' 22:10:27 + PACKAGES=/tmp/packages_end.txt 22:10:27 + case "${OS_FAMILY}" in 22:10:27 + rpm -qa 22:10:27 + sort 22:10:28 + '[' -f /tmp/packages_start.txt ']' 22:10:28 + '[' -f /tmp/packages_end.txt ']' 22:10:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:10:28 + '[' /w/workspace/edgexfoundry_device-gpio_PR-8 ']' 22:10:28 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-8/archives/ 22:10:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-8/archives/ [Pipeline] echo 22:10:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:10:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:10:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:29 22:10:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:10:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:29 latest: Pulling from edgex-lftools-log-publisher 22:10:29 b4d181a07f80: Pulling fs layer 22:10:29 a1111a8f2ec3: Pulling fs layer 22:10:29 ed53099fbce6: Pulling fs layer 22:10:29 dc539afda2c1: Pulling fs layer 22:10:29 77bc0d833cb6: Pulling fs layer 22:10:29 9065ff56babe: Pulling fs layer 22:10:29 d287ab97295c: Pulling fs layer 22:10:29 77bc0d833cb6: Waiting 22:10:29 9065ff56babe: Waiting 22:10:29 d287ab97295c: Waiting 22:10:29 dc539afda2c1: Waiting 22:10:30 a1111a8f2ec3: Verifying Checksum 22:10:30 a1111a8f2ec3: Download complete 22:10:30 dc539afda2c1: Verifying Checksum 22:10:30 dc539afda2c1: Download complete 22:10:30 77bc0d833cb6: Verifying Checksum 22:10:30 77bc0d833cb6: Download complete 22:10:30 9065ff56babe: Verifying Checksum 22:10:30 9065ff56babe: Download complete 22:10:30 ed53099fbce6: Verifying Checksum 22:10:30 ed53099fbce6: Download complete 22:10:31 b4d181a07f80: Verifying Checksum 22:10:31 b4d181a07f80: Download complete 22:10:32 b4d181a07f80: Pull complete 22:10:32 a1111a8f2ec3: Pull complete 22:10:33 ed53099fbce6: Pull complete 22:10:33 dc539afda2c1: Pull complete 22:10:33 77bc0d833cb6: Pull complete 22:10:33 9065ff56babe: Pull complete 22:10:34 d287ab97295c: Verifying Checksum 22:10:34 d287ab97295c: Download complete 22:10:38 d287ab97295c: Pull complete 22:10:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:10:38 prd-centos7-docker-4c-2g-1020 does not seem to be running inside a container 22:10:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-8 -v /w/workspace/edgexfoundry_device-gpio_PR-8:/w/workspace/edgexfoundry_device-gpio_PR-8:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-8@tmp:/w/workspace/edgexfoundry_device-gpio_PR-8@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:10:40 $ docker top fe09ad7b35de5157df2ff74a4146c7b50bc351928af4dc1f13fe5d679e1231db -eo pid,comm [Pipeline] { [Pipeline] sh 22:10:41 + touch /tmp/pre-build-complete [Pipeline] sh 22:10:41 + mkdir -p /var/log/sysstat [Pipeline] sh 22:10:41 + ls /var/log/sa-host 22:10:41 + sadf -c /var/log/sa-host/sa05 22:10:41 file_magic: OK 22:10:41 HZ: Using current value: 100 22:10:41 file_header: OK 22:10:41 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 22:10:41 Statistics: 22:10:41 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:10:41 File successfully converted to sysstat format version 12.0.3 22:10:41 + sadf -c /var/log/sa-host/sa23 22:10:41 file_magic: OK 22:10:41 HZ: Using current value: 100 22:10:41 file_header: OK 22:10:41 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 22:10:41 Statistics: 22:10:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:10:41 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:42 provisioning config files... 22:10:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-8@tmp/config1843348401986394233tmp [Pipeline] { [Pipeline] echo 22:10:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:10:42 ---> create-netrc.sh [Pipeline] } 22:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> python-tools-install.sh [Pipeline] echo 22:10:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:10:43 ---> sudo-logs.sh 22:10:43 Archiving 'sudo' log.. 22:10:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1020.vexxhost.local: Name or service not known 22:10:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-1020.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 22:10:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:10:44 ---> job-cost.sh 22:10:44 lf-activate-venv: SKIPPING 22:10:44 DEBUG: total: 0.10999999940395355 22:10:44 INFO: Retrieving Stack Cost... 22:10:45 INFO: Retrieving Pricing Info for: v3-standard-2 22:10:45 INFO: Archiving Costs [Pipeline] echo 22:10:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:10:45 ---> logs-deploy.sh 22:10:45 lf-activate-venv: SKIPPING 22:10:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-8/1 22:10:45 INFO: archiving workspace using pattern(s): 22:10:46 Archives upload complete. 22:10:46 INFO: archiving logs to Nexus 22:10:47 ---> uname -a: 22:10:47 Linux prd-centos7-docker-4c-2g-1020.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 22:10:47 22:10:47 22:10:47 ---> lscpu: 22:10:47 Architecture: x86_64 22:10:47 CPU op-mode(s): 32-bit, 64-bit 22:10:47 Byte Order: Little Endian 22:10:47 Address sizes: 40 bits physical, 48 bits virtual 22:10:47 CPU(s): 2 22:10:47 On-line CPU(s) list: 0,1 22:10:47 Thread(s) per core: 1 22:10:47 Core(s) per socket: 1 22:10:47 Socket(s): 2 22:10:47 NUMA node(s): 1 22:10:47 Vendor ID: AuthenticAMD 22:10:47 CPU family: 23 22:10:47 Model: 49 22:10:47 Model name: AMD EPYC-Rome Processor 22:10:47 Stepping: 0 22:10:47 CPU MHz: 2799.996 22:10:47 BogoMIPS: 5599.99 22:10:47 Virtualization: AMD-V 22:10:47 Hypervisor vendor: KVM 22:10:47 Virtualization type: full 22:10:47 L1d cache: 32K 22:10:47 L1i cache: 32K 22:10:47 L2 cache: 512K 22:10:47 L3 cache: 16384K 22:10:47 NUMA node0 CPU(s): 0,1 22:10:47 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 22:10:47 22:10:47 22:10:47 ---> nproc: 22:10:47 2 22:10:47 22:10:47 22:10:47 ---> df -h: 22:10:47 Filesystem Size Used Avail Use% Mounted on 22:10:47 overlay 40G 7.7G 33G 20% / 22:10:47 tmpfs 64M 0 64M 0% /dev 22:10:47 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:10:47 shm 64M 0 64M 0% /dev/shm 22:10:47 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:10:47 22:10:47 22:10:47 ---> sar -b -r -n DEV: 22:10:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 22:10:47 22:10:47 21:59:37 LINUX RESTART (2 CPU) 22:10:47 22:10:47 22:00:02 tps rtps wtps bread/s bwrtn/s 22:10:47 22:01:01 216.17 82.14 134.03 10073.20 40710.80 22:10:47 22:02:01 2.91 0.13 2.78 2.80 102.08 22:10:47 22:03:01 0.42 0.00 0.42 0.00 5.55 22:10:47 22:04:01 0.15 0.00 0.15 0.00 1.88 22:10:47 22:05:01 0.27 0.00 0.27 0.00 3.75 22:10:47 22:06:01 0.33 0.00 0.33 0.00 4.68 22:10:47 22:07:01 0.27 0.00 0.27 0.00 4.03 22:10:47 22:08:01 0.18 0.00 0.18 0.00 1.92 22:10:47 22:09:01 0.18 0.00 0.18 0.00 2.02 22:10:47 22:10:01 0.23 0.00 0.23 0.00 3.20 22:10:47 Average: 21.80 8.11 13.69 993.05 4025.19 22:10:47 22:10:47 22:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:10:47 22:01:01 5455052 0 808588 10.10 2620 1742672 1319184 14.56 587552 1566552 132 22:10:47 22:02:01 5465580 0 797928 9.96 2620 1742804 1233044 13.61 578580 1566580 12 22:10:47 22:03:01 5466024 0 797484 9.96 2620 1742804 1207488 13.33 576320 1569184 8 22:10:47 22:04:01 5464112 0 799392 9.98 2620 1742808 1207660 13.33 577852 1569360 8 22:10:47 22:05:01 5464904 0 798592 9.97 2620 1742816 1207648 13.33 577088 1570064 8 22:10:47 22:06:01 5464204 0 799292 9.98 2620 1742816 1207672 13.33 576124 1571168 8 22:10:47 22:07:01 5464056 0 799432 9.98 2620 1742824 1207840 13.34 576348 1571168 16 22:10:47 22:08:01 5456928 0 806556 10.07 2620 1742828 1207540 13.33 583748 1571168 8 22:10:47 22:09:01 5455412 0 808068 10.09 2620 1742832 1207684 13.33 585064 1571168 8 22:10:47 22:10:01 5456404 0 807072 10.08 2620 1742836 1207540 13.33 585988 1569352 8 22:10:47 Average: 5461268 0 802240 10.02 2620 1742804 1221330 13.48 580466 1569576 22 22:10:47 22:10:47 22:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:10:47 22:01:01 eth0 620.84 373.29 1196.44 85.40 0.00 0.00 0.00 0.00 22:10:47 22:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:01:01 docker0 22.96 24.02 2.29 91.18 0.00 0.00 0.00 0.00 22:10:47 22:02:01 eth0 1.63 0.35 0.36 0.20 0.00 0.00 0.00 0.00 22:10:47 22:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:03:01 eth0 1.25 0.32 0.35 0.20 0.00 0.00 0.00 0.00 22:10:47 22:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:04:01 eth0 2.58 0.57 0.66 0.36 0.00 0.00 0.00 0.00 22:10:47 22:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:05:01 eth0 2.63 0.62 0.68 0.43 0.00 0.00 0.00 0.00 22:10:47 22:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:06:01 eth0 2.10 0.93 0.87 0.54 0.00 0.00 0.00 0.00 22:10:47 22:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:07:01 eth0 1.13 0.62 0.55 0.40 0.00 0.00 0.00 0.00 22:10:47 22:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:08:01 eth0 0.52 0.08 0.05 0.01 0.00 0.00 0.00 0.00 22:10:47 22:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:09:01 eth0 0.65 0.37 0.28 0.20 0.00 0.00 0.00 0.00 22:10:47 22:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:10:01 eth0 0.28 0.08 0.02 0.01 0.00 0.00 0.00 0.00 22:10:47 22:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 22:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 Average: eth0 62.47 37.18 118.30 8.65 0.00 0.00 0.00 0.00 22:10:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:10:47 Average: docker0 2.26 2.37 0.23 8.99 0.00 0.00 0.00 0.00 22:10:47 22:10:47 22:10:47 ---> sar -P ALL: 22:10:47 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/23/21 _x86_64_ (2 CPU) 22:10:47 22:10:47 21:59:37 LINUX RESTART (2 CPU) 22:10:47 22:10:47 22:00:02 CPU %user %nice %system %iowait %steal %idle 22:10:47 22:01:01 all 16.45 0.00 5.92 6.20 0.07 71.35 22:10:47 22:01:01 0 16.15 0.00 5.97 4.96 0.07 72.85 22:10:47 22:01:01 1 16.76 0.00 5.87 7.46 0.07 69.84 22:10:47 22:02:01 all 0.26 0.00 0.10 0.00 0.02 99.62 22:10:47 22:02:01 0 0.08 0.00 0.08 0.00 0.02 99.82 22:10:47 22:02:01 1 0.43 0.00 0.12 0.00 0.02 99.43 22:10:47 22:03:01 all 0.27 0.00 0.33 0.00 0.02 99.38 22:10:47 22:03:01 0 0.20 0.00 0.30 0.00 0.02 99.48 22:10:47 22:03:01 1 0.35 0.00 0.37 0.00 0.02 99.27 22:10:47 22:04:01 all 0.14 0.00 0.05 0.00 0.01 99.80 22:10:47 22:04:01 0 0.13 0.00 0.03 0.00 0.00 99.83 22:10:47 22:04:01 1 0.15 0.00 0.07 0.00 0.02 99.77 22:10:47 22:05:01 all 0.21 0.00 0.08 0.00 0.01 99.71 22:10:47 22:05:01 0 0.07 0.00 0.07 0.00 0.00 99.87 22:10:47 22:05:01 1 0.35 0.00 0.08 0.00 0.02 99.55 22:10:47 22:06:01 all 0.27 0.00 0.03 0.00 0.02 99.68 22:10:47 22:06:01 0 0.12 0.00 0.02 0.00 0.02 99.85 22:10:47 22:06:01 1 0.42 0.00 0.05 0.00 0.02 99.52 22:10:47 22:07:01 all 0.27 0.00 0.04 0.00 0.01 99.68 22:10:47 22:07:01 0 0.07 0.00 0.05 0.00 0.02 99.87 22:10:47 22:07:01 1 0.47 0.00 0.03 0.00 0.00 99.50 22:10:47 22:08:01 all 0.25 0.00 0.06 0.00 0.02 99.67 22:10:47 22:08:01 0 0.05 0.00 0.02 0.00 0.02 99.92 22:10:47 22:08:01 1 0.45 0.00 0.10 0.00 0.02 99.43 22:10:47 22:09:01 all 0.24 0.00 0.05 0.00 0.02 99.69 22:10:47 22:09:01 0 0.05 0.00 0.03 0.00 0.02 99.90 22:10:47 22:09:01 1 0.43 0.00 0.07 0.00 0.02 99.48 22:10:47 22:10:01 all 0.23 0.00 0.04 0.00 0.01 99.72 22:10:47 22:10:01 0 0.07 0.00 0.07 0.00 0.02 99.85 22:10:47 22:10:01 1 0.38 0.00 0.02 0.00 0.00 99.60 22:10:47 Average: all 1.79 0.00 0.64 0.59 0.02 96.96 22:10:47 Average: 0 1.63 0.00 0.64 0.47 0.02 97.24 22:10:47 Average: 1 1.95 0.00 0.65 0.71 0.02 96.67 22:10:47 22:10:47 22:10:47