Pull request #7 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 ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 5b9f3990bd19d1d877eb764c372f2943ddbee698+a58aad29095140be52c6929c61b528ab5189762a (27a5b9c93e089aa468525b9e124324686daef902) 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-ssh1315711314053214535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1125845480854370601.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-7/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-7/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6614640913712548813.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-7/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1361226504212342008.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4201600588574964005.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-7/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-7/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8495886964366054212.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 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1061 in /w/workspace/edgexfoundry_device-gpio_PR-7 [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-7 # 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-7@tmp/jenkins-gitclient-ssh1901251588793892232.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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-7@tmp/jenkins-gitclient-ssh1357466592302318448.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/7/head:refs/remotes/origin/PR-7 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a58aad29095140be52c6929c61b528ab5189762a into PR head commit 5b9f3990bd19d1d877eb764c372f2943ddbee698 Merge succeeded, producing 5b9f3990bd19d1d877eb764c372f2943ddbee698 Checking out Revision 5b9f3990bd19d1d877eb764c372f2943ddbee698 (PR-7) > git config core.sparsecheckout # timeout=10 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # 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-7@tmp/jenkins-gitclient-ssh2232133505678752290.key > git merge a58aad29095140be52c6929c61b528ab5189762a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 Commit message: "ci: remove need for CI specific Dockerfile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:22 ========================================================= 18:42:22 EdgeX Global Pipelines Version Info 18:42:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:24 ------------------- 18:42:24 stable info: 18:42:24 ------------------- 18:42:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 18:42:24 Message: update stable to v1.0.205 18:42:24 ------------------- 18:42:24 experimental info: 18:42:24 ------------------- 18:42:24 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:24 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 18:42:24 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-7 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-7 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-7 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b9f399 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:27 provisioning config files... 18:42:27 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config8981486734330536468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:28 ---> docker-login.sh 18:42:28 nexus3.edgexfoundry.org:10001 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10002 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10003 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10004 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 docker.io 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:29 Configure a credential helper to remove this warning. See 18:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:29 18:42:29 Login Succeeded 18:42:29 ---> docker-login.sh ends [Pipeline] } 18:42:29 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:42:29 + git log --format=format:%s -1 5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] echo 18:42:29 GIT_COMMIT: 5b9f3990bd19d1d877eb764c372f2943ddbee698, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo 18:42:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:30 18:42:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:42:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:31 latest: Pulling from edgex-devops/git-semver 18:42:31 31603596830f: Pulling fs layer 18:42:31 d4622e32a9a9: Pulling fs layer 18:42:31 1030fce36090: Pulling fs layer 18:42:31 6c6cb7e1b49b: Pulling fs layer 18:42:31 6c6cb7e1b49b: Waiting 18:42:31 d4622e32a9a9: Verifying Checksum 18:42:31 d4622e32a9a9: Download complete 18:42:31 31603596830f: Verifying Checksum 18:42:31 31603596830f: Download complete 18:42:31 31603596830f: Pull complete 18:42:31 d4622e32a9a9: Pull complete 18:42:31 6c6cb7e1b49b: Verifying Checksum 18:42:31 6c6cb7e1b49b: Download complete 18:42:31 1030fce36090: Verifying Checksum 18:42:31 1030fce36090: Download complete 18:42:32 1030fce36090: Pull complete 18:42:32 6c6cb7e1b49b: Pull complete 18:42:32 Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab 18:42:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:42:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:42:32 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 18:42:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-7 -v /w/workspace/edgexfoundry_device-gpio_PR-7:/w/workspace/edgexfoundry_device-gpio_PR-7:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-7@tmp:/w/workspace/edgexfoundry_device-gpio_PR-7@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:42:33 $ docker top dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:33 [ssh-agent] Looking for ssh-agent implementation... 18:42:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:33 $ docker exec dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent 18:42:33 SSH_AUTH_SOCK=/tmp/ssh-ovQyuWDJJ7kV/agent.14 18:42:33 SSH_AGENT_PID=21 18:42:33 Running ssh-add (command line suppressed) 18:42:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-7@tmp/private_key_2913704777184329304.key (/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/private_key_2913704777184329304.key) 18:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:34 + git tag --points-at HEAD [Pipeline] } 18:42:34 $ docker exec --env ******** --env ******** dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent -k 18:42:34 unset SSH_AUTH_SOCK; 18:42:34 unset SSH_AGENT_PID; 18:42:34 echo Agent pid 21 killed; 18:42:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:34 [ssh-agent] Looking for ssh-agent implementation... 18:42:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:34 $ docker exec dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent 18:42:34 SSH_AUTH_SOCK=/tmp/ssh-p1Uu9ksvPxaA/agent.54 18:42:34 SSH_AGENT_PID=60 18:42:34 Running ssh-add (command line suppressed) 18:42:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-7@tmp/private_key_447545779521488795.key (/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/private_key_447545779521488795.key) 18:42:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:35 + git semver init 18:42:35 # -> Open(): unable to determine branch for HEAD 18:42:35 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-7/.git 18:42:35 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-7 18:42:35 # $SEMVER_REMOTE_NAME = origin 18:42:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:42:35 # $SEMVER_USER_NAME = edgex-jenkins 18:42:35 # $SEMVER_BRANCH = PR-7 18:42:35 # $SEMVER_TEMP = /tmp/semver-893196678 18:42:35 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 18:42:36 # '/tmp/semver-893196678' -> '/w/workspace/edgexfoundry_device-gpio_PR-7/.semver' 18:42:36 # -> Force: false 18:42:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-7/.semver [Pipeline] } 18:42:36 $ docker exec --env ******** --env ******** dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent -k 18:42:36 unset SSH_AUTH_SOCK; 18:42:36 unset SSH_AGENT_PID; 18:42:36 echo Agent pid 60 killed; 18:42:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:37 + git semver [Pipeline] } 18:42:37 $ docker stop --time=1 dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e 18:42:38 $ docker rm -f dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e [Pipeline] // withDockerContainer [Pipeline] sh 18:42:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:39 Stashed 1 file(s) [Pipeline] echo 18:42:39 [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:42:55 Still waiting to schedule task 18:42:55 ‘prd-centos7-docker-4c-2g-1064’ is offline 18:42:55 ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ 18:42:55 Still waiting to schedule task 18:42:55 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:44:41 Running on prd-centos7-docker-4c-2g-1080 in /w/workspace/edgexfoundry_device-gpio_PR-7 [Pipeline] { [Pipeline] ws 18:44:41 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:44:41 The recommended git tool is: git 18:44:44 using credential edgex-jenkins-ssh 18:44:44 Cloning the remote Git repository 18:44:44 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:44:44 > git init /w/workspace/device-gpio/1 # timeout=10 18:44:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:44:44 > git --version # timeout=10 18:44:44 > git --version # 'git version 2.24.4' 18:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:44 [INFO] Currently running in a labeled security context 18:44:44 [INFO] Currently SELinux is 'enforcing' on the host 18:44:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh976143325242879980.key 18:44:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:46 Merging remotes/origin/main commit a58aad29095140be52c6929c61b528ab5189762a into PR head commit 5b9f3990bd19d1d877eb764c372f2943ddbee698 18:44:46 Merge succeeded, producing 5b9f3990bd19d1d877eb764c372f2943ddbee698 18:44:46 Checking out Revision 5b9f3990bd19d1d877eb764c372f2943ddbee698 (PR-7) 18:44:45 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:44:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:45 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:44:45 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:45 [INFO] Currently running in a labeled security context 18:44:45 [INFO] Currently SELinux is 'enforcing' on the host 18:44:45 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh6305762363548514946.key 18:44:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/7/head:refs/remotes/origin/PR-7 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:44:46 > git config core.sparsecheckout # timeout=10 18:44:46 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 18:44:46 > git remote # timeout=10 18:44:46 > git config --get remote.origin.url # timeout=10 18:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:46 [INFO] Currently running in a labeled security context 18:44:46 [INFO] Currently SELinux is 'enforcing' on the host 18:44:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh1671154416694294140.key 18:44:46 > git merge a58aad29095140be52c6929c61b528ab5189762a # timeout=10 18:44:46 > git rev-parse HEAD^{commit} # timeout=10 18:44:46 > git config core.sparsecheckout # timeout=10 18:44:46 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 18:44:50 Commit message: "ci: remove need for CI specific Dockerfile" 18:44:50 > git --version # timeout=10 18:44:50 > git --version # 'git version 2.24.4' 18:44:50 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:50 provisioning config files... 18:44:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config970815417941044733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:51 ---> docker-login.sh 18:44:51 nexus3.edgexfoundry.org:10001 18:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:51 Configure a credential helper to remove this warning. See 18:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:51 18:44:51 Login Succeeded 18:44:51 nexus3.edgexfoundry.org:10002 18:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:51 Configure a credential helper to remove this warning. See 18:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:51 18:44:51 Login Succeeded 18:44:51 nexus3.edgexfoundry.org:10003 18:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:51 Configure a credential helper to remove this warning. See 18:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:51 18:44:51 Login Succeeded 18:44:51 nexus3.edgexfoundry.org:10004 18:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:51 Configure a credential helper to remove this warning. See 18:44:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:51 18:44:51 Login Succeeded 18:44:52 docker.io 18:44:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:52 Configure a credential helper to remove this warning. See 18:44:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:52 18:44:52 Login Succeeded 18:44:52 ---> docker-login.sh ends [Pipeline] } 18:44:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:53 ========================================================= 18:44:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:44:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:44:53 + 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:44:53 Sending build context to Docker daemon 5.5MB 18:44:53 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 18:44:53 Step 2/10 : FROM ${BASE} AS builder 18:44:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:53 540db60ca938: Pulling fs layer 18:44:53 adcc1eea9eea: Pulling fs layer 18:44:53 4c4ab2625f07: Pulling fs layer 18:44:53 db62176df00c: Pulling fs layer 18:44:53 3b30891b0d05: Pulling fs layer 18:44:53 06b49ca38bd5: Pulling fs layer 18:44:53 c788192a36de: Pulling fs layer 18:44:53 a77e37c0d609: Pulling fs layer 18:44:53 c3185cebc471: Pulling fs layer 18:44:53 db62176df00c: Waiting 18:44:53 3b30891b0d05: Waiting 18:44:53 06b49ca38bd5: Waiting 18:44:53 c788192a36de: Waiting 18:44:53 a77e37c0d609: Waiting 18:44:53 c3185cebc471: Waiting 18:44:53 4c4ab2625f07: Verifying Checksum 18:44:53 4c4ab2625f07: Download complete 18:44:53 adcc1eea9eea: Verifying Checksum 18:44:53 adcc1eea9eea: Download complete 18:44:53 3b30891b0d05: Verifying Checksum 18:44:53 3b30891b0d05: Download complete 18:44:53 06b49ca38bd5: Verifying Checksum 18:44:53 06b49ca38bd5: Download complete 18:44:54 c788192a36de: Verifying Checksum 18:44:54 c788192a36de: Download complete 18:44:54 540db60ca938: Verifying Checksum 18:44:54 540db60ca938: Download complete 18:44:54 540db60ca938: Pull complete 18:44:54 adcc1eea9eea: Pull complete 18:44:54 4c4ab2625f07: Pull complete 18:44:54 a77e37c0d609: Verifying Checksum 18:44:54 a77e37c0d609: Download complete 18:44:58 c3185cebc471: Verifying Checksum 18:44:58 c3185cebc471: Download complete 18:44:58 db62176df00c: Verifying Checksum 18:44:58 db62176df00c: Download complete 18:45:03 db62176df00c: Pull complete 18:45:03 3b30891b0d05: Pull complete 18:45:03 06b49ca38bd5: Pull complete 18:45:03 c788192a36de: Pull complete 18:45:03 a77e37c0d609: Pull complete 18:45:06 c3185cebc471: Pull complete 18:45:06 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 18:45:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:45:06 ---> 031687cdd783 18:45:06 Step 3/10 : ARG MAKE='make build' 18:45:08 ---> Running in b53321c77d56 18:45:08 Removing intermediate container b53321c77d56 18:45:08 ---> 65498e907231 18:45:08 Step 4/10 : WORKDIR /device-gpio 18:45:08 ---> Running in f9e2eddb544f 18:45:08 Removing intermediate container f9e2eddb544f 18:45:08 ---> 9cf12667ffc2 18:45:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:45:08 ---> Running in 61141ac92b28 18:45:08 Removing intermediate container 61141ac92b28 18:45:08 ---> 6c57076fbea6 18:45:08 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:08 ---> Running in 2f67f2552246 18:45:08 Removing intermediate container 2f67f2552246 18:45:08 ---> 214ff7b20dd9 18:45:08 Step 7/10 : RUN apk add --update --no-cache make git 18:45:09 ---> Running in 2d1d984ccc3d 18:45:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:45:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:45:11 OK: 219 MiB in 52 packages 18:45:11 Removing intermediate container 2d1d984ccc3d 18:45:11 ---> b6b358948038 18:45:11 Step 8/10 : COPY . . 18:45:11 ---> df1368bed46a 18:45:11 Step 9/10 : RUN go mod tidy 18:45:11 ---> Running in c9b3e3de5633 18:45:14 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 18:45:14 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 18:45:14 go: downloading github.com/spf13/cast v1.3.1 18:45:14 go: downloading github.com/warthog618/gpiod v0.6.0 18:45:14 go: downloading github.com/gorilla/mux v1.8.0 18:45:14 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:45:14 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 18:45:14 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 18:45:14 go: downloading github.com/google/uuid v1.1.2 18:45:14 go: downloading github.com/stretchr/testify v1.5.1 18:45:14 go: downloading github.com/go-kit/kit v0.8.0 18:45:14 go: downloading github.com/x448/float16 v0.8.4 18:45:14 go: downloading github.com/OneOfOne/xxhash v1.2.8 18:45:14 go: downloading gopkg.in/yaml.v2 v2.4.0 18:45:14 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 18:45:14 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 18:45:14 go: downloading github.com/davecgh/go-spew v1.1.1 18:45:14 go: downloading github.com/pmezard/go-difflib v1.0.0 18:45:14 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:45:14 go: downloading github.com/go-stack/stack v1.8.0 18:45:14 go: downloading github.com/go-playground/validator/v10 v10.3.0 18:45:14 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:45:15 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 18:45:15 go: downloading github.com/BurntSushi/toml v0.3.1 18:45:15 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 18:45:15 go: downloading github.com/pelletier/go-toml v1.2.0 18:45:15 go: downloading github.com/hashicorp/consul/api v1.1.0 18:45:15 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:45:15 go: downloading github.com/go-playground/universal-translator v0.17.0 18:45:15 go: downloading github.com/leodido/go-urn v1.2.0 18:45:15 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:45:15 go: downloading github.com/go-playground/locales v0.13.0 18:45:15 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:45:15 go: downloading github.com/kr/pretty v0.1.0 18:45:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:45:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:45:16 go: downloading github.com/hashicorp/serf v0.8.2 18:45:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:45:16 go: downloading github.com/hashicorp/consul/sdk v0.1.1 18:45:16 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:45:16 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:45:16 go: downloading github.com/kr/text v0.1.0 18:45:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:45:16 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:45:16 go: downloading github.com/pkg/errors v0.8.1 18:45:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:45:16 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:45:16 go: downloading github.com/hashicorp/memberlist v0.1.3 18:45:16 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:45:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:45:16 go: downloading github.com/mitchellh/copystructure v1.0.0 18:45:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:45:16 go: downloading github.com/google/btree v1.0.0 18:45:16 go: downloading github.com/hashicorp/go-multierror v1.0.0 18:45:16 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 18:45:16 go: downloading github.com/miekg/dns v1.1.4 18:45:16 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:45:16 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:45:16 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:45:16 go: downloading github.com/hashicorp/errwrap v1.0.0 18:45:16 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:45:16 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 18:45:22 Removing intermediate container c9b3e3de5633 18:45:22 ---> d89d6e021885 18:45:22 Step 10/10 : RUN ${MAKE} 18:45:22 ---> Running in b803f044bad5 18:45:22 noop 18:45:22 Removing intermediate container b803f044bad5 18:45:22 ---> 7ab6893aca74 18:45:22 Successfully built 7ab6893aca74 18:45:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:45:23 + docker inspect -f . ci-base-image-x86_64 18:45:23 . [Pipeline] withDockerContainer 18:45:23 prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container 18:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:45:23 $ docker top cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:24 + go version 18:45:24 go version go1.16.6 linux/amd64 [Pipeline] } 18:45:24 $ docker stop --time=1 cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 18:45:25 $ docker rm -f cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:45:26 + docker inspect -f . ci-base-image-x86_64 18:45:26 . [Pipeline] withDockerContainer 18:45:26 prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container 18:45:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:45:26 $ docker top 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:45:27 + go mod tidy [Pipeline] sh 18:45:27 + make test 18:45:27 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:45:32 ? github.com/edgexfoundry/device-gpio [no test files] 18:45:47 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:45:47 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:45:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:45:54 gofmt -l . 18:45:54 [ "`gofmt -l .`" = "" ] 18:45:54 ./bin/test-attribution-txt.sh 18:45:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:45:54 $ docker stop --time=1 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b 18:45:55 $ docker rm -f 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b [Pipeline] // withDockerContainer [Pipeline] sh 18:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:45:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:57 + ls -al . 18:45:57 total 108 18:45:57 drwxrwxr-x. 7 jenkins jenkins 4096 Aug 17 18:45 . 18:45:57 drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 18:44 .. 18:45:57 -rw-rw-r--. 1 jenkins jenkins 5451 Aug 17 18:44 Attribution.txt 18:45:57 drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 18:44 bin 18:45:57 drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 18:44 cmd 18:45:57 -rw-r--r--. 1 jenkins jenkins 10 Aug 17 18:45 coverage.out 18:45:57 -rw-rw-r--. 1 jenkins jenkins 1502 Aug 17 18:44 Dockerfile 18:45:57 -rw-rw-r--. 1 jenkins jenkins 120 Aug 17 18:44 .dockerignore 18:45:57 drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 18:44 .git 18:45:57 drwxrwxr-x. 2 jenkins jenkins 81 Aug 17 18:44 .github 18:45:57 -rw-rw-r--. 1 jenkins jenkins 350 Aug 17 18:44 .gitignore 18:45:57 -rw-r--r--. 1 jenkins jenkins 379 Aug 17 18:45 go.mod 18:45:57 -rw-r--r--. 1 jenkins jenkins 30244 Aug 17 18:45 go.sum 18:45:57 -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 18:44 GOVERNANCE.md 18:45:57 drwxrwxr-x. 3 jenkins jenkins 20 Aug 17 18:44 internal 18:45:57 -rw-rw-r--. 1 jenkins jenkins 657 Aug 17 18:44 Jenkinsfile 18:45:57 -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 18:44 LICENSE 18:45:57 -rw-rw-r--. 1 jenkins jenkins 906 Aug 17 18:44 Makefile 18:45:57 -rw-rw-r--. 1 jenkins jenkins 617 Aug 17 18:44 OWNERS.md 18:45:57 -rw-rw-r--. 1 jenkins jenkins 8048 Aug 17 18:44 README.md 18:45:57 -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 18:42 VERSION 18:45:57 -rw-rw-r--. 1 jenkins jenkins 209 Aug 17 18:44 version.go [Pipeline] isUnix [Pipeline] sh 18:45:58 + 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=5b9f3990bd19d1d877eb764c372f2943ddbee698 --label arch=amd64 --label version=0.0.0 . 18:45:58 Sending build context to Docker daemon 5.501MB 18:45:58 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 18:45:58 Step 2/23 : FROM ${BASE} AS builder 18:45:58 ---> 7ab6893aca74 18:45:58 Step 3/23 : ARG MAKE='make build' 18:45:58 ---> Running in a70ed12e79a6 18:45:58 Removing intermediate container a70ed12e79a6 18:45:58 ---> 69ed579232ca 18:45:58 Step 4/23 : WORKDIR /device-gpio 18:45:58 ---> Running in 2eb4b687d6e8 18:45:58 Removing intermediate container 2eb4b687d6e8 18:45:58 ---> ddae3c545ad2 18:45:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:45:58 ---> Running in f517b17dbff3 18:45:58 Removing intermediate container f517b17dbff3 18:45:58 ---> afe1e47a7f43 18:45:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:45:58 ---> Running in c3d34e0ed841 18:45:58 Removing intermediate container c3d34e0ed841 18:45:58 ---> 8e960446deeb 18:45:58 Step 7/23 : RUN apk add --update --no-cache make git 18:45:58 ---> Running in 25fcc89f6f86 18:45:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:46:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:46:00 OK: 219 MiB in 52 packages 18:46:00 Removing intermediate container 25fcc89f6f86 18:46:00 ---> 51585a2c392e 18:46:00 Step 8/23 : COPY . . 18:46:01 ---> 973a3788ba8d 18:46:01 Step 9/23 : RUN go mod tidy 18:46:01 ---> Running in 1c586e0d4e68 18:46:01 Removing intermediate container 1c586e0d4e68 18:46:01 ---> 1f24e342e18e 18:46:01 Step 10/23 : RUN ${MAKE} 18:46:01 ---> Running in d120e21e8dfa 18:46:02 go mod tidy 18:46:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 18:46:14 Removing intermediate container d120e21e8dfa 18:46:14 ---> 225ae7c6428f 18:46:14 Step 11/23 : FROM scratch 18:46:14 ---> 18:46:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:46:14 ---> Running in b7fff24fa8c6 18:46:14 Removing intermediate container b7fff24fa8c6 18:46:14 ---> 1334d4c946ef 18:46:14 Step 13/23 : ENV APP_PORT=49994 18:46:14 ---> Running in 031f43e71ea8 18:46:14 Removing intermediate container 031f43e71ea8 18:46:14 ---> f0a72a70b3e5 18:46:14 Step 14/23 : EXPOSE $APP_PORT 18:46:14 ---> Running in dba3fcb828f5 18:46:14 Removing intermediate container dba3fcb828f5 18:46:14 ---> c235e00bd3bf 18:46:14 Step 15/23 : WORKDIR / 18:46:14 ---> Running in 5babf39b65bb 18:46:14 Removing intermediate container 5babf39b65bb 18:46:14 ---> aaa0b00be6e0 18:46:14 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 18:46:14 ---> 1769fb015d63 18:46:14 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 18:46:14 ---> 80f1a3569b52 18:46:14 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 18:46:14 ---> 596b44aee12e 18:46:14 Step 19/23 : ENTRYPOINT ["/device-gpio"] 18:46:14 ---> Running in c9807b81f744 18:46:14 Removing intermediate container c9807b81f744 18:46:14 ---> 26292a581246 18:46:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:46:14 ---> Running in c93e318a6dbe 18:46:14 Removing intermediate container c93e318a6dbe 18:46:14 ---> 5286d2a7e68b 18:46:14 Step 21/23 : LABEL arch=amd64 18:46:14 ---> Running in 637d673e20bf 18:46:14 Removing intermediate container 637d673e20bf 18:46:14 ---> d99760ac64d5 18:46:14 Step 22/23 : LABEL git_sha=5b9f3990bd19d1d877eb764c372f2943ddbee698 18:46:14 ---> Running in b08a1099f52a 18:46:14 Removing intermediate container b08a1099f52a 18:46:14 ---> 54488fb81290 18:46:14 Step 23/23 : LABEL version=0.0.0 18:46:14 ---> Running in faadb9191078 18:46:15 Removing intermediate container faadb9191078 18:46:15 ---> f053cea4e274 18:46:15 [Warning] One or more build-args [ARCH] were not consumed 18:46:15 Successfully built f053cea4e274 18:46:15 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:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:15 18:46:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:16 latest: Pulling from edgex-lftools-log-publisher 18:46:16 b4d181a07f80: Pulling fs layer 18:46:16 a1111a8f2ec3: Pulling fs layer 18:46:16 ed53099fbce6: Pulling fs layer 18:46:16 dc539afda2c1: Pulling fs layer 18:46:16 77bc0d833cb6: Pulling fs layer 18:46:16 9065ff56babe: Pulling fs layer 18:46:16 d287ab97295c: Pulling fs layer 18:46:16 dc539afda2c1: Waiting 18:46:16 77bc0d833cb6: Waiting 18:46:16 9065ff56babe: Waiting 18:46:16 d287ab97295c: Waiting 18:46:16 a1111a8f2ec3: Verifying Checksum 18:46:16 a1111a8f2ec3: Download complete 18:46:16 dc539afda2c1: Verifying Checksum 18:46:16 dc539afda2c1: Download complete 18:46:16 77bc0d833cb6: Verifying Checksum 18:46:16 77bc0d833cb6: Download complete 18:46:16 9065ff56babe: Verifying Checksum 18:46:16 9065ff56babe: Download complete 18:46:17 ed53099fbce6: Verifying Checksum 18:46:17 ed53099fbce6: Download complete 18:46:17 b4d181a07f80: Verifying Checksum 18:46:17 b4d181a07f80: Download complete 18:46:18 b4d181a07f80: Pull complete 18:46:18 a1111a8f2ec3: Pull complete 18:46:19 ed53099fbce6: Pull complete 18:46:19 dc539afda2c1: Pull complete 18:46:19 77bc0d833cb6: Pull complete 18:46:19 9065ff56babe: Pull complete 18:46:20 d287ab97295c: Verifying Checksum 18:46:20 d287ab97295c: Download complete 18:46:24 d287ab97295c: Pull complete 18:46:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:46:25 prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container 18:46:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:27 $ docker top 608505f95a5bb1d95bdeae49ad502799f63b82503883f0b7df831d3367a89bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:28 ---> job-cost.sh 18:46:28 lf-activate-venv: SKIPPING 18:46:28 INFO: No Stack... 18:46:29 INFO: Retrieving Pricing Info for: v3-standard-2 18:46:29 INFO: Archiving Costs [Pipeline] sh 18:46:30 + cat /w/workspace/device-gpio/1/archives/cost.csv 18:46:30 + cut -d, -f6 [Pipeline] lock 18:46:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] 18:46:30 Resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] did not exist. Created. 18:46:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:30 + echo total: 0.05999999865889549 [Pipeline] stash 18:46:30 Stashed 1 file(s) [Pipeline] } 18:46:30 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:30 $ docker stop --time=1 608505f95a5bb1d95bdeae49ad502799f63b82503883f0b7df831d3367a89bdf 18:46:32 $ docker rm -f 608505f95a5bb1d95bdeae49ad502799f63b82503883f0b7df831d3367a89bdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:51:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1483 in /w/workspace/edgexfoundry_device-gpio_PR-7 [Pipeline] { [Pipeline] ws 18:51:59 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 18:52:00 The recommended git tool is: git 18:52:05 using credential edgex-jenkins-ssh 18:52:05 Cloning the remote Git repository 18:52:05 Cloning repository git@github.com:edgexfoundry/device-gpio.git 18:52:05 > git init /w/workspace/device-gpio/1 # timeout=10 18:52:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:52:05 > git --version # timeout=10 18:52:05 > git --version # 'git version 2.17.1' 18:52:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:08 Merging remotes/origin/main commit a58aad29095140be52c6929c61b528ab5189762a into PR head commit 5b9f3990bd19d1d877eb764c372f2943ddbee698 18:52:08 Merge succeeded, producing 5b9f3990bd19d1d877eb764c372f2943ddbee698 18:52:08 Checking out Revision 5b9f3990bd19d1d877eb764c372f2943ddbee698 (PR-7) 18:52:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:52:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 18:52:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 18:52:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/7/head:refs/remotes/origin/PR-7 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:52:08 > git config core.sparsecheckout # timeout=10 18:52:08 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 18:52:08 > git remote # timeout=10 18:52:08 > git config --get remote.origin.url # timeout=10 18:52:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:08 > git merge a58aad29095140be52c6929c61b528ab5189762a # timeout=10 18:52:08 > git rev-parse HEAD^{commit} # timeout=10 18:52:08 > git config core.sparsecheckout # timeout=10 18:52:08 > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 18:52:12 Commit message: "ci: remove need for CI specific Dockerfile" 18:52:12 > git --version # timeout=10 18:52:12 > git --version # 'git version 2.17.1' 18:52:12 fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:13 provisioning config files... 18:52:13 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5986033106294546834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:14 ---> docker-login.sh 18:52:14 nexus3.edgexfoundry.org:10001 18:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:14 Configure a credential helper to remove this warning. See 18:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:14 18:52:14 Login Succeeded 18:52:15 nexus3.edgexfoundry.org:10002 18:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:15 Configure a credential helper to remove this warning. See 18:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:15 18:52:15 Login Succeeded 18:52:15 nexus3.edgexfoundry.org:10003 18:52:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:16 Configure a credential helper to remove this warning. See 18:52:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:16 18:52:16 Login Succeeded 18:52:16 nexus3.edgexfoundry.org:10004 18:52:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:16 Configure a credential helper to remove this warning. See 18:52:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:16 18:52:16 Login Succeeded 18:52:16 docker.io 18:52:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:17 Configure a credential helper to remove this warning. See 18:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:17 18:52:17 Login Succeeded 18:52:17 ---> docker-login.sh ends [Pipeline] } 18:52:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:18 ========================================================= 18:52:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:52:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:52:18 + 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:52:18 Sending build context to Docker daemon 5.499MB 18:52:19 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 18:52:19 Step 2/10 : FROM ${BASE} AS builder 18:52:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:52:19 595b0fe564bb: Pulling fs layer 18:52:19 24495759ef45: Pulling fs layer 18:52:19 d148012ef14d: Pulling fs layer 18:52:19 e90a11edd702: Pulling fs layer 18:52:19 d77568369979: Pulling fs layer 18:52:19 fc1c9f9a7f3b: Pulling fs layer 18:52:19 170f2ba95c9a: Pulling fs layer 18:52:19 97ac5df62f85: Pulling fs layer 18:52:19 d77568369979: Waiting 18:52:19 e90a11edd702: Waiting 18:52:19 fc1c9f9a7f3b: Waiting 18:52:19 170f2ba95c9a: Waiting 18:52:19 97ac5df62f85: Waiting 18:52:19 d148012ef14d: Download complete 18:52:19 24495759ef45: Download complete 18:52:19 d77568369979: Verifying Checksum 18:52:19 d77568369979: Download complete 18:52:19 fc1c9f9a7f3b: Verifying Checksum 18:52:19 fc1c9f9a7f3b: Download complete 18:52:19 595b0fe564bb: Verifying Checksum 18:52:19 595b0fe564bb: Download complete 18:52:19 170f2ba95c9a: Verifying Checksum 18:52:19 170f2ba95c9a: Download complete 18:52:20 595b0fe564bb: Pull complete 18:52:20 24495759ef45: Pull complete 18:52:21 d148012ef14d: Pull complete 18:52:23 97ac5df62f85: Verifying Checksum 18:52:23 97ac5df62f85: Download complete 18:52:24 e90a11edd702: Verifying Checksum 18:52:24 e90a11edd702: Download complete 18:52:36 e90a11edd702: Pull complete 18:52:36 d77568369979: Pull complete 18:52:36 fc1c9f9a7f3b: Pull complete 18:52:36 170f2ba95c9a: Pull complete 18:52:42 97ac5df62f85: Pull complete 18:52:42 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 18:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:52:42 ---> 04bc70af865f 18:52:42 Step 3/10 : ARG MAKE='make build' 18:52:47 ---> Running in 3de0898f2bd9 18:52:47 Removing intermediate container 3de0898f2bd9 18:52:47 ---> b3d9aea6c06c 18:52:47 Step 4/10 : WORKDIR /device-gpio 18:52:47 ---> Running in d6cc87a7034e 18:52:48 Removing intermediate container d6cc87a7034e 18:52:48 ---> 7a4e941820fe 18:52:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:52:48 ---> Running in a00134fccd1b 18:52:48 Removing intermediate container a00134fccd1b 18:52:48 ---> f1e38f8abb53 18:52:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:52:48 ---> Running in 553fe7b5f125 18:52:52 Removing intermediate container 553fe7b5f125 18:52:52 ---> 4bbc474b646e 18:52:52 Step 7/10 : RUN apk add --update --no-cache make git 18:52:52 ---> Running in e535e13b0dfd 18:52:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:52:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:52:55 OK: 218 MiB in 52 packages 18:52:56 Removing intermediate container e535e13b0dfd 18:52:56 ---> 5c428a2798f3 18:52:56 Step 8/10 : COPY . . 18:52:57 ---> db235b1d8942 18:52:57 Step 9/10 : RUN go mod tidy 18:52:57 ---> Running in 2fe40d7f8c4d 18:53:02 go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 18:53:02 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 18:53:02 go: downloading github.com/spf13/cast v1.3.1 18:53:02 go: downloading github.com/warthog618/gpiod v0.6.0 18:53:02 go: downloading github.com/gorilla/mux v1.8.0 18:53:02 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 18:53:02 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 18:53:03 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 18:53:03 go: downloading github.com/stretchr/testify v1.5.1 18:53:03 go: downloading github.com/google/uuid v1.1.2 18:53:03 go: downloading github.com/go-kit/kit v0.8.0 18:53:03 go: downloading github.com/OneOfOne/xxhash v1.2.8 18:53:03 go: downloading gopkg.in/yaml.v2 v2.4.0 18:53:03 go: downloading github.com/x448/float16 v0.8.4 18:53:03 go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae 18:53:03 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 18:53:03 go: downloading github.com/davecgh/go-spew v1.1.1 18:53:03 go: downloading github.com/pmezard/go-difflib v1.0.0 18:53:03 go: downloading github.com/go-playground/validator/v10 v10.3.0 18:53:03 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 18:53:03 go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 18:53:03 go: downloading github.com/BurntSushi/toml v0.3.1 18:53:03 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 18:53:03 go: downloading github.com/pelletier/go-toml v1.2.0 18:53:03 go: downloading github.com/hashicorp/consul/api v1.1.0 18:53:03 go: downloading github.com/go-logfmt/logfmt v0.4.0 18:53:03 go: downloading github.com/go-stack/stack v1.8.0 18:53:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:53:04 go: downloading github.com/kr/pretty v0.1.0 18:53:04 go: downloading github.com/go-playground/universal-translator v0.17.0 18:53:04 go: downloading github.com/leodido/go-urn v1.2.0 18:53:04 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:53:04 go: downloading github.com/go-playground/locales v0.13.0 18:53:04 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 18:53:04 go: downloading github.com/kr/text v0.1.0 18:53:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:53:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 18:53:04 go: downloading github.com/hashicorp/serf v0.8.2 18:53:05 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:53:05 go: downloading github.com/hashicorp/consul/sdk v0.1.1 18:53:05 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:53:05 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:53:07 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:53:07 go: downloading github.com/mitchellh/go-homedir v1.1.0 18:53:07 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:53:07 go: downloading github.com/pkg/errors v0.8.1 18:53:07 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:53:07 go: downloading github.com/hashicorp/memberlist v0.1.3 18:53:07 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:53:07 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:53:07 go: downloading github.com/mitchellh/copystructure v1.0.0 18:53:07 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:53:07 go: downloading github.com/google/btree v1.0.0 18:53:07 go: downloading github.com/hashicorp/go-multierror v1.0.0 18:53:07 go: downloading github.com/hashicorp/go-sockaddr v1.0.1 18:53:07 go: downloading github.com/miekg/dns v1.1.4 18:53:07 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:53:07 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:53:07 go: downloading github.com/hashicorp/golang-lru v0.5.1 18:53:07 go: downloading github.com/hashicorp/errwrap v1.0.0 18:53:07 go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 18:53:07 go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 18:53:22 Removing intermediate container 2fe40d7f8c4d 18:53:22 ---> 7ea222d7e004 18:53:22 Step 10/10 : RUN ${MAKE} 18:53:22 ---> Running in b709782a39fa 18:53:22 noop 18:53:22 Removing intermediate container b709782a39fa 18:53:22 ---> 3d47fc585ea4 18:53:22 Successfully built 3d47fc585ea4 18:53:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:53:23 + docker inspect -f . ci-base-image-arm64 18:53:23 . [Pipeline] withDockerContainer 18:53:23 prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container 18:53:23 $ 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:53:26 $ docker top 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:27 + go version 18:53:27 go version go1.16.6 linux/arm64 [Pipeline] } 18:53:27 $ docker stop --time=1 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf 18:53:29 $ docker rm -f 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:53:30 + docker inspect -f . ci-base-image-arm64 18:53:30 . [Pipeline] withDockerContainer 18:53:31 prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container 18:53:31 $ 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:53:33 $ docker top 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:53:34 + go mod tidy [Pipeline] sh 18:53:35 + make test 18:53:35 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:53:36 ? github.com/edgexfoundry/device-gpio [no test files] 18:54:24 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 18:54:24 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 18:54:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:54:42 gofmt -l . 18:54:42 [ "`gofmt -l .`" = "" ] 18:54:42 ./bin/test-attribution-txt.sh 18:54:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:54:42 $ docker stop --time=1 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 18:54:44 $ docker rm -f 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 [Pipeline] // withDockerContainer [Pipeline] sh 18:54:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:45 Warning: overwriting stash ‘coverage-report’ 18:54:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:46 + ls -al . 18:54:46 total 132 18:54:46 drwxrwxr-x 7 jenkins jenkins 4096 Aug 17 18:54 . 18:54:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 18:52 .. 18:54:46 -rw-rw-r-- 1 jenkins jenkins 120 Aug 17 18:52 .dockerignore 18:54:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 18:52 .git 18:54:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 18:52 .github 18:54:46 -rw-rw-r-- 1 jenkins jenkins 350 Aug 17 18:52 .gitignore 18:54:46 -rw-rw-r-- 1 jenkins jenkins 5451 Aug 17 18:52 Attribution.txt 18:54:46 -rw-rw-r-- 1 jenkins jenkins 1502 Aug 17 18:52 Dockerfile 18:54:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 18:52 GOVERNANCE.md 18:54:46 -rw-rw-r-- 1 jenkins jenkins 657 Aug 17 18:52 Jenkinsfile 18:54:46 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 18:52 LICENSE 18:54:46 -rw-rw-r-- 1 jenkins jenkins 906 Aug 17 18:52 Makefile 18:54:46 -rw-rw-r-- 1 jenkins jenkins 617 Aug 17 18:52 OWNERS.md 18:54:46 -rw-rw-r-- 1 jenkins jenkins 8048 Aug 17 18:52 README.md 18:54:46 -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 18:42 VERSION 18:54:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 18:52 bin 18:54:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 18:52 cmd 18:54:46 -rw-r--r-- 1 jenkins jenkins 10 Aug 17 18:53 coverage.out 18:54:46 -rw-r--r-- 1 jenkins jenkins 379 Aug 17 18:54 go.mod 18:54:46 -rw-r--r-- 1 jenkins jenkins 30244 Aug 17 18:53 go.sum 18:54:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 18:52 internal 18:54:46 -rw-rw-r-- 1 jenkins jenkins 209 Aug 17 18:52 version.go [Pipeline] isUnix [Pipeline] sh 18:54:47 + 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=5b9f3990bd19d1d877eb764c372f2943ddbee698 --label arch=arm64 --label version=0.0.0 . 18:54:47 Sending build context to Docker daemon 5.5MB 18:54:47 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 18:54:47 Step 2/23 : FROM ${BASE} AS builder 18:54:47 ---> 3d47fc585ea4 18:54:47 Step 3/23 : ARG MAKE='make build' 18:54:48 ---> Running in df333d405f61 18:54:48 Removing intermediate container df333d405f61 18:54:48 ---> 33eb4374ffc4 18:54:48 Step 4/23 : WORKDIR /device-gpio 18:54:48 ---> Running in 40f73f8d1a7b 18:54:49 Removing intermediate container 40f73f8d1a7b 18:54:49 ---> abb88b991502 18:54:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:54:49 ---> Running in 7fc76f7b76ec 18:54:50 Removing intermediate container 7fc76f7b76ec 18:54:50 ---> 2df14d6e1399 18:54:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:54:50 ---> Running in e7aaa38d0435 18:54:52 Removing intermediate container e7aaa38d0435 18:54:52 ---> 0b1200ae2fb9 18:54:52 Step 7/23 : RUN apk add --update --no-cache make git 18:54:52 ---> Running in 05521f07defb 18:54:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:54:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:54:56 OK: 218 MiB in 52 packages 18:54:57 Removing intermediate container 05521f07defb 18:54:57 ---> 86d1dfc3db35 18:54:57 Step 8/23 : COPY . . 18:54:58 ---> 243b73c92975 18:54:58 Step 9/23 : RUN go mod tidy 18:54:58 ---> Running in 9847a65ac357 18:55:01 Removing intermediate container 9847a65ac357 18:55:01 ---> 989233208690 18:55:01 Step 10/23 : RUN ${MAKE} 18:55:01 ---> Running in 753fa50a2814 18:55:03 go mod tidy 18:55:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 18:55:35 Removing intermediate container 753fa50a2814 18:55:35 ---> 52bd4f90ef14 18:55:35 Step 11/23 : FROM scratch 18:55:35 ---> 18:55:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 18:55:35 ---> Running in b40b6b2cb67a 18:55:35 Removing intermediate container b40b6b2cb67a 18:55:35 ---> f90c179a82bc 18:55:35 Step 13/23 : ENV APP_PORT=49994 18:55:35 ---> Running in 73746685b886 18:55:35 Removing intermediate container 73746685b886 18:55:35 ---> 2f7cf029d389 18:55:35 Step 14/23 : EXPOSE $APP_PORT 18:55:35 ---> Running in 1874bc2ecb56 18:55:35 Removing intermediate container 1874bc2ecb56 18:55:35 ---> 51c07b943f80 18:55:35 Step 15/23 : WORKDIR / 18:55:35 ---> Running in 695a91ab9c2e 18:55:35 Removing intermediate container 695a91ab9c2e 18:55:35 ---> 321ac806f59a 18:55:35 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 18:55:36 ---> 710a6a5f3806 18:55:36 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 18:55:36 ---> 718ae37bef28 18:55:36 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 18:55:38 ---> dad76c0fecaf 18:55:38 Step 19/23 : ENTRYPOINT ["/device-gpio"] 18:55:38 ---> Running in 4db9a7a122e4 18:55:39 Removing intermediate container 4db9a7a122e4 18:55:39 ---> 99fcfc8b8641 18:55:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:55:39 ---> Running in c7dd4cb34611 18:55:39 Removing intermediate container c7dd4cb34611 18:55:39 ---> a69fd3a5ba1a 18:55:39 Step 21/23 : LABEL arch=arm64 18:55:40 ---> Running in 6e1feacfdb50 18:55:40 Removing intermediate container 6e1feacfdb50 18:55:40 ---> 941f81f8cde5 18:55:40 Step 22/23 : LABEL git_sha=5b9f3990bd19d1d877eb764c372f2943ddbee698 18:55:40 ---> Running in 1b1941bf38a9 18:55:41 Removing intermediate container 1b1941bf38a9 18:55:41 ---> 7705a462b889 18:55:41 Step 23/23 : LABEL version=0.0.0 18:55:41 ---> Running in 7370dfdacb57 18:55:42 Removing intermediate container 7370dfdacb57 18:55:42 ---> d312c5dd0b51 18:55:42 [Warning] One or more build-args [ARCH] were not consumed 18:55:42 Successfully built d312c5dd0b51 18:55:42 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:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:43 18:55:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:55:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:43 arm64: Pulling from edgex-lftools-log-publisher 18:55:43 448f6bf000e3: Pulling fs layer 18:55:43 f757da607395: Pulling fs layer 18:55:43 05883995daec: Pulling fs layer 18:55:43 8603b9c90790: Pulling fs layer 18:55:43 1560dd03e051: Pulling fs layer 18:55:43 27f5ce0e4adf: Pulling fs layer 18:55:43 c2d8d7efcc4b: Pulling fs layer 18:55:43 8603b9c90790: Waiting 18:55:43 27f5ce0e4adf: Waiting 18:55:43 1560dd03e051: Waiting 18:55:43 c2d8d7efcc4b: Waiting 18:55:44 f757da607395: Verifying Checksum 18:55:44 f757da607395: Download complete 18:55:44 8603b9c90790: Verifying Checksum 18:55:44 8603b9c90790: Download complete 18:55:44 1560dd03e051: Verifying Checksum 18:55:44 1560dd03e051: Download complete 18:55:44 27f5ce0e4adf: Download complete 18:55:44 05883995daec: Verifying Checksum 18:55:44 05883995daec: Download complete 18:55:45 448f6bf000e3: Verifying Checksum 18:55:45 448f6bf000e3: Download complete 18:55:48 c2d8d7efcc4b: Verifying Checksum 18:55:48 c2d8d7efcc4b: Download complete 18:55:48 448f6bf000e3: Pull complete 18:55:49 f757da607395: Pull complete 18:55:50 05883995daec: Pull complete 18:55:51 8603b9c90790: Pull complete 18:55:52 1560dd03e051: Pull complete 18:55:52 27f5ce0e4adf: Pull complete 18:56:07 c2d8d7efcc4b: Pull complete 18:56:07 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:56:07 prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container 18:56:07 $ 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:56:13 $ docker top 470ba4a0159bbd27581f1e1651aece973539efbfedf1189f053a2ae29a028f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:14 ---> job-cost.sh 18:56:14 lf-activate-venv: SKIPPING 18:56:14 INFO: No Stack... 18:56:15 INFO: Retrieving Pricing Info for: v2-standard-4 18:56:15 INFO: Archiving Costs [Pipeline] sh 18:56:16 + cut -d, -f6 18:56:16 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 18:56:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] 18:56:16 Resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] did not exist. Created. 18:56:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:17 /w/workspace/device-gpio/1@tmp/durable-7c69d338/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-7c69d338/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:18 + echo total: 0.18000000715255737 [Pipeline] stash 18:56:18 Warning: overwriting stash ‘stack-cost’ 18:56:18 Stashed 1 file(s) [Pipeline] } 18:56:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:18 $ docker stop --time=1 470ba4a0159bbd27581f1e1651aece973539efbfedf1189f053a2ae29a028f77 18:56:20 $ docker rm -f 470ba4a0159bbd27581f1e1651aece973539efbfedf1189f053a2ae29a028f77 [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:56:21 provisioning config files... 18:56:21 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config8432840187980622817tmp [Pipeline] { [Pipeline] sh 18:56:21 + set +x 18:56:21 + curl -s https://codecov.io/bash 18:56:21 + bash -s -- 18:56:21 18:56:21 _____ _ 18:56:21 / ____| | | 18:56:21 | | ___ __| | ___ ___ _____ __ 18:56:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:21 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:21 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:21 Bash-1.0.6 18:56:21 18:56:21 18:56:21 ==> git version 2.24.4 found 18:56:21 ==> 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:56:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:56:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:56:21 ==> Jenkins CI detected. 18:56:21 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-7 18:56:21 project root: . 18:56:21 --> token set from env 18:56:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:21 ==> Running gcov in . (disable via -X gcov) 18:56:21 ==> Python coveragepy not found 18:56:21 ==> Searching for coverage reports in: 18:56:21 + . 18:56:22 -> Found 1 reports 18:56:22 ==> Detecting git/mercurial file structure 18:56:22 ==> Reading reports 18:56:22 + ./coverage.out bytes=10 18:56:22 ==> Appending adjustments 18:56:22 https://docs.codecov.io/docs/fixing-reports 18:56:22 + Found adjustments 18:56:22 ==> Gzipping contents 18:56:22 4.0K /tmp/codecov.WvW2ZR.gz 18:56:22 ==> Uploading reports 18:56:22 url: https://codecov.io 18:56:22 query: branch=PR-7&commit=5b9f3990bd19d1d877eb764c372f2943ddbee698&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-7%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=7&job=&cmd_args= 18:56:22 -> Pinging Codecov 18:56:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-7&commit=5b9f3990bd19d1d877eb764c372f2943ddbee698&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-7%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=7&job=&cmd_args= 18:56:22 -> Uploading to 18:56:22 https://storage.googleapis.com/codecov/v4/raw/2021-08-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5b9f3990bd19d1d877eb764c372f2943ddbee698/eff843d9-eebd-499d-b6b0-100bd15ba5f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210817T185622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=485d325a15284bf6ab03ad575570eb8a047805d0779f49796ce6c1d614130579 18:56:22 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:22 Dload Upload Total Spent Left Speed 18:56:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 576 0 0 100 576 0 1667 --:--:-- --:--:-- --:--:-- 1669 18:56:23 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] } 18:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:56:25 + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-7/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:56:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:56:26 ---> package-listing.sh 18:56:26 ++ tr '[:upper:]' '[:lower:]' 18:56:26 ++ facter osfamily 18:56:26 + OS_FAMILY=redhat 18:56:26 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-7 18:56:26 + START_PACKAGES=/tmp/packages_start.txt 18:56:26 + END_PACKAGES=/tmp/packages_end.txt 18:56:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:56:26 + PACKAGES=/tmp/packages_start.txt 18:56:26 + '[' /w/workspace/edgexfoundry_device-gpio_PR-7 ']' 18:56:26 + PACKAGES=/tmp/packages_end.txt 18:56:26 + case "${OS_FAMILY}" in 18:56:26 + sort 18:56:26 + rpm -qa 18:56:27 + '[' -f /tmp/packages_start.txt ']' 18:56:27 + '[' -f /tmp/packages_end.txt ']' 18:56:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:56:27 + '[' /w/workspace/edgexfoundry_device-gpio_PR-7 ']' 18:56:27 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-7/archives/ 18:56:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-7/archives/ [Pipeline] echo 18:56:27 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-7/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:56:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:28 18:56:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:56:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:28 latest: Pulling from edgex-lftools-log-publisher 18:56:28 b4d181a07f80: Pulling fs layer 18:56:28 a1111a8f2ec3: Pulling fs layer 18:56:28 ed53099fbce6: Pulling fs layer 18:56:28 dc539afda2c1: Pulling fs layer 18:56:28 77bc0d833cb6: Pulling fs layer 18:56:28 9065ff56babe: Pulling fs layer 18:56:28 d287ab97295c: Pulling fs layer 18:56:28 dc539afda2c1: Waiting 18:56:28 77bc0d833cb6: Waiting 18:56:28 9065ff56babe: Waiting 18:56:28 d287ab97295c: Waiting 18:56:29 a1111a8f2ec3: Verifying Checksum 18:56:29 a1111a8f2ec3: Download complete 18:56:29 dc539afda2c1: Verifying Checksum 18:56:29 dc539afda2c1: Download complete 18:56:29 77bc0d833cb6: Verifying Checksum 18:56:29 77bc0d833cb6: Download complete 18:56:29 9065ff56babe: Verifying Checksum 18:56:29 9065ff56babe: Download complete 18:56:29 ed53099fbce6: Verifying Checksum 18:56:29 ed53099fbce6: Download complete 18:56:30 b4d181a07f80: Verifying Checksum 18:56:30 b4d181a07f80: Download complete 18:56:31 b4d181a07f80: Pull complete 18:56:31 a1111a8f2ec3: Pull complete 18:56:32 ed53099fbce6: Pull complete 18:56:32 dc539afda2c1: Pull complete 18:56:32 77bc0d833cb6: Pull complete 18:56:32 9065ff56babe: Pull complete 18:56:36 d287ab97295c: Verifying Checksum 18:56:36 d287ab97295c: Download complete 18:56:40 d287ab97295c: Pull complete 18:56:40 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:56:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:56:40 prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container 18:56:40 $ 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-7/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-7 -v /w/workspace/edgexfoundry_device-gpio_PR-7:/w/workspace/edgexfoundry_device-gpio_PR-7:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-7@tmp:/w/workspace/edgexfoundry_device-gpio_PR-7@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:56:42 $ docker top a9aedf684b397eed1718c28117cc94e8b288282dc3a1e6473121a62377f5b4c9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:43 + touch /tmp/pre-build-complete [Pipeline] sh 18:56:43 + mkdir -p /var/log/sysstat [Pipeline] sh 18:56:44 + ls /var/log/sa-host 18:56:44 + sadf -c /var/log/sa-host/sa05 18:56:44 file_magic: OK 18:56:44 HZ: Using current value: 100 18:56:44 file_header: OK 18:56:44 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:56:44 Statistics: 18:56:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:44 File successfully converted to sysstat format version 12.0.3 18:56:44 + sadf -c /var/log/sa-host/sa17 18:56:44 file_magic: OK 18:56:44 HZ: Using current value: 100 18:56:44 file_header: OK 18:56:44 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:56:44 Statistics: 18:56:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:56:44 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:44 provisioning config files... 18:56:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config5846351569152163712tmp [Pipeline] { [Pipeline] echo 18:56:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:56:44 ---> create-netrc.sh [Pipeline] } 18:56:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:56:45 ---> python-tools-install.sh [Pipeline] echo 18:56:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:56:45 ---> sudo-logs.sh 18:56:45 Archiving 'sudo' log.. 18:56:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-1061.vexxhost.local: Name or service not known 18:56:45 sudo: unable to resolve host prd-centos7-docker-4c-2g-1061.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 18:56:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:56:46 ---> job-cost.sh 18:56:46 lf-activate-venv: SKIPPING 18:56:46 DEBUG: total: 0.18000000715255737 18:56:46 INFO: Retrieving Stack Cost... 18:56:47 INFO: Retrieving Pricing Info for: v3-standard-2 18:56:48 INFO: Archiving Costs [Pipeline] echo 18:56:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:56:48 ---> logs-deploy.sh 18:56:48 lf-activate-venv: SKIPPING 18:56:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-7/1 18:56:48 INFO: archiving workspace using pattern(s): 18:56:49 Archives upload complete. 18:56:49 INFO: archiving logs to Nexus 18:56:50 ---> uname -a: 18:56:50 Linux prd-centos7-docker-4c-2g-1061.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 18:56:50 18:56:50 18:56:50 ---> lscpu: 18:56:50 Architecture: x86_64 18:56:50 CPU op-mode(s): 32-bit, 64-bit 18:56:50 Byte Order: Little Endian 18:56:50 Address sizes: 40 bits physical, 48 bits virtual 18:56:50 CPU(s): 2 18:56:50 On-line CPU(s) list: 0,1 18:56:50 Thread(s) per core: 1 18:56:50 Core(s) per socket: 1 18:56:50 Socket(s): 2 18:56:50 NUMA node(s): 1 18:56:50 Vendor ID: AuthenticAMD 18:56:50 CPU family: 23 18:56:50 Model: 49 18:56:50 Model name: AMD EPYC-Rome Processor 18:56:50 Stepping: 0 18:56:50 CPU MHz: 2799.998 18:56:50 BogoMIPS: 5599.99 18:56:50 Virtualization: AMD-V 18:56:50 Hypervisor vendor: KVM 18:56:50 Virtualization type: full 18:56:50 L1d cache: 32K 18:56:50 L1i cache: 32K 18:56:50 L2 cache: 512K 18:56:50 L3 cache: 16384K 18:56:50 NUMA node0 CPU(s): 0,1 18:56:50 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:56:50 18:56:50 18:56:50 ---> nproc: 18:56:50 2 18:56:50 18:56:50 18:56:50 ---> df -h: 18:56:50 Filesystem Size Used Avail Use% Mounted on 18:56:50 overlay 40G 7.4G 33G 19% / 18:56:50 tmpfs 64M 0 64M 0% /dev 18:56:50 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 18:56:50 shm 64M 0 64M 0% /dev/shm 18:56:50 /dev/vda1 40G 7.4G 33G 19% /facter-os 18:56:50 18:56:50 18:56:50 ---> sar -b -r -n DEV: 18:56:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 18:56:50 18:56:50 18:41:39 LINUX RESTART (2 CPU) 18:56:50 18:56:50 18:42:02 tps rtps wtps bread/s bwrtn/s 18:56:50 18:43:01 125.87 20.28 105.59 5970.34 15396.92 18:56:50 18:44:01 1.85 0.00 1.85 0.00 37.43 18:56:50 18:45:01 0.43 0.00 0.43 0.00 6.56 18:56:50 18:46:01 0.25 0.00 0.25 0.00 3.35 18:56:50 18:47:01 0.23 0.00 0.23 0.00 2.88 18:56:50 18:48:01 0.30 0.00 0.30 0.00 4.90 18:56:50 18:49:01 0.32 0.00 0.32 0.00 4.63 18:56:50 18:50:01 0.18 0.00 0.18 0.00 2.03 18:56:50 18:51:01 0.27 0.00 0.27 0.00 3.46 18:56:50 18:52:01 0.20 0.00 0.20 0.00 2.70 18:56:50 18:53:01 0.27 0.00 0.27 0.00 3.60 18:56:50 18:54:01 0.20 0.00 0.20 0.00 2.57 18:56:50 18:55:01 0.18 0.00 0.18 0.00 2.17 18:56:50 18:56:01 0.33 0.00 0.33 0.00 5.65 18:56:50 Average: 9.21 1.43 7.79 420.04 1089.09 18:56:50 18:56:50 18:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:56:50 18:43:01 5460824 0 802908 10.03 2620 1742588 1288808 14.23 574180 1574376 132 18:56:50 18:44:01 5468168 0 795556 9.93 2620 1742596 1231676 13.60 568060 1574340 20 18:56:50 18:45:01 5467616 0 796104 9.94 2620 1742600 1231816 13.60 573580 1569204 12 18:56:50 18:46:01 5466616 0 797096 9.95 2620 1742608 1228732 13.57 575240 1569204 16 18:56:50 18:47:01 5470216 0 793492 9.91 2620 1742612 1196636 13.21 567724 1573412 16 18:56:50 18:48:01 5468876 0 794828 9.92 2620 1742616 1196744 13.21 569352 1573412 8 18:56:50 18:49:01 5469220 0 794480 9.92 2620 1742620 1196684 13.21 569120 1573412 16 18:56:50 18:50:01 5469476 0 794220 9.92 2620 1742624 1196636 13.21 569548 1573412 8 18:56:50 18:51:01 5458996 0 804696 10.05 2620 1742628 1196864 13.21 579568 1573412 8 18:56:50 18:52:01 5459856 0 803832 10.04 2620 1742632 1196636 13.21 580080 1571548 8 18:56:50 18:53:01 5458824 0 804860 10.05 2620 1742636 1196864 13.21 581328 1571548 8 18:56:50 18:54:01 5460172 0 803508 10.03 2620 1742640 1196636 13.21 586852 1564756 8 18:56:50 18:55:01 5460520 0 803152 10.03 2620 1742648 1196636 13.21 586896 1564756 16 18:56:50 18:56:01 5460148 0 803524 10.03 2620 1742648 1196636 13.21 586608 1565028 8 18:56:50 Average: 5464252 0 799447 9.98 2620 1742621 1210572 13.37 576295 1570844 20 18:56:50 18:56:50 18:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:56:50 18:43:01 eth0 345.23 252.98 1176.76 77.38 0.00 0.00 0.00 0.00 18:56:50 18:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:43:01 docker0 20.78 20.05 2.05 90.39 0.00 0.00 0.00 0.00 18:56:50 18:44:01 eth0 6.66 1.35 1.81 0.98 0.00 0.00 0.00 0.00 18:56:50 18:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:45:01 eth0 5.78 1.05 1.48 0.82 0.00 0.00 0.00 0.00 18:56:50 18:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:46:01 eth0 1.50 0.88 0.82 0.60 0.00 0.00 0.00 0.00 18:56:50 18:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:47:01 eth0 0.18 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:56:50 18:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:48:01 eth0 0.27 0.17 0.09 0.07 0.00 0.00 0.00 0.00 18:56:50 18:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:49:01 eth0 0.23 0.18 0.08 0.01 0.00 0.00 0.00 0.00 18:56:50 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:50:01 eth0 1.32 0.08 0.14 0.01 0.00 0.00 0.00 0.00 18:56:50 18:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:51:01 eth0 1.87 0.60 0.62 0.40 0.00 0.00 0.00 0.00 18:56:50 18:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:52:01 eth0 0.52 0.08 0.05 0.01 0.00 0.00 0.00 0.00 18:56:50 18:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:53:01 eth0 1.13 0.77 0.67 0.47 0.00 0.00 0.00 0.00 18:56:50 18:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:54:01 eth0 0.10 0.03 0.01 0.00 0.00 0.00 0.00 0.00 18:56:50 18:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:55:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:56:50 18:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:56:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:56:50 18:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 18:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 Average: eth0 25.70 18.19 83.20 5.69 0.00 0.00 0.00 0.00 18:56:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:56:50 Average: docker0 1.46 1.41 0.14 6.36 0.00 0.00 0.00 0.00 18:56:50 18:56:50 18:56:50 ---> sar -P ALL: 18:56:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/17/21 _x86_64_ (2 CPU) 18:56:50 18:56:50 18:41:39 LINUX RESTART (2 CPU) 18:56:50 18:56:50 18:42:02 CPU %user %nice %system %iowait %steal %idle 18:56:50 18:43:01 all 18.68 0.00 4.81 4.09 0.08 72.33 18:56:50 18:43:01 0 18.76 0.00 5.40 4.29 0.09 71.47 18:56:50 18:43:01 1 18.61 0.00 4.23 3.90 0.07 73.19 18:56:50 18:44:01 all 0.33 0.00 0.07 0.00 0.03 99.57 18:56:50 18:44:01 0 0.38 0.00 0.07 0.00 0.02 99.53 18:56:50 18:44:01 1 0.28 0.00 0.07 0.00 0.03 99.62 18:56:50 18:45:01 all 0.25 0.00 0.07 0.00 0.01 99.67 18:56:50 18:45:01 0 0.42 0.00 0.08 0.00 0.00 99.50 18:56:50 18:45:01 1 0.08 0.00 0.05 0.00 0.02 99.85 18:56:50 18:46:01 all 0.23 0.00 0.05 0.00 0.02 99.70 18:56:50 18:46:01 0 0.20 0.00 0.05 0.00 0.02 99.73 18:56:50 18:46:01 1 0.27 0.00 0.05 0.00 0.02 99.67 18:56:50 18:47:01 all 0.13 0.00 0.09 0.00 0.01 99.77 18:56:50 18:47:01 0 0.07 0.00 0.07 0.00 0.00 99.87 18:56:50 18:47:01 1 0.18 0.00 0.12 0.00 0.02 99.68 18:56:50 18:48:01 all 0.16 0.00 0.05 0.00 0.02 99.77 18:56:50 18:48:01 0 0.05 0.00 0.05 0.00 0.02 99.88 18:56:50 18:48:01 1 0.27 0.00 0.05 0.00 0.02 99.67 18:56:50 18:49:01 all 0.23 0.00 0.03 0.00 0.02 99.72 18:56:50 18:49:01 0 0.07 0.00 0.05 0.00 0.02 99.87 18:56:50 18:49:01 1 0.40 0.00 0.02 0.00 0.02 99.57 18:56:50 18:50:01 all 0.24 0.00 0.04 0.00 0.00 99.72 18:56:50 18:50:01 0 0.07 0.00 0.05 0.00 0.00 99.88 18:56:50 18:50:01 1 0.42 0.00 0.03 0.00 0.00 99.55 18:56:50 18:51:01 all 0.25 0.00 0.03 0.00 0.03 99.69 18:56:50 18:51:01 0 0.20 0.00 0.03 0.00 0.02 99.75 18:56:50 18:51:01 1 0.30 0.00 0.03 0.00 0.03 99.63 18:56:50 18:52:01 all 0.18 0.00 0.03 0.00 0.02 99.77 18:56:50 18:52:01 0 0.17 0.00 0.05 0.00 0.02 99.77 18:56:50 18:52:01 1 0.18 0.00 0.02 0.00 0.02 99.78 18:56:50 18:53:01 all 0.09 0.00 0.05 0.00 0.01 99.85 18:56:50 18:53:01 0 0.05 0.00 0.07 0.00 0.02 99.87 18:56:50 18:53:01 1 0.13 0.00 0.03 0.00 0.00 99.83 18:56:50 18:56:50 18:53:01 CPU %user %nice %system %iowait %steal %idle 18:56:50 18:54:01 all 0.19 0.00 0.04 0.00 0.03 99.74 18:56:50 18:54:01 0 0.07 0.00 0.07 0.00 0.03 99.83 18:56:50 18:54:01 1 0.32 0.00 0.02 0.00 0.02 99.65 18:56:50 18:55:01 all 0.18 0.00 0.04 0.00 0.01 99.77 18:56:50 18:55:01 0 0.05 0.00 0.05 0.00 0.02 99.88 18:56:50 18:55:01 1 0.32 0.00 0.03 0.00 0.00 99.65 18:56:50 18:56:01 all 0.18 0.00 0.03 0.00 0.02 99.77 18:56:50 18:56:01 0 0.07 0.00 0.05 0.00 0.02 99.87 18:56:50 18:56:01 1 0.28 0.00 0.02 0.00 0.02 99.68 18:56:50 Average: all 1.46 0.00 0.37 0.28 0.02 97.87 18:56:50 Average: 0 1.41 0.00 0.42 0.29 0.02 97.86 18:56:50 Average: 1 1.52 0.00 0.33 0.27 0.02 97.87 18:56:50 18:56:50 18:56:50