Pull request #11 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 lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc+6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 (fc61cf01776307728fc97fdaeb21a0cea6ed3fbe) 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-ssh5134289074859807389.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2088974778282864368.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-11/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-11/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5839630978779781508.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-11/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7895554738638361429.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1470178265026663800.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-11/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-11/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3481630997486107861.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-1318 in /w/workspace/edgexfoundry_device-gpio_PR-11 [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-11 # 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-11@tmp/jenkins-gitclient-ssh1799874347847706129.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 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 into PR head commit 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc Merge succeeded, producing 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc Checking out Revision 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc (PR-11) > 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-11@tmp/jenkins-gitclient-ssh5111758474740781349.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/11/head:refs/remotes/origin/PR-11 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # 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-11@tmp/jenkins-gitclient-ssh36481064604070173.key > git merge 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # timeout=10 Commit message: "ci: Update PR Template" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:06:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:06:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:06:27 ========================================================= 18:06:27 EdgeX Global Pipelines Version Info 18:06:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:06:28 ------------------- 18:06:28 stable info: 18:06:28 ------------------- 18:06:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:28 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 18:06:28 Message: update stable to v1.0.206 18:06:29 ------------------- 18:06:29 experimental info: 18:06:29 ------------------- 18:06:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:29 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 18:06:29 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:06:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 18:06:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 18:06:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:06:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:06:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:06:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-11 [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-11 [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-11 [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34a4d0e [Pipeline] echo 18:06:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:31 provisioning config files... 18:06:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-11@tmp/config6560446789625226732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:32 ---> docker-login.sh 18:06:32 nexus3.edgexfoundry.org:10001 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:32 Configure a credential helper to remove this warning. See 18:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:32 18:06:32 Login Succeeded 18:06:32 nexus3.edgexfoundry.org:10002 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:32 Configure a credential helper to remove this warning. See 18:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:32 18:06:32 Login Succeeded 18:06:32 nexus3.edgexfoundry.org:10003 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:32 Configure a credential helper to remove this warning. See 18:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:32 18:06:32 Login Succeeded 18:06:32 nexus3.edgexfoundry.org:10004 18:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:32 Configure a credential helper to remove this warning. See 18:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:32 18:06:32 Login Succeeded 18:06:32 docker.io 18:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:33 Configure a credential helper to remove this warning. See 18:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:33 18:06:33 Login Succeeded 18:06:33 ---> docker-login.sh ends [Pipeline] } 18:06: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 18:06:34 + git log --format=format:%s -1 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc [Pipeline] echo 18:06:34 GIT_COMMIT: 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc, Commit Message: ci: Update PR Template [Pipeline] echo 18:06:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:35 18:06:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:06:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:35 latest: Pulling from edgex-devops/git-semver 18:06:35 31603596830f: Pulling fs layer 18:06:35 04fac38145f0: Pulling fs layer 18:06:35 701f6daf10bf: Pulling fs layer 18:06:35 24f72da36158: Pulling fs layer 18:06:35 24f72da36158: Waiting 18:06:35 04fac38145f0: Download complete 18:06:36 31603596830f: Verifying Checksum 18:06:36 31603596830f: Download complete 18:06:36 24f72da36158: Verifying Checksum 18:06:36 24f72da36158: Download complete 18:06:36 701f6daf10bf: Verifying Checksum 18:06:36 701f6daf10bf: Download complete 18:06:36 31603596830f: Pull complete 18:06:36 04fac38145f0: Pull complete 18:06:37 701f6daf10bf: Pull complete 18:06:37 24f72da36158: Pull complete 18:06:37 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 18:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:06:37 prd-centos7-docker-4c-2g-1318 does not seem to be running inside a container 18:06:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-11 -v /w/workspace/edgexfoundry_device-gpio_PR-11:/w/workspace/edgexfoundry_device-gpio_PR-11:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-11@tmp:/w/workspace/edgexfoundry_device-gpio_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:06:38 $ docker top 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:38 [ssh-agent] Looking for ssh-agent implementation... 18:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:38 $ docker exec 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 ssh-agent 18:06:38 SSH_AUTH_SOCK=/tmp/ssh-vTre8rITnlju/agent.14 18:06:38 SSH_AGENT_PID=20 18:06:38 Running ssh-add (command line suppressed) 18:06:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-11@tmp/private_key_1737604101422431379.key (/w/workspace/edgexfoundry_device-gpio_PR-11@tmp/private_key_1737604101422431379.key) 18:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:39 + git tag --points-at HEAD [Pipeline] } 18:06:39 $ docker exec --env ******** --env ******** 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 ssh-agent -k 18:06:39 unset SSH_AUTH_SOCK; 18:06:39 unset SSH_AGENT_PID; 18:06:39 echo Agent pid 20 killed; 18:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:39 [ssh-agent] Looking for ssh-agent implementation... 18:06:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:39 $ docker exec 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 ssh-agent 18:06:39 SSH_AUTH_SOCK=/tmp/ssh-MQ21RGOY7BqY/agent.54 18:06:39 SSH_AGENT_PID=59 18:06:39 Running ssh-add (command line suppressed) 18:06:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-11@tmp/private_key_6780390846668396950.key (/w/workspace/edgexfoundry_device-gpio_PR-11@tmp/private_key_6780390846668396950.key) 18:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:40 + git semver init 18:06:40 # -> Open(): unable to determine branch for HEAD 18:06:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-11/.git 18:06:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-11 18:06:40 # $SEMVER_REMOTE_NAME = origin 18:06:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:06:40 # $SEMVER_USER_NAME = edgex-jenkins 18:06:40 # $SEMVER_BRANCH = PR-11 18:06:40 # $SEMVER_TEMP = /tmp/semver-612351298 18:06:40 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 18:06:41 # '/tmp/semver-612351298' -> '/w/workspace/edgexfoundry_device-gpio_PR-11/.semver' 18:06:41 # -> Force: false 18:06:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-11/.semver [Pipeline] } 18:06:41 $ docker exec --env ******** --env ******** 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 ssh-agent -k 18:06:41 unset SSH_AUTH_SOCK; 18:06:41 unset SSH_AGENT_PID; 18:06:41 echo Agent pid 59 killed; 18:06:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:41 + git semver [Pipeline] } 18:06:41 $ docker stop --time=1 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 18:06:43 $ docker rm -f 0803bc60327f0dd61b7667b68e87ea87983c0fe6c63f30f15379d3e9f1aa8e49 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:43 Stashed 1 file(s) [Pipeline] echo 18:06:43 [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 18:06:57 Running on prd-centos7-docker-4c-2g-1321 in /w/workspace/edgexfoundry_device-gpio_PR-11 [Pipeline] { [Pipeline] ws 18:06:57 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:06:58 The recommended git tool is: git 18:06:59 Still waiting to schedule task 18:06:59 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1320’ is offline 18:07:01 using credential edgex-jenkins-ssh 18:07:01 Cloning the remote Git repository 18:07:01 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:07:01 > git init /w/workspace/device-gpio/1 # timeout=10 18:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:07:01 > git --version # timeout=10 18:07:01 > git --version # 'git version 2.24.4' 18:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:01 [INFO] Currently running in a labeled security context 18:07:01 [INFO] Currently SELinux is 'enforcing' on the host 18:07:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh2475678197866458501.key 18:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:07:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:07:02 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:02 [INFO] Currently running in a labeled security context 18:07:02 [INFO] Currently SELinux is 'enforcing' on the host 18:07:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh2735573804991663136.key 18:07:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/11/head:refs/remotes/origin/PR-11 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:07:03 Merging remotes/origin/main commit 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 into PR head commit 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:07:03 Merge succeeded, producing 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:07:03 Checking out Revision 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc (PR-11) 18:07:03 > git config core.sparsecheckout # timeout=10 18:07:03 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # timeout=10 18:07:03 > git remote # timeout=10 18:07:03 > git config --get remote.origin.url # timeout=10 18:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:03 [INFO] Currently running in a labeled security context 18:07:03 [INFO] Currently SELinux is 'enforcing' on the host 18:07:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh8165473874997427997.key 18:07:03 > git merge 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 # timeout=10 18:07:03 > git rev-parse HEAD^{commit} # timeout=10 18:07:03 > git config core.sparsecheckout # timeout=10 18:07:03 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # timeout=10 18:07:07 Commit message: "ci: Update PR Template" 18:07:07 > git --version # timeout=10 18:07:07 > git --version # 'git version 2.24.4' 18:07:07 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:07 provisioning config files... 18:07:07 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config429227643687549117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:08 ---> docker-login.sh 18:07:08 nexus3.edgexfoundry.org:10001 18:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:08 Configure a credential helper to remove this warning. See 18:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:08 18:07:08 Login Succeeded 18:07:08 nexus3.edgexfoundry.org:10002 18:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:08 Configure a credential helper to remove this warning. See 18:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:08 18:07:08 Login Succeeded 18:07:08 nexus3.edgexfoundry.org:10003 18:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:08 Configure a credential helper to remove this warning. See 18:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:08 18:07:08 Login Succeeded 18:07:08 nexus3.edgexfoundry.org:10004 18:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:08 Configure a credential helper to remove this warning. See 18:07:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:08 18:07:08 Login Succeeded 18:07:08 docker.io 18:07:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:09 Configure a credential helper to remove this warning. See 18:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:09 18:07:09 Login Succeeded 18:07:09 ---> docker-login.sh ends [Pipeline] } 18:07:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:07:09 ========================================================= 18:07:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:07:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:07:10 + 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 . 18:07:10 Sending build context to Docker daemon 5.51MB 18:07:10 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:07:10 Step 2/10 : FROM ${BASE} AS builder 18:07:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:07:10 540db60ca938: Pulling fs layer 18:07:10 adcc1eea9eea: Pulling fs layer 18:07:10 4c4ab2625f07: Pulling fs layer 18:07:10 db62176df00c: Pulling fs layer 18:07:10 3b30891b0d05: Pulling fs layer 18:07:10 06b49ca38bd5: Pulling fs layer 18:07:10 c788192a36de: Pulling fs layer 18:07:10 a77e37c0d609: Pulling fs layer 18:07:10 c3185cebc471: Pulling fs layer 18:07:10 db62176df00c: Waiting 18:07:10 3b30891b0d05: Waiting 18:07:10 06b49ca38bd5: Waiting 18:07:10 c788192a36de: Waiting 18:07:10 a77e37c0d609: Waiting 18:07:10 c3185cebc471: Waiting 18:07:10 4c4ab2625f07: Download complete 18:07:10 adcc1eea9eea: Verifying Checksum 18:07:10 adcc1eea9eea: Download complete 18:07:10 3b30891b0d05: Verifying Checksum 18:07:10 3b30891b0d05: Download complete 18:07:10 06b49ca38bd5: Verifying Checksum 18:07:10 06b49ca38bd5: Download complete 18:07:10 540db60ca938: Verifying Checksum 18:07:10 540db60ca938: Download complete 18:07:10 c788192a36de: Verifying Checksum 18:07:10 c788192a36de: Download complete 18:07:10 540db60ca938: Pull complete 18:07:10 adcc1eea9eea: Pull complete 18:07:11 4c4ab2625f07: Pull complete 18:07:11 a77e37c0d609: Verifying Checksum 18:07:11 a77e37c0d609: Download complete 18:07:13 db62176df00c: Verifying Checksum 18:07:13 db62176df00c: Download complete 18:07:13 c3185cebc471: Verifying Checksum 18:07:13 c3185cebc471: Download complete 18:07:17 db62176df00c: Pull complete 18:07:17 3b30891b0d05: Pull complete 18:07:17 06b49ca38bd5: Pull complete 18:07:17 c788192a36de: Pull complete 18:07:17 a77e37c0d609: Pull complete 18:07:19 c3185cebc471: Pull complete 18:07:19 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 18:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:07:19 ---> 031687cdd783 18:07:19 Step 3/10 : ARG MAKE='make build' 18:07:24 ---> Running in c0c30ac38977 18:07:24 Removing intermediate container c0c30ac38977 18:07:24 ---> f2f46a74a85f 18:07:24 Step 4/10 : WORKDIR /device-gpio 18:07:24 ---> Running in 3cb7e45f0916 18:07:24 Removing intermediate container 3cb7e45f0916 18:07:24 ---> 114d2b433cee 18:07:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:07:24 ---> Running in bf37924e151e 18:07:24 Removing intermediate container bf37924e151e 18:07:24 ---> 8798fec55303 18:07:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:24 ---> Running in 8606b2547830 18:07:24 Removing intermediate container 8606b2547830 18:07:24 ---> 1b2bdcff3c4d 18:07:24 Step 7/10 : RUN apk add --update --no-cache make git 18:07:24 ---> Running in 175b50ade178 18:07:25 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:07:26 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:07:26 OK: 219 MiB in 52 packages 18:07:26 Removing intermediate container 175b50ade178 18:07:26 ---> 289b14c94907 18:07:26 Step 8/10 : COPY . . 18:07:26 ---> 4156477e0d9b 18:07:26 Step 9/10 : RUN go mod tidy 18:07:26 ---> Running in 77e4a6fade91 18:07:28 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 18:07:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 18:07:28 go: downloading github.com/spf13/cast v1.3.1 18:07:28 go: downloading github.com/warthog618/gpiod v0.6.0 18:07:28 go: downloading github.com/gorilla/mux v1.8.0 18:07:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 18:07:29 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 18:07:29 go: downloading github.com/google/uuid v1.1.2 18:07:29 go: downloading github.com/stretchr/testify v1.5.1 18:07:29 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:07:29 go: downloading github.com/go-kit/kit v0.8.0 18:07:29 go: downloading github.com/OneOfOne/xxhash v1.2.8 18:07:29 go: downloading gopkg.in/yaml.v2 v2.4.0 18:07:29 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 18:07:29 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 18:07:29 go: downloading github.com/davecgh/go-spew v1.1.1 18:07:29 go: downloading github.com/pmezard/go-difflib v1.0.0 18:07:29 go: downloading github.com/x448/float16 v0.8.4 18:07:29 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:07:29 go: downloading github.com/go-stack/stack v1.8.0 18:07:29 go: downloading github.com/go-playground/validator/v10 v10.3.0 18:07:29 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:07:29 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 18:07:29 go: downloading github.com/BurntSushi/toml v0.3.1 18:07:29 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 18:07:29 go: downloading github.com/pelletier/go-toml v1.2.0 18:07:29 go: downloading github.com/hashicorp/consul/api v1.1.0 18:07:29 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:07:29 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:07:29 go: downloading github.com/go-playground/universal-translator v0.17.0 18:07:29 go: downloading github.com/leodido/go-urn v1.2.0 18:07:29 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:07:29 go: downloading github.com/go-playground/locales v0.13.0 18:07:30 go: downloading github.com/kr/pretty v0.1.0 18:07:30 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:07:30 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:07:30 go: downloading github.com/hashicorp/serf v0.8.2 18:07:30 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:07:30 go: downloading github.com/hashicorp/consul/sdk v0.1.1 18:07:30 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:07:30 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:07:30 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:07:30 go: downloading github.com/kr/text v0.1.0 18:07:30 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:07:30 go: downloading github.com/pkg/errors v0.8.1 18:07:30 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:07:30 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:07:30 go: downloading github.com/hashicorp/memberlist v0.1.3 18:07:30 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:07:30 go: downloading github.com/mitchellh/copystructure v1.0.0 18:07:30 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:07:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:07:30 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:07:30 go: downloading github.com/google/btree v1.0.0 18:07:30 go: downloading github.com/hashicorp/go-multierror v1.0.0 18:07:30 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 18:07:30 go: downloading github.com/miekg/dns v1.1.4 18:07:30 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:07:30 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:07:30 go: downloading github.com/hashicorp/errwrap v1.0.0 18:07:30 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:07:30 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 18:07:34 Removing intermediate container 77e4a6fade91 18:07:34 ---> 850a0c0a8940 18:07:34 Step 10/10 : RUN ${MAKE} 18:07:34 ---> Running in 3f704a760653 18:07:34 noop 18:07:35 Removing intermediate container 3f704a760653 18:07:35 ---> dea501906f64 18:07:35 Successfully built dea501906f64 18:07:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:07:35 + docker inspect -f . ci-base-image-x86_64 18:07:35 . [Pipeline] withDockerContainer 18:07:35 prd-centos7-docker-4c-2g-1321 does not seem to be running inside a container 18:07:35 $ 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-x86_64 cat 18:07:36 $ docker top 64bbe8269a616d74343dbc55d2a92343ec8728c4cbec9162d42c03a4f9900ce9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:36 + go version 18:07:36 go version go1.16.6 linux/amd64 [Pipeline] } 18:07:36 $ docker stop --time=1 64bbe8269a616d74343dbc55d2a92343ec8728c4cbec9162d42c03a4f9900ce9 18:07:37 $ docker rm -f 64bbe8269a616d74343dbc55d2a92343ec8728c4cbec9162d42c03a4f9900ce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:07:38 + docker inspect -f . ci-base-image-x86_64 18:07:38 . [Pipeline] withDockerContainer 18:07:38 prd-centos7-docker-4c-2g-1321 does not seem to be running inside a container 18:07:38 $ 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-x86_64 cat 18:07:39 $ docker top f2c007d03bf4f294ff1e2fc50b51d7cda2af88f26c1e3a6dd4add344cff211e1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:07:39 + go mod tidy [Pipeline] sh 18:07:40 + make test 18:07:40 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:08:19 ? github.com/edgexfoundry/device-gpio [no test files] 18:08:29 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:08:29 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:08:29 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:08:36 gofmt -l . 18:08:36 [ "`gofmt -l .`" = "" ] 18:08:36 ./bin/test-attribution-txt.sh 18:08:36 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:08:36 $ docker stop --time=1 f2c007d03bf4f294ff1e2fc50b51d7cda2af88f26c1e3a6dd4add344cff211e1 18:08:37 $ docker rm -f f2c007d03bf4f294ff1e2fc50b51d7cda2af88f26c1e3a6dd4add344cff211e1 [Pipeline] // withDockerContainer [Pipeline] sh 18:08:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:08:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:08:39 + ls -al . 18:08:39 total 108 18:08:39 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 4 18:08 . 18:08:39 drwxrwxr-x. 4 jenkins jenkins 28 Oct 4 18:07 .. 18:08:39 -rw-rw-r--. 1 jenkins jenkins 5451 Oct 4 18:07 Attribution.txt 18:08:39 drwxrwxr-x. 2 jenkins jenkins 64 Oct 4 18:07 bin 18:08:39 drwxrwxr-x. 3 jenkins jenkins 32 Oct 4 18:07 cmd 18:08:39 -rw-r--r--. 1 jenkins jenkins 10 Oct 4 18:08 coverage.out 18:08:39 -rw-rw-r--. 1 jenkins jenkins 1506 Oct 4 18:07 Dockerfile 18:08:39 -rw-rw-r--. 1 jenkins jenkins 120 Oct 4 18:07 .dockerignore 18:08:39 drwxrwxr-x. 8 jenkins jenkins 179 Oct 4 18:07 .git 18:08:39 drwxrwxr-x. 2 jenkins jenkins 81 Oct 4 18:07 .github 18:08:39 -rw-rw-r--. 1 jenkins jenkins 350 Oct 4 18:07 .gitignore 18:08:39 -rw-r--r--. 1 jenkins jenkins 379 Oct 4 18:08 go.mod 18:08:39 -rw-r--r--. 1 jenkins jenkins 30244 Oct 4 18:07 go.sum 18:08:39 -rw-rw-r--. 1 jenkins jenkins 677 Oct 4 18:07 GOVERNANCE.md 18:08:39 drwxrwxr-x. 3 jenkins jenkins 20 Oct 4 18:07 internal 18:08:39 -rw-rw-r--. 1 jenkins jenkins 657 Oct 4 18:07 Jenkinsfile 18:08:39 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 4 18:07 LICENSE 18:08:39 -rw-rw-r--. 1 jenkins jenkins 906 Oct 4 18:07 Makefile 18:08:39 -rw-rw-r--. 1 jenkins jenkins 617 Oct 4 18:07 OWNERS.md 18:08:39 -rw-rw-r--. 1 jenkins jenkins 8048 Oct 4 18:07 README.md 18:08:39 -rw-rw-r--. 1 jenkins jenkins 5 Oct 4 18:06 VERSION 18:08:39 -rw-rw-r--. 1 jenkins jenkins 209 Oct 4 18:07 version.go [Pipeline] isUnix [Pipeline] sh 18:08:40 + 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=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc --label arch=amd64 --label version=0.0.0 . 18:08:40 Sending build context to Docker daemon 5.511MB 18:08:40 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 18:08:40 Step 2/23 : FROM ${BASE} AS builder 18:08:40 ---> dea501906f64 18:08:40 Step 3/23 : ARG MAKE='make build' 18:08:40 ---> Running in b295f643d9d6 18:08:40 Removing intermediate container b295f643d9d6 18:08:40 ---> c61e908dac9c 18:08:40 Step 4/23 : WORKDIR /device-gpio 18:08:40 ---> Running in ba45f58d93db 18:08:40 Removing intermediate container ba45f58d93db 18:08:40 ---> 274146750e73 18:08:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:08:40 ---> Running in ec00eb4cbfe2 18:08:40 Removing intermediate container ec00eb4cbfe2 18:08:40 ---> bba4b400c06c 18:08:40 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:08:40 ---> Running in 24d03df110ec 18:08:41 Removing intermediate container 24d03df110ec 18:08:41 ---> b71e16cd43e1 18:08:41 Step 7/23 : RUN apk add --update --no-cache make git 18:08:41 ---> Running in bf9349361bc5 18:08:41 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:08:42 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:08:42 OK: 219 MiB in 52 packages 18:08:42 Removing intermediate container bf9349361bc5 18:08:42 ---> d29b21673d4a 18:08:42 Step 8/23 : COPY . . 18:08:43 ---> 0ba69a900d10 18:08:43 Step 9/23 : RUN go mod tidy 18:08:43 ---> Running in c8f5c48a12d9 18:08:43 Removing intermediate container c8f5c48a12d9 18:08:43 ---> 80b277dcbc46 18:08:43 Step 10/23 : RUN ${MAKE} 18:08:43 ---> Running in b46e16d0811b 18:08:44 go mod tidy 18:08:44 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 18:08:54 Removing intermediate container b46e16d0811b 18:08:54 ---> cea2ac8cbf4d 18:08:54 Step 11/23 : FROM alpine:3.14 18:08:55 3.14: Pulling from library/alpine 18:08:55 a0d0a0d46f8b: Pulling fs layer 18:08:55 a0d0a0d46f8b: Verifying Checksum 18:08:55 a0d0a0d46f8b: Download complete 18:08:55 a0d0a0d46f8b: Pull complete 18:08:55 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:08:55 Status: Downloaded newer image for alpine:3.14 18:08:55 ---> 14119a10abf4 18:08:55 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:08:55 ---> Running in 5849b0b6b8e8 18:08:55 Removing intermediate container 5849b0b6b8e8 18:08:55 ---> 1e5ae9442ebf 18:08:55 Step 13/23 : ENV APP_PORT=49994 18:08:55 ---> Running in 8643524e340a 18:08:56 Removing intermediate container 8643524e340a 18:08:56 ---> 24614bb6b488 18:08:56 Step 14/23 : EXPOSE $APP_PORT 18:08:56 ---> Running in 9509db569e6b 18:08:56 Removing intermediate container 9509db569e6b 18:08:56 ---> 4ab00847c90e 18:08:56 Step 15/23 : WORKDIR / 18:08:56 ---> Running in 794c93bfdcec 18:08:56 Removing intermediate container 794c93bfdcec 18:08:56 ---> e1220697932f 18:08:56 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 18:08:56 ---> 94d5fcf56179 18:08:56 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 18:08:56 ---> b340b8a5f790 18:08:56 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 18:08:57 ---> ba297f3ff64c 18:08:57 Step 19/23 : ENTRYPOINT ["/device-gpio"] 18:08:57 ---> Running in 7c5a628d7a5d 18:08:57 Removing intermediate container 7c5a628d7a5d 18:08:57 ---> 727e42086dce 18:08:57 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:08:57 ---> Running in 2e5f7b2ec79a 18:08:57 Removing intermediate container 2e5f7b2ec79a 18:08:57 ---> 2fa515e8b19a 18:08:57 Step 21/23 : LABEL arch=amd64 18:08:57 ---> Running in e6c385d317af 18:08:57 Removing intermediate container e6c385d317af 18:08:57 ---> f343ae998c25 18:08:57 Step 22/23 : LABEL git_sha=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:08:57 ---> Running in 01d5af1ba3be 18:08:57 Removing intermediate container 01d5af1ba3be 18:08:57 ---> 6757cf9658f6 18:08:57 Step 23/23 : LABEL version=0.0.0 18:08:57 ---> Running in 9ab7ee14f89f 18:08:57 Removing intermediate container 9ab7ee14f89f 18:08:57 ---> cac802b6e6ca 18:08:57 [Warning] One or more build-args [ARCH] were not consumed 18:08:57 Successfully built cac802b6e6ca 18:08:57 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 18:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:58 18:08:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:08:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:59 latest: Pulling from edgex-lftools-log-publisher 18:08:59 b4d181a07f80: Pulling fs layer 18:08:59 a1111a8f2ec3: Pulling fs layer 18:08:59 ed53099fbce6: Pulling fs layer 18:08:59 dc539afda2c1: Pulling fs layer 18:08:59 77bc0d833cb6: Pulling fs layer 18:08:59 9065ff56babe: Pulling fs layer 18:08:59 d287ab97295c: Pulling fs layer 18:08:59 dc539afda2c1: Waiting 18:08:59 77bc0d833cb6: Waiting 18:08:59 9065ff56babe: Waiting 18:08:59 d287ab97295c: Waiting 18:08:59 a1111a8f2ec3: Verifying Checksum 18:08:59 a1111a8f2ec3: Download complete 18:08:59 dc539afda2c1: Verifying Checksum 18:08:59 dc539afda2c1: Download complete 18:08:59 ed53099fbce6: Verifying Checksum 18:08:59 ed53099fbce6: Download complete 18:08:59 77bc0d833cb6: Verifying Checksum 18:08:59 77bc0d833cb6: Download complete 18:08:59 9065ff56babe: Verifying Checksum 18:08:59 9065ff56babe: Download complete 18:09:00 b4d181a07f80: Verifying Checksum 18:09:00 b4d181a07f80: Download complete 18:09:01 d287ab97295c: Verifying Checksum 18:09:01 d287ab97295c: Download complete 18:09:01 b4d181a07f80: Pull complete 18:09:01 a1111a8f2ec3: Pull complete 18:09:02 ed53099fbce6: Pull complete 18:09:02 dc539afda2c1: Pull complete 18:09:02 77bc0d833cb6: Pull complete 18:09:02 9065ff56babe: Pull complete 18:09:07 d287ab97295c: Pull complete 18:09:07 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:09:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:09:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:09:08 prd-centos7-docker-4c-2g-1321 does not seem to be running inside a container 18:09:08 $ 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:latest cat 18:09:10 $ docker top baf9cd1435eff17e037a96bcf1b6913259285a0d3829091978b63b6edcdf8dfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:11 ---> job-cost.sh 18:09:11 lf-activate-venv: SKIPPING 18:09:11 INFO: No Stack... 18:09:11 INFO: Retrieving Pricing Info for: v3-standard-2 18:09:12 INFO: Archiving Costs [Pipeline] sh 18:09:13 + cat /w/workspace/device-gpio/1/archives/cost.csv 18:09:13 + cut -d, -f6 [Pipeline] lock 18:09:13 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] 18:09:13 Resource [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] did not exist. Created. 18:09:13 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:09:13 + echo total: 0.05999999865889549 [Pipeline] stash 18:09:13 Stashed 1 file(s) [Pipeline] } 18:09:13 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:09:13 $ docker stop --time=1 baf9cd1435eff17e037a96bcf1b6913259285a0d3829091978b63b6edcdf8dfa 18:09:14 $ docker rm -f baf9cd1435eff17e037a96bcf1b6913259285a0d3829091978b63b6edcdf8dfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:09:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1323 in /w/workspace/edgexfoundry_device-gpio_PR-11 [Pipeline] { [Pipeline] ws 18:09:15 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:09:16 The recommended git tool is: git 18:09:22 using credential edgex-jenkins-ssh 18:09:22 Cloning the remote Git repository 18:09:22 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:09:23 > git init /w/workspace/device-gpio/1 # timeout=10 18:09:23 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:09:23 > git --version # timeout=10 18:09:23 > git --version # 'git version 2.17.1' 18:09:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:09:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:09:25 Merging remotes/origin/main commit 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 into PR head commit 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:09:25 Merge succeeded, producing 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:09:25 Checking out Revision 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc (PR-11) 18:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/11/head:refs/remotes/origin/PR-11 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:09:25 > git config core.sparsecheckout # timeout=10 18:09:25 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # timeout=10 18:09:25 > git remote # timeout=10 18:09:25 > git config --get remote.origin.url # timeout=10 18:09:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:25 > git merge 6a5bc2002c297f7a1aa5e187dbfdf1f4a405aef6 # timeout=10 18:09:25 > git rev-parse HEAD^{commit} # timeout=10 18:09:25 > git config core.sparsecheckout # timeout=10 18:09:25 > git checkout -f 34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc # timeout=10 18:09:30 Commit message: "ci: Update PR Template" 18:09:30 > git --version # timeout=10 18:09:30 > git --version # 'git version 2.17.1' 18:09:30 fatal: bad object c141c1271097dc03ad291c2451e310eaf98cdd06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:31 provisioning config files... 18:09:31 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5111935453508963421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:31 ---> docker-login.sh 18:09:31 nexus3.edgexfoundry.org:10001 18:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:33 Configure a credential helper to remove this warning. See 18:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:33 18:09:33 Login Succeeded 18:09:33 nexus3.edgexfoundry.org:10002 18:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:34 Configure a credential helper to remove this warning. See 18:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:34 18:09:34 Login Succeeded 18:09:34 nexus3.edgexfoundry.org:10003 18:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:34 Configure a credential helper to remove this warning. See 18:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:34 18:09:34 Login Succeeded 18:09:34 nexus3.edgexfoundry.org:10004 18:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:35 Configure a credential helper to remove this warning. See 18:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:35 18:09:35 Login Succeeded 18:09:35 docker.io 18:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:36 Configure a credential helper to remove this warning. See 18:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:36 18:09:36 Login Succeeded 18:09:36 ---> docker-login.sh ends [Pipeline] } 18:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:36 ========================================================= 18:09:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:09:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:09:37 + 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 . 18:09:37 Sending build context to Docker daemon 5.509MB 18:09:37 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:09:37 Step 2/10 : FROM ${BASE} AS builder 18:09:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:09:38 595b0fe564bb: Pulling fs layer 18:09:38 24495759ef45: Pulling fs layer 18:09:38 d148012ef14d: Pulling fs layer 18:09:38 e90a11edd702: Pulling fs layer 18:09:38 d77568369979: Pulling fs layer 18:09:38 fc1c9f9a7f3b: Pulling fs layer 18:09:38 170f2ba95c9a: Pulling fs layer 18:09:38 97ac5df62f85: Pulling fs layer 18:09:38 d77568369979: Waiting 18:09:38 fc1c9f9a7f3b: Waiting 18:09:38 97ac5df62f85: Waiting 18:09:38 170f2ba95c9a: Waiting 18:09:38 e90a11edd702: Waiting 18:09:38 d148012ef14d: Verifying Checksum 18:09:38 d148012ef14d: Download complete 18:09:38 24495759ef45: Download complete 18:09:38 fc1c9f9a7f3b: Verifying Checksum 18:09:38 fc1c9f9a7f3b: Download complete 18:09:38 170f2ba95c9a: Verifying Checksum 18:09:38 170f2ba95c9a: Download complete 18:09:38 595b0fe564bb: Verifying Checksum 18:09:38 595b0fe564bb: Download complete 18:09:39 595b0fe564bb: Pull complete 18:09:39 24495759ef45: Pull complete 18:09:39 d148012ef14d: Pull complete 18:09:41 97ac5df62f85: Verifying Checksum 18:09:41 97ac5df62f85: Download complete 18:09:41 e90a11edd702: Verifying Checksum 18:09:41 e90a11edd702: Download complete 18:09:51 e90a11edd702: Pull complete 18:09:51 d77568369979: Pull complete 18:09:51 fc1c9f9a7f3b: Pull complete 18:09:52 170f2ba95c9a: Pull complete 18:09:59 97ac5df62f85: Pull complete 18:09:59 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 18:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:09:59 ---> 04bc70af865f 18:09:59 Step 3/10 : ARG MAKE='make build' 18:10:02 ---> Running in 4df69b3df4d6 18:10:02 Removing intermediate container 4df69b3df4d6 18:10:02 ---> f2a579091ba2 18:10:02 Step 4/10 : WORKDIR /device-gpio 18:10:02 ---> Running in b1b6edc4372b 18:10:03 Removing intermediate container b1b6edc4372b 18:10:03 ---> 3e197fafb809 18:10:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:10:03 ---> Running in d8907a8ec1b9 18:10:03 Removing intermediate container d8907a8ec1b9 18:10:03 ---> 5ef6c449dcbb 18:10:03 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:10:04 ---> Running in 6b91d89d6613 18:10:06 Removing intermediate container 6b91d89d6613 18:10:06 ---> 2ec65b5bfcd4 18:10:06 Step 7/10 : RUN apk add --update --no-cache make git 18:10:06 ---> Running in fb1d25849007 18:10:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:10:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:10:10 OK: 218 MiB in 52 packages 18:10:11 Removing intermediate container fb1d25849007 18:10:11 ---> 9f81ad965acd 18:10:11 Step 8/10 : COPY . . 18:10:12 ---> d0076d89a1fc 18:10:12 Step 9/10 : RUN go mod tidy 18:10:12 ---> Running in 6fa9f18c4c61 18:10:15 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 18:10:15 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 18:10:15 go: downloading github.com/spf13/cast v1.3.1 18:10:15 go: downloading github.com/warthog618/gpiod v0.6.0 18:10:15 go: downloading github.com/gorilla/mux v1.8.0 18:10:15 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:10:15 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 18:10:15 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 18:10:15 go: downloading github.com/google/uuid v1.1.2 18:10:15 go: downloading github.com/stretchr/testify v1.5.1 18:10:15 go: downloading github.com/go-kit/kit v0.8.0 18:10:16 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 18:10:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 18:10:16 go: downloading gopkg.in/yaml.v2 v2.4.0 18:10:16 go: downloading github.com/x448/float16 v0.8.4 18:10:16 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 18:10:16 go: downloading github.com/davecgh/go-spew v1.1.1 18:10:16 go: downloading github.com/pmezard/go-difflib v1.0.0 18:10:16 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 18:10:16 go: downloading github.com/go-playground/validator/v10 v10.3.0 18:10:16 go: downloading github.com/BurntSushi/toml v0.3.1 18:10:16 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 18:10:16 go: downloading github.com/pelletier/go-toml v1.2.0 18:10:16 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:10:16 go: downloading github.com/hashicorp/consul/api v1.1.0 18:10:16 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:10:16 go: downloading github.com/go-stack/stack v1.8.0 18:10:16 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:10:16 go: downloading github.com/go-playground/universal-translator v0.17.0 18:10:16 go: downloading github.com/leodido/go-urn v1.2.0 18:10:16 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:10:16 go: downloading github.com/go-playground/locales v0.13.0 18:10:17 go: downloading github.com/kr/pretty v0.1.0 18:10:17 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:10:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:10:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:10:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:10:17 go: downloading github.com/hashicorp/serf v0.8.2 18:10:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:10:17 go: downloading github.com/hashicorp/consul/sdk v0.1.1 18:10:17 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:10:17 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:10:19 go: downloading github.com/kr/text v0.1.0 18:10:19 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:10:19 go: downloading github.com/mitchellh/copystructure v1.0.0 18:10:19 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:10:19 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:10:19 go: downloading github.com/pkg/errors v0.8.1 18:10:19 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:10:19 go: downloading github.com/hashicorp/memberlist v0.1.3 18:10:19 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:10:19 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:10:19 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:10:19 go: downloading github.com/google/btree v1.0.0 18:10:19 go: downloading github.com/hashicorp/go-multierror v1.0.0 18:10:19 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 18:10:19 go: downloading github.com/miekg/dns v1.1.4 18:10:19 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:10:19 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:10:19 go: downloading github.com/hashicorp/errwrap v1.0.0 18:10:19 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 18:10:19 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:10:32 Removing intermediate container 6fa9f18c4c61 18:10:32 ---> cbaa9d180c5d 18:10:32 Step 10/10 : RUN ${MAKE} 18:10:32 ---> Running in 5822021d2460 18:10:32 noop 18:10:33 Removing intermediate container 5822021d2460 18:10:33 ---> a3bb518e8f36 18:10:33 Successfully built a3bb518e8f36 18:10:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:10:33 + docker inspect -f . ci-base-image-arm64 18:10:33 . [Pipeline] withDockerContainer 18:10:34 prd-ubuntu18.04-docker-arm64-4c-16g-1323 does not seem to be running inside a container 18:10:34 $ 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-arm64 cat 18:10:35 $ docker top 5d417472b560204fb8d5f57f5cd68985db539a39eb4249e80aa83b24c9fcde10 -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:36 + go version 18:10:36 go version go1.16.6 linux/arm64 [Pipeline] } 18:10:37 $ docker stop --time=1 5d417472b560204fb8d5f57f5cd68985db539a39eb4249e80aa83b24c9fcde10 18:10:38 $ docker rm -f 5d417472b560204fb8d5f57f5cd68985db539a39eb4249e80aa83b24c9fcde10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:10:39 + docker inspect -f . ci-base-image-arm64 18:10:39 . [Pipeline] withDockerContainer 18:10:40 prd-ubuntu18.04-docker-arm64-4c-16g-1323 does not seem to be running inside a container 18:10:40 $ 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-arm64 cat 18:10:41 $ docker top 72c5ef27856aa5b752fc14b366e120375f4f72050cd2d681cc546d303c2b773e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:10:43 + go mod tidy [Pipeline] sh 18:10:44 + make test 18:10:44 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:10:45 ? github.com/edgexfoundry/device-gpio [no test files] 18:11:25 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:11:25 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:11:25 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:11:47 gofmt -l . 18:11:47 [ "`gofmt -l .`" = "" ] 18:11:48 ./bin/test-attribution-txt.sh 18:11:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:11:49 $ docker stop --time=1 72c5ef27856aa5b752fc14b366e120375f4f72050cd2d681cc546d303c2b773e 18:11:51 $ docker rm -f 72c5ef27856aa5b752fc14b366e120375f4f72050cd2d681cc546d303c2b773e [Pipeline] // withDockerContainer [Pipeline] sh 18:11:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:52 Warning: overwriting stash ‘coverage-report’ 18:11:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:55 + ls -al . 18:11:55 total 132 18:11:55 drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 18:11 . 18:11:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:09 .. 18:11:55 -rw-rw-r-- 1 jenkins jenkins 120 Oct 4 18:09 .dockerignore 18:11:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:09 .git 18:11:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:09 .github 18:11:55 -rw-rw-r-- 1 jenkins jenkins 350 Oct 4 18:09 .gitignore 18:11:55 -rw-rw-r-- 1 jenkins jenkins 5451 Oct 4 18:09 Attribution.txt 18:11:55 -rw-rw-r-- 1 jenkins jenkins 1506 Oct 4 18:09 Dockerfile 18:11:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:09 GOVERNANCE.md 18:11:55 -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 18:09 Jenkinsfile 18:11:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 18:09 LICENSE 18:11:55 -rw-rw-r-- 1 jenkins jenkins 906 Oct 4 18:09 Makefile 18:11:55 -rw-rw-r-- 1 jenkins jenkins 617 Oct 4 18:09 OWNERS.md 18:11:55 -rw-rw-r-- 1 jenkins jenkins 8048 Oct 4 18:09 README.md 18:11:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:06 VERSION 18:11:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:09 bin 18:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:09 cmd 18:11:55 -rw-r--r-- 1 jenkins jenkins 10 Oct 4 18:10 coverage.out 18:11:55 -rw-r--r-- 1 jenkins jenkins 379 Oct 4 18:11 go.mod 18:11:55 -rw-r--r-- 1 jenkins jenkins 30244 Oct 4 18:10 go.sum 18:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:09 internal 18:11:55 -rw-rw-r-- 1 jenkins jenkins 209 Oct 4 18:09 version.go [Pipeline] isUnix [Pipeline] sh 18:11:55 + 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=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc --label arch=arm64 --label version=0.0.0 . 18:11:56 Sending build context to Docker daemon 5.51MB 18:11:56 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 18:11:56 Step 2/23 : FROM ${BASE} AS builder 18:11:56 ---> a3bb518e8f36 18:11:56 Step 3/23 : ARG MAKE='make build' 18:11:56 ---> Running in 508f69608656 18:11:56 Removing intermediate container 508f69608656 18:11:56 ---> 6007bf95d84d 18:11:56 Step 4/23 : WORKDIR /device-gpio 18:11:56 ---> Running in cee4535cee07 18:11:57 Removing intermediate container cee4535cee07 18:11:57 ---> d9762e74d463 18:11:57 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:11:57 ---> Running in d0f40724c248 18:11:58 Removing intermediate container d0f40724c248 18:11:58 ---> 1a5573ba0cdc 18:11:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:58 ---> Running in 08041fc3919d 18:12:00 Removing intermediate container 08041fc3919d 18:12:00 ---> 20f6b5bfecf5 18:12:00 Step 7/23 : RUN apk add --update --no-cache make git 18:12:00 ---> Running in 5ea56fb49aee 18:12:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:12:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:12:03 OK: 218 MiB in 52 packages 18:12:04 Removing intermediate container 5ea56fb49aee 18:12:04 ---> 5b01b0a12566 18:12:04 Step 8/23 : COPY . . 18:12:05 ---> 53bf7ebe8d40 18:12:05 Step 9/23 : RUN go mod tidy 18:12:05 ---> Running in ed270db008ee 18:12:08 Removing intermediate container ed270db008ee 18:12:08 ---> 2c31962dbbe4 18:12:08 Step 10/23 : RUN ${MAKE} 18:12:08 ---> Running in fccff1f3131a 18:12:10 go mod tidy 18:12:10 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 18:12:42 Removing intermediate container fccff1f3131a 18:12:42 ---> 36a9eadf17b1 18:12:42 Step 11/23 : FROM alpine:3.14 18:12:42 3.14: Pulling from library/alpine 18:12:42 552d1f2373af: Pulling fs layer 18:12:43 552d1f2373af: Verifying Checksum 18:12:43 552d1f2373af: Download complete 18:12:43 552d1f2373af: Pull complete 18:12:43 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:12:44 Status: Downloaded newer image for alpine:3.14 18:12:44 ---> bb3de5531c18 18:12:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:12:44 ---> Running in f777b11acaa0 18:12:44 Removing intermediate container f777b11acaa0 18:12:44 ---> 770779962179 18:12:44 Step 13/23 : ENV APP_PORT=49994 18:12:44 ---> Running in 58ead74418ee 18:12:45 Removing intermediate container 58ead74418ee 18:12:45 ---> a585b7a8845a 18:12:45 Step 14/23 : EXPOSE $APP_PORT 18:12:45 ---> Running in b4d5d966a610 18:12:45 Removing intermediate container b4d5d966a610 18:12:45 ---> 2b8e599f1f39 18:12:45 Step 15/23 : WORKDIR / 18:12:46 ---> Running in f4cce7d69be3 18:12:46 Removing intermediate container f4cce7d69be3 18:12:46 ---> 1d8d5a81a052 18:12:46 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 18:12:47 ---> 8244d680bbc5 18:12:47 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 18:12:48 ---> ee77056df9e3 18:12:48 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 18:12:49 ---> a0a0773e01df 18:12:49 Step 19/23 : ENTRYPOINT ["/device-gpio"] 18:12:49 ---> Running in 2b25678fddc4 18:12:49 Removing intermediate container 2b25678fddc4 18:12:49 ---> 43c7c90afcdc 18:12:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:12:50 ---> Running in d72ae706ba2d 18:12:50 Removing intermediate container d72ae706ba2d 18:12:50 ---> 2c8d8149d49f 18:12:50 Step 21/23 : LABEL arch=arm64 18:12:50 ---> Running in 341db6fab85e 18:12:51 Removing intermediate container 341db6fab85e 18:12:51 ---> 180f93500bef 18:12:51 Step 22/23 : LABEL git_sha=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc 18:12:51 ---> Running in a9091f541a46 18:12:52 Removing intermediate container a9091f541a46 18:12:52 ---> 17fa8f4e2e15 18:12:52 Step 23/23 : LABEL version=0.0.0 18:12:52 ---> Running in 02eca5cabdb4 18:12:52 Removing intermediate container 02eca5cabdb4 18:12:52 ---> 075c459ad1f1 18:12:52 [Warning] One or more build-args [ARCH] were not consumed 18:12:52 Successfully built 075c459ad1f1 18:12:52 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 18:12:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:53 18:12:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:12:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:54 arm64: Pulling from edgex-lftools-log-publisher 18:12:54 448f6bf000e3: Pulling fs layer 18:12:54 f757da607395: Pulling fs layer 18:12:54 05883995daec: Pulling fs layer 18:12:54 8603b9c90790: Pulling fs layer 18:12:54 1560dd03e051: Pulling fs layer 18:12:54 27f5ce0e4adf: Pulling fs layer 18:12:54 c2d8d7efcc4b: Pulling fs layer 18:12:54 8603b9c90790: Waiting 18:12:54 1560dd03e051: Waiting 18:12:54 27f5ce0e4adf: Waiting 18:12:54 c2d8d7efcc4b: Waiting 18:12:55 f757da607395: Verifying Checksum 18:12:55 f757da607395: Download complete 18:12:55 8603b9c90790: Verifying Checksum 18:12:55 8603b9c90790: Download complete 18:12:55 1560dd03e051: Verifying Checksum 18:12:55 1560dd03e051: Download complete 18:12:55 27f5ce0e4adf: Download complete 18:12:55 05883995daec: Verifying Checksum 18:12:55 05883995daec: Download complete 18:12:55 448f6bf000e3: Download complete 18:12:59 448f6bf000e3: Pull complete 18:12:59 c2d8d7efcc4b: Verifying Checksum 18:12:59 c2d8d7efcc4b: Download complete 18:12:59 f757da607395: Pull complete 18:13:00 05883995daec: Pull complete 18:13:01 8603b9c90790: Pull complete 18:13:02 1560dd03e051: Pull complete 18:13:02 27f5ce0e4adf: Pull complete 18:13:17 c2d8d7efcc4b: Pull complete 18:13:17 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:13:18 prd-ubuntu18.04-docker-arm64-4c-16g-1323 does not seem to be running inside a container 18:13:18 $ 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:arm64 cat 18:13:22 $ docker top 023e58c510cc0cb39579c22b774932bc27817e96d5aa52b6a5f414fc515fa597 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:23 ---> job-cost.sh 18:13:23 lf-activate-venv: SKIPPING 18:13:23 INFO: No Stack... 18:13:24 INFO: Retrieving Pricing Info for: v3-standard-4 18:13:24 INFO: Archiving Costs [Pipeline] sh 18:13:25 + cut -d, -f6 18:13:25 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 18:13:25 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] 18:13:25 Resource [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] did not exist. Created. 18:13:25 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:26 /w/workspace/device-gpio/1@tmp/durable-76727e39/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-76727e39/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:13:27 + echo total: 0.10999999940395355 [Pipeline] stash 18:13:27 Warning: overwriting stash ‘stack-cost’ 18:13:27 Stashed 1 file(s) [Pipeline] } 18:13:27 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-11-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:27 $ docker stop --time=1 023e58c510cc0cb39579c22b774932bc27817e96d5aa52b6a5f414fc515fa597 18:13:29 $ docker rm -f 023e58c510cc0cb39579c22b774932bc27817e96d5aa52b6a5f414fc515fa597 [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 18:13:30 provisioning config files... 18:13:30 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-11@tmp/config1557743861512639890tmp [Pipeline] { [Pipeline] sh 18:13:31 + set +x 18:13:31 + bash -s -- 18:13:31 + curl -s https://codecov.io/bash 18:13:31 18:13:31 _____ _ 18:13:31 / ____| | | 18:13:31 | | ___ __| | ___ ___ _____ __ 18:13:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:13:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:13:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:13:31 Bash-1.0.6 18:13:31 18:13:31 18:13:31 ==> git version 2.24.4 found 18:13:31 ==> 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 18:13:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:13:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:13:31 ==> Jenkins CI detected. 18:13:31 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-11 18:13:31 project root: . 18:13:31 --> token set from env 18:13:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:13:31 ==> Running gcov in . (disable via -X gcov) 18:13:31 ==> Python coveragepy not found 18:13:31 ==> Searching for coverage reports in: 18:13:31 + . 18:13:31 -> Found 1 reports 18:13:31 ==> Detecting git/mercurial file structure 18:13:31 ==> Reading reports 18:13:31 + ./coverage.out bytes=10 18:13:31 ==> Appending adjustments 18:13:31 https://docs.codecov.io/docs/fixing-reports 18:13:31 + Found adjustments 18:13:31 ==> Gzipping contents 18:13:31 4.0K /tmp/codecov.cbpnlN.gz 18:13:31 ==> Uploading reports 18:13:31 url: https://codecov.io 18:13:31 query: branch=PR-11&commit=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-11%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=11&job=&cmd_args= 18:13:31 -> Pinging Codecov 18:13:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-11&commit=34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-11%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=11&job=&cmd_args= 18:13:31 -> Uploading to 18:13:31 https://storage.googleapis.com/codecov/v4/raw/2021-10-04/3EC07B1A8CA8AF9BCAA0BB9F0134797F/34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc/91f3f754-ac26-4307-a367-581c464e7da6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211004T181331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fbba9b9c263d0d649902eb1c3d78e525dda5913ac4045cb4ee3b7761bbda943 18:13:31 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:31 Dload Upload Total Spent Left Speed 18:13:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 576 0 0 100 576 0 1860 --:--:-- --:--:-- --:--:-- 1864 18:13:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/34a4d0ec4e1409fa76b6c52b3b4ea9fb748035cc [Pipeline] } 18:13:32 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 18:13:34 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-11/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:13:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:13:35 ---> package-listing.sh 18:13:35 ++ facter osfamily 18:13:35 ++ tr '[:upper:]' '[:lower:]' 18:13:35 + OS_FAMILY=redhat 18:13:35 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-11 18:13:35 + START_PACKAGES=/tmp/packages_start.txt 18:13:35 + END_PACKAGES=/tmp/packages_end.txt 18:13:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:13:35 + PACKAGES=/tmp/packages_start.txt 18:13:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-11 ']' 18:13:35 + PACKAGES=/tmp/packages_end.txt 18:13:35 + case "${OS_FAMILY}" in 18:13:35 + sort 18:13:35 + rpm -qa 18:13:36 + '[' -f /tmp/packages_start.txt ']' 18:13:36 + '[' -f /tmp/packages_end.txt ']' 18:13:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:13:36 + '[' /w/workspace/edgexfoundry_device-gpio_PR-11 ']' 18:13:36 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-11/archives/ 18:13:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-11/archives/ [Pipeline] echo 18:13:36 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-11/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:13:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:37 18:13:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:13:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:38 latest: Pulling from edgex-lftools-log-publisher 18:13:38 b4d181a07f80: Pulling fs layer 18:13:38 a1111a8f2ec3: Pulling fs layer 18:13:38 ed53099fbce6: Pulling fs layer 18:13:38 dc539afda2c1: Pulling fs layer 18:13:38 77bc0d833cb6: Pulling fs layer 18:13:38 9065ff56babe: Pulling fs layer 18:13:38 d287ab97295c: Pulling fs layer 18:13:38 dc539afda2c1: Waiting 18:13:38 77bc0d833cb6: Waiting 18:13:38 9065ff56babe: Waiting 18:13:38 d287ab97295c: Waiting 18:13:38 a1111a8f2ec3: Verifying Checksum 18:13:38 a1111a8f2ec3: Download complete 18:13:38 dc539afda2c1: Verifying Checksum 18:13:38 dc539afda2c1: Download complete 18:13:38 ed53099fbce6: Verifying Checksum 18:13:38 ed53099fbce6: Download complete 18:13:38 9065ff56babe: Verifying Checksum 18:13:38 9065ff56babe: Download complete 18:13:38 b4d181a07f80: Verifying Checksum 18:13:38 b4d181a07f80: Download complete 18:13:38 77bc0d833cb6: Verifying Checksum 18:13:38 77bc0d833cb6: Download complete 18:13:40 b4d181a07f80: Pull complete 18:13:40 d287ab97295c: Verifying Checksum 18:13:40 d287ab97295c: Download complete 18:13:40 a1111a8f2ec3: Pull complete 18:13:41 ed53099fbce6: Pull complete 18:13:41 dc539afda2c1: Pull complete 18:13:41 77bc0d833cb6: Pull complete 18:13:41 9065ff56babe: Pull complete 18:13:46 d287ab97295c: Pull complete 18:13:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:13:46 prd-centos7-docker-4c-2g-1318 does not seem to be running inside a container 18:13:46 $ 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-11/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-11 -v /w/workspace/edgexfoundry_device-gpio_PR-11:/w/workspace/edgexfoundry_device-gpio_PR-11:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-11@tmp:/w/workspace/edgexfoundry_device-gpio_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:49 $ docker top add78ebc993be959b86aff08841900d568784aaa79b97efee95fba24ca30cd85 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:49 + touch /tmp/pre-build-complete [Pipeline] sh 18:13:50 + mkdir -p /var/log/sysstat [Pipeline] sh 18:13:50 + ls /var/log/sa-host 18:13:50 + sadf -c /var/log/sa-host/sa04 18:13:50 file_magic: OK 18:13:50 HZ: Using current value: 100 18:13:50 file_header: OK 18:13:50 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 18:13:50 Statistics: 18:13:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:50 File successfully converted to sysstat format version 12.0.3 18:13:50 + sadf -c /var/log/sa-host/sa30 18:13:50 file_magic: OK 18:13:50 HZ: Using current value: 100 18:13:50 file_header: OK 18:13:50 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 18:13:50 Statistics: 18:13:50 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:50 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:50 provisioning config files... 18:13:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-11@tmp/config9164561602387080778tmp [Pipeline] { [Pipeline] echo 18:13:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:13:51 ---> create-netrc.sh [Pipeline] } 18:13:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:13:51 ---> python-tools-install.sh [Pipeline] echo 18:13:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:13:51 ---> sudo-logs.sh 18:13:51 Archiving 'sudo' log.. 18:13:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1318.novalocal: Name or service not known 18:13:51 sudo: unable to resolve host prd-centos7-docker-4c-2g-1318.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:13:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:13:52 ---> job-cost.sh 18:13:52 lf-activate-venv: SKIPPING 18:13:52 DEBUG: total: 0.10999999940395355 18:13:52 INFO: Retrieving Stack Cost... 18:13:53 INFO: Retrieving Pricing Info for: v3-standard-2 18:13:53 INFO: Archiving Costs [Pipeline] echo 18:13:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:13:54 ---> logs-deploy.sh 18:13:54 lf-activate-venv: SKIPPING 18:13:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-11/1 18:13:54 INFO: archiving workspace using pattern(s): 18:13:55 Archives upload complete. 18:13:55 INFO: archiving logs to Nexus 18:13:55 ---> uname -a: 18:13:55 Linux prd-centos7-docker-4c-2g-1318.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 18:13:55 18:13:55 18:13:55 ---> lscpu: 18:13:55 Architecture: x86_64 18:13:55 CPU op-mode(s): 32-bit, 64-bit 18:13:55 Byte Order: Little Endian 18:13:55 Address sizes: 40 bits physical, 48 bits virtual 18:13:55 CPU(s): 2 18:13:55 On-line CPU(s) list: 0,1 18:13:55 Thread(s) per core: 1 18:13:55 Core(s) per socket: 1 18:13:55 Socket(s): 2 18:13:55 NUMA node(s): 1 18:13:55 Vendor ID: AuthenticAMD 18:13:55 CPU family: 23 18:13:55 Model: 49 18:13:55 Model name: AMD EPYC-Rome Processor 18:13:55 Stepping: 0 18:13:55 CPU MHz: 2799.998 18:13:55 BogoMIPS: 5599.99 18:13:55 Virtualization: AMD-V 18:13:55 Hypervisor vendor: KVM 18:13:55 Virtualization type: full 18:13:55 L1d cache: 32K 18:13:55 L1i cache: 32K 18:13:55 L2 cache: 512K 18:13:55 L3 cache: 16384K 18:13:55 NUMA node0 CPU(s): 0,1 18:13:55 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 18:13:55 18:13:55 18:13:55 ---> nproc: 18:13:55 2 18:13:55 18:13:55 18:13:55 ---> df -h: 18:13:55 Filesystem Size Used Avail Use% Mounted on 18:13:55 overlay 40G 7.7G 33G 20% / 18:13:55 tmpfs 64M 0 64M 0% /dev 18:13:55 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:13:55 shm 64M 0 64M 0% /dev/shm 18:13:55 /dev/vda1 40G 7.7G 33G 20% /facter-os 18:13:55 18:13:55 18:13:55 ---> sar -b -r -n DEV: 18:13:55 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 18:13:55 18:13:55 18:05:42 LINUX RESTART (2 CPU) 18:13:55 18:13:55 18:06:01 tps rtps wtps bread/s bwrtn/s 18:13:55 18:07:01 122.10 25.45 96.65 5653.53 9054.28 18:13:55 18:08:02 2.25 0.00 2.25 0.00 50.52 18:13:55 18:09:01 0.42 0.00 0.42 0.00 5.78 18:13:55 18:10:01 0.28 0.00 0.28 0.00 4.08 18:13:55 18:11:01 0.27 0.00 0.27 0.00 4.16 18:13:55 18:12:01 0.35 0.00 0.35 0.00 4.76 18:13:55 18:13:01 0.23 0.00 0.23 0.00 2.85 18:13:55 Average: 18.04 3.65 14.39 810.07 1307.67 18:13:55 18:13:55 18:06:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:13:55 18:07:01 5668224 0 625092 7.80 2620 1712996 1254368 13.85 567380 1534440 136 18:13:55 18:08:02 5676220 0 617092 7.71 2620 1713000 1189200 13.13 560656 1534404 16 18:13:55 18:09:01 5678960 0 614348 7.67 2620 1713004 1162460 12.83 558736 1534560 16 18:13:55 18:10:01 5674524 0 618780 7.73 2620 1713008 1162652 12.84 563244 1534556 8 18:13:55 18:11:01 5679496 0 613744 7.66 2620 1713072 1162460 12.83 557624 1535448 16 18:13:55 18:12:01 5679400 0 613892 7.67 2620 1713020 1162544 12.84 558000 1535436 8 18:13:55 18:13:01 5678396 0 614892 7.68 2620 1713024 1162460 12.83 558444 1535436 20 18:13:55 Average: 5676460 0 616834 7.70 2620 1713018 1179449 13.02 560583 1534897 31 18:13:55 18:13:55 18:06:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:13:55 18:07:01 eth0 352.06 244.39 1156.34 74.23 0.00 0.00 0.00 0.00 18:13:55 18:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:07:01 docker0 19.52 8.77 1.80 88.15 0.00 0.00 0.00 0.00 18:13:55 18:08:02 eth0 1.73 0.63 0.60 0.37 0.00 0.00 0.00 0.00 18:13:55 18:08:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:08:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:09:01 eth0 0.25 0.08 0.02 0.04 0.00 0.00 0.00 0.00 18:13:55 18:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:10:01 eth0 0.65 0.28 0.28 0.20 0.00 0.00 0.00 0.00 18:13:55 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:11:01 eth0 0.23 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:13:55 18:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:12:01 eth0 0.42 0.23 0.15 0.07 0.00 0.00 0.00 0.00 18:13:55 18:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:13:01 eth0 0.65 0.17 0.06 0.01 0.00 0.00 0.00 0.00 18:13:55 18:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 18:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 Average: eth0 51.01 35.23 165.85 10.74 0.00 0.00 0.00 0.00 18:13:55 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:13:55 Average: docker0 2.80 1.26 0.26 12.63 0.00 0.00 0.00 0.00 18:13:55 18:13:55 18:13:55 ---> sar -P ALL: 18:13:55 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/04/21 _x86_64_ (2 CPU) 18:13:55 18:13:55 18:05:42 LINUX RESTART (2 CPU) 18:13:55 18:13:55 18:06:01 CPU %user %nice %system %iowait %steal %idle 18:13:55 18:07:01 all 19.39 0.00 5.71 4.70 0.09 70.11 18:13:55 18:07:01 0 18.94 0.00 5.81 4.13 0.09 71.02 18:13:55 18:07:01 1 19.83 0.00 5.60 5.27 0.09 69.21 18:13:55 18:08:02 all 0.13 0.00 0.08 0.00 0.02 99.77 18:13:55 18:08:02 0 0.07 0.00 0.07 0.00 0.02 99.85 18:13:55 18:08:02 1 0.18 0.00 0.10 0.00 0.02 99.70 18:13:55 18:09:01 all 0.22 0.00 0.06 0.00 0.02 99.70 18:13:55 18:09:01 0 0.08 0.00 0.05 0.00 0.02 99.85 18:13:55 18:09:01 1 0.36 0.00 0.07 0.00 0.02 99.56 18:13:55 18:10:01 all 0.23 0.00 0.05 0.00 0.02 99.70 18:13:55 18:10:01 0 0.10 0.00 0.07 0.00 0.02 99.82 18:13:55 18:10:01 1 0.37 0.00 0.03 0.00 0.02 99.58 18:13:55 18:11:01 all 0.22 0.00 0.05 0.00 0.01 99.72 18:13:55 18:11:01 0 0.07 0.00 0.07 0.00 0.02 99.85 18:13:55 18:11:01 1 0.37 0.00 0.03 0.00 0.00 99.60 18:13:55 18:12:01 all 0.24 0.00 0.03 0.00 0.02 99.71 18:13:55 18:12:01 0 0.07 0.00 0.03 0.00 0.02 99.88 18:13:55 18:12:01 1 0.42 0.00 0.03 0.00 0.02 99.53 18:13:55 18:13:01 all 0.24 0.00 0.04 0.00 0.00 99.72 18:13:55 18:13:01 0 0.08 0.00 0.03 0.00 0.00 99.88 18:13:55 18:13:01 1 0.40 0.00 0.05 0.00 0.00 99.55 18:13:55 Average: all 2.88 0.00 0.84 0.65 0.02 95.61 18:13:55 Average: 0 2.70 0.00 0.85 0.57 0.02 95.85 18:13:55 Average: 1 3.06 0.00 0.82 0.73 0.02 95.36 18:13:55 18:13:55 18:13:55