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 [2021-08-17T18:42:22.314Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-17T18:42:22.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-17T18:42:22.646Z] ========================================================= [2021-08-17T18:42:22.646Z] EdgeX Global Pipelines Version Info [2021-08-17T18:42:22.646Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:42:24.077Z] ------------------- [2021-08-17T18:42:24.077Z] stable info: [2021-08-17T18:42:24.078Z] ------------------- [2021-08-17T18:42:24.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-17T18:42:24.078Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:42:24.078Z] Message: update stable to v1.0.205 [2021-08-17T18:42:24.682Z] ------------------- [2021-08-17T18:42:24.682Z] experimental info: [2021-08-17T18:42:24.682Z] ------------------- [2021-08-17T18:42:24.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-17T18:42:24.682Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-17T18:42:24.682Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-17T18:42:24.965Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-08-17T18:42:25.059Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-08-17T18:42:25.142Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-17T18:42:25.223Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-17T18:42:25.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-17T18:42:25.416Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-17T18:42:25.589Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-17T18:42:25.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-17T18:42:25.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-17T18:42:25.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-17T18:42:25.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-17T18:42:25.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-17T18:42:26.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-08-17T18:42:26.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-17T18:42:26.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-17T18:42:26.245Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:42:26.373Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-17T18:42:26.460Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:42:26.515Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-17T18:42:26.581Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-17T18:42:26.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-17T18:42:26.709Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-08-17T18:42:26.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-08-17T18:42:26.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-17T18:42:26.901Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-17T18:42:26.969Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-17T18:42:27.025Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-17T18:42:27.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-7 [Pipeline] echo [2021-08-17T18:42:27.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-7 [Pipeline] echo [2021-08-17T18:42:27.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-7 [Pipeline] echo [2021-08-17T18:42:27.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] echo [2021-08-17T18:42:27.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b9f399 [Pipeline] echo [2021-08-17T18:42:27.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:42:27.579Z] provisioning config files... [2021-08-17T18:42:27.599Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config8981486734330536468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:42:28.002Z] ---> docker-login.sh [2021-08-17T18:42:28.002Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:42:28.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:42:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:42:28.269Z] Configure a credential helper to remove this warning. See [2021-08-17T18:42:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:42:28.269Z] [2021-08-17T18:42:28.269Z] Login Succeeded [2021-08-17T18:42:28.269Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:42:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:42:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:42:28.269Z] Configure a credential helper to remove this warning. See [2021-08-17T18:42:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:42:28.269Z] [2021-08-17T18:42:28.269Z] Login Succeeded [2021-08-17T18:42:28.269Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:42:28.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:42:28.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:42:28.544Z] Configure a credential helper to remove this warning. See [2021-08-17T18:42:28.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:42:28.544Z] [2021-08-17T18:42:28.544Z] Login Succeeded [2021-08-17T18:42:28.544Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:42:28.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:42:28.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:42:28.811Z] Configure a credential helper to remove this warning. See [2021-08-17T18:42:28.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:42:28.811Z] [2021-08-17T18:42:28.811Z] Login Succeeded [2021-08-17T18:42:28.811Z] docker.io [2021-08-17T18:42:28.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:42:29.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:42:29.085Z] Configure a credential helper to remove this warning. See [2021-08-17T18:42:29.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:42:29.085Z] [2021-08-17T18:42:29.085Z] Login Succeeded [2021-08-17T18:42:29.085Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:42:29.121Z] 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 [2021-08-17T18:42:29.855Z] + git log --format=format:%s -1 5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] echo [2021-08-17T18:42:29.950Z] GIT_COMMIT: 5b9f3990bd19d1d877eb764c372f2943ddbee698, Commit Message: ci: remove need for CI specific Dockerfile [Pipeline] echo [2021-08-17T18:42:29.990Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:42:30.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:42:30.633Z] [2021-08-17T18:42:30.633Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:42:31.030Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:42:31.030Z] latest: Pulling from edgex-devops/git-semver [2021-08-17T18:42:31.030Z] 31603596830f: Pulling fs layer [2021-08-17T18:42:31.030Z] d4622e32a9a9: Pulling fs layer [2021-08-17T18:42:31.030Z] 1030fce36090: Pulling fs layer [2021-08-17T18:42:31.030Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-17T18:42:31.030Z] 6c6cb7e1b49b: Waiting [2021-08-17T18:42:31.030Z] d4622e32a9a9: Verifying Checksum [2021-08-17T18:42:31.030Z] d4622e32a9a9: Download complete [2021-08-17T18:42:31.510Z] 31603596830f: Verifying Checksum [2021-08-17T18:42:31.510Z] 31603596830f: Download complete [2021-08-17T18:42:31.510Z] 31603596830f: Pull complete [2021-08-17T18:42:31.778Z] d4622e32a9a9: Pull complete [2021-08-17T18:42:31.778Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-17T18:42:31.778Z] 6c6cb7e1b49b: Download complete [2021-08-17T18:42:31.778Z] 1030fce36090: Verifying Checksum [2021-08-17T18:42:31.778Z] 1030fce36090: Download complete [2021-08-17T18:42:32.373Z] 1030fce36090: Pull complete [2021-08-17T18:42:32.373Z] 6c6cb7e1b49b: Pull complete [2021-08-17T18:42:32.373Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-17T18:42:32.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-17T18:42:32.373Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-17T18:42:32.490Z] prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container [2021-08-17T18:42:32.560Z] $ 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 [2021-08-17T18:42:33.329Z] $ docker top dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-17T18:42:33.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:42:33.569Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:42:33.688Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:42:33.691Z] $ docker exec dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent [2021-08-17T18:42:33.811Z] SSH_AUTH_SOCK=/tmp/ssh-ovQyuWDJJ7kV/agent.14 [2021-08-17T18:42:33.811Z] SSH_AGENT_PID=21 [2021-08-17T18:42:33.824Z] Running ssh-add (command line suppressed) [2021-08-17T18:42:33.921Z] 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) [2021-08-17T18:42:33.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:42:34.322Z] + git tag --points-at HEAD [Pipeline] } [2021-08-17T18:42:34.353Z] $ docker exec --env ******** --env ******** dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent -k [2021-08-17T18:42:34.441Z] unset SSH_AUTH_SOCK; [2021-08-17T18:42:34.441Z] unset SSH_AGENT_PID; [2021-08-17T18:42:34.441Z] echo Agent pid 21 killed; [2021-08-17T18:42:34.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-17T18:42:34.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-17T18:42:34.562Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-17T18:42:34.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-17T18:42:34.690Z] $ docker exec dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent [2021-08-17T18:42:34.806Z] SSH_AUTH_SOCK=/tmp/ssh-p1Uu9ksvPxaA/agent.54 [2021-08-17T18:42:34.806Z] SSH_AGENT_PID=60 [2021-08-17T18:42:34.817Z] Running ssh-add (command line suppressed) [2021-08-17T18:42:34.932Z] 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) [2021-08-17T18:42:34.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-17T18:42:35.349Z] + git semver init [2021-08-17T18:42:35.349Z] # -> Open(): unable to determine branch for HEAD [2021-08-17T18:42:35.349Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-7/.git [2021-08-17T18:42:35.349Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-7 [2021-08-17T18:42:35.349Z] # $SEMVER_REMOTE_NAME = origin [2021-08-17T18:42:35.349Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-17T18:42:35.349Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-17T18:42:35.349Z] # $SEMVER_BRANCH = PR-7 [2021-08-17T18:42:35.349Z] # $SEMVER_TEMP = /tmp/semver-893196678 [2021-08-17T18:42:35.349Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-08-17T18:42:36.317Z] # '/tmp/semver-893196678' -> '/w/workspace/edgexfoundry_device-gpio_PR-7/.semver' [2021-08-17T18:42:36.317Z] # -> Force: false [2021-08-17T18:42:36.317Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-7/.semver [Pipeline] } [2021-08-17T18:42:36.342Z] $ docker exec --env ******** --env ******** dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e ssh-agent -k [2021-08-17T18:42:36.436Z] unset SSH_AUTH_SOCK; [2021-08-17T18:42:36.437Z] unset SSH_AGENT_PID; [2021-08-17T18:42:36.437Z] echo Agent pid 60 killed; [2021-08-17T18:42:36.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-17T18:42:37.055Z] + git semver [Pipeline] } [2021-08-17T18:42:37.103Z] $ docker stop --time=1 dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e [2021-08-17T18:42:38.369Z] $ docker rm -f dd56ff153ef1329278a2b666bc1a2d0266e55dea2703992a05c234e1f5c3608e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:42:38.837Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-17T18:42:39.298Z] Stashed 1 file(s) [Pipeline] echo [2021-08-17T18:42:39.356Z] [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 [2021-08-17T18:42:55.100Z] Still waiting to schedule task [2021-08-17T18:42:55.100Z] ‘prd-centos7-docker-4c-2g-1064’ is offline [2021-08-17T18:42:55.100Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-17T18:42:55.138Z] Still waiting to schedule task [2021-08-17T18:42:55.138Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-08-17T18:44:41.271Z] Running on prd-centos7-docker-4c-2g-1080 in /w/workspace/edgexfoundry_device-gpio_PR-7 [Pipeline] { [Pipeline] ws [2021-08-17T18:44:41.358Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-08-17T18:44:41.548Z] The recommended git tool is: git [2021-08-17T18:44:44.681Z] using credential edgex-jenkins-ssh [2021-08-17T18:44:44.695Z] Cloning the remote Git repository [2021-08-17T18:44:44.718Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:44:44.787Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-08-17T18:44:44.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:44:44.833Z] > git --version # timeout=10 [2021-08-17T18:44:44.842Z] > git --version # 'git version 2.24.4' [2021-08-17T18:44:44.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:44.875Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:44.875Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:44.875Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh976143325242879980.key [2021-08-17T18:44:44.885Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:44:46.092Z] Merging remotes/origin/main commit a58aad29095140be52c6929c61b528ab5189762a into PR head commit 5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:44:46.206Z] Merge succeeded, producing 5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:44:46.207Z] Checking out Revision 5b9f3990bd19d1d877eb764c372f2943ddbee698 (PR-7) [2021-08-17T18:44:45.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-08-17T18:44:45.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:44:45.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-08-17T18:44:45.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:44:45.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:45.676Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:45.676Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:45.676Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh6305762363548514946.key [2021-08-17T18:44:45.686Z] > 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 [2021-08-17T18:44:46.101Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:44:46.110Z] > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 [2021-08-17T18:44:46.153Z] > git remote # timeout=10 [2021-08-17T18:44:46.160Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T18:44:46.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:44:46.172Z] [INFO] Currently running in a labeled security context [2021-08-17T18:44:46.172Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-17T18:44:46.173Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh1671154416694294140.key [2021-08-17T18:44:46.182Z] > git merge a58aad29095140be52c6929c61b528ab5189762a # timeout=10 [2021-08-17T18:44:46.193Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T18:44:46.208Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:44:46.214Z] > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 [2021-08-17T18:44:50.107Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T18:44:50.139Z] > git --version # timeout=10 [2021-08-17T18:44:50.147Z] > git --version # 'git version 2.24.4' [2021-08-17T18:44:50.155Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:44:50.780Z] provisioning config files... [2021-08-17T18:44:50.798Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config970815417941044733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:44:51.415Z] ---> docker-login.sh [2021-08-17T18:44:51.415Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:44:51.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:44:51.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:44:51.683Z] Configure a credential helper to remove this warning. See [2021-08-17T18:44:51.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:44:51.683Z] [2021-08-17T18:44:51.683Z] Login Succeeded [2021-08-17T18:44:51.683Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:44:51.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:44:51.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:44:51.683Z] Configure a credential helper to remove this warning. See [2021-08-17T18:44:51.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:44:51.683Z] [2021-08-17T18:44:51.683Z] Login Succeeded [2021-08-17T18:44:51.683Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:44:51.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:44:51.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:44:51.950Z] Configure a credential helper to remove this warning. See [2021-08-17T18:44:51.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:44:51.950Z] [2021-08-17T18:44:51.950Z] Login Succeeded [2021-08-17T18:44:51.950Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:44:51.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:44:51.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:44:51.950Z] Configure a credential helper to remove this warning. See [2021-08-17T18:44:51.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:44:51.950Z] [2021-08-17T18:44:51.950Z] Login Succeeded [2021-08-17T18:44:52.236Z] docker.io [2021-08-17T18:44:52.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:44:52.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:44:52.510Z] Configure a credential helper to remove this warning. See [2021-08-17T18:44:52.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:44:52.510Z] [2021-08-17T18:44:52.510Z] Login Succeeded [2021-08-17T18:44:52.510Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:44:52.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T18:44:53.265Z] ========================================================= [2021-08-17T18:44:53.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-17T18:44:53.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:44:53.726Z] + 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 . [2021-08-17T18:44:53.726Z] Sending build context to Docker daemon 5.5MB [2021-08-17T18:44:53.726Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:44:53.726Z] Step 2/10 : FROM ${BASE} AS builder [2021-08-17T18:44:53.992Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-17T18:44:53.992Z] 540db60ca938: Pulling fs layer [2021-08-17T18:44:53.992Z] adcc1eea9eea: Pulling fs layer [2021-08-17T18:44:53.992Z] 4c4ab2625f07: Pulling fs layer [2021-08-17T18:44:53.992Z] db62176df00c: Pulling fs layer [2021-08-17T18:44:53.992Z] 3b30891b0d05: Pulling fs layer [2021-08-17T18:44:53.992Z] 06b49ca38bd5: Pulling fs layer [2021-08-17T18:44:53.992Z] c788192a36de: Pulling fs layer [2021-08-17T18:44:53.992Z] a77e37c0d609: Pulling fs layer [2021-08-17T18:44:53.992Z] c3185cebc471: Pulling fs layer [2021-08-17T18:44:53.992Z] db62176df00c: Waiting [2021-08-17T18:44:53.992Z] 3b30891b0d05: Waiting [2021-08-17T18:44:53.992Z] 06b49ca38bd5: Waiting [2021-08-17T18:44:53.992Z] c788192a36de: Waiting [2021-08-17T18:44:53.992Z] a77e37c0d609: Waiting [2021-08-17T18:44:53.992Z] c3185cebc471: Waiting [2021-08-17T18:44:53.992Z] 4c4ab2625f07: Verifying Checksum [2021-08-17T18:44:53.992Z] 4c4ab2625f07: Download complete [2021-08-17T18:44:53.992Z] adcc1eea9eea: Verifying Checksum [2021-08-17T18:44:53.992Z] adcc1eea9eea: Download complete [2021-08-17T18:44:53.992Z] 3b30891b0d05: Verifying Checksum [2021-08-17T18:44:53.992Z] 3b30891b0d05: Download complete [2021-08-17T18:44:53.992Z] 06b49ca38bd5: Verifying Checksum [2021-08-17T18:44:53.992Z] 06b49ca38bd5: Download complete [2021-08-17T18:44:54.261Z] c788192a36de: Verifying Checksum [2021-08-17T18:44:54.261Z] c788192a36de: Download complete [2021-08-17T18:44:54.261Z] 540db60ca938: Verifying Checksum [2021-08-17T18:44:54.261Z] 540db60ca938: Download complete [2021-08-17T18:44:54.261Z] 540db60ca938: Pull complete [2021-08-17T18:44:54.527Z] adcc1eea9eea: Pull complete [2021-08-17T18:44:54.527Z] 4c4ab2625f07: Pull complete [2021-08-17T18:44:54.527Z] a77e37c0d609: Verifying Checksum [2021-08-17T18:44:54.527Z] a77e37c0d609: Download complete [2021-08-17T18:44:58.823Z] c3185cebc471: Verifying Checksum [2021-08-17T18:44:58.823Z] c3185cebc471: Download complete [2021-08-17T18:44:58.823Z] db62176df00c: Verifying Checksum [2021-08-17T18:44:58.823Z] db62176df00c: Download complete [2021-08-17T18:45:03.351Z] db62176df00c: Pull complete [2021-08-17T18:45:03.351Z] 3b30891b0d05: Pull complete [2021-08-17T18:45:03.351Z] 06b49ca38bd5: Pull complete [2021-08-17T18:45:03.351Z] c788192a36de: Pull complete [2021-08-17T18:45:03.351Z] a77e37c0d609: Pull complete [2021-08-17T18:45:06.099Z] c3185cebc471: Pull complete [2021-08-17T18:45:06.099Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-17T18:45:06.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-17T18:45:06.099Z] ---> 031687cdd783 [2021-08-17T18:45:06.099Z] Step 3/10 : ARG MAKE='make build' [2021-08-17T18:45:08.069Z] ---> Running in b53321c77d56 [2021-08-17T18:45:08.069Z] Removing intermediate container b53321c77d56 [2021-08-17T18:45:08.069Z] ---> 65498e907231 [2021-08-17T18:45:08.069Z] Step 4/10 : WORKDIR /device-gpio [2021-08-17T18:45:08.349Z] ---> Running in f9e2eddb544f [2021-08-17T18:45:08.349Z] Removing intermediate container f9e2eddb544f [2021-08-17T18:45:08.349Z] ---> 9cf12667ffc2 [2021-08-17T18:45:08.349Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:45:08.349Z] ---> Running in 61141ac92b28 [2021-08-17T18:45:08.349Z] Removing intermediate container 61141ac92b28 [2021-08-17T18:45:08.349Z] ---> 6c57076fbea6 [2021-08-17T18:45:08.349Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:45:08.349Z] ---> Running in 2f67f2552246 [2021-08-17T18:45:08.942Z] Removing intermediate container 2f67f2552246 [2021-08-17T18:45:08.942Z] ---> 214ff7b20dd9 [2021-08-17T18:45:08.942Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-08-17T18:45:09.215Z] ---> Running in 2d1d984ccc3d [2021-08-17T18:45:11.121Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:45:11.121Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:45:11.121Z] OK: 219 MiB in 52 packages [2021-08-17T18:45:11.398Z] Removing intermediate container 2d1d984ccc3d [2021-08-17T18:45:11.398Z] ---> b6b358948038 [2021-08-17T18:45:11.398Z] Step 8/10 : COPY . . [2021-08-17T18:45:11.674Z] ---> df1368bed46a [2021-08-17T18:45:11.674Z] Step 9/10 : RUN go mod tidy [2021-08-17T18:45:11.674Z] ---> Running in c9b3e3de5633 [2021-08-17T18:45:14.282Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 [2021-08-17T18:45:14.282Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2021-08-17T18:45:14.282Z] go: downloading github.com/spf13/cast v1.3.1 [2021-08-17T18:45:14.282Z] go: downloading github.com/warthog618/gpiod v0.6.0 [2021-08-17T18:45:14.282Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T18:45:14.282Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T18:45:14.282Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 [2021-08-17T18:45:14.553Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2021-08-17T18:45:14.553Z] go: downloading github.com/google/uuid v1.1.2 [2021-08-17T18:45:14.553Z] go: downloading github.com/stretchr/testify v1.5.1 [2021-08-17T18:45:14.553Z] go: downloading github.com/go-kit/kit v0.8.0 [2021-08-17T18:45:14.553Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T18:45:14.553Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T18:45:14.553Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T18:45:14.822Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-08-17T18:45:14.822Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2021-08-17T18:45:14.822Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T18:45:14.822Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T18:45:14.822Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T18:45:14.822Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T18:45:14.822Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2021-08-17T18:45:14.822Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T18:45:15.093Z] go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 [2021-08-17T18:45:15.093Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2021-08-17T18:45:15.093Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2021-08-17T18:45:15.093Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2021-08-17T18:45:15.093Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2021-08-17T18:45:15.093Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T18:45:15.093Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T18:45:15.093Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T18:45:15.093Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T18:45:15.361Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T18:45:15.949Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T18:45:15.950Z] go: downloading github.com/kr/pretty v0.1.0 [2021-08-17T18:45:16.217Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T18:45:16.217Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2021-08-17T18:45:16.217Z] go: downloading github.com/hashicorp/serf v0.8.2 [2021-08-17T18:45:16.217Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T18:45:16.217Z] go: downloading github.com/hashicorp/consul/sdk v0.1.1 [2021-08-17T18:45:16.217Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T18:45:16.217Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T18:45:16.217Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T18:45:16.217Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T18:45:16.217Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T18:45:16.217Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T18:45:16.217Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T18:45:16.484Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T18:45:16.484Z] go: downloading github.com/hashicorp/memberlist v0.1.3 [2021-08-17T18:45:16.484Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T18:45:16.484Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T18:45:16.484Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T18:45:16.484Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T18:45:16.484Z] go: downloading github.com/google/btree v1.0.0 [2021-08-17T18:45:16.484Z] go: downloading github.com/hashicorp/go-multierror v1.0.0 [2021-08-17T18:45:16.484Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.1 [2021-08-17T18:45:16.484Z] go: downloading github.com/miekg/dns v1.1.4 [2021-08-17T18:45:16.753Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T18:45:16.753Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T18:45:16.753Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2021-08-17T18:45:16.753Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T18:45:16.753Z] go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2021-08-17T18:45:16.753Z] go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 [2021-08-17T18:45:22.124Z] Removing intermediate container c9b3e3de5633 [2021-08-17T18:45:22.124Z] ---> d89d6e021885 [2021-08-17T18:45:22.124Z] Step 10/10 : RUN ${MAKE} [2021-08-17T18:45:22.124Z] ---> Running in b803f044bad5 [2021-08-17T18:45:22.392Z] noop [2021-08-17T18:45:22.662Z] Removing intermediate container b803f044bad5 [2021-08-17T18:45:22.662Z] ---> 7ab6893aca74 [2021-08-17T18:45:22.662Z] Successfully built 7ab6893aca74 [2021-08-17T18:45:22.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:23.042Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:45:23.042Z] . [Pipeline] withDockerContainer [2021-08-17T18:45:23.171Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2021-08-17T18:45:23.253Z] $ 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 [2021-08-17T18:45:23.700Z] $ docker top cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T18:45:24.178Z] + go version [2021-08-17T18:45:24.178Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-17T18:45:24.209Z] $ docker stop --time=1 cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 [2021-08-17T18:45:25.415Z] $ docker rm -f cd48e99e608b32802cc0118a50b2f46f3e938b427b4eaae273335d80122700f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:26.203Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-17T18:45:26.203Z] . [Pipeline] withDockerContainer [2021-08-17T18:45:26.330Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2021-08-17T18:45:26.394Z] $ 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 [2021-08-17T18:45:26.818Z] $ docker top 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T18:45:27.339Z] + go mod tidy [Pipeline] sh [2021-08-17T18:45:27.959Z] + make test [2021-08-17T18:45:27.960Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-17T18:45:32.218Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-08-17T18:45:47.282Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-08-17T18:45:47.282Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-08-17T18:45:47.282Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T18:45:54.007Z] gofmt -l . [2021-08-17T18:45:54.007Z] [ "`gofmt -l .`" = "" ] [2021-08-17T18:45:54.007Z] ./bin/test-attribution-txt.sh [2021-08-17T18:45:54.007Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-17T18:45:54.035Z] $ docker stop --time=1 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b [2021-08-17T18:45:55.454Z] $ docker rm -f 8e45331442b17f96e84b2f6b657a62aef3c69d241d3993191ae3b73b5177b52b [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:45:55.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T18:45:56.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-17T18:45:57.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T18:45:57.716Z] + ls -al . [2021-08-17T18:45:57.716Z] total 108 [2021-08-17T18:45:57.716Z] drwxrwxr-x. 7 jenkins jenkins 4096 Aug 17 18:45 . [2021-08-17T18:45:57.716Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 17 18:44 .. [2021-08-17T18:45:57.716Z] -rw-rw-r--. 1 jenkins jenkins 5451 Aug 17 18:44 Attribution.txt [2021-08-17T18:45:57.716Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 17 18:44 bin [2021-08-17T18:45:57.716Z] drwxrwxr-x. 3 jenkins jenkins 32 Aug 17 18:44 cmd [2021-08-17T18:45:57.716Z] -rw-r--r--. 1 jenkins jenkins 10 Aug 17 18:45 coverage.out [2021-08-17T18:45:57.716Z] -rw-rw-r--. 1 jenkins jenkins 1502 Aug 17 18:44 Dockerfile [2021-08-17T18:45:57.716Z] -rw-rw-r--. 1 jenkins jenkins 120 Aug 17 18:44 .dockerignore [2021-08-17T18:45:57.716Z] drwxrwxr-x. 8 jenkins jenkins 179 Aug 17 18:44 .git [2021-08-17T18:45:57.717Z] drwxrwxr-x. 2 jenkins jenkins 81 Aug 17 18:44 .github [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 350 Aug 17 18:44 .gitignore [2021-08-17T18:45:57.717Z] -rw-r--r--. 1 jenkins jenkins 379 Aug 17 18:45 go.mod [2021-08-17T18:45:57.717Z] -rw-r--r--. 1 jenkins jenkins 30244 Aug 17 18:45 go.sum [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 17 18:44 GOVERNANCE.md [2021-08-17T18:45:57.717Z] drwxrwxr-x. 3 jenkins jenkins 20 Aug 17 18:44 internal [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 657 Aug 17 18:44 Jenkinsfile [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 11340 Aug 17 18:44 LICENSE [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 906 Aug 17 18:44 Makefile [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 617 Aug 17 18:44 OWNERS.md [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 8048 Aug 17 18:44 README.md [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 5 Aug 17 18:42 VERSION [2021-08-17T18:45:57.717Z] -rw-rw-r--. 1 jenkins jenkins 209 Aug 17 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:45:58.074Z] + 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 . [2021-08-17T18:45:58.074Z] Sending build context to Docker daemon 5.501MB [2021-08-17T18:45:58.074Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:45:58.074Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-17T18:45:58.074Z] ---> 7ab6893aca74 [2021-08-17T18:45:58.074Z] Step 3/23 : ARG MAKE='make build' [2021-08-17T18:45:58.074Z] ---> Running in a70ed12e79a6 [2021-08-17T18:45:58.342Z] Removing intermediate container a70ed12e79a6 [2021-08-17T18:45:58.342Z] ---> 69ed579232ca [2021-08-17T18:45:58.342Z] Step 4/23 : WORKDIR /device-gpio [2021-08-17T18:45:58.342Z] ---> Running in 2eb4b687d6e8 [2021-08-17T18:45:58.342Z] Removing intermediate container 2eb4b687d6e8 [2021-08-17T18:45:58.342Z] ---> ddae3c545ad2 [2021-08-17T18:45:58.342Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:45:58.342Z] ---> Running in f517b17dbff3 [2021-08-17T18:45:58.612Z] Removing intermediate container f517b17dbff3 [2021-08-17T18:45:58.612Z] ---> afe1e47a7f43 [2021-08-17T18:45:58.612Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:45:58.612Z] ---> Running in c3d34e0ed841 [2021-08-17T18:45:58.877Z] Removing intermediate container c3d34e0ed841 [2021-08-17T18:45:58.877Z] ---> 8e960446deeb [2021-08-17T18:45:58.877Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-08-17T18:45:58.877Z] ---> Running in 25fcc89f6f86 [2021-08-17T18:45:59.143Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:00.100Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-17T18:46:00.682Z] OK: 219 MiB in 52 packages [2021-08-17T18:46:00.951Z] Removing intermediate container 25fcc89f6f86 [2021-08-17T18:46:00.951Z] ---> 51585a2c392e [2021-08-17T18:46:00.951Z] Step 8/23 : COPY . . [2021-08-17T18:46:01.223Z] ---> 973a3788ba8d [2021-08-17T18:46:01.223Z] Step 9/23 : RUN go mod tidy [2021-08-17T18:46:01.223Z] ---> Running in 1c586e0d4e68 [2021-08-17T18:46:01.815Z] Removing intermediate container 1c586e0d4e68 [2021-08-17T18:46:01.815Z] ---> 1f24e342e18e [2021-08-17T18:46:01.815Z] Step 10/23 : RUN ${MAKE} [2021-08-17T18:46:01.815Z] ---> Running in d120e21e8dfa [2021-08-17T18:46:02.086Z] go mod tidy [2021-08-17T18:46:02.352Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-08-17T18:46:14.762Z] Removing intermediate container d120e21e8dfa [2021-08-17T18:46:14.762Z] ---> 225ae7c6428f [2021-08-17T18:46:14.762Z] Step 11/23 : FROM scratch [2021-08-17T18:46:14.762Z] ---> [2021-08-17T18:46:14.762Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:46:14.763Z] ---> Running in b7fff24fa8c6 [2021-08-17T18:46:14.763Z] Removing intermediate container b7fff24fa8c6 [2021-08-17T18:46:14.763Z] ---> 1334d4c946ef [2021-08-17T18:46:14.763Z] Step 13/23 : ENV APP_PORT=49994 [2021-08-17T18:46:14.763Z] ---> Running in 031f43e71ea8 [2021-08-17T18:46:14.763Z] Removing intermediate container 031f43e71ea8 [2021-08-17T18:46:14.763Z] ---> f0a72a70b3e5 [2021-08-17T18:46:14.763Z] Step 14/23 : EXPOSE $APP_PORT [2021-08-17T18:46:14.763Z] ---> Running in dba3fcb828f5 [2021-08-17T18:46:14.763Z] Removing intermediate container dba3fcb828f5 [2021-08-17T18:46:14.763Z] ---> c235e00bd3bf [2021-08-17T18:46:14.763Z] Step 15/23 : WORKDIR / [2021-08-17T18:46:14.763Z] ---> Running in 5babf39b65bb [2021-08-17T18:46:14.763Z] Removing intermediate container 5babf39b65bb [2021-08-17T18:46:14.763Z] ---> aaa0b00be6e0 [2021-08-17T18:46:14.763Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-08-17T18:46:14.763Z] ---> 1769fb015d63 [2021-08-17T18:46:14.763Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-08-17T18:46:14.763Z] ---> 80f1a3569b52 [2021-08-17T18:46:14.763Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-08-17T18:46:14.763Z] ---> 596b44aee12e [2021-08-17T18:46:14.763Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-08-17T18:46:14.763Z] ---> Running in c9807b81f744 [2021-08-17T18:46:14.763Z] Removing intermediate container c9807b81f744 [2021-08-17T18:46:14.763Z] ---> 26292a581246 [2021-08-17T18:46:14.763Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-17T18:46:14.763Z] ---> Running in c93e318a6dbe [2021-08-17T18:46:14.763Z] Removing intermediate container c93e318a6dbe [2021-08-17T18:46:14.763Z] ---> 5286d2a7e68b [2021-08-17T18:46:14.763Z] Step 21/23 : LABEL arch=amd64 [2021-08-17T18:46:14.763Z] ---> Running in 637d673e20bf [2021-08-17T18:46:14.763Z] Removing intermediate container 637d673e20bf [2021-08-17T18:46:14.763Z] ---> d99760ac64d5 [2021-08-17T18:46:14.763Z] Step 22/23 : LABEL git_sha=5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:46:14.763Z] ---> Running in b08a1099f52a [2021-08-17T18:46:14.763Z] Removing intermediate container b08a1099f52a [2021-08-17T18:46:14.763Z] ---> 54488fb81290 [2021-08-17T18:46:14.763Z] Step 23/23 : LABEL version=0.0.0 [2021-08-17T18:46:14.763Z] ---> Running in faadb9191078 [2021-08-17T18:46:15.034Z] Removing intermediate container faadb9191078 [2021-08-17T18:46:15.034Z] ---> f053cea4e274 [2021-08-17T18:46:15.034Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T18:46:15.034Z] Successfully built f053cea4e274 [2021-08-17T18:46:15.034Z] 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 [2021-08-17T18:46:15.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:15.867Z] [2021-08-17T18:46:15.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:46:16.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:16.235Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T18:46:16.235Z] b4d181a07f80: Pulling fs layer [2021-08-17T18:46:16.235Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T18:46:16.235Z] ed53099fbce6: Pulling fs layer [2021-08-17T18:46:16.235Z] dc539afda2c1: Pulling fs layer [2021-08-17T18:46:16.235Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T18:46:16.235Z] 9065ff56babe: Pulling fs layer [2021-08-17T18:46:16.235Z] d287ab97295c: Pulling fs layer [2021-08-17T18:46:16.235Z] dc539afda2c1: Waiting [2021-08-17T18:46:16.235Z] 77bc0d833cb6: Waiting [2021-08-17T18:46:16.235Z] 9065ff56babe: Waiting [2021-08-17T18:46:16.235Z] d287ab97295c: Waiting [2021-08-17T18:46:16.500Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T18:46:16.500Z] a1111a8f2ec3: Download complete [2021-08-17T18:46:16.500Z] dc539afda2c1: Verifying Checksum [2021-08-17T18:46:16.500Z] dc539afda2c1: Download complete [2021-08-17T18:46:16.769Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T18:46:16.769Z] 77bc0d833cb6: Download complete [2021-08-17T18:46:16.769Z] 9065ff56babe: Verifying Checksum [2021-08-17T18:46:16.769Z] 9065ff56babe: Download complete [2021-08-17T18:46:17.042Z] ed53099fbce6: Verifying Checksum [2021-08-17T18:46:17.042Z] ed53099fbce6: Download complete [2021-08-17T18:46:17.630Z] b4d181a07f80: Verifying Checksum [2021-08-17T18:46:17.631Z] b4d181a07f80: Download complete [2021-08-17T18:46:18.610Z] b4d181a07f80: Pull complete [2021-08-17T18:46:18.879Z] a1111a8f2ec3: Pull complete [2021-08-17T18:46:19.468Z] ed53099fbce6: Pull complete [2021-08-17T18:46:19.468Z] dc539afda2c1: Pull complete [2021-08-17T18:46:19.738Z] 77bc0d833cb6: Pull complete [2021-08-17T18:46:19.738Z] 9065ff56babe: Pull complete [2021-08-17T18:46:20.698Z] d287ab97295c: Verifying Checksum [2021-08-17T18:46:20.698Z] d287ab97295c: Download complete [2021-08-17T18:46:24.967Z] d287ab97295c: Pull complete [2021-08-17T18:46:24.967Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T18:46:24.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:46:24.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T18:46:25.088Z] prd-centos7-docker-4c-2g-1080 does not seem to be running inside a container [2021-08-17T18:46:25.156Z] $ 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 [2021-08-17T18:46:27.679Z] $ docker top 608505f95a5bb1d95bdeae49ad502799f63b82503883f0b7df831d3367a89bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:46:28.243Z] ---> job-cost.sh [2021-08-17T18:46:28.243Z] lf-activate-venv: SKIPPING [2021-08-17T18:46:28.243Z] INFO: No Stack... [2021-08-17T18:46:29.651Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T18:46:29.918Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T18:46:30.257Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2021-08-17T18:46:30.257Z] + cut -d, -f6 [Pipeline] lock [2021-08-17T18:46:30.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [2021-08-17T18:46:30.333Z] Resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] did not exist. Created. [2021-08-17T18:46:30.333Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T18:46:30.777Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-17T18:46:30.830Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T18:46:30.864Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T18:46:30.950Z] $ docker stop --time=1 608505f95a5bb1d95bdeae49ad502799f63b82503883f0b7df831d3367a89bdf [2021-08-17T18:46:32.132Z] $ 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] } [2021-08-17T18:51:59.848Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1483 in /w/workspace/edgexfoundry_device-gpio_PR-7 [Pipeline] { [Pipeline] ws [2021-08-17T18:51:59.908Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-08-17T18:52:00.165Z] The recommended git tool is: git [2021-08-17T18:52:05.467Z] using credential edgex-jenkins-ssh [2021-08-17T18:52:05.498Z] Cloning the remote Git repository [2021-08-17T18:52:05.637Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:52:05.773Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-08-17T18:52:05.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:52:05.916Z] > git --version # timeout=10 [2021-08-17T18:52:05.939Z] > git --version # 'git version 2.17.1' [2021-08-17T18:52:05.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:52:06.024Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:52:08.224Z] Merging remotes/origin/main commit a58aad29095140be52c6929c61b528ab5189762a into PR head commit 5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:52:08.416Z] Merge succeeded, producing 5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:52:08.417Z] Checking out Revision 5b9f3990bd19d1d877eb764c372f2943ddbee698 (PR-7) [2021-08-17T18:52:07.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-08-17T18:52:07.605Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-17T18:52:07.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-08-17T18:52:07.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-08-17T18:52:07.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:52:07.689Z] > 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 [2021-08-17T18:52:08.242Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:52:08.257Z] > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 [2021-08-17T18:52:08.331Z] > git remote # timeout=10 [2021-08-17T18:52:08.351Z] > git config --get remote.origin.url # timeout=10 [2021-08-17T18:52:08.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-17T18:52:08.379Z] > git merge a58aad29095140be52c6929c61b528ab5189762a # timeout=10 [2021-08-17T18:52:08.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-17T18:52:08.424Z] > git config core.sparsecheckout # timeout=10 [2021-08-17T18:52:08.442Z] > git checkout -f 5b9f3990bd19d1d877eb764c372f2943ddbee698 # timeout=10 [2021-08-17T18:52:12.638Z] Commit message: "ci: remove need for CI specific Dockerfile" [2021-08-17T18:52:12.692Z] > git --version # timeout=10 [2021-08-17T18:52:12.700Z] > git --version # 'git version 2.17.1' [2021-08-17T18:52:12.712Z] fatal: bad object 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:52:13.482Z] provisioning config files... [2021-08-17T18:52:13.511Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5986033106294546834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:52:14.115Z] ---> docker-login.sh [2021-08-17T18:52:14.115Z] nexus3.edgexfoundry.org:10001 [2021-08-17T18:52:14.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:52:14.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:52:14.996Z] Configure a credential helper to remove this warning. See [2021-08-17T18:52:14.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:52:14.996Z] [2021-08-17T18:52:14.996Z] Login Succeeded [2021-08-17T18:52:15.271Z] nexus3.edgexfoundry.org:10002 [2021-08-17T18:52:15.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:52:15.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:52:15.547Z] Configure a credential helper to remove this warning. See [2021-08-17T18:52:15.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:52:15.547Z] [2021-08-17T18:52:15.547Z] Login Succeeded [2021-08-17T18:52:15.547Z] nexus3.edgexfoundry.org:10003 [2021-08-17T18:52:16.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:52:16.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:52:16.151Z] Configure a credential helper to remove this warning. See [2021-08-17T18:52:16.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:52:16.151Z] [2021-08-17T18:52:16.151Z] Login Succeeded [2021-08-17T18:52:16.151Z] nexus3.edgexfoundry.org:10004 [2021-08-17T18:52:16.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:52:16.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:52:16.703Z] Configure a credential helper to remove this warning. See [2021-08-17T18:52:16.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:52:16.704Z] [2021-08-17T18:52:16.704Z] Login Succeeded [2021-08-17T18:52:16.704Z] docker.io [2021-08-17T18:52:16.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-17T18:52:17.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-17T18:52:17.263Z] Configure a credential helper to remove this warning. See [2021-08-17T18:52:17.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-17T18:52:17.263Z] [2021-08-17T18:52:17.263Z] Login Succeeded [2021-08-17T18:52:17.332Z] ---> docker-login.sh ends [Pipeline] } [2021-08-17T18:52:17.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-17T18:52:18.021Z] ========================================================= [2021-08-17T18:52:18.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-17T18:52:18.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:52:18.483Z] + 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 . [2021-08-17T18:52:18.768Z] Sending build context to Docker daemon 5.499MB [2021-08-17T18:52:19.047Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:52:19.047Z] Step 2/10 : FROM ${BASE} AS builder [2021-08-17T18:52:19.047Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-17T18:52:19.047Z] 595b0fe564bb: Pulling fs layer [2021-08-17T18:52:19.047Z] 24495759ef45: Pulling fs layer [2021-08-17T18:52:19.047Z] d148012ef14d: Pulling fs layer [2021-08-17T18:52:19.047Z] e90a11edd702: Pulling fs layer [2021-08-17T18:52:19.047Z] d77568369979: Pulling fs layer [2021-08-17T18:52:19.047Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-17T18:52:19.047Z] 170f2ba95c9a: Pulling fs layer [2021-08-17T18:52:19.047Z] 97ac5df62f85: Pulling fs layer [2021-08-17T18:52:19.047Z] d77568369979: Waiting [2021-08-17T18:52:19.047Z] e90a11edd702: Waiting [2021-08-17T18:52:19.047Z] fc1c9f9a7f3b: Waiting [2021-08-17T18:52:19.047Z] 170f2ba95c9a: Waiting [2021-08-17T18:52:19.047Z] 97ac5df62f85: Waiting [2021-08-17T18:52:19.335Z] d148012ef14d: Download complete [2021-08-17T18:52:19.335Z] 24495759ef45: Download complete [2021-08-17T18:52:19.335Z] d77568369979: Verifying Checksum [2021-08-17T18:52:19.335Z] d77568369979: Download complete [2021-08-17T18:52:19.335Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-17T18:52:19.335Z] fc1c9f9a7f3b: Download complete [2021-08-17T18:52:19.335Z] 595b0fe564bb: Verifying Checksum [2021-08-17T18:52:19.335Z] 595b0fe564bb: Download complete [2021-08-17T18:52:19.335Z] 170f2ba95c9a: Verifying Checksum [2021-08-17T18:52:19.335Z] 170f2ba95c9a: Download complete [2021-08-17T18:52:20.329Z] 595b0fe564bb: Pull complete [2021-08-17T18:52:20.941Z] 24495759ef45: Pull complete [2021-08-17T18:52:21.225Z] d148012ef14d: Pull complete [2021-08-17T18:52:23.223Z] 97ac5df62f85: Verifying Checksum [2021-08-17T18:52:23.223Z] 97ac5df62f85: Download complete [2021-08-17T18:52:24.207Z] e90a11edd702: Verifying Checksum [2021-08-17T18:52:24.207Z] e90a11edd702: Download complete [2021-08-17T18:52:36.654Z] e90a11edd702: Pull complete [2021-08-17T18:52:36.654Z] d77568369979: Pull complete [2021-08-17T18:52:36.654Z] fc1c9f9a7f3b: Pull complete [2021-08-17T18:52:36.654Z] 170f2ba95c9a: Pull complete [2021-08-17T18:52:42.093Z] 97ac5df62f85: Pull complete [2021-08-17T18:52:42.093Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-17T18:52:42.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-17T18:52:42.093Z] ---> 04bc70af865f [2021-08-17T18:52:42.093Z] Step 3/10 : ARG MAKE='make build' [2021-08-17T18:52:47.506Z] ---> Running in 3de0898f2bd9 [2021-08-17T18:52:47.506Z] Removing intermediate container 3de0898f2bd9 [2021-08-17T18:52:47.506Z] ---> b3d9aea6c06c [2021-08-17T18:52:47.506Z] Step 4/10 : WORKDIR /device-gpio [2021-08-17T18:52:47.506Z] ---> Running in d6cc87a7034e [2021-08-17T18:52:48.104Z] Removing intermediate container d6cc87a7034e [2021-08-17T18:52:48.104Z] ---> 7a4e941820fe [2021-08-17T18:52:48.104Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:52:48.104Z] ---> Running in a00134fccd1b [2021-08-17T18:52:48.707Z] Removing intermediate container a00134fccd1b [2021-08-17T18:52:48.707Z] ---> f1e38f8abb53 [2021-08-17T18:52:48.707Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:52:48.707Z] ---> Running in 553fe7b5f125 [2021-08-17T18:52:52.118Z] Removing intermediate container 553fe7b5f125 [2021-08-17T18:52:52.118Z] ---> 4bbc474b646e [2021-08-17T18:52:52.118Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-08-17T18:52:52.118Z] ---> Running in e535e13b0dfd [2021-08-17T18:52:53.552Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T18:52:54.151Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T18:52:55.126Z] OK: 218 MiB in 52 packages [2021-08-17T18:52:56.110Z] Removing intermediate container e535e13b0dfd [2021-08-17T18:52:56.110Z] ---> 5c428a2798f3 [2021-08-17T18:52:56.110Z] Step 8/10 : COPY . . [2021-08-17T18:52:57.549Z] ---> db235b1d8942 [2021-08-17T18:52:57.549Z] Step 9/10 : RUN go mod tidy [2021-08-17T18:52:57.549Z] ---> Running in 2fe40d7f8c4d [2021-08-17T18:53:02.998Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.4.0 [2021-08-17T18:53:02.998Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2021-08-17T18:53:02.998Z] go: downloading github.com/spf13/cast v1.3.1 [2021-08-17T18:53:02.998Z] go: downloading github.com/warthog618/gpiod v0.6.0 [2021-08-17T18:53:02.998Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-17T18:53:02.998Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2021-08-17T18:53:02.998Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 [2021-08-17T18:53:03.280Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2021-08-17T18:53:03.280Z] go: downloading github.com/stretchr/testify v1.5.1 [2021-08-17T18:53:03.280Z] go: downloading github.com/google/uuid v1.1.2 [2021-08-17T18:53:03.280Z] go: downloading github.com/go-kit/kit v0.8.0 [2021-08-17T18:53:03.280Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2021-08-17T18:53:03.280Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-17T18:53:03.280Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-17T18:53:03.555Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2021-08-17T18:53:03.555Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2021-08-17T18:53:03.555Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-17T18:53:03.555Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-17T18:53:03.555Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2021-08-17T18:53:03.829Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-17T18:53:03.829Z] go: downloading github.com/pilebones/go-udev v0.0.0-20180820235104-043677e09b13 [2021-08-17T18:53:03.829Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2021-08-17T18:53:03.829Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2021-08-17T18:53:03.829Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2021-08-17T18:53:03.829Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2021-08-17T18:53:03.829Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-17T18:53:03.829Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-17T18:53:03.829Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-17T18:53:04.191Z] go: downloading github.com/kr/pretty v0.1.0 [2021-08-17T18:53:04.191Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-17T18:53:04.191Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-17T18:53:04.191Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-17T18:53:04.191Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-17T18:53:04.808Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-17T18:53:04.808Z] go: downloading github.com/kr/text v0.1.0 [2021-08-17T18:53:04.808Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-17T18:53:04.808Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2021-08-17T18:53:04.808Z] go: downloading github.com/hashicorp/serf v0.8.2 [2021-08-17T18:53:05.413Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-17T18:53:05.414Z] go: downloading github.com/hashicorp/consul/sdk v0.1.1 [2021-08-17T18:53:05.693Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-17T18:53:05.693Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-17T18:53:07.126Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-17T18:53:07.126Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-17T18:53:07.126Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-17T18:53:07.126Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-17T18:53:07.126Z] go: downloading github.com/hashicorp/memberlist v0.1.3 [2021-08-17T18:53:07.126Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-17T18:53:07.126Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/google/btree v1.0.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/hashicorp/go-multierror v1.0.0 [2021-08-17T18:53:07.126Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.1 [2021-08-17T18:53:07.126Z] go: downloading github.com/miekg/dns v1.1.4 [2021-08-17T18:53:07.126Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-17T18:53:07.403Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-17T18:53:07.403Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2021-08-17T18:53:07.403Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-17T18:53:07.403Z] go: downloading golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 [2021-08-17T18:53:07.403Z] go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 [2021-08-17T18:53:22.515Z] Removing intermediate container 2fe40d7f8c4d [2021-08-17T18:53:22.515Z] ---> 7ea222d7e004 [2021-08-17T18:53:22.515Z] Step 10/10 : RUN ${MAKE} [2021-08-17T18:53:22.515Z] ---> Running in b709782a39fa [2021-08-17T18:53:22.515Z] noop [2021-08-17T18:53:22.789Z] Removing intermediate container b709782a39fa [2021-08-17T18:53:22.789Z] ---> 3d47fc585ea4 [2021-08-17T18:53:22.789Z] Successfully built 3d47fc585ea4 [2021-08-17T18:53:22.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:53:23.201Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T18:53:23.201Z] . [Pipeline] withDockerContainer [2021-08-17T18:53:23.561Z] prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container [2021-08-17T18:53:23.649Z] $ 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 [2021-08-17T18:53:26.751Z] $ docker top 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T18:53:27.842Z] + go version [2021-08-17T18:53:27.842Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-17T18:53:27.880Z] $ docker stop --time=1 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf [2021-08-17T18:53:29.866Z] $ docker rm -f 59bf8154abe52ce3a8177559c55be17e60073ceab5b7feeff65bfe78e1af70cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:53:30.947Z] + docker inspect -f . ci-base-image-arm64 [2021-08-17T18:53:30.947Z] . [Pipeline] withDockerContainer [2021-08-17T18:53:31.226Z] prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container [2021-08-17T18:53:31.318Z] $ 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 [2021-08-17T18:53:33.149Z] $ docker top 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-17T18:53:34.250Z] + go mod tidy [Pipeline] sh [2021-08-17T18:53:35.541Z] + make test [2021-08-17T18:53:35.541Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-08-17T18:53:36.987Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-08-17T18:54:24.018Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-08-17T18:54:24.018Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-08-17T18:54:24.018Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-08-17T18:54:42.350Z] gofmt -l . [2021-08-17T18:54:42.350Z] [ "`gofmt -l .`" = "" ] [2021-08-17T18:54:42.350Z] ./bin/test-attribution-txt.sh [2021-08-17T18:54:42.350Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-17T18:54:42.391Z] $ docker stop --time=1 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 [2021-08-17T18:54:44.417Z] $ docker rm -f 71e97fb941f97bb5a2b604224b27acd3d778ce441d613e1f601dd8857efcbaa6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-17T18:54:45.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-17T18:54:45.417Z] Warning: overwriting stash ‘coverage-report’ [2021-08-17T18:54:45.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-17T18:54:46.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-17T18:54:46.894Z] + ls -al . [2021-08-17T18:54:46.894Z] total 132 [2021-08-17T18:54:46.894Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 17 18:54 . [2021-08-17T18:54:46.894Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 18:52 .. [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 120 Aug 17 18:52 .dockerignore [2021-08-17T18:54:46.894Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 18:52 .git [2021-08-17T18:54:46.894Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 18:52 .github [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 350 Aug 17 18:52 .gitignore [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 5451 Aug 17 18:52 Attribution.txt [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 1502 Aug 17 18:52 Dockerfile [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 18:52 GOVERNANCE.md [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 17 18:52 Jenkinsfile [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 17 18:52 LICENSE [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 906 Aug 17 18:52 Makefile [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 17 18:52 OWNERS.md [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 8048 Aug 17 18:52 README.md [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 18:42 VERSION [2021-08-17T18:54:46.894Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 18:52 bin [2021-08-17T18:54:46.894Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 18:52 cmd [2021-08-17T18:54:46.894Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 17 18:53 coverage.out [2021-08-17T18:54:46.894Z] -rw-r--r-- 1 jenkins jenkins 379 Aug 17 18:54 go.mod [2021-08-17T18:54:46.894Z] -rw-r--r-- 1 jenkins jenkins 30244 Aug 17 18:53 go.sum [2021-08-17T18:54:46.894Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 18:52 internal [2021-08-17T18:54:46.894Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 17 18:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:54:47.270Z] + 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 . [2021-08-17T18:54:47.868Z] Sending build context to Docker daemon 5.5MB [2021-08-17T18:54:47.868Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-17T18:54:47.868Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-17T18:54:47.868Z] ---> 3d47fc585ea4 [2021-08-17T18:54:47.868Z] Step 3/23 : ARG MAKE='make build' [2021-08-17T18:54:48.142Z] ---> Running in df333d405f61 [2021-08-17T18:54:48.740Z] Removing intermediate container df333d405f61 [2021-08-17T18:54:48.740Z] ---> 33eb4374ffc4 [2021-08-17T18:54:48.740Z] Step 4/23 : WORKDIR /device-gpio [2021-08-17T18:54:48.740Z] ---> Running in 40f73f8d1a7b [2021-08-17T18:54:49.337Z] Removing intermediate container 40f73f8d1a7b [2021-08-17T18:54:49.337Z] ---> abb88b991502 [2021-08-17T18:54:49.337Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:54:49.609Z] ---> Running in 7fc76f7b76ec [2021-08-17T18:54:50.217Z] Removing intermediate container 7fc76f7b76ec [2021-08-17T18:54:50.217Z] ---> 2df14d6e1399 [2021-08-17T18:54:50.217Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-17T18:54:50.217Z] ---> Running in e7aaa38d0435 [2021-08-17T18:54:52.840Z] Removing intermediate container e7aaa38d0435 [2021-08-17T18:54:52.840Z] ---> 0b1200ae2fb9 [2021-08-17T18:54:52.840Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-08-17T18:54:52.840Z] ---> Running in 05521f07defb [2021-08-17T18:54:54.279Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-17T18:54:55.265Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-17T18:54:56.240Z] OK: 218 MiB in 52 packages [2021-08-17T18:54:57.229Z] Removing intermediate container 05521f07defb [2021-08-17T18:54:57.229Z] ---> 86d1dfc3db35 [2021-08-17T18:54:57.229Z] Step 8/23 : COPY . . [2021-08-17T18:54:58.660Z] ---> 243b73c92975 [2021-08-17T18:54:58.660Z] Step 9/23 : RUN go mod tidy [2021-08-17T18:54:58.660Z] ---> Running in 9847a65ac357 [2021-08-17T18:55:01.291Z] Removing intermediate container 9847a65ac357 [2021-08-17T18:55:01.291Z] ---> 989233208690 [2021-08-17T18:55:01.291Z] Step 10/23 : RUN ${MAKE} [2021-08-17T18:55:01.562Z] ---> Running in 753fa50a2814 [2021-08-17T18:55:03.000Z] go mod tidy [2021-08-17T18:55:03.275Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-08-17T18:55:35.654Z] Removing intermediate container 753fa50a2814 [2021-08-17T18:55:35.654Z] ---> 52bd4f90ef14 [2021-08-17T18:55:35.654Z] Step 11/23 : FROM scratch [2021-08-17T18:55:35.654Z] ---> [2021-08-17T18:55:35.654Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-08-17T18:55:35.654Z] ---> Running in b40b6b2cb67a [2021-08-17T18:55:35.654Z] Removing intermediate container b40b6b2cb67a [2021-08-17T18:55:35.654Z] ---> f90c179a82bc [2021-08-17T18:55:35.654Z] Step 13/23 : ENV APP_PORT=49994 [2021-08-17T18:55:35.654Z] ---> Running in 73746685b886 [2021-08-17T18:55:35.654Z] Removing intermediate container 73746685b886 [2021-08-17T18:55:35.654Z] ---> 2f7cf029d389 [2021-08-17T18:55:35.654Z] Step 14/23 : EXPOSE $APP_PORT [2021-08-17T18:55:35.654Z] ---> Running in 1874bc2ecb56 [2021-08-17T18:55:35.654Z] Removing intermediate container 1874bc2ecb56 [2021-08-17T18:55:35.654Z] ---> 51c07b943f80 [2021-08-17T18:55:35.654Z] Step 15/23 : WORKDIR / [2021-08-17T18:55:35.654Z] ---> Running in 695a91ab9c2e [2021-08-17T18:55:35.654Z] Removing intermediate container 695a91ab9c2e [2021-08-17T18:55:35.654Z] ---> 321ac806f59a [2021-08-17T18:55:35.654Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-08-17T18:55:36.248Z] ---> 710a6a5f3806 [2021-08-17T18:55:36.248Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-08-17T18:55:36.854Z] ---> 718ae37bef28 [2021-08-17T18:55:36.854Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-08-17T18:55:38.826Z] ---> dad76c0fecaf [2021-08-17T18:55:38.826Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-08-17T18:55:38.826Z] ---> Running in 4db9a7a122e4 [2021-08-17T18:55:39.101Z] Removing intermediate container 4db9a7a122e4 [2021-08-17T18:55:39.101Z] ---> 99fcfc8b8641 [2021-08-17T18:55:39.101Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-17T18:55:39.376Z] ---> Running in c7dd4cb34611 [2021-08-17T18:55:39.974Z] Removing intermediate container c7dd4cb34611 [2021-08-17T18:55:39.974Z] ---> a69fd3a5ba1a [2021-08-17T18:55:39.974Z] Step 21/23 : LABEL arch=arm64 [2021-08-17T18:55:40.251Z] ---> Running in 6e1feacfdb50 [2021-08-17T18:55:40.850Z] Removing intermediate container 6e1feacfdb50 [2021-08-17T18:55:40.850Z] ---> 941f81f8cde5 [2021-08-17T18:55:40.850Z] Step 22/23 : LABEL git_sha=5b9f3990bd19d1d877eb764c372f2943ddbee698 [2021-08-17T18:55:40.850Z] ---> Running in 1b1941bf38a9 [2021-08-17T18:55:41.451Z] Removing intermediate container 1b1941bf38a9 [2021-08-17T18:55:41.451Z] ---> 7705a462b889 [2021-08-17T18:55:41.451Z] Step 23/23 : LABEL version=0.0.0 [2021-08-17T18:55:41.728Z] ---> Running in 7370dfdacb57 [2021-08-17T18:55:42.327Z] Removing intermediate container 7370dfdacb57 [2021-08-17T18:55:42.327Z] ---> d312c5dd0b51 [2021-08-17T18:55:42.327Z] [Warning] One or more build-args [ARCH] were not consumed [2021-08-17T18:55:42.327Z] Successfully built d312c5dd0b51 [2021-08-17T18:55:42.327Z] 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 [2021-08-17T18:55:43.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T18:55:43.078Z] [2021-08-17T18:55:43.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:55:43.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T18:55:43.756Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-17T18:55:43.756Z] 448f6bf000e3: Pulling fs layer [2021-08-17T18:55:43.756Z] f757da607395: Pulling fs layer [2021-08-17T18:55:43.756Z] 05883995daec: Pulling fs layer [2021-08-17T18:55:43.756Z] 8603b9c90790: Pulling fs layer [2021-08-17T18:55:43.756Z] 1560dd03e051: Pulling fs layer [2021-08-17T18:55:43.756Z] 27f5ce0e4adf: Pulling fs layer [2021-08-17T18:55:43.756Z] c2d8d7efcc4b: Pulling fs layer [2021-08-17T18:55:43.756Z] 8603b9c90790: Waiting [2021-08-17T18:55:43.756Z] 27f5ce0e4adf: Waiting [2021-08-17T18:55:43.756Z] 1560dd03e051: Waiting [2021-08-17T18:55:43.756Z] c2d8d7efcc4b: Waiting [2021-08-17T18:55:44.031Z] f757da607395: Verifying Checksum [2021-08-17T18:55:44.031Z] f757da607395: Download complete [2021-08-17T18:55:44.031Z] 8603b9c90790: Verifying Checksum [2021-08-17T18:55:44.031Z] 8603b9c90790: Download complete [2021-08-17T18:55:44.031Z] 1560dd03e051: Verifying Checksum [2021-08-17T18:55:44.031Z] 1560dd03e051: Download complete [2021-08-17T18:55:44.031Z] 27f5ce0e4adf: Download complete [2021-08-17T18:55:44.630Z] 05883995daec: Verifying Checksum [2021-08-17T18:55:44.630Z] 05883995daec: Download complete [2021-08-17T18:55:45.617Z] 448f6bf000e3: Verifying Checksum [2021-08-17T18:55:45.617Z] 448f6bf000e3: Download complete [2021-08-17T18:55:48.237Z] c2d8d7efcc4b: Verifying Checksum [2021-08-17T18:55:48.237Z] c2d8d7efcc4b: Download complete [2021-08-17T18:55:48.511Z] 448f6bf000e3: Pull complete [2021-08-17T18:55:49.109Z] f757da607395: Pull complete [2021-08-17T18:55:50.547Z] 05883995daec: Pull complete [2021-08-17T18:55:51.147Z] 8603b9c90790: Pull complete [2021-08-17T18:55:52.123Z] 1560dd03e051: Pull complete [2021-08-17T18:55:52.398Z] 27f5ce0e4adf: Pull complete [2021-08-17T18:56:07.498Z] c2d8d7efcc4b: Pull complete [2021-08-17T18:56:07.498Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-17T18:56:07.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-17T18:56:07.498Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-17T18:56:07.795Z] prd-ubuntu18.04-docker-arm64-4c-16g-1483 does not seem to be running inside a container [2021-08-17T18:56:07.880Z] $ 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 [2021-08-17T18:56:13.076Z] $ docker top 470ba4a0159bbd27581f1e1651aece973539efbfedf1189f053a2ae29a028f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:14.106Z] ---> job-cost.sh [2021-08-17T18:56:14.106Z] lf-activate-venv: SKIPPING [2021-08-17T18:56:14.106Z] INFO: No Stack... [2021-08-17T18:56:15.542Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-17T18:56:15.821Z] INFO: Archiving Costs [Pipeline] sh [2021-08-17T18:56:16.513Z] + cut -d, -f6 [2021-08-17T18:56:16.513Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock [2021-08-17T18:56:16.609Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [2021-08-17T18:56:16.617Z] Resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] did not exist. Created. [2021-08-17T18:56:16.617Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-17T18:56:17.392Z] /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 [2021-08-17T18:56:18.097Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-17T18:56:18.142Z] Warning: overwriting stash ‘stack-cost’ [2021-08-17T18:56:18.178Z] Stashed 1 file(s) [Pipeline] } [2021-08-17T18:56:18.198Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-7-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-17T18:56:18.283Z] $ docker stop --time=1 470ba4a0159bbd27581f1e1651aece973539efbfedf1189f053a2ae29a028f77 [2021-08-17T18:56:20.409Z] $ 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 [2021-08-17T18:56:21.565Z] provisioning config files... [2021-08-17T18:56:21.587Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config8432840187980622817tmp [Pipeline] { [Pipeline] sh [2021-08-17T18:56:21.976Z] + set +x [2021-08-17T18:56:21.976Z] + curl -s https://codecov.io/bash [2021-08-17T18:56:21.976Z] + bash -s -- [2021-08-17T18:56:21.976Z] [2021-08-17T18:56:21.976Z] _____ _ [2021-08-17T18:56:21.976Z] / ____| | | [2021-08-17T18:56:21.976Z] | | ___ __| | ___ ___ _____ __ [2021-08-17T18:56:21.976Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-17T18:56:21.976Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-17T18:56:21.976Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-17T18:56:21.976Z] Bash-1.0.6 [2021-08-17T18:56:21.976Z] [2021-08-17T18:56:21.976Z] [2021-08-17T18:56:21.976Z] ==> git version 2.24.4 found [2021-08-17T18:56:21.976Z] ==> 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 [2021-08-17T18:56:21.976Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-17T18:56:21.976Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-17T18:56:21.976Z] ==> Jenkins CI detected. [2021-08-17T18:56:21.976Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-7 [2021-08-17T18:56:21.976Z] project root: . [2021-08-17T18:56:21.976Z] --> token set from env [2021-08-17T18:56:21.976Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-17T18:56:21.976Z] ==> Running gcov in . (disable via -X gcov) [2021-08-17T18:56:21.976Z] ==> Python coveragepy not found [2021-08-17T18:56:21.976Z] ==> Searching for coverage reports in: [2021-08-17T18:56:21.976Z] + . [2021-08-17T18:56:22.250Z] -> Found 1 reports [2021-08-17T18:56:22.250Z] ==> Detecting git/mercurial file structure [2021-08-17T18:56:22.250Z] ==> Reading reports [2021-08-17T18:56:22.250Z] + ./coverage.out bytes=10 [2021-08-17T18:56:22.250Z] ==> Appending adjustments [2021-08-17T18:56:22.250Z] https://docs.codecov.io/docs/fixing-reports [2021-08-17T18:56:22.250Z] + Found adjustments [2021-08-17T18:56:22.250Z] ==> Gzipping contents [2021-08-17T18:56:22.250Z] 4.0K /tmp/codecov.WvW2ZR.gz [2021-08-17T18:56:22.250Z] ==> Uploading reports [2021-08-17T18:56:22.250Z] url: https://codecov.io [2021-08-17T18:56:22.250Z] 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= [2021-08-17T18:56:22.250Z] -> Pinging Codecov [2021-08-17T18:56:22.250Z] 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= [2021-08-17T18:56:22.524Z] -> Uploading to [2021-08-17T18:56:22.524Z] 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 [2021-08-17T18:56:22.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-17T18:56:22.524Z] Dload Upload Total Spent Left Speed [2021-08-17T18:56:23.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 576 0 0 100 576 0 1667 --:--:-- --:--:-- --:--:-- 1669 [2021-08-17T18:56:23.019Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/5b9f3990bd19d1d877eb764c372f2943ddbee698 [Pipeline] } [2021-08-17T18:56:23.034Z] 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 [2021-08-17T18:56:25.106Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-7/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:25.507Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:26.156Z] ---> package-listing.sh [2021-08-17T18:56:26.156Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-17T18:56:26.156Z] ++ facter osfamily [2021-08-17T18:56:26.425Z] + OS_FAMILY=redhat [2021-08-17T18:56:26.425Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-7 [2021-08-17T18:56:26.425Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-17T18:56:26.425Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-17T18:56:26.425Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-17T18:56:26.425Z] + PACKAGES=/tmp/packages_start.txt [2021-08-17T18:56:26.425Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-7 ']' [2021-08-17T18:56:26.425Z] + PACKAGES=/tmp/packages_end.txt [2021-08-17T18:56:26.425Z] + case "${OS_FAMILY}" in [2021-08-17T18:56:26.425Z] + sort [2021-08-17T18:56:26.425Z] + rpm -qa [2021-08-17T18:56:27.011Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-17T18:56:27.011Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-17T18:56:27.011Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-17T18:56:27.011Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-7 ']' [2021-08-17T18:56:27.011Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-7/archives/ [2021-08-17T18:56:27.011Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-7/archives/ [Pipeline] echo [2021-08-17T18:56:27.049Z] 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 [2021-08-17T18:56:27.383Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:56:28.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:56:28.173Z] [2021-08-17T18:56:28.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-17T18:56:28.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:56:28.828Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-17T18:56:28.828Z] b4d181a07f80: Pulling fs layer [2021-08-17T18:56:28.828Z] a1111a8f2ec3: Pulling fs layer [2021-08-17T18:56:28.828Z] ed53099fbce6: Pulling fs layer [2021-08-17T18:56:28.828Z] dc539afda2c1: Pulling fs layer [2021-08-17T18:56:28.828Z] 77bc0d833cb6: Pulling fs layer [2021-08-17T18:56:28.828Z] 9065ff56babe: Pulling fs layer [2021-08-17T18:56:28.828Z] d287ab97295c: Pulling fs layer [2021-08-17T18:56:28.828Z] dc539afda2c1: Waiting [2021-08-17T18:56:28.828Z] 77bc0d833cb6: Waiting [2021-08-17T18:56:28.828Z] 9065ff56babe: Waiting [2021-08-17T18:56:28.828Z] d287ab97295c: Waiting [2021-08-17T18:56:29.097Z] a1111a8f2ec3: Verifying Checksum [2021-08-17T18:56:29.097Z] a1111a8f2ec3: Download complete [2021-08-17T18:56:29.097Z] dc539afda2c1: Verifying Checksum [2021-08-17T18:56:29.097Z] dc539afda2c1: Download complete [2021-08-17T18:56:29.367Z] 77bc0d833cb6: Verifying Checksum [2021-08-17T18:56:29.367Z] 77bc0d833cb6: Download complete [2021-08-17T18:56:29.367Z] 9065ff56babe: Verifying Checksum [2021-08-17T18:56:29.367Z] 9065ff56babe: Download complete [2021-08-17T18:56:29.637Z] ed53099fbce6: Verifying Checksum [2021-08-17T18:56:29.637Z] ed53099fbce6: Download complete [2021-08-17T18:56:30.599Z] b4d181a07f80: Verifying Checksum [2021-08-17T18:56:30.599Z] b4d181a07f80: Download complete [2021-08-17T18:56:31.578Z] b4d181a07f80: Pull complete [2021-08-17T18:56:31.855Z] a1111a8f2ec3: Pull complete [2021-08-17T18:56:32.453Z] ed53099fbce6: Pull complete [2021-08-17T18:56:32.453Z] dc539afda2c1: Pull complete [2021-08-17T18:56:32.726Z] 77bc0d833cb6: Pull complete [2021-08-17T18:56:32.726Z] 9065ff56babe: Pull complete [2021-08-17T18:56:36.364Z] d287ab97295c: Verifying Checksum [2021-08-17T18:56:36.364Z] d287ab97295c: Download complete [2021-08-17T18:56:40.698Z] d287ab97295c: Pull complete [2021-08-17T18:56:40.698Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-17T18:56:40.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-17T18:56:40.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-17T18:56:40.847Z] prd-centos7-docker-4c-2g-1061 does not seem to be running inside a container [2021-08-17T18:56:40.919Z] $ 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 [2021-08-17T18:56:42.672Z] $ docker top a9aedf684b397eed1718c28117cc94e8b288282dc3a1e6473121a62377f5b4c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-17T18:56:43.135Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-17T18:56:43.695Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-17T18:56:44.108Z] + ls /var/log/sa-host [2021-08-17T18:56:44.108Z] + sadf -c /var/log/sa-host/sa05 [2021-08-17T18:56:44.108Z] file_magic: OK [2021-08-17T18:56:44.108Z] HZ: Using current value: 100 [2021-08-17T18:56:44.108Z] file_header: OK [2021-08-17T18:56:44.108Z] 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 [2021-08-17T18:56:44.108Z] Statistics: [2021-08-17T18:56:44.108Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-17T18:56:44.108Z] File successfully converted to sysstat format version 12.0.3 [2021-08-17T18:56:44.108Z] + sadf -c /var/log/sa-host/sa17 [2021-08-17T18:56:44.108Z] file_magic: OK [2021-08-17T18:56:44.108Z] HZ: Using current value: 100 [2021-08-17T18:56:44.108Z] file_header: OK [2021-08-17T18:56:44.108Z] 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 [2021-08-17T18:56:44.108Z] Statistics: [2021-08-17T18:56:44.108Z] 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... [2021-08-17T18:56:44.108Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-17T18:56:44.386Z] provisioning config files... [2021-08-17T18:56:44.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-7@tmp/config5846351569152163712tmp [Pipeline] { [Pipeline] echo [2021-08-17T18:56:44.476Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:44.863Z] ---> create-netrc.sh [Pipeline] } [2021-08-17T18:56:44.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:45.413Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-17T18:56:45.451Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:45.827Z] ---> sudo-logs.sh [2021-08-17T18:56:45.827Z] Archiving 'sudo' log.. [2021-08-17T18:56:45.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1061.vexxhost.local: Name or service not known [2021-08-17T18:56:45.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1061.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-17T18:56:45.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:46.526Z] ---> job-cost.sh [2021-08-17T18:56:46.527Z] lf-activate-venv: SKIPPING [2021-08-17T18:56:46.527Z] DEBUG: total: 0.18000000715255737 [2021-08-17T18:56:46.527Z] INFO: Retrieving Stack Cost... [2021-08-17T18:56:47.946Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-17T18:56:48.218Z] INFO: Archiving Costs [Pipeline] echo [2021-08-17T18:56:48.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-17T18:56:48.662Z] ---> logs-deploy.sh [2021-08-17T18:56:48.662Z] lf-activate-venv: SKIPPING [2021-08-17T18:56:48.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-7/1 [2021-08-17T18:56:48.662Z] INFO: archiving workspace using pattern(s): [2021-08-17T18:56:49.254Z] Archives upload complete. [2021-08-17T18:56:49.524Z] INFO: archiving logs to Nexus