Pull request #5 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 soda480 for edgexfoundry/device-gpio Obtained Jenkinsfile from a2dd0728d5dbb2133cc21c648ff4a3c459170460+61390a86f55ee6889073212d49524d4c8e9ed7d1 (f815965a473de3a72f9fec9d006a03a960757e54) 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-ssh1537498008124224934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 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-ssh1720653029726915249.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 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-5/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-5/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2399202935249884776.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-5/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8969102868517834428.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > 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-ssh8506055385251987277.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-5/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-5/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1850168178814129751.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 db16f8292de5a0132d944c4e76ede2ca4f84da27 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_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-528 in /w/workspace/edgexfoundry_device-gpio_PR-5 [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-5 # 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-5@tmp/jenkins-gitclient-ssh286655882268207708.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 61390a86f55ee6889073212d49524d4c8e9ed7d1 into PR head commit a2dd0728d5dbb2133cc21c648ff4a3c459170460 Merge succeeded, producing a2dd0728d5dbb2133cc21c648ff4a3c459170460 Checking out Revision a2dd0728d5dbb2133cc21c648ff4a3c459170460 (PR-5) > 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-5@tmp/jenkins-gitclient-ssh4355691656001576336.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/5/head:refs/remotes/origin/PR-5 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # 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-5@tmp/jenkins-gitclient-ssh6476959782178823013.key > git merge 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-29T21:06:09.962Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-29T21:06:10.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-29T21:06:10.303Z] ========================================================= [2021-07-29T21:06:10.303Z] EdgeX Global Pipelines Version Info [2021-07-29T21:06:10.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:06:11.584Z] ------------------- [2021-07-29T21:06:11.584Z] stable info: [2021-07-29T21:06:11.584Z] ------------------- [2021-07-29T21:06:11.584Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-29T21:06:11.584Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T21:06:11.584Z] Message: update stable to v1.0.197 [2021-07-29T21:06:12.168Z] ------------------- [2021-07-29T21:06:12.168Z] experimental info: [2021-07-29T21:06:12.168Z] ------------------- [2021-07-29T21:06:12.168Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-29T21:06:12.168Z] Commit SHA: db16f8292de5a0132d944c4e76ede2ca4f84da27 [2021-07-29T21:06:12.168Z] Message: update experimental to v1.0.197 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-29T21:06:12.415Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-07-29T21:06:12.488Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-07-29T21:06:12.565Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-29T21:06:12.640Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-29T21:06:12.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-29T21:06:12.784Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-29T21:06:12.848Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-29T21:06:12.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-29T21:06:12.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-29T21:06:13.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-29T21:06:13.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-29T21:06:13.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-07-29T21:06:13.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-29T21:06:13.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-29T21:06:13.332Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T21:06:13.391Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T21:06:13.453Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T21:06:13.515Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T21:06:13.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-29T21:06:13.641Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-29T21:06:13.704Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-29T21:06:13.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-29T21:06:13.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-29T21:06:13.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-29T21:06:13.958Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-29T21:06:14.017Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-29T21:06:14.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-5 [Pipeline] echo [2021-07-29T21:06:14.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-5 [Pipeline] echo [2021-07-29T21:06:14.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-5 [Pipeline] echo [2021-07-29T21:06:14.259Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2dd0728d5dbb2133cc21c648ff4a3c459170460 [Pipeline] echo [2021-07-29T21:06:14.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2dd072 [Pipeline] echo [2021-07-29T21:06:14.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:06:14.617Z] provisioning config files... [2021-07-29T21:06:14.636Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-5@tmp/config5473820338315546352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:06:15.041Z] ---> docker-login.sh [2021-07-29T21:06:15.042Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:06:15.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:06:15.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:06:15.309Z] Configure a credential helper to remove this warning. See [2021-07-29T21:06:15.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:06:15.309Z] [2021-07-29T21:06:15.309Z] Login Succeeded [2021-07-29T21:06:15.309Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:06:15.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:06:15.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:06:15.309Z] Configure a credential helper to remove this warning. See [2021-07-29T21:06:15.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:06:15.309Z] [2021-07-29T21:06:15.309Z] Login Succeeded [2021-07-29T21:06:15.309Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:06:15.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:06:15.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:06:15.576Z] Configure a credential helper to remove this warning. See [2021-07-29T21:06:15.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:06:15.576Z] [2021-07-29T21:06:15.576Z] Login Succeeded [2021-07-29T21:06:15.576Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:06:15.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:06:15.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:06:15.842Z] Configure a credential helper to remove this warning. See [2021-07-29T21:06:15.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:06:15.842Z] [2021-07-29T21:06:15.842Z] Login Succeeded [2021-07-29T21:06:15.842Z] docker.io [2021-07-29T21:06:15.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:06:21.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:06:21.180Z] Configure a credential helper to remove this warning. See [2021-07-29T21:06:21.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:06:21.180Z] [2021-07-29T21:06:21.180Z] Login Succeeded [2021-07-29T21:06:21.180Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:06:21.207Z] 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-07-29T21:06:22.025Z] + git log --format=format:%s -1 a2dd0728d5dbb2133cc21c648ff4a3c459170460 [Pipeline] echo [2021-07-29T21:06:22.103Z] GIT_COMMIT: a2dd0728d5dbb2133cc21c648ff4a3c459170460, Commit Message: docs: Add badges to readme [Pipeline] echo [2021-07-29T21:06:22.148Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:06:22.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:06:22.777Z] [2021-07-29T21:06:22.777Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:06:23.149Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:06:23.149Z] latest: Pulling from edgex-devops/git-semver [2021-07-29T21:06:23.149Z] 31603596830f: Pulling fs layer [2021-07-29T21:06:23.149Z] b6dc333f4379: Pulling fs layer [2021-07-29T21:06:23.149Z] 3d9ef1400e77: Pulling fs layer [2021-07-29T21:06:23.149Z] fd332fbdc1db: Pulling fs layer [2021-07-29T21:06:23.149Z] fd332fbdc1db: Waiting [2021-07-29T21:06:23.149Z] b6dc333f4379: Verifying Checksum [2021-07-29T21:06:23.149Z] b6dc333f4379: Download complete [2021-07-29T21:06:23.419Z] 31603596830f: Verifying Checksum [2021-07-29T21:06:23.419Z] 31603596830f: Download complete [2021-07-29T21:06:23.686Z] 31603596830f: Pull complete [2021-07-29T21:06:23.686Z] fd332fbdc1db: Verifying Checksum [2021-07-29T21:06:23.686Z] fd332fbdc1db: Download complete [2021-07-29T21:06:23.686Z] b6dc333f4379: Pull complete [2021-07-29T21:06:23.953Z] 3d9ef1400e77: Verifying Checksum [2021-07-29T21:06:23.953Z] 3d9ef1400e77: Download complete [2021-07-29T21:06:24.539Z] 3d9ef1400e77: Pull complete [2021-07-29T21:06:24.539Z] fd332fbdc1db: Pull complete [2021-07-29T21:06:24.539Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-29T21:06:24.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:06:24.539Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-29T21:06:24.670Z] prd-centos7-docker-4c-2g-528 does not seem to be running inside a container [2021-07-29T21:06:24.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-5 -v /w/workspace/edgexfoundry_device-gpio_PR-5:/w/workspace/edgexfoundry_device-gpio_PR-5:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-5@tmp:/w/workspace/edgexfoundry_device-gpio_PR-5@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-29T21:06:25.549Z] $ docker top fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T21:06:25.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:06:25.786Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:06:25.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:06:25.931Z] $ docker exec fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 ssh-agent [2021-07-29T21:06:26.086Z] SSH_AUTH_SOCK=/tmp/ssh-6KRpiEMkAJrK/agent.13 [2021-07-29T21:06:26.086Z] SSH_AGENT_PID=19 [2021-07-29T21:06:26.099Z] Running ssh-add (command line suppressed) [2021-07-29T21:06:26.223Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-5@tmp/private_key_5181082332283023917.key (/w/workspace/edgexfoundry_device-gpio_PR-5@tmp/private_key_5181082332283023917.key) [2021-07-29T21:06:26.251Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:06:26.616Z] + git tag --points-at HEAD [Pipeline] } [2021-07-29T21:06:26.645Z] $ docker exec --env ******** --env ******** fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 ssh-agent -k [2021-07-29T21:06:26.750Z] unset SSH_AUTH_SOCK; [2021-07-29T21:06:26.750Z] unset SSH_AGENT_PID; [2021-07-29T21:06:26.750Z] echo Agent pid 19 killed; [2021-07-29T21:06:26.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-29T21:06:26.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:06:26.873Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:06:27.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:06:27.001Z] $ docker exec fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 ssh-agent [2021-07-29T21:06:27.128Z] SSH_AUTH_SOCK=/tmp/ssh-Hd1evzDu9TJJ/agent.51 [2021-07-29T21:06:27.128Z] SSH_AGENT_PID=57 [2021-07-29T21:06:27.138Z] Running ssh-add (command line suppressed) [2021-07-29T21:06:27.249Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-5@tmp/private_key_3910015599361063139.key (/w/workspace/edgexfoundry_device-gpio_PR-5@tmp/private_key_3910015599361063139.key) [2021-07-29T21:06:27.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:06:27.637Z] + git semver init [2021-07-29T21:06:27.637Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T21:06:27.637Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-5/.git [2021-07-29T21:06:27.637Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-5 [2021-07-29T21:06:27.637Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T21:06:27.637Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T21:06:27.637Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T21:06:27.637Z] # $SEMVER_BRANCH = PR-5 [2021-07-29T21:06:27.637Z] # $SEMVER_TEMP = /tmp/semver-607217321 [2021-07-29T21:06:27.637Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-07-29T21:06:28.603Z] # '/tmp/semver-607217321' -> '/w/workspace/edgexfoundry_device-gpio_PR-5/.semver' [2021-07-29T21:06:28.603Z] # -> Force: false [2021-07-29T21:06:28.603Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-5/.semver [Pipeline] } [2021-07-29T21:06:28.621Z] $ docker exec --env ******** --env ******** fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 ssh-agent -k [2021-07-29T21:06:28.726Z] unset SSH_AUTH_SOCK; [2021-07-29T21:06:28.727Z] unset SSH_AGENT_PID; [2021-07-29T21:06:28.727Z] echo Agent pid 57 killed; [2021-07-29T21:06:28.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T21:06:29.208Z] + git semver [Pipeline] } [2021-07-29T21:06:29.241Z] $ docker stop --time=1 fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 [2021-07-29T21:06:30.532Z] $ docker rm -f fe1cc214c0018959bc50a28ad49d5dcce8c3ba6ee65ffd44de5317d2adc059e7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:06:30.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-29T21:06:31.380Z] Stashed 1 file(s) [Pipeline] echo [2021-07-29T21:06:31.407Z] [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-07-29T21:06:46.962Z] Still waiting to schedule task [2021-07-29T21:06:46.963Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-29T21:06:46.986Z] Still waiting to schedule task [2021-07-29T21:06:46.986Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-29T21:08:21.164Z] Running on prd-centos7-docker-4c-2g-535 in /w/workspace/edgexfoundry_device-gpio_PR-5 [Pipeline] { [Pipeline] ws [2021-07-29T21:08:21.232Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-07-29T21:08:21.417Z] The recommended git tool is: git [2021-07-29T21:08:24.388Z] using credential edgex-jenkins-ssh [2021-07-29T21:08:24.403Z] Cloning the remote Git repository [2021-07-29T21:08:24.234Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:08:24.314Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-07-29T21:08:24.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:08:24.351Z] > git --version # timeout=10 [2021-07-29T21:08:24.361Z] > git --version # 'git version 2.24.4' [2021-07-29T21:08:24.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:08:24.388Z] [INFO] Currently running in a labeled security context [2021-07-29T21:08:24.388Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T21:08:24.389Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh7664906875361124525.key [2021-07-29T21:08:24.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:08:25.723Z] Merging remotes/origin/main commit 61390a86f55ee6889073212d49524d4c8e9ed7d1 into PR head commit a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:08:25.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:08:25.138Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:08:25.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:08:25.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:08:25.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:08:25.175Z] [INFO] Currently running in a labeled security context [2021-07-29T21:08:25.175Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T21:08:25.176Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh4883540518390630444.key [2021-07-29T21:08:25.183Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/5/head:refs/remotes/origin/PR-5 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-29T21:08:25.648Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:08:25.657Z] > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # timeout=10 [2021-07-29T21:08:25.834Z] Merge succeeded, producing a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:08:25.835Z] Checking out Revision a2dd0728d5dbb2133cc21c648ff4a3c459170460 (PR-5) [2021-07-29T21:08:25.699Z] > git remote # timeout=10 [2021-07-29T21:08:25.708Z] > git config --get remote.origin.url # timeout=10 [2021-07-29T21:08:25.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:08:25.721Z] [INFO] Currently running in a labeled security context [2021-07-29T21:08:25.722Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T21:08:25.722Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh5343267173635715189.key [2021-07-29T21:08:25.727Z] > git merge 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [2021-07-29T21:08:25.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-29T21:08:25.759Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:08:25.766Z] > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # timeout=10 [2021-07-29T21:08:29.595Z] Commit message: "docs: Add badges to readme" [2021-07-29T21:08:29.625Z] > git --version # timeout=10 [2021-07-29T21:08:29.634Z] > git --version # 'git version 2.24.4' [2021-07-29T21:08:29.641Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:08:30.266Z] provisioning config files... [2021-07-29T21:08:30.286Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6479332296639230041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:08:30.778Z] ---> docker-login.sh [2021-07-29T21:08:30.778Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:08:30.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:08:31.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:08:31.365Z] Configure a credential helper to remove this warning. See [2021-07-29T21:08:31.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:08:31.365Z] [2021-07-29T21:08:31.365Z] Login Succeeded [2021-07-29T21:08:31.365Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:08:31.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:08:31.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:08:31.365Z] Configure a credential helper to remove this warning. See [2021-07-29T21:08:31.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:08:31.365Z] [2021-07-29T21:08:31.365Z] Login Succeeded [2021-07-29T21:08:31.365Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:08:31.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:08:31.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:08:31.632Z] Configure a credential helper to remove this warning. See [2021-07-29T21:08:31.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:08:31.632Z] [2021-07-29T21:08:31.632Z] Login Succeeded [2021-07-29T21:08:31.632Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:08:31.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:08:31.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:08:31.900Z] Configure a credential helper to remove this warning. See [2021-07-29T21:08:31.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:08:31.900Z] [2021-07-29T21:08:31.900Z] Login Succeeded [2021-07-29T21:08:31.900Z] docker.io [2021-07-29T21:08:31.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:08:32.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:08:32.167Z] Configure a credential helper to remove this warning. See [2021-07-29T21:08:32.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:08:32.167Z] [2021-07-29T21:08:32.167Z] Login Succeeded [2021-07-29T21:08:32.167Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:08:32.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T21:08:32.544Z] ========================================================= [2021-07-29T21:08:32.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-29T21:08:32.544Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:08:32.923Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-29T21:08:32.923Z] Sending build context to Docker daemon 5.491MB [2021-07-29T21:08:32.923Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:08:32.923Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-29T21:08:33.191Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-29T21:08:33.191Z] 540db60ca938: Pulling fs layer [2021-07-29T21:08:33.191Z] adcc1eea9eea: Pulling fs layer [2021-07-29T21:08:33.191Z] 4c4ab2625f07: Pulling fs layer [2021-07-29T21:08:33.191Z] 0773c198feca: Pulling fs layer [2021-07-29T21:08:33.191Z] 345f892a5656: Pulling fs layer [2021-07-29T21:08:33.191Z] 4796506630df: Pulling fs layer [2021-07-29T21:08:33.191Z] cc55df3e53f1: Pulling fs layer [2021-07-29T21:08:33.191Z] 4d027b6c602c: Pulling fs layer [2021-07-29T21:08:33.191Z] 449e75d2c14e: Pulling fs layer [2021-07-29T21:08:33.191Z] 0773c198feca: Waiting [2021-07-29T21:08:33.191Z] 345f892a5656: Waiting [2021-07-29T21:08:33.191Z] 4796506630df: Waiting [2021-07-29T21:08:33.191Z] cc55df3e53f1: Waiting [2021-07-29T21:08:33.191Z] 4d027b6c602c: Waiting [2021-07-29T21:08:33.191Z] 449e75d2c14e: Waiting [2021-07-29T21:08:33.191Z] 4c4ab2625f07: Verifying Checksum [2021-07-29T21:08:33.191Z] 4c4ab2625f07: Download complete [2021-07-29T21:08:33.191Z] adcc1eea9eea: Verifying Checksum [2021-07-29T21:08:33.191Z] adcc1eea9eea: Download complete [2021-07-29T21:08:33.191Z] 345f892a5656: Verifying Checksum [2021-07-29T21:08:33.191Z] 345f892a5656: Download complete [2021-07-29T21:08:33.191Z] 4796506630df: Verifying Checksum [2021-07-29T21:08:33.191Z] 4796506630df: Download complete [2021-07-29T21:08:33.462Z] cc55df3e53f1: Verifying Checksum [2021-07-29T21:08:33.462Z] cc55df3e53f1: Download complete [2021-07-29T21:08:33.462Z] 540db60ca938: Verifying Checksum [2021-07-29T21:08:33.462Z] 540db60ca938: Download complete [2021-07-29T21:08:33.734Z] 540db60ca938: Pull complete [2021-07-29T21:08:33.734Z] adcc1eea9eea: Pull complete [2021-07-29T21:08:33.734Z] 4c4ab2625f07: Pull complete [2021-07-29T21:08:34.320Z] 4d027b6c602c: Verifying Checksum [2021-07-29T21:08:34.320Z] 4d027b6c602c: Download complete [2021-07-29T21:08:37.670Z] 449e75d2c14e: Verifying Checksum [2021-07-29T21:08:37.670Z] 449e75d2c14e: Download complete [2021-07-29T21:08:38.263Z] 0773c198feca: Verifying Checksum [2021-07-29T21:08:38.263Z] 0773c198feca: Download complete [2021-07-29T21:08:41.628Z] 0773c198feca: Pull complete [2021-07-29T21:08:41.628Z] 345f892a5656: Pull complete [2021-07-29T21:08:41.628Z] 4796506630df: Pull complete [2021-07-29T21:08:41.628Z] cc55df3e53f1: Pull complete [2021-07-29T21:08:41.896Z] 4d027b6c602c: Pull complete [2021-07-29T21:08:43.333Z] 449e75d2c14e: Pull complete [2021-07-29T21:08:43.333Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-29T21:08:43.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-29T21:08:43.333Z] ---> 0d28375d9b5b [2021-07-29T21:08:43.333Z] Step 3/8 : WORKDIR /device-gpio [2021-07-29T21:08:45.282Z] ---> Running in 5a64ce017e81 [2021-07-29T21:08:45.282Z] Removing intermediate container 5a64ce017e81 [2021-07-29T21:08:45.282Z] ---> 7bbb4f3c29be [2021-07-29T21:08:45.282Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:08:45.282Z] ---> Running in 29db88468372 [2021-07-29T21:08:45.282Z] Removing intermediate container 29db88468372 [2021-07-29T21:08:45.282Z] ---> 0517f6e818b6 [2021-07-29T21:08:45.282Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:08:45.282Z] ---> Running in 1332879f4d6f [2021-07-29T21:08:45.874Z] Removing intermediate container 1332879f4d6f [2021-07-29T21:08:45.874Z] ---> 4aea51bf4297 [2021-07-29T21:08:45.874Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-29T21:08:45.874Z] ---> Running in 63ff8a37ffe6 [2021-07-29T21:08:45.874Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T21:08:46.835Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T21:08:47.813Z] OK: 149 MiB in 40 packages [2021-07-29T21:08:48.081Z] Removing intermediate container 63ff8a37ffe6 [2021-07-29T21:08:48.081Z] ---> e8bcfbb8efad [2021-07-29T21:08:48.081Z] Step 7/8 : COPY . . [2021-07-29T21:08:48.349Z] ---> c420e99f2e38 [2021-07-29T21:08:48.349Z] Step 8/8 : RUN go mod download [2021-07-29T21:08:48.349Z] ---> Running in fcf9d79fe489 [2021-07-29T21:09:10.467Z] Removing intermediate container fcf9d79fe489 [2021-07-29T21:09:10.467Z] ---> f92e2db60bba [2021-07-29T21:09:10.467Z] Successfully built f92e2db60bba [2021-07-29T21:09:10.467Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:09:10.837Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T21:09:10.837Z] . [Pipeline] withDockerContainer [2021-07-29T21:09:10.964Z] prd-centos7-docker-4c-2g-535 does not seem to be running inside a container [2021-07-29T21:09:11.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-29T21:09:11.456Z] $ docker top e57ee3840c0f2a24f6d911f22f06199548cddb8ae40f369ba6a433e244178c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:09:11.929Z] + go version [2021-07-29T21:09:11.929Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-29T21:09:11.963Z] $ docker stop --time=1 e57ee3840c0f2a24f6d911f22f06199548cddb8ae40f369ba6a433e244178c69 [2021-07-29T21:09:13.184Z] $ docker rm -f e57ee3840c0f2a24f6d911f22f06199548cddb8ae40f369ba6a433e244178c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:09:14.046Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T21:09:14.046Z] . [Pipeline] withDockerContainer [2021-07-29T21:09:14.168Z] prd-centos7-docker-4c-2g-535 does not seem to be running inside a container [2021-07-29T21:09:14.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-29T21:09:14.635Z] $ docker top c72a5a76592c7184767a5625e5f4fb5de59deecbc873ca8942841d9279224070 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:09:15.114Z] + go mod tidy [Pipeline] sh [2021-07-29T21:09:15.760Z] + make test [2021-07-29T21:09:15.761Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T21:09:16.031Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-29T21:09:31.113Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-29T21:09:31.113Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-29T21:09:31.113Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-29T21:09:34.551Z] gofmt -l . [2021-07-29T21:09:34.551Z] [ "`gofmt -l .`" = "" ] [2021-07-29T21:09:34.551Z] ./bin/test-attribution-txt.sh [2021-07-29T21:09:34.551Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T21:09:34.857Z] $ docker stop --time=1 c72a5a76592c7184767a5625e5f4fb5de59deecbc873ca8942841d9279224070 [2021-07-29T21:09:36.283Z] $ docker rm -f c72a5a76592c7184767a5625e5f4fb5de59deecbc873ca8942841d9279224070 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:09:36.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T21:09:37.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-29T21:09:38.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T21:09:38.656Z] + ls -al . [2021-07-29T21:09:38.656Z] total 104 [2021-07-29T21:09:38.656Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jul 29 21:09 . [2021-07-29T21:09:38.656Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 21:08 .. [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 5451 Jul 29 21:08 Attribution.txt [2021-07-29T21:09:38.656Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 21:08 bin [2021-07-29T21:09:38.656Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 29 21:08 cmd [2021-07-29T21:09:38.656Z] -rw-r--r--. 1 jenkins jenkins 10 Jul 29 21:09 coverage.out [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 1502 Jul 29 21:08 Dockerfile [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 972 Jul 29 21:08 Dockerfile.build [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 120 Jul 29 21:08 .dockerignore [2021-07-29T21:09:38.656Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 29 21:08 .git [2021-07-29T21:09:38.656Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 29 21:08 .github [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 350 Jul 29 21:08 .gitignore [2021-07-29T21:09:38.656Z] -rw-r--r--. 1 jenkins jenkins 379 Jul 29 21:09 go.mod [2021-07-29T21:09:38.656Z] -rw-r--r--. 1 jenkins jenkins 30244 Jul 29 21:09 go.sum [2021-07-29T21:09:38.656Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 29 21:08 internal [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 657 Jul 29 21:08 Jenkinsfile [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 29 21:08 LICENSE [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 906 Jul 29 21:08 Makefile [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 8048 Jul 29 21:08 README.md [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 29 21:06 VERSION [2021-07-29T21:09:38.656Z] -rw-rw-r--. 1 jenkins jenkins 209 Jul 29 21:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:09:39.018Z] + 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=a2dd0728d5dbb2133cc21c648ff4a3c459170460 --label arch=amd64 --label version=0.0.0 . [2021-07-29T21:09:39.018Z] Sending build context to Docker daemon 5.493MB [2021-07-29T21:09:39.018Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:09:39.018Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-29T21:09:39.018Z] ---> f92e2db60bba [2021-07-29T21:09:39.018Z] Step 3/23 : ARG MAKE='make build' [2021-07-29T21:09:39.018Z] ---> Running in ba95b0f1b7a5 [2021-07-29T21:09:39.292Z] Removing intermediate container ba95b0f1b7a5 [2021-07-29T21:09:39.292Z] ---> d9c16d5a7821 [2021-07-29T21:09:39.292Z] Step 4/23 : WORKDIR /device-gpio [2021-07-29T21:09:39.292Z] ---> Running in 265baa614cc0 [2021-07-29T21:09:39.292Z] Removing intermediate container 265baa614cc0 [2021-07-29T21:09:39.292Z] ---> ff612a800557 [2021-07-29T21:09:39.292Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:09:39.292Z] ---> Running in ddb2381c821f [2021-07-29T21:09:39.292Z] Removing intermediate container ddb2381c821f [2021-07-29T21:09:39.292Z] ---> 9421410b67c2 [2021-07-29T21:09:39.292Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:09:39.558Z] ---> Running in c0016cc85182 [2021-07-29T21:09:39.829Z] Removing intermediate container c0016cc85182 [2021-07-29T21:09:39.829Z] ---> c9914cd2829c [2021-07-29T21:09:39.829Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-29T21:09:40.103Z] ---> Running in fbd466d68068 [2021-07-29T21:09:40.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T21:09:40.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T21:09:41.541Z] OK: 149 MiB in 40 packages [2021-07-29T21:09:41.811Z] Removing intermediate container fbd466d68068 [2021-07-29T21:09:41.811Z] ---> 5a21eec9443f [2021-07-29T21:09:41.811Z] Step 8/23 : COPY . . [2021-07-29T21:09:42.078Z] ---> 989cd03cde3f [2021-07-29T21:09:42.078Z] Step 9/23 : RUN go mod tidy [2021-07-29T21:09:42.078Z] ---> Running in 49674467458d [2021-07-29T21:09:42.668Z] Removing intermediate container 49674467458d [2021-07-29T21:09:42.668Z] ---> 1a72bbd45081 [2021-07-29T21:09:42.668Z] Step 10/23 : RUN ${MAKE} [2021-07-29T21:09:42.668Z] ---> Running in feddf6d117fa [2021-07-29T21:09:42.941Z] go mod tidy [2021-07-29T21:09:43.217Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-07-29T21:09:53.346Z] Removing intermediate container feddf6d117fa [2021-07-29T21:09:53.346Z] ---> bfa20432bd45 [2021-07-29T21:09:53.346Z] Step 11/23 : FROM scratch [2021-07-29T21:09:53.346Z] ---> [2021-07-29T21:09:53.346Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:09:53.346Z] ---> Running in aa8d7e9f299a [2021-07-29T21:09:53.346Z] Removing intermediate container aa8d7e9f299a [2021-07-29T21:09:53.346Z] ---> a87f704f6928 [2021-07-29T21:09:53.346Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-29T21:09:53.346Z] ---> Running in e9c20b00e97e [2021-07-29T21:09:53.346Z] Removing intermediate container e9c20b00e97e [2021-07-29T21:09:53.346Z] ---> 594fe26de1d6 [2021-07-29T21:09:53.346Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-29T21:09:53.346Z] ---> Running in 2cf9826c8279 [2021-07-29T21:09:53.346Z] Removing intermediate container 2cf9826c8279 [2021-07-29T21:09:53.346Z] ---> 8401e3520a8e [2021-07-29T21:09:53.346Z] Step 15/23 : WORKDIR / [2021-07-29T21:09:53.346Z] ---> Running in f1b4dca14d63 [2021-07-29T21:09:53.346Z] Removing intermediate container f1b4dca14d63 [2021-07-29T21:09:53.346Z] ---> 49ccb52615c4 [2021-07-29T21:09:53.347Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-29T21:09:53.347Z] ---> cf538f3fa503 [2021-07-29T21:09:53.347Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-29T21:09:53.347Z] ---> c8747722902b [2021-07-29T21:09:53.347Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-29T21:09:53.347Z] ---> dbbe8f9cf6ed [2021-07-29T21:09:53.347Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-29T21:09:53.347Z] ---> Running in bb27871be9e5 [2021-07-29T21:09:53.617Z] Removing intermediate container bb27871be9e5 [2021-07-29T21:09:53.617Z] ---> 40f51880e4fc [2021-07-29T21:09:53.617Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T21:09:53.617Z] ---> Running in 916a136a44b1 [2021-07-29T21:09:53.617Z] Removing intermediate container 916a136a44b1 [2021-07-29T21:09:53.617Z] ---> 88ccf4ce12ba [2021-07-29T21:09:53.617Z] Step 21/23 : LABEL arch=amd64 [2021-07-29T21:09:53.617Z] ---> Running in b5cbc539b461 [2021-07-29T21:09:53.617Z] Removing intermediate container b5cbc539b461 [2021-07-29T21:09:53.617Z] ---> 268dadc0d9fa [2021-07-29T21:09:53.617Z] Step 22/23 : LABEL git_sha=a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:09:53.885Z] ---> Running in 4545cb4ba472 [2021-07-29T21:09:53.885Z] Removing intermediate container 4545cb4ba472 [2021-07-29T21:09:53.885Z] ---> c08a4698f7ab [2021-07-29T21:09:53.885Z] Step 23/23 : LABEL version=0.0.0 [2021-07-29T21:09:53.885Z] ---> Running in 71ffce9402cb [2021-07-29T21:09:53.885Z] Removing intermediate container 71ffce9402cb [2021-07-29T21:09:53.885Z] ---> 2bbccc4ac6a7 [2021-07-29T21:09:53.885Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-29T21:09:53.885Z] Successfully built 2bbccc4ac6a7 [2021-07-29T21:09:53.885Z] 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-07-29T21:09:54.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:09:54.973Z] [2021-07-29T21:09:54.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:09:55.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:09:55.382Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T21:09:55.382Z] b4d181a07f80: Pulling fs layer [2021-07-29T21:09:55.382Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T21:09:55.382Z] ed53099fbce6: Pulling fs layer [2021-07-29T21:09:55.382Z] dc539afda2c1: Pulling fs layer [2021-07-29T21:09:55.382Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T21:09:55.382Z] 9065ff56babe: Pulling fs layer [2021-07-29T21:09:55.382Z] d287ab97295c: Pulling fs layer [2021-07-29T21:09:55.382Z] 77bc0d833cb6: Waiting [2021-07-29T21:09:55.382Z] 9065ff56babe: Waiting [2021-07-29T21:09:55.382Z] d287ab97295c: Waiting [2021-07-29T21:09:55.382Z] dc539afda2c1: Waiting [2021-07-29T21:09:55.647Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T21:09:55.647Z] a1111a8f2ec3: Download complete [2021-07-29T21:09:55.647Z] dc539afda2c1: Verifying Checksum [2021-07-29T21:09:55.647Z] dc539afda2c1: Download complete [2021-07-29T21:09:55.913Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T21:09:55.913Z] 77bc0d833cb6: Download complete [2021-07-29T21:09:55.913Z] 9065ff56babe: Verifying Checksum [2021-07-29T21:09:55.913Z] 9065ff56babe: Download complete [2021-07-29T21:09:56.179Z] ed53099fbce6: Verifying Checksum [2021-07-29T21:09:56.179Z] ed53099fbce6: Download complete [2021-07-29T21:09:57.146Z] b4d181a07f80: Verifying Checksum [2021-07-29T21:09:57.146Z] b4d181a07f80: Download complete [2021-07-29T21:09:58.135Z] b4d181a07f80: Pull complete [2021-07-29T21:09:58.412Z] a1111a8f2ec3: Pull complete [2021-07-29T21:09:59.002Z] ed53099fbce6: Pull complete [2021-07-29T21:09:59.003Z] dc539afda2c1: Pull complete [2021-07-29T21:09:59.273Z] 77bc0d833cb6: Pull complete [2021-07-29T21:09:59.273Z] 9065ff56babe: Pull complete [2021-07-29T21:10:00.684Z] d287ab97295c: Verifying Checksum [2021-07-29T21:10:00.684Z] d287ab97295c: Download complete [2021-07-29T21:10:05.194Z] d287ab97295c: Pull complete [2021-07-29T21:10:05.194Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T21:10:05.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:10:05.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T21:10:05.322Z] prd-centos7-docker-4c-2g-535 does not seem to be running inside a container [2021-07-29T21:10:05.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T21:10:07.421Z] $ docker top 527797c584c35f6af7c9ac19e31a85739741fc52f099d144d6bb02a0074eda5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:10:07.988Z] ---> job-cost.sh [2021-07-29T21:10:07.988Z] lf-activate-venv: SKIPPING [2021-07-29T21:10:07.988Z] INFO: No Stack... [2021-07-29T21:10:08.950Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T21:10:09.217Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T21:10:09.566Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2021-07-29T21:10:09.566Z] + cut -d, -f6 [Pipeline] lock [2021-07-29T21:10:09.691Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [2021-07-29T21:10:09.717Z] Resource [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] did not exist. Created. [2021-07-29T21:10:09.717Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T21:10:10.163Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-29T21:10:10.235Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T21:10:10.275Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T21:10:10.352Z] $ docker stop --time=1 527797c584c35f6af7c9ac19e31a85739741fc52f099d144d6bb02a0074eda5e [2021-07-29T21:10:11.504Z] $ docker rm -f 527797c584c35f6af7c9ac19e31a85739741fc52f099d144d6bb02a0074eda5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-29T21:10:12.607Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-536 in /w/workspace/edgexfoundry_device-gpio_PR-5 [Pipeline] { [Pipeline] ws [2021-07-29T21:10:12.670Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-07-29T21:10:12.952Z] The recommended git tool is: git [2021-07-29T21:10:20.687Z] using credential edgex-jenkins-ssh [2021-07-29T21:10:20.709Z] Cloning the remote Git repository [2021-07-29T21:10:20.782Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:10:20.915Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-07-29T21:10:21.011Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:10:21.013Z] > git --version # timeout=10 [2021-07-29T21:10:21.039Z] > git --version # 'git version 2.17.1' [2021-07-29T21:10:21.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:10:21.161Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:10:22.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:10:22.689Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:10:22.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:10:22.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:10:22.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:10:22.781Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/5/head:refs/remotes/origin/PR-5 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-29T21:10:23.305Z] Merging remotes/origin/main commit 61390a86f55ee6889073212d49524d4c8e9ed7d1 into PR head commit a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:10:23.566Z] Merge succeeded, producing a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:10:23.567Z] Checking out Revision a2dd0728d5dbb2133cc21c648ff4a3c459170460 (PR-5) [2021-07-29T21:10:23.339Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:10:23.363Z] > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # timeout=10 [2021-07-29T21:10:23.469Z] > git remote # timeout=10 [2021-07-29T21:10:23.495Z] > git config --get remote.origin.url # timeout=10 [2021-07-29T21:10:23.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:10:23.529Z] > git merge 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [2021-07-29T21:10:23.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-29T21:10:23.586Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:10:23.608Z] > git checkout -f a2dd0728d5dbb2133cc21c648ff4a3c459170460 # timeout=10 [2021-07-29T21:10:28.144Z] Commit message: "docs: Add badges to readme" [2021-07-29T21:10:28.235Z] > git --version # timeout=10 [2021-07-29T21:10:28.251Z] > git --version # 'git version 2.17.1' [2021-07-29T21:10:28.268Z] fatal: bad object db16f8292de5a0132d944c4e76ede2ca4f84da27 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:10:28.967Z] provisioning config files... [2021-07-29T21:10:29.005Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6007359089721911736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:10:29.790Z] ---> docker-login.sh [2021-07-29T21:10:29.790Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:10:30.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:10:31.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:10:31.083Z] Configure a credential helper to remove this warning. See [2021-07-29T21:10:31.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:10:31.083Z] [2021-07-29T21:10:31.083Z] Login Succeeded [2021-07-29T21:10:31.083Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:10:31.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:10:31.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:10:31.983Z] Configure a credential helper to remove this warning. See [2021-07-29T21:10:31.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:10:31.983Z] [2021-07-29T21:10:31.983Z] Login Succeeded [2021-07-29T21:10:31.983Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:10:32.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:10:32.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:10:32.622Z] Configure a credential helper to remove this warning. See [2021-07-29T21:10:32.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:10:32.622Z] [2021-07-29T21:10:32.622Z] Login Succeeded [2021-07-29T21:10:32.622Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:10:33.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:10:33.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:10:33.234Z] Configure a credential helper to remove this warning. See [2021-07-29T21:10:33.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:10:33.234Z] [2021-07-29T21:10:33.234Z] Login Succeeded [2021-07-29T21:10:33.234Z] docker.io [2021-07-29T21:10:33.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:10:34.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:10:34.129Z] Configure a credential helper to remove this warning. See [2021-07-29T21:10:34.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:10:34.129Z] [2021-07-29T21:10:34.129Z] Login Succeeded [2021-07-29T21:10:34.129Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:10:34.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T21:10:35.162Z] ========================================================= [2021-07-29T21:10:35.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-29T21:10:35.162Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:10:35.597Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-29T21:10:36.202Z] Sending build context to Docker daemon 5.49MB [2021-07-29T21:10:36.202Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:10:36.202Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-29T21:10:36.481Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-29T21:10:36.481Z] 595b0fe564bb: Pulling fs layer [2021-07-29T21:10:36.481Z] 24495759ef45: Pulling fs layer [2021-07-29T21:10:36.481Z] d148012ef14d: Pulling fs layer [2021-07-29T21:10:36.481Z] cb65c68fc2e2: Pulling fs layer [2021-07-29T21:10:36.481Z] 093eec477d81: Pulling fs layer [2021-07-29T21:10:36.481Z] a6d5b2bbb924: Pulling fs layer [2021-07-29T21:10:36.481Z] 2446dc1eb7d3: Pulling fs layer [2021-07-29T21:10:36.481Z] 596795e73e0f: Pulling fs layer [2021-07-29T21:10:36.481Z] cb65c68fc2e2: Waiting [2021-07-29T21:10:36.481Z] a6d5b2bbb924: Waiting [2021-07-29T21:10:36.481Z] 093eec477d81: Waiting [2021-07-29T21:10:36.481Z] 596795e73e0f: Waiting [2021-07-29T21:10:36.481Z] 2446dc1eb7d3: Waiting [2021-07-29T21:10:36.481Z] d148012ef14d: Verifying Checksum [2021-07-29T21:10:36.481Z] d148012ef14d: Download complete [2021-07-29T21:10:36.481Z] 24495759ef45: Download complete [2021-07-29T21:10:36.481Z] 093eec477d81: Verifying Checksum [2021-07-29T21:10:36.481Z] 093eec477d81: Download complete [2021-07-29T21:10:36.481Z] a6d5b2bbb924: Verifying Checksum [2021-07-29T21:10:36.481Z] a6d5b2bbb924: Download complete [2021-07-29T21:10:36.759Z] 595b0fe564bb: Verifying Checksum [2021-07-29T21:10:36.759Z] 595b0fe564bb: Download complete [2021-07-29T21:10:36.759Z] 2446dc1eb7d3: Verifying Checksum [2021-07-29T21:10:36.759Z] 2446dc1eb7d3: Download complete [2021-07-29T21:10:37.369Z] 595b0fe564bb: Pull complete [2021-07-29T21:10:38.401Z] 24495759ef45: Pull complete [2021-07-29T21:10:39.031Z] d148012ef14d: Pull complete [2021-07-29T21:10:39.327Z] 596795e73e0f: Verifying Checksum [2021-07-29T21:10:39.327Z] 596795e73e0f: Download complete [2021-07-29T21:10:40.793Z] cb65c68fc2e2: Verifying Checksum [2021-07-29T21:10:40.793Z] cb65c68fc2e2: Download complete [2021-07-29T21:10:51.006Z] cb65c68fc2e2: Pull complete [2021-07-29T21:10:51.287Z] 093eec477d81: Pull complete [2021-07-29T21:10:51.888Z] a6d5b2bbb924: Pull complete [2021-07-29T21:10:52.163Z] 2446dc1eb7d3: Pull complete [2021-07-29T21:10:56.497Z] 596795e73e0f: Pull complete [2021-07-29T21:10:56.497Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-29T21:10:56.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-29T21:10:56.497Z] ---> d9e956139c92 [2021-07-29T21:10:56.497Z] Step 3/8 : WORKDIR /device-gpio [2021-07-29T21:10:59.931Z] ---> Running in daa17ca16045 [2021-07-29T21:11:00.207Z] Removing intermediate container daa17ca16045 [2021-07-29T21:11:00.207Z] ---> 8bb28cab27b1 [2021-07-29T21:11:00.207Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:11:00.486Z] ---> Running in 966fcfa433a5 [2021-07-29T21:11:01.087Z] Removing intermediate container 966fcfa433a5 [2021-07-29T21:11:01.087Z] ---> 9c12607cd72e [2021-07-29T21:11:01.087Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:11:01.364Z] ---> Running in 4052b9ad354f [2021-07-29T21:11:04.789Z] Removing intermediate container 4052b9ad354f [2021-07-29T21:11:04.789Z] ---> 01dd2cd116e1 [2021-07-29T21:11:04.789Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-29T21:11:04.789Z] ---> Running in c3030e98f2b4 [2021-07-29T21:11:06.250Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T21:11:07.232Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T21:11:08.220Z] OK: 138 MiB in 40 packages [2021-07-29T21:11:09.670Z] Removing intermediate container c3030e98f2b4 [2021-07-29T21:11:09.670Z] ---> d0d61acb6098 [2021-07-29T21:11:09.670Z] Step 7/8 : COPY . . [2021-07-29T21:11:11.128Z] ---> f0d71135b2fa [2021-07-29T21:11:11.128Z] Step 8/8 : RUN go mod download [2021-07-29T21:11:11.128Z] ---> Running in 8fa4fabe1f4a [2021-07-29T21:12:07.805Z] Removing intermediate container 8fa4fabe1f4a [2021-07-29T21:12:07.805Z] ---> c3024cfd97f3 [2021-07-29T21:12:07.805Z] Successfully built c3024cfd97f3 [2021-07-29T21:12:07.805Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:12:08.192Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T21:12:08.192Z] . [Pipeline] withDockerContainer [2021-07-29T21:12:08.531Z] prd-ubuntu18.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2021-07-29T21:12:08.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-29T21:12:10.522Z] $ docker top 2fe2fb2461724ba5da146845ebe39700f8588e228b39254bfcaec96bceff32d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:12:11.623Z] + go version [2021-07-29T21:12:11.623Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-29T21:12:11.676Z] $ docker stop --time=1 2fe2fb2461724ba5da146845ebe39700f8588e228b39254bfcaec96bceff32d0 [2021-07-29T21:12:13.643Z] $ docker rm -f 2fe2fb2461724ba5da146845ebe39700f8588e228b39254bfcaec96bceff32d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:12:14.711Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T21:12:14.711Z] . [Pipeline] withDockerContainer [2021-07-29T21:12:15.025Z] prd-ubuntu18.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2021-07-29T21:12:15.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-29T21:12:16.967Z] $ docker top d831b11195af6bf8c0052ba4b0a12bbde0014762995610ac71cb454ff1a2861d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:12:18.046Z] + go mod tidy [Pipeline] sh [2021-07-29T21:12:19.338Z] + make test [2021-07-29T21:12:19.338Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T21:12:20.324Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-29T21:13:07.373Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-29T21:13:07.373Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-29T21:13:07.373Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-29T21:13:25.764Z] gofmt -l . [2021-07-29T21:13:25.764Z] [ "`gofmt -l .`" = "" ] [2021-07-29T21:13:25.764Z] ./bin/test-attribution-txt.sh [2021-07-29T21:13:26.360Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T21:13:26.693Z] $ docker stop --time=1 d831b11195af6bf8c0052ba4b0a12bbde0014762995610ac71cb454ff1a2861d [2021-07-29T21:13:28.694Z] $ docker rm -f d831b11195af6bf8c0052ba4b0a12bbde0014762995610ac71cb454ff1a2861d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:13:29.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T21:13:29.686Z] Warning: overwriting stash ‘coverage-report’ [2021-07-29T21:13:30.202Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-29T21:13:30.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T21:13:31.338Z] + ls -al . [2021-07-29T21:13:31.339Z] total 128 [2021-07-29T21:13:31.339Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 29 21:13 . [2021-07-29T21:13:31.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 21:10 .. [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 29 21:10 .dockerignore [2021-07-29T21:13:31.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 21:10 .git [2021-07-29T21:13:31.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:10 .github [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 350 Jul 29 21:10 .gitignore [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 5451 Jul 29 21:10 Attribution.txt [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 1502 Jul 29 21:10 Dockerfile [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 972 Jul 29 21:10 Dockerfile.build [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 29 21:10 Jenkinsfile [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 29 21:10 LICENSE [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 906 Jul 29 21:10 Makefile [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 8048 Jul 29 21:10 README.md [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 21:06 VERSION [2021-07-29T21:13:31.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:10 bin [2021-07-29T21:13:31.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:10 cmd [2021-07-29T21:13:31.339Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 29 21:12 coverage.out [2021-07-29T21:13:31.339Z] -rw-r--r-- 1 jenkins jenkins 379 Jul 29 21:13 go.mod [2021-07-29T21:13:31.339Z] -rw-r--r-- 1 jenkins jenkins 30244 Jul 29 21:12 go.sum [2021-07-29T21:13:31.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:10 internal [2021-07-29T21:13:31.339Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 29 21:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:13:31.734Z] + 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=a2dd0728d5dbb2133cc21c648ff4a3c459170460 --label arch=arm64 --label version=0.0.0 . [2021-07-29T21:13:32.015Z] Sending build context to Docker daemon 5.492MB [2021-07-29T21:13:32.015Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:13:32.015Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-29T21:13:32.015Z] ---> c3024cfd97f3 [2021-07-29T21:13:32.015Z] Step 3/23 : ARG MAKE='make build' [2021-07-29T21:13:32.623Z] ---> Running in 00d3f435619b [2021-07-29T21:13:32.904Z] Removing intermediate container 00d3f435619b [2021-07-29T21:13:32.904Z] ---> 895e6c30a6b0 [2021-07-29T21:13:32.904Z] Step 4/23 : WORKDIR /device-gpio [2021-07-29T21:13:33.187Z] ---> Running in 34870028c67b [2021-07-29T21:13:33.793Z] Removing intermediate container 34870028c67b [2021-07-29T21:13:33.793Z] ---> e720d2161a75 [2021-07-29T21:13:33.793Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:13:33.793Z] ---> Running in c3fb06c09c84 [2021-07-29T21:13:34.391Z] Removing intermediate container c3fb06c09c84 [2021-07-29T21:13:34.391Z] ---> eeeb959705a9 [2021-07-29T21:13:34.391Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:13:34.680Z] ---> Running in 77ae60828e34 [2021-07-29T21:13:37.336Z] Removing intermediate container 77ae60828e34 [2021-07-29T21:13:37.336Z] ---> dea578feb7b0 [2021-07-29T21:13:37.336Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-29T21:13:37.336Z] ---> Running in a067c3307ea3 [2021-07-29T21:13:38.803Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T21:13:39.788Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T21:13:40.777Z] OK: 138 MiB in 40 packages [2021-07-29T21:13:42.223Z] Removing intermediate container a067c3307ea3 [2021-07-29T21:13:42.223Z] ---> 938bbfab3cc2 [2021-07-29T21:13:42.223Z] Step 8/23 : COPY . . [2021-07-29T21:13:43.216Z] ---> 5d90e7dd9ba1 [2021-07-29T21:13:43.216Z] Step 9/23 : RUN go mod tidy [2021-07-29T21:13:43.496Z] ---> Running in f914c166bebe [2021-07-29T21:13:46.915Z] Removing intermediate container f914c166bebe [2021-07-29T21:13:46.915Z] ---> c5de8af68335 [2021-07-29T21:13:46.915Z] Step 10/23 : RUN ${MAKE} [2021-07-29T21:13:46.915Z] ---> Running in 783afe504d23 [2021-07-29T21:13:47.911Z] go mod tidy [2021-07-29T21:13:48.192Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-07-29T21:14:27.273Z] Removing intermediate container 783afe504d23 [2021-07-29T21:14:27.273Z] ---> 11c785e614e2 [2021-07-29T21:14:27.273Z] Step 11/23 : FROM scratch [2021-07-29T21:14:27.273Z] ---> [2021-07-29T21:14:27.273Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:14:27.273Z] ---> Running in 6dc29e88c18b [2021-07-29T21:14:27.273Z] Removing intermediate container 6dc29e88c18b [2021-07-29T21:14:27.273Z] ---> 433ce36b5885 [2021-07-29T21:14:27.273Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-29T21:14:27.273Z] ---> Running in d9b749dbd49c [2021-07-29T21:14:27.273Z] Removing intermediate container d9b749dbd49c [2021-07-29T21:14:27.273Z] ---> ef7d023f73d2 [2021-07-29T21:14:27.273Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-29T21:14:27.273Z] ---> Running in d3905e858e8d [2021-07-29T21:14:27.273Z] Removing intermediate container d3905e858e8d [2021-07-29T21:14:27.273Z] ---> 07f47ead2c57 [2021-07-29T21:14:27.273Z] Step 15/23 : WORKDIR / [2021-07-29T21:14:27.273Z] ---> Running in aab1dff3409e [2021-07-29T21:14:27.273Z] Removing intermediate container aab1dff3409e [2021-07-29T21:14:27.273Z] ---> 670faaf4ad08 [2021-07-29T21:14:27.273Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-29T21:14:27.273Z] ---> 7389d9d24b8a [2021-07-29T21:14:27.273Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-29T21:14:27.273Z] ---> 95b09a74db39 [2021-07-29T21:14:27.273Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-29T21:14:27.273Z] ---> bd53751467be [2021-07-29T21:14:27.273Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-29T21:14:27.273Z] ---> Running in b628a817cf47 [2021-07-29T21:14:27.273Z] Removing intermediate container b628a817cf47 [2021-07-29T21:14:27.273Z] ---> 7f991f8dd0ba [2021-07-29T21:14:27.273Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T21:14:27.549Z] ---> Running in d7134419bb88 [2021-07-29T21:14:28.148Z] Removing intermediate container d7134419bb88 [2021-07-29T21:14:28.148Z] ---> da3d28f71370 [2021-07-29T21:14:28.148Z] Step 21/23 : LABEL arch=arm64 [2021-07-29T21:14:28.423Z] ---> Running in 1ad3729572de [2021-07-29T21:14:28.697Z] Removing intermediate container 1ad3729572de [2021-07-29T21:14:28.697Z] ---> 50f7fe873fc2 [2021-07-29T21:14:28.697Z] Step 22/23 : LABEL git_sha=a2dd0728d5dbb2133cc21c648ff4a3c459170460 [2021-07-29T21:14:28.977Z] ---> Running in ab821cf0ca05 [2021-07-29T21:14:29.578Z] Removing intermediate container ab821cf0ca05 [2021-07-29T21:14:29.578Z] ---> 122ed2e9f646 [2021-07-29T21:14:29.578Z] Step 23/23 : LABEL version=0.0.0 [2021-07-29T21:14:29.578Z] ---> Running in 740dd4f2a691 [2021-07-29T21:14:30.562Z] Removing intermediate container 740dd4f2a691 [2021-07-29T21:14:30.562Z] ---> e894e7138fc4 [2021-07-29T21:14:30.562Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-29T21:14:30.562Z] Successfully built e894e7138fc4 [2021-07-29T21:14:30.562Z] 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-07-29T21:14:31.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:14:31.815Z] [2021-07-29T21:14:31.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:14:32.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:14:32.522Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-29T21:14:32.522Z] 448f6bf000e3: Pulling fs layer [2021-07-29T21:14:32.522Z] f757da607395: Pulling fs layer [2021-07-29T21:14:32.522Z] 05883995daec: Pulling fs layer [2021-07-29T21:14:32.523Z] 8603b9c90790: Pulling fs layer [2021-07-29T21:14:32.523Z] 1560dd03e051: Pulling fs layer [2021-07-29T21:14:32.523Z] 27f5ce0e4adf: Pulling fs layer [2021-07-29T21:14:32.523Z] c2d8d7efcc4b: Pulling fs layer [2021-07-29T21:14:32.523Z] 8603b9c90790: Waiting [2021-07-29T21:14:32.523Z] 1560dd03e051: Waiting [2021-07-29T21:14:32.523Z] 27f5ce0e4adf: Waiting [2021-07-29T21:14:32.523Z] c2d8d7efcc4b: Waiting [2021-07-29T21:14:32.798Z] f757da607395: Verifying Checksum [2021-07-29T21:14:32.798Z] f757da607395: Download complete [2021-07-29T21:14:32.798Z] 8603b9c90790: Download complete [2021-07-29T21:14:33.077Z] 1560dd03e051: Verifying Checksum [2021-07-29T21:14:33.077Z] 1560dd03e051: Download complete [2021-07-29T21:14:33.077Z] 05883995daec: Verifying Checksum [2021-07-29T21:14:33.077Z] 05883995daec: Download complete [2021-07-29T21:14:33.077Z] 27f5ce0e4adf: Verifying Checksum [2021-07-29T21:14:33.077Z] 27f5ce0e4adf: Download complete [2021-07-29T21:14:34.521Z] 448f6bf000e3: Verifying Checksum [2021-07-29T21:14:34.521Z] 448f6bf000e3: Download complete [2021-07-29T21:14:37.150Z] c2d8d7efcc4b: Verifying Checksum [2021-07-29T21:14:37.150Z] c2d8d7efcc4b: Download complete [2021-07-29T21:14:37.427Z] 448f6bf000e3: Pull complete [2021-07-29T21:14:38.864Z] f757da607395: Pull complete [2021-07-29T21:14:40.314Z] 05883995daec: Pull complete [2021-07-29T21:14:40.596Z] 8603b9c90790: Pull complete [2021-07-29T21:14:41.586Z] 1560dd03e051: Pull complete [2021-07-29T21:14:42.188Z] 27f5ce0e4adf: Pull complete [2021-07-29T21:14:57.328Z] c2d8d7efcc4b: Pull complete [2021-07-29T21:14:57.328Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-29T21:14:57.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:14:57.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-29T21:14:57.594Z] prd-ubuntu18.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2021-07-29T21:14:57.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-29T21:15:02.007Z] $ docker top c14db522744fd37d73cc724a8c298721fa434142d4b5ae6620cc1b1c227732c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:03.086Z] ---> job-cost.sh [2021-07-29T21:15:03.086Z] lf-activate-venv: SKIPPING [2021-07-29T21:15:03.086Z] INFO: No Stack... [2021-07-29T21:15:04.515Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-29T21:15:04.515Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T21:15:05.207Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2021-07-29T21:15:05.207Z] + cut -d, -f6 [Pipeline] lock [2021-07-29T21:15:05.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [2021-07-29T21:15:05.310Z] Resource [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] did not exist. Created. [2021-07-29T21:15:05.310Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T21:15:06.154Z] /w/workspace/device-gpio/1@tmp/durable-57b8c7f6/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-57b8c7f6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-29T21:15:06.862Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-29T21:15:06.906Z] Warning: overwriting stash ‘stack-cost’ [2021-07-29T21:15:06.948Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T21:15:06.968Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-5-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T21:15:07.068Z] $ docker stop --time=1 c14db522744fd37d73cc724a8c298721fa434142d4b5ae6620cc1b1c227732c2 [2021-07-29T21:15:08.729Z] $ docker rm -f c14db522744fd37d73cc724a8c298721fa434142d4b5ae6620cc1b1c227732c2 [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-07-29T21:15:09.997Z] provisioning config files... [2021-07-29T21:15:10.010Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-5@tmp/config4238717226261439217tmp [Pipeline] { [Pipeline] sh [2021-07-29T21:15:10.390Z] + set +x [2021-07-29T21:15:10.390Z] + curl -s https://codecov.io/bash [2021-07-29T21:15:10.390Z] + bash -s -- [2021-07-29T21:15:10.390Z] [2021-07-29T21:15:10.390Z] _____ _ [2021-07-29T21:15:10.390Z] / ____| | | [2021-07-29T21:15:10.390Z] | | ___ __| | ___ ___ _____ __ [2021-07-29T21:15:10.390Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-29T21:15:10.390Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-29T21:15:10.390Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-29T21:15:10.390Z] Bash-1.0.6 [2021-07-29T21:15:10.390Z] [2021-07-29T21:15:10.390Z] [2021-07-29T21:15:10.390Z] ==> git version 2.24.4 found [2021-07-29T21:15:10.390Z] ==> 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-07-29T21:15:10.390Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-29T21:15:10.390Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-29T21:15:10.390Z] ==> Jenkins CI detected. [2021-07-29T21:15:10.390Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-5 [2021-07-29T21:15:10.390Z] project root: . [2021-07-29T21:15:10.390Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-29T21:15:10.390Z] ==> Running gcov in . (disable via -X gcov) [2021-07-29T21:15:10.390Z] ==> Python coveragepy not found [2021-07-29T21:15:10.390Z] ==> Searching for coverage reports in: [2021-07-29T21:15:10.390Z] + . [2021-07-29T21:15:10.390Z] -> Found 1 reports [2021-07-29T21:15:10.390Z] ==> Detecting git/mercurial file structure [2021-07-29T21:15:10.390Z] ==> Reading reports [2021-07-29T21:15:10.390Z] + ./coverage.out bytes=10 [2021-07-29T21:15:10.390Z] ==> Appending adjustments [2021-07-29T21:15:10.390Z] https://docs.codecov.io/docs/fixing-reports [2021-07-29T21:15:10.658Z] + Found adjustments [2021-07-29T21:15:10.658Z] ==> Gzipping contents [2021-07-29T21:15:10.658Z] 4.0K /tmp/codecov.XirIo5.gz [2021-07-29T21:15:10.658Z] ==> Uploading reports [2021-07-29T21:15:10.658Z] url: https://codecov.io [2021-07-29T21:15:10.658Z] query: branch=PR-5&commit=a2dd0728d5dbb2133cc21c648ff4a3c459170460&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-5%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=5&job=&cmd_args= [2021-07-29T21:15:10.658Z] -> Pinging Codecov [2021-07-29T21:15:10.658Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=&branch=PR-5&commit=a2dd0728d5dbb2133cc21c648ff4a3c459170460&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-5%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=5&job=&cmd_args= [2021-07-29T21:15:10.658Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [2021-07-29T21:15:10.658Z] 404 [2021-07-29T21:15:10.658Z] ==> Uploading to Codecov [2021-07-29T21:15:10.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-29T21:15:10.658Z] Dload Upload Total Spent Left Speed [2021-07-29T21:15:10.926Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 751 100 169 100 582 846 2916 --:--:-- --:--:-- --:--:-- 2924 [2021-07-29T21:15:10.926Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [Pipeline] } [2021-07-29T21:15:10.957Z] 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] libraryResource [Pipeline] sh [2021-07-29T21:15:13.421Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:14.057Z] ---> package-listing.sh [2021-07-29T21:15:14.057Z] ++ facter osfamily [2021-07-29T21:15:14.057Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-29T21:15:14.325Z] + OS_FAMILY=redhat [2021-07-29T21:15:14.326Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-5 [2021-07-29T21:15:14.326Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-29T21:15:14.326Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-29T21:15:14.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-29T21:15:14.326Z] + PACKAGES=/tmp/packages_start.txt [2021-07-29T21:15:14.326Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-5 ']' [2021-07-29T21:15:14.326Z] + PACKAGES=/tmp/packages_end.txt [2021-07-29T21:15:14.326Z] + case "${OS_FAMILY}" in [2021-07-29T21:15:14.326Z] + sort [2021-07-29T21:15:14.326Z] + rpm -qa [2021-07-29T21:15:14.908Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-29T21:15:14.908Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-29T21:15:14.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-29T21:15:14.908Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-5 ']' [2021-07-29T21:15:14.908Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-5/archives/ [2021-07-29T21:15:14.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-5/archives/ [Pipeline] echo [2021-07-29T21:15:14.949Z] 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-5/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-29T21:15:15.269Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:15:16.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:15:16.032Z] [2021-07-29T21:15:16.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:15:16.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:15:16.466Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T21:15:16.466Z] b4d181a07f80: Pulling fs layer [2021-07-29T21:15:16.466Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T21:15:16.466Z] ed53099fbce6: Pulling fs layer [2021-07-29T21:15:16.466Z] dc539afda2c1: Pulling fs layer [2021-07-29T21:15:16.466Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T21:15:16.466Z] 9065ff56babe: Pulling fs layer [2021-07-29T21:15:16.466Z] d287ab97295c: Pulling fs layer [2021-07-29T21:15:16.466Z] 77bc0d833cb6: Waiting [2021-07-29T21:15:16.466Z] 9065ff56babe: Waiting [2021-07-29T21:15:16.466Z] d287ab97295c: Waiting [2021-07-29T21:15:16.466Z] dc539afda2c1: Waiting [2021-07-29T21:15:16.736Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T21:15:16.736Z] a1111a8f2ec3: Download complete [2021-07-29T21:15:16.736Z] dc539afda2c1: Verifying Checksum [2021-07-29T21:15:16.736Z] dc539afda2c1: Download complete [2021-07-29T21:15:17.005Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T21:15:17.005Z] 77bc0d833cb6: Download complete [2021-07-29T21:15:17.005Z] 9065ff56babe: Verifying Checksum [2021-07-29T21:15:17.005Z] 9065ff56babe: Download complete [2021-07-29T21:15:17.273Z] ed53099fbce6: Verifying Checksum [2021-07-29T21:15:17.273Z] ed53099fbce6: Download complete [2021-07-29T21:15:18.227Z] b4d181a07f80: Verifying Checksum [2021-07-29T21:15:18.227Z] b4d181a07f80: Download complete [2021-07-29T21:15:19.205Z] b4d181a07f80: Pull complete [2021-07-29T21:15:19.205Z] a1111a8f2ec3: Pull complete [2021-07-29T21:15:19.793Z] ed53099fbce6: Pull complete [2021-07-29T21:15:19.793Z] dc539afda2c1: Pull complete [2021-07-29T21:15:20.058Z] 77bc0d833cb6: Pull complete [2021-07-29T21:15:20.058Z] 9065ff56babe: Pull complete [2021-07-29T21:15:22.011Z] d287ab97295c: Verifying Checksum [2021-07-29T21:15:22.011Z] d287ab97295c: Download complete [2021-07-29T21:15:27.402Z] d287ab97295c: Pull complete [2021-07-29T21:15:27.403Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T21:15:27.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:15:27.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T21:15:27.524Z] prd-centos7-docker-4c-2g-528 does not seem to be running inside a container [2021-07-29T21:15:27.587Z] $ 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-5/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-5 -v /w/workspace/edgexfoundry_device-gpio_PR-5:/w/workspace/edgexfoundry_device-gpio_PR-5:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-5@tmp:/w/workspace/edgexfoundry_device-gpio_PR-5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-29T21:15:30.096Z] $ docker top e98c7dd3a1521905dfe89d5291a7fa31d09d10527f2dcf36849ee09da02d8872 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:15:30.569Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-29T21:15:30.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-29T21:15:31.281Z] + ls /var/log/sa-host [2021-07-29T21:15:31.281Z] + sadf -c /var/log/sa-host/sa05 [2021-07-29T21:15:31.281Z] file_magic: OK [2021-07-29T21:15:31.281Z] HZ: Using current value: 100 [2021-07-29T21:15:31.281Z] file_header: OK [2021-07-29T21:15:31.281Z] 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-07-29T21:15:31.281Z] Statistics: [2021-07-29T21:15:31.281Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T21:15:31.281Z] File successfully converted to sysstat format version 12.0.3 [2021-07-29T21:15:31.281Z] + sadf -c /var/log/sa-host/sa29 [2021-07-29T21:15:31.281Z] file_magic: OK [2021-07-29T21:15:31.281Z] HZ: Using current value: 100 [2021-07-29T21:15:31.281Z] file_header: OK [2021-07-29T21:15:31.281Z] 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-07-29T21:15:31.281Z] Statistics: [2021-07-29T21:15:31.281Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T21:15:31.281Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:15:31.616Z] provisioning config files... [2021-07-29T21:15:31.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-5@tmp/config683324632134147027tmp [Pipeline] { [Pipeline] echo [2021-07-29T21:15:31.699Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:32.059Z] ---> create-netrc.sh [Pipeline] } [2021-07-29T21:15:32.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:32.551Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-29T21:15:32.586Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:32.954Z] ---> sudo-logs.sh [2021-07-29T21:15:32.954Z] Archiving 'sudo' log.. [2021-07-29T21:15:32.954Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-528.vexxhost.local: Name or service not known [2021-07-29T21:15:32.954Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-528.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-29T21:15:33.053Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:33.413Z] ---> job-cost.sh [2021-07-29T21:15:33.413Z] lf-activate-venv: SKIPPING [2021-07-29T21:15:33.413Z] DEBUG: total: 0.18000000715255737 [2021-07-29T21:15:33.413Z] INFO: Retrieving Stack Cost... [2021-07-29T21:15:35.373Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T21:15:35.640Z] INFO: Archiving Costs [Pipeline] echo [2021-07-29T21:15:35.701Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:15:36.067Z] ---> logs-deploy.sh [2021-07-29T21:15:36.067Z] lf-activate-venv: SKIPPING [2021-07-29T21:15:36.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-5/1 [2021-07-29T21:15:36.067Z] INFO: archiving workspace using pattern(s): [2021-07-29T21:15:36.664Z] Archives upload complete. [2021-07-29T21:15:36.935Z] INFO: archiving logs to Nexus