Started by upstream project "edgexfoundry/cd-management/release" build number 68 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 61390a86f55ee6889073212d49524d4c8e9ed7d1 Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8819589420198644231.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh425330861972891934.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9210528890363594570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8403503849344958800.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8211507748225761941.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 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 ‘prd-centos7-docker-4c-2g-1258’ Running on prd-centos7-docker-4c-2g-1259 in /w/workspace/edgexfoundry_device-gpio_master [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_master # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_master@tmp/jenkins-gitclient-ssh3706502176796512975.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 61390a86f55ee6889073212d49524d4c8e9ed7d1 (master) > 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 core.sparsecheckout # timeout=10 > git checkout -f 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 Commit message: "Merge pull request #4 from iain-anderson/update-image-names" > git rev-list --no-walk 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-01T17:43:13.030Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-01T17:43:13.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T17:43:13.165Z] ========================================================= [2021-07-01T17:43:13.165Z] EdgeX Global Pipelines Version Info [2021-07-01T17:43:13.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:43:16.967Z] ------------------- [2021-07-01T17:43:16.967Z] stable info: [2021-07-01T17:43:16.967Z] ------------------- [2021-07-01T17:43:16.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-01T17:43:16.967Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T17:43:16.967Z] Message: update stable to v1.0.195 [2021-07-01T17:43:17.540Z] ------------------- [2021-07-01T17:43:17.540Z] experimental info: [2021-07-01T17:43:17.540Z] ------------------- [2021-07-01T17:43:17.540Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-01T17:43:17.540Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-07-01T17:43:17.540Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-01T17:43:17.741Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-07-01T17:43:17.763Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-07-01T17:43:17.785Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-01T17:43:17.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-01T17:43:17.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-01T17:43:17.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-01T17:43:17.872Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-01T17:43:17.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-01T17:43:17.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-01T17:43:17.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-01T17:43:17.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-01T17:43:17.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-07-01T17:43:18.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-01T17:43:18.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-01T17:43:18.048Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-01T17:43:18.070Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-01T17:43:18.090Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T17:43:18.112Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-01T17:43:18.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-01T17:43:18.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-01T17:43:18.179Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-01T17:43:18.201Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-01T17:43:18.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-01T17:43:18.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-01T17:43:18.271Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-01T17:43:20.651Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-01T17:43:20.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-07-01T17:43:20.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-07-01T17:43:20.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-07-01T17:43:20.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61390a86f55ee6889073212d49524d4c8e9ed7d1 [Pipeline] echo [2021-07-01T17:43:20.774Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61390a8 [Pipeline] echo [2021-07-01T17:43:20.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:43:20.888Z] provisioning config files... [2021-07-01T17:43:20.905Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config7397529822752214467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:43:21.229Z] ---> docker-login.sh [2021-07-01T17:43:21.229Z] nexus3.edgexfoundry.org:10001 [2021-07-01T17:43:21.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:43:21.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:43:21.492Z] Configure a credential helper to remove this warning. See [2021-07-01T17:43:21.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:43:21.492Z] [2021-07-01T17:43:21.492Z] Login Succeeded [2021-07-01T17:43:21.492Z] nexus3.edgexfoundry.org:10002 [2021-07-01T17:43:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:43:21.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:43:21.764Z] Configure a credential helper to remove this warning. See [2021-07-01T17:43:21.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:43:21.764Z] [2021-07-01T17:43:21.764Z] Login Succeeded [2021-07-01T17:43:21.764Z] nexus3.edgexfoundry.org:10003 [2021-07-01T17:43:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:43:22.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:43:22.026Z] Configure a credential helper to remove this warning. See [2021-07-01T17:43:22.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:43:22.026Z] [2021-07-01T17:43:22.026Z] Login Succeeded [2021-07-01T17:43:22.026Z] nexus3.edgexfoundry.org:10004 [2021-07-01T17:43:22.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:43:22.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:43:22.026Z] Configure a credential helper to remove this warning. See [2021-07-01T17:43:22.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:43:22.026Z] [2021-07-01T17:43:22.026Z] Login Succeeded [2021-07-01T17:43:22.026Z] docker.io [2021-07-01T17:43:22.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:43:22.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:43:22.604Z] Configure a credential helper to remove this warning. See [2021-07-01T17:43:22.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:43:22.604Z] [2021-07-01T17:43:22.604Z] Login Succeeded [2021-07-01T17:43:22.604Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T17:43:22.614Z] 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-01T17:43:23.161Z] + git log --format=format:%s -1 61390a86f55ee6889073212d49524d4c8e9ed7d1 [Pipeline] echo [2021-07-01T17:43:23.202Z] GIT_COMMIT: 61390a86f55ee6889073212d49524d4c8e9ed7d1, Commit Message: Merge pull request #4 from iain-anderson/update-image-names [Pipeline] echo [2021-07-01T17:43:23.216Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:43:26.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:43:26.756Z] [2021-07-01T17:43:26.756Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:43:27.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:43:27.075Z] latest: Pulling from edgex-devops/git-semver [2021-07-01T17:43:27.075Z] 31603596830f: Pulling fs layer [2021-07-01T17:43:27.075Z] 54011a49482f: Pulling fs layer [2021-07-01T17:43:27.075Z] a6820b24f6d8: Pulling fs layer [2021-07-01T17:43:27.075Z] f581987b2513: Pulling fs layer [2021-07-01T17:43:27.075Z] f581987b2513: Waiting [2021-07-01T17:43:27.075Z] 54011a49482f: Verifying Checksum [2021-07-01T17:43:27.075Z] 54011a49482f: Download complete [2021-07-01T17:43:27.337Z] 31603596830f: Verifying Checksum [2021-07-01T17:43:27.337Z] 31603596830f: Download complete [2021-07-01T17:43:27.337Z] f581987b2513: Verifying Checksum [2021-07-01T17:43:27.337Z] f581987b2513: Download complete [2021-07-01T17:43:27.337Z] a6820b24f6d8: Verifying Checksum [2021-07-01T17:43:27.337Z] a6820b24f6d8: Download complete [2021-07-01T17:43:27.914Z] 31603596830f: Pull complete [2021-07-01T17:43:27.914Z] 54011a49482f: Pull complete [2021-07-01T17:43:28.499Z] a6820b24f6d8: Pull complete [2021-07-01T17:43:28.762Z] f581987b2513: Pull complete [2021-07-01T17:43:28.762Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-01T17:43:28.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:43:28.762Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-01T17:43:28.842Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:43:28.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T17:43:30.041Z] $ docker top 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-01T17:43:30.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T17:43:30.166Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T17:43:30.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T17:43:30.282Z] $ docker exec 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b ssh-agent [2021-07-01T17:43:30.397Z] SSH_AUTH_SOCK=/tmp/ssh-F67YQ7KXTWiP/agent.14 [2021-07-01T17:43:30.397Z] SSH_AGENT_PID=20 [2021-07-01T17:43:30.406Z] Running ssh-add (command line suppressed) [2021-07-01T17:43:30.506Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_1865144328726438831.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_1865144328726438831.key) [2021-07-01T17:43:30.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T17:43:30.822Z] + git tag --points-at HEAD [Pipeline] } [2021-07-01T17:43:30.832Z] $ docker exec --env ******** --env ******** 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b ssh-agent -k [2021-07-01T17:43:30.918Z] unset SSH_AUTH_SOCK; [2021-07-01T17:43:30.918Z] unset SSH_AGENT_PID; [2021-07-01T17:43:30.918Z] echo Agent pid 20 killed; [2021-07-01T17:43:30.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-01T17:43:30.969Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v0.0.1-dev.1|v1.0.0' [Pipeline] sshagent [2021-07-01T17:43:30.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-01T17:43:30.996Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-01T17:43:31.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-01T17:43:31.100Z] $ docker exec 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b ssh-agent [2021-07-01T17:43:31.215Z] SSH_AUTH_SOCK=/tmp/ssh-YOMQguExL6Gc/agent.54 [2021-07-01T17:43:31.215Z] SSH_AGENT_PID=60 [2021-07-01T17:43:31.220Z] Running ssh-add (command line suppressed) [2021-07-01T17:43:31.310Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_3973710301007238007.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_3973710301007238007.key) [2021-07-01T17:43:31.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-01T17:43:33.958Z] + git semver init [2021-07-01T17:43:33.959Z] # -> Open(): unable to determine branch for HEAD [2021-07-01T17:43:33.959Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_master/.git [2021-07-01T17:43:33.959Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_master [2021-07-01T17:43:33.959Z] # $SEMVER_REMOTE_NAME = origin [2021-07-01T17:43:33.959Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-01T17:43:33.959Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-01T17:43:33.959Z] # $SEMVER_BRANCH = master [2021-07-01T17:43:33.959Z] # $SEMVER_TEMP = /tmp/semver-447522030 [2021-07-01T17:43:33.959Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-07-01T17:43:33.976Z] # '/tmp/semver-447522030' -> '/w/workspace/edgexfoundry_device-gpio_master/.semver' [2021-07-01T17:43:33.976Z] # -> Force: false [2021-07-01T17:43:33.976Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_master/.semver [Pipeline] } [2021-07-01T17:43:33.977Z] $ docker exec --env ******** --env ******** 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b ssh-agent -k [2021-07-01T17:43:34.076Z] unset SSH_AUTH_SOCK; [2021-07-01T17:43:34.076Z] unset SSH_AGENT_PID; [2021-07-01T17:43:34.076Z] echo Agent pid 60 killed; [2021-07-01T17:43:34.088Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T17:43:34.425Z] + git semver [Pipeline] } [2021-07-01T17:43:34.436Z] $ docker stop --time=1 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b [2021-07-01T17:43:35.734Z] $ docker rm -f 7bf95795d2c6ce0dd96ce35d3e522511ec39716d968c8150da323956189df01b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T17:43:36.112Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-01T17:43:36.353Z] Stashed 1 file(s) [Pipeline] echo [2021-07-01T17:43:36.356Z] [edgeXSemver]: initialized semver on version 1.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-01T17:43:51.598Z] Still waiting to schedule task [2021-07-01T17:43:51.598Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-01T17:43:51.600Z] Still waiting to schedule task [2021-07-01T17:43:51.601Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-01T17:45:54.470Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1260 in /w/workspace/edgexfoundry_device-gpio_master [Pipeline] { [Pipeline] ws [2021-07-01T17:45:54.496Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2021-07-01T17:45:54.671Z] The recommended git tool is: git [2021-07-01T17:46:02.424Z] using credential edgex-jenkins-ssh [2021-07-01T17:46:02.442Z] Cloning the remote Git repository [2021-07-01T17:46:02.503Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-01T17:46:02.604Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2021-07-01T17:46:02.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-01T17:46:02.682Z] > git --version # timeout=10 [2021-07-01T17:46:02.696Z] > git --version # 'git version 2.17.1' [2021-07-01T17:46:02.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T17:46:02.777Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T17:46:04.209Z] Avoid second fetch [2021-07-01T17:46:04.209Z] Checking out Revision 61390a86f55ee6889073212d49524d4c8e9ed7d1 (master) [2021-07-01T17:46:04.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-01T17:46:04.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T17:46:04.240Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T17:46:04.252Z] > git checkout -f 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [2021-07-01T17:46:11.086Z] Commit message: "Merge pull request #4 from iain-anderson/update-image-names" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T17:46:12.532Z] + git checkout 61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:46:12.532Z] HEAD is now at 61390a8 Merge pull request #4 from iain-anderson/update-image-names [Pipeline] sh [2021-07-01T17:46:12.950Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-01T17:46:13.292Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T17:46:13.644Z] + sudo service docker restart [2021-07-01T17:46:13.644Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:46:31.995Z] provisioning config files... [2021-07-01T17:46:32.021Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config8480341534140112288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:46:32.394Z] ---> docker-login.sh [2021-07-01T17:46:32.394Z] nexus3.edgexfoundry.org:10001 [2021-07-01T17:46:33.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:46:33.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:46:33.651Z] Configure a credential helper to remove this warning. See [2021-07-01T17:46:33.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:46:33.651Z] [2021-07-01T17:46:33.651Z] Login Succeeded [2021-07-01T17:46:33.651Z] nexus3.edgexfoundry.org:10002 [2021-07-01T17:46:33.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:46:34.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:46:34.204Z] Configure a credential helper to remove this warning. See [2021-07-01T17:46:34.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:46:34.204Z] [2021-07-01T17:46:34.204Z] Login Succeeded [2021-07-01T17:46:34.204Z] nexus3.edgexfoundry.org:10003 [2021-07-01T17:46:34.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:46:34.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:46:34.759Z] Configure a credential helper to remove this warning. See [2021-07-01T17:46:34.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:46:34.759Z] [2021-07-01T17:46:34.759Z] Login Succeeded [2021-07-01T17:46:34.759Z] nexus3.edgexfoundry.org:10004 [2021-07-01T17:46:35.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:46:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:46:35.310Z] Configure a credential helper to remove this warning. See [2021-07-01T17:46:35.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:46:35.310Z] [2021-07-01T17:46:35.310Z] Login Succeeded [2021-07-01T17:46:35.310Z] docker.io [2021-07-01T17:46:35.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:46:36.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:46:36.183Z] Configure a credential helper to remove this warning. See [2021-07-01T17:46:36.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:46:36.183Z] [2021-07-01T17:46:36.183Z] Login Succeeded [2021-07-01T17:46:36.183Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T17:46:36.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-01T17:46:38.973Z] ========================================================= [2021-07-01T17:46:38.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-01T17:46:38.974Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:46:39.356Z] + 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-01T17:46:39.956Z] Sending build context to Docker daemon 5.48MB [2021-07-01T17:46:39.956Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T17:46:39.956Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-01T17:46:39.956Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-01T17:46:39.956Z] 595b0fe564bb: Pulling fs layer [2021-07-01T17:46:39.956Z] 3088b5b3c5c0: Pulling fs layer [2021-07-01T17:46:39.956Z] 5b7225fbf94c: Pulling fs layer [2021-07-01T17:46:39.956Z] ba82ee9f976e: Pulling fs layer [2021-07-01T17:46:39.956Z] ba82ee9f976e: Waiting [2021-07-01T17:46:39.956Z] 506bd15cee9f: Pulling fs layer [2021-07-01T17:46:39.956Z] 75a0a4a0db45: Pulling fs layer [2021-07-01T17:46:39.956Z] 618dc40b7e24: Pulling fs layer [2021-07-01T17:46:39.956Z] 506bd15cee9f: Waiting [2021-07-01T17:46:39.956Z] 75a0a4a0db45: Waiting [2021-07-01T17:46:39.956Z] 618dc40b7e24: Waiting [2021-07-01T17:46:39.956Z] 5b7225fbf94c: Verifying Checksum [2021-07-01T17:46:39.956Z] 5b7225fbf94c: Download complete [2021-07-01T17:46:40.235Z] 3088b5b3c5c0: Download complete [2021-07-01T17:46:40.235Z] 506bd15cee9f: Download complete [2021-07-01T17:46:40.235Z] 75a0a4a0db45: Verifying Checksum [2021-07-01T17:46:40.235Z] 75a0a4a0db45: Download complete [2021-07-01T17:46:40.235Z] 595b0fe564bb: Download complete [2021-07-01T17:46:40.834Z] 595b0fe564bb: Pull complete [2021-07-01T17:46:41.828Z] 3088b5b3c5c0: Pull complete [2021-07-01T17:46:42.114Z] 5b7225fbf94c: Pull complete [2021-07-01T17:46:42.716Z] 618dc40b7e24: Verifying Checksum [2021-07-01T17:46:42.716Z] 618dc40b7e24: Download complete [2021-07-01T17:46:44.152Z] ba82ee9f976e: Verifying Checksum [2021-07-01T17:46:44.152Z] ba82ee9f976e: Download complete [2021-07-01T17:46:55.188Z] Running on prd-centos7-docker-4c-2g-1261 in /w/workspace/edgexfoundry_device-gpio_master [Pipeline] { [Pipeline] ws [2021-07-01T17:46:55.210Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2021-07-01T17:46:55.338Z] The recommended git tool is: git [2021-07-01T17:46:55.434Z] ba82ee9f976e: Pull complete [2021-07-01T17:46:55.435Z] 506bd15cee9f: Pull complete [2021-07-01T17:46:55.435Z] 75a0a4a0db45: Pull complete [2021-07-01T17:46:58.507Z] 618dc40b7e24: Pull complete [2021-07-01T17:46:58.507Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-01T17:46:58.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-01T17:46:58.507Z] ---> a36622ca3599 [2021-07-01T17:46:58.507Z] Step 3/8 : WORKDIR /device-gpio [2021-07-01T17:47:00.394Z] using credential edgex-jenkins-ssh [2021-07-01T17:47:00.409Z] Cloning the remote Git repository [2021-07-01T17:47:00.504Z] ---> Running in c7b49d6abbbc [2021-07-01T17:47:00.779Z] Removing intermediate container c7b49d6abbbc [2021-07-01T17:47:00.779Z] ---> fbb47e8e55a3 [2021-07-01T17:47:00.779Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:47:00.287Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-01T17:47:00.364Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2021-07-01T17:47:00.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-01T17:47:00.408Z] > git --version # timeout=10 [2021-07-01T17:47:00.423Z] > git --version # 'git version 2.24.4' [2021-07-01T17:47:00.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-01T17:47:00.456Z] [INFO] Currently running in a labeled security context [2021-07-01T17:47:00.456Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-01T17:47:00.456Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/3@tmp/jenkins-gitclient-ssh3225899632417857790.key [2021-07-01T17:47:00.485Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T17:47:01.054Z] ---> Running in eac114b9e557 [2021-07-01T17:47:01.424Z] Avoid second fetch [2021-07-01T17:47:01.425Z] Checking out Revision 61390a86f55ee6889073212d49524d4c8e9ed7d1 (master) [2021-07-01T17:47:01.510Z] Removing intermediate container eac114b9e557 [2021-07-01T17:47:01.510Z] ---> 0af2289f5b7b [2021-07-01T17:47:01.510Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T17:47:01.815Z] ---> Running in 2de5eb78b09c [2021-07-01T17:47:01.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-01T17:47:01.337Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-01T17:47:01.364Z] > git config core.sparsecheckout # timeout=10 [2021-07-01T17:47:01.370Z] > git checkout -f 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [2021-07-01T17:47:04.469Z] Removing intermediate container 2de5eb78b09c [2021-07-01T17:47:04.469Z] ---> a3697d11f023 [2021-07-01T17:47:04.469Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-01T17:47:04.469Z] ---> Running in e0a45ed84094 [2021-07-01T17:47:07.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-01T17:47:07.193Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-01T17:47:07.193Z] OK: 138 MiB in 40 packages [2021-07-01T17:47:07.557Z] Commit message: "Merge pull request #4 from iain-anderson/update-image-names" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T17:47:08.172Z] Removing intermediate container e0a45ed84094 [2021-07-01T17:47:08.172Z] ---> 8112acc90c57 [2021-07-01T17:47:08.172Z] Step 7/8 : COPY . . [2021-07-01T17:47:08.561Z] + git checkout 61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:47:08.561Z] HEAD is now at 61390a8 Merge pull request #4 from iain-anderson/update-image-names [Pipeline] sh [2021-07-01T17:47:08.896Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-01T17:47:09.161Z] ---> 72c818e18e5e [2021-07-01T17:47:09.161Z] Step 8/8 : RUN go mod download [2021-07-01T17:47:09.201Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-01T17:47:09.439Z] ---> Running in 9a32165aea8b [2021-07-01T17:47:09.506Z] + sudo service docker restart [2021-07-01T17:47:09.506Z] + true [2021-07-01T17:47:09.506Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:47:27.701Z] provisioning config files... [2021-07-01T17:47:27.717Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config6503217563755131613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:47:28.048Z] ---> docker-login.sh [2021-07-01T17:47:28.048Z] nexus3.edgexfoundry.org:10001 [2021-07-01T17:47:28.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:47:28.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:47:28.311Z] Configure a credential helper to remove this warning. See [2021-07-01T17:47:28.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:47:28.311Z] [2021-07-01T17:47:28.311Z] Login Succeeded [2021-07-01T17:47:28.311Z] nexus3.edgexfoundry.org:10002 [2021-07-01T17:47:28.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:47:28.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:47:28.580Z] Configure a credential helper to remove this warning. See [2021-07-01T17:47:28.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:47:28.580Z] [2021-07-01T17:47:28.580Z] Login Succeeded [2021-07-01T17:47:28.580Z] nexus3.edgexfoundry.org:10003 [2021-07-01T17:47:28.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:47:28.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:47:28.580Z] Configure a credential helper to remove this warning. See [2021-07-01T17:47:28.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:47:28.580Z] [2021-07-01T17:47:28.580Z] Login Succeeded [2021-07-01T17:47:28.580Z] nexus3.edgexfoundry.org:10004 [2021-07-01T17:47:28.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:47:28.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:47:28.842Z] Configure a credential helper to remove this warning. See [2021-07-01T17:47:28.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:47:28.842Z] [2021-07-01T17:47:28.842Z] Login Succeeded [2021-07-01T17:47:28.842Z] docker.io [2021-07-01T17:47:28.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:47:29.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:47:29.104Z] Configure a credential helper to remove this warning. See [2021-07-01T17:47:29.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:47:29.104Z] [2021-07-01T17:47:29.104Z] Login Succeeded [2021-07-01T17:47:29.104Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T17:47:29.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-01T17:47:31.814Z] ========================================================= [2021-07-01T17:47:31.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-01T17:47:31.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:47:32.175Z] + 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-01T17:47:32.175Z] Sending build context to Docker daemon 5.481MB [2021-07-01T17:47:32.175Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T17:47:32.175Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-01T17:47:32.435Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-01T17:47:32.435Z] 540db60ca938: Pulling fs layer [2021-07-01T17:47:32.435Z] adcc1eea9eea: Pulling fs layer [2021-07-01T17:47:32.435Z] 4c4ab2625f07: Pulling fs layer [2021-07-01T17:47:32.435Z] 0510c868ecb4: Pulling fs layer [2021-07-01T17:47:32.435Z] afea3b2eda06: Pulling fs layer [2021-07-01T17:47:32.435Z] 7809a108b3ef: Pulling fs layer [2021-07-01T17:47:32.435Z] f706445af74f: Pulling fs layer [2021-07-01T17:47:32.435Z] 0510c868ecb4: Waiting [2021-07-01T17:47:32.435Z] afea3b2eda06: Waiting [2021-07-01T17:47:32.435Z] 7809a108b3ef: Waiting [2021-07-01T17:47:32.435Z] f706445af74f: Waiting [2021-07-01T17:47:32.435Z] 4c4ab2625f07: Verifying Checksum [2021-07-01T17:47:32.435Z] 4c4ab2625f07: Download complete [2021-07-01T17:47:32.435Z] adcc1eea9eea: Verifying Checksum [2021-07-01T17:47:32.435Z] adcc1eea9eea: Download complete [2021-07-01T17:47:32.435Z] afea3b2eda06: Verifying Checksum [2021-07-01T17:47:32.435Z] afea3b2eda06: Download complete [2021-07-01T17:47:32.435Z] 540db60ca938: Verifying Checksum [2021-07-01T17:47:32.435Z] 540db60ca938: Download complete [2021-07-01T17:47:32.435Z] 7809a108b3ef: Verifying Checksum [2021-07-01T17:47:32.435Z] 7809a108b3ef: Download complete [2021-07-01T17:47:32.705Z] 540db60ca938: Pull complete [2021-07-01T17:47:32.705Z] adcc1eea9eea: Pull complete [2021-07-01T17:47:32.966Z] 4c4ab2625f07: Pull complete [2021-07-01T17:47:34.364Z] f706445af74f: Verifying Checksum [2021-07-01T17:47:34.364Z] f706445af74f: Download complete [2021-07-01T17:47:34.628Z] 0510c868ecb4: Verifying Checksum [2021-07-01T17:47:34.628Z] 0510c868ecb4: Download complete [2021-07-01T17:47:37.947Z] 0510c868ecb4: Pull complete [2021-07-01T17:47:37.947Z] afea3b2eda06: Pull complete [2021-07-01T17:47:38.210Z] 7809a108b3ef: Pull complete [2021-07-01T17:47:39.607Z] f706445af74f: Pull complete [2021-07-01T17:47:39.608Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-01T17:47:39.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-01T17:47:39.608Z] ---> b068be0155e3 [2021-07-01T17:47:39.608Z] Step 3/8 : WORKDIR /device-gpio [2021-07-01T17:47:43.824Z] ---> Running in be438dd36d61 [2021-07-01T17:47:43.824Z] Removing intermediate container be438dd36d61 [2021-07-01T17:47:43.824Z] ---> 0e1150e081e3 [2021-07-01T17:47:43.824Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:47:43.824Z] ---> Running in 5909336f2203 [2021-07-01T17:47:43.824Z] Removing intermediate container 5909336f2203 [2021-07-01T17:47:43.824Z] ---> 51572c6c76fc [2021-07-01T17:47:43.824Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T17:47:43.824Z] ---> Running in 41ec11a20080 [2021-07-01T17:47:43.824Z] Removing intermediate container 41ec11a20080 [2021-07-01T17:47:43.824Z] ---> d20b50da7b61 [2021-07-01T17:47:43.824Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-01T17:47:44.087Z] ---> Running in b4a4f9d145a6 [2021-07-01T17:47:44.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-01T17:47:45.296Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-01T17:47:45.557Z] OK: 149 MiB in 40 packages [2021-07-01T17:47:45.819Z] Removing intermediate container b4a4f9d145a6 [2021-07-01T17:47:45.819Z] ---> 87bab88d5a85 [2021-07-01T17:47:45.819Z] Step 7/8 : COPY . . [2021-07-01T17:47:46.082Z] ---> 97d4e9b942c8 [2021-07-01T17:47:46.082Z] Step 8/8 : RUN go mod download [2021-07-01T17:47:46.082Z] ---> Running in 641ead2ad2e0 [2021-07-01T17:47:56.581Z] Removing intermediate container 9a32165aea8b [2021-07-01T17:47:56.581Z] ---> 72af31cfe863 [2021-07-01T17:47:56.581Z] Successfully built 72af31cfe863 [2021-07-01T17:47:56.581Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:47:56.923Z] + docker inspect -f . ci-base-image-arm64 [2021-07-01T17:47:56.923Z] . [Pipeline] withDockerContainer [2021-07-01T17:47:57.164Z] prd-ubuntu18.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container [2021-07-01T17:47:57.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** ci-base-image-arm64 cat [2021-07-01T17:47:58.870Z] $ docker top a7fe9e6ca01a082d128d0378ececb7be87965cffd6e7407d75adef8e8c47470a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T17:47:59.878Z] + go version [2021-07-01T17:47:59.878Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-01T17:47:59.903Z] $ docker stop --time=1 a7fe9e6ca01a082d128d0378ececb7be87965cffd6e7407d75adef8e8c47470a [2021-07-01T17:48:01.751Z] $ docker rm -f a7fe9e6ca01a082d128d0378ececb7be87965cffd6e7407d75adef8e8c47470a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:48:02.580Z] + docker inspect -f . ci-base-image-arm64 [2021-07-01T17:48:02.580Z] . [Pipeline] withDockerContainer [2021-07-01T17:48:02.817Z] prd-ubuntu18.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container [2021-07-01T17:48:02.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** ci-base-image-arm64 cat [2021-07-01T17:48:04.511Z] $ docker top fcf93d764a92cbffe13981234f6ab2a087c048d8464ccbf9ed29068a1182d5e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T17:48:05.486Z] + go mod tidy [Pipeline] sh [2021-07-01T17:48:09.047Z] Removing intermediate container 641ead2ad2e0 [2021-07-01T17:48:09.047Z] ---> a6289015e0ba [2021-07-01T17:48:09.047Z] Successfully built a6289015e0ba [2021-07-01T17:48:09.047Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:48:09.114Z] + make test [2021-07-01T17:48:09.114Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-01T17:48:09.114Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-01T17:48:09.366Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-01T17:48:09.366Z] . [Pipeline] withDockerContainer [2021-07-01T17:48:09.447Z] prd-centos7-docker-4c-2g-1261 does not seem to be running inside a container [2021-07-01T17:48:09.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** ci-base-image-x86_64 cat [2021-07-01T17:48:09.843Z] $ docker top bd49f5ef3436fb5963f062f6d30f61eb055895adf9b0005c8c9e8d55a25e8372 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T17:48:10.228Z] + go version [2021-07-01T17:48:10.228Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-01T17:48:10.238Z] $ docker stop --time=1 bd49f5ef3436fb5963f062f6d30f61eb055895adf9b0005c8c9e8d55a25e8372 [2021-07-01T17:48:11.429Z] $ docker rm -f bd49f5ef3436fb5963f062f6d30f61eb055895adf9b0005c8c9e8d55a25e8372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:48:11.980Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-01T17:48:11.980Z] . [Pipeline] withDockerContainer [2021-07-01T17:48:12.065Z] prd-centos7-docker-4c-2g-1261 does not seem to be running inside a container [2021-07-01T17:48:12.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** ci-base-image-x86_64 cat [2021-07-01T17:48:12.458Z] $ docker top 95709bb58d4dbcf40b903a3d66b3909ddd1105f764962ddc9bcfe6542e9cc690 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T17:48:12.860Z] + go mod tidy [Pipeline] sh [2021-07-01T17:48:13.427Z] + make test [2021-07-01T17:48:13.427Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-01T17:48:13.699Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-01T17:48:26.022Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-01T17:48:26.022Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-01T17:48:26.022Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-01T17:48:34.665Z] gofmt -l . [2021-07-01T17:48:34.665Z] [ "`gofmt -l .`" = "" ] [2021-07-01T17:48:34.665Z] ./bin/test-attribution-txt.sh [2021-07-01T17:48:34.665Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-01T17:48:34.675Z] $ docker stop --time=1 95709bb58d4dbcf40b903a3d66b3909ddd1105f764962ddc9bcfe6542e9cc690 [2021-07-01T17:48:36.044Z] $ docker rm -f 95709bb58d4dbcf40b903a3d66b3909ddd1105f764962ddc9bcfe6542e9cc690 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-01T17:48:36.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-01T17:48:36.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-01T17:48:51.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-01T17:48:52.015Z] + ls -al . [2021-07-01T17:48:52.015Z] total 104 [2021-07-01T17:48:52.015Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jul 1 17:48 . [2021-07-01T17:48:52.015Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 1 17:47 .. [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 5451 Jul 1 17:47 Attribution.txt [2021-07-01T17:48:52.015Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 1 17:47 bin [2021-07-01T17:48:52.015Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 1 17:47 cmd [2021-07-01T17:48:52.015Z] -rw-r--r--. 1 jenkins jenkins 10 Jul 1 17:48 coverage.out [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 1502 Jul 1 17:47 Dockerfile [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 972 Jul 1 17:47 Dockerfile.build [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 120 Jul 1 17:47 .dockerignore [2021-07-01T17:48:52.015Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 1 17:47 .git [2021-07-01T17:48:52.015Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 1 17:47 .github [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 350 Jul 1 17:47 .gitignore [2021-07-01T17:48:52.015Z] -rw-r--r--. 1 jenkins jenkins 379 Jul 1 17:48 go.mod [2021-07-01T17:48:52.015Z] -rw-r--r--. 1 jenkins jenkins 30244 Jul 1 17:48 go.sum [2021-07-01T17:48:52.015Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 1 17:47 internal [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 657 Jul 1 17:47 Jenkinsfile [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 1 17:47 LICENSE [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 906 Jul 1 17:47 Makefile [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 6495 Jul 1 17:47 README.md [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 1 17:43 VERSION [2021-07-01T17:48:52.015Z] -rw-rw-r--. 1 jenkins jenkins 209 Jul 1 17:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:48:52.130Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-01T17:48:52.130Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-01T17:48:52.130Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-01T17:48:52.387Z] + 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=61390a86f55ee6889073212d49524d4c8e9ed7d1 --label arch=amd64 --label version=1.0.0 . [2021-07-01T17:48:52.387Z] Sending build context to Docker daemon 5.483MB [2021-07-01T17:48:52.387Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T17:48:52.387Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-01T17:48:52.387Z] ---> a6289015e0ba [2021-07-01T17:48:52.387Z] Step 3/23 : ARG MAKE='make build' [2021-07-01T17:48:52.387Z] ---> Running in dcfbc9df5ab7 [2021-07-01T17:48:52.387Z] Removing intermediate container dcfbc9df5ab7 [2021-07-01T17:48:52.387Z] ---> e80d0bc3e04a [2021-07-01T17:48:52.387Z] Step 4/23 : WORKDIR /device-gpio [2021-07-01T17:48:52.790Z] ---> Running in 4b0321bec030 [2021-07-01T17:48:52.790Z] Removing intermediate container 4b0321bec030 [2021-07-01T17:48:52.790Z] ---> 8b0b3173737b [2021-07-01T17:48:52.790Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:48:52.790Z] ---> Running in 0ee31ec01a60 [2021-07-01T17:48:52.790Z] Removing intermediate container 0ee31ec01a60 [2021-07-01T17:48:52.790Z] ---> c2c27c1d41f9 [2021-07-01T17:48:52.790Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T17:48:52.790Z] ---> Running in b94ddf6e7889 [2021-07-01T17:48:53.373Z] Removing intermediate container b94ddf6e7889 [2021-07-01T17:48:53.373Z] ---> ee0eeaabb654 [2021-07-01T17:48:53.373Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-01T17:48:53.373Z] ---> Running in c9d668676b00 [2021-07-01T17:48:53.635Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-01T17:48:54.207Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-01T17:48:55.157Z] OK: 149 MiB in 40 packages [2021-07-01T17:48:55.418Z] Removing intermediate container c9d668676b00 [2021-07-01T17:48:55.418Z] ---> 5b5fe4532ce5 [2021-07-01T17:48:55.418Z] Step 8/23 : COPY . . [2021-07-01T17:48:55.677Z] ---> 1a238c35665e [2021-07-01T17:48:55.677Z] Step 9/23 : RUN go mod tidy [2021-07-01T17:48:55.938Z] ---> Running in 09e5e6f30e5b [2021-07-01T17:48:56.516Z] Removing intermediate container 09e5e6f30e5b [2021-07-01T17:48:56.516Z] ---> a638edb6a07b [2021-07-01T17:48:56.516Z] Step 10/23 : RUN ${MAKE} [2021-07-01T17:48:56.776Z] ---> Running in 94b4959ec9a9 [2021-07-01T17:48:57.045Z] go mod tidy [2021-07-01T17:48:57.045Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.0" -o cmd/device-gpio ./cmd [2021-07-01T17:49:09.367Z] Removing intermediate container 94b4959ec9a9 [2021-07-01T17:49:09.367Z] ---> 72916c24cee9 [2021-07-01T17:49:09.367Z] Step 11/23 : FROM scratch [2021-07-01T17:49:09.367Z] ---> [2021-07-01T17:49:09.367Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:49:09.367Z] ---> Running in 6bf90b6b06fa [2021-07-01T17:49:09.367Z] Removing intermediate container 6bf90b6b06fa [2021-07-01T17:49:09.367Z] ---> c50a0c132a60 [2021-07-01T17:49:09.367Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-01T17:49:09.367Z] ---> Running in 69a814888d59 [2021-07-01T17:49:09.367Z] Removing intermediate container 69a814888d59 [2021-07-01T17:49:09.367Z] ---> 69a3982dfd8f [2021-07-01T17:49:09.367Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-01T17:49:09.367Z] ---> Running in f9646f19b6ca [2021-07-01T17:49:09.367Z] Removing intermediate container f9646f19b6ca [2021-07-01T17:49:09.367Z] ---> 1038a36a1271 [2021-07-01T17:49:09.367Z] Step 15/23 : WORKDIR / [2021-07-01T17:49:09.367Z] ---> Running in 88489fed8d12 [2021-07-01T17:49:09.367Z] Removing intermediate container 88489fed8d12 [2021-07-01T17:49:09.367Z] ---> d70617ab10e5 [2021-07-01T17:49:09.367Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-01T17:49:09.367Z] ---> de73b1d3f3a8 [2021-07-01T17:49:09.367Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-01T17:49:09.367Z] ---> 5cacde4c23b3 [2021-07-01T17:49:09.367Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-01T17:49:09.367Z] ---> 506afa92bdfe [2021-07-01T17:49:09.367Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-01T17:49:09.367Z] ---> Running in 4fc39fbeaa45 [2021-07-01T17:49:09.367Z] Removing intermediate container 4fc39fbeaa45 [2021-07-01T17:49:09.367Z] ---> 41f0e35c92b7 [2021-07-01T17:49:09.367Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-01T17:49:09.367Z] ---> Running in 80c736604de8 [2021-07-01T17:49:09.367Z] Removing intermediate container 80c736604de8 [2021-07-01T17:49:09.367Z] ---> e56bf4fd33fb [2021-07-01T17:49:09.367Z] Step 21/23 : LABEL arch=amd64 [2021-07-01T17:49:09.649Z] ---> Running in 6c038b82d35c [2021-07-01T17:49:09.649Z] Removing intermediate container 6c038b82d35c [2021-07-01T17:49:09.649Z] ---> d16c0441f06e [2021-07-01T17:49:09.649Z] Step 22/23 : LABEL git_sha=61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:49:09.916Z] ---> Running in 0f6155c5f59a [2021-07-01T17:49:09.916Z] Removing intermediate container 0f6155c5f59a [2021-07-01T17:49:09.917Z] ---> dc875b09b014 [2021-07-01T17:49:09.917Z] Step 23/23 : LABEL version=1.0.0 [2021-07-01T17:49:10.179Z] ---> Running in 546e4d70c346 [2021-07-01T17:49:10.179Z] Removing intermediate container 546e4d70c346 [2021-07-01T17:49:10.179Z] ---> 140961b7b68f [2021-07-01T17:49:10.179Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-01T17:49:10.179Z] Successfully built 140961b7b68f [2021-07-01T17:49:10.179Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:49:10.443Z] provisioning config files... [2021-07-01T17:49:10.470Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config513767672884087952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:49:10.578Z] gofmt -l . [2021-07-01T17:49:10.578Z] [ "`gofmt -l .`" = "" ] [2021-07-01T17:49:10.578Z] ./bin/test-attribution-txt.sh [2021-07-01T17:49:10.578Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-01T17:49:10.640Z] $ docker stop --time=1 fcf93d764a92cbffe13981234f6ab2a087c048d8464ccbf9ed29068a1182d5e7 [2021-07-01T17:49:10.874Z] ---> docker-login.sh [2021-07-01T17:49:10.875Z] nexus3.edgexfoundry.org:10001 [2021-07-01T17:49:10.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:49:10.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:49:10.875Z] Configure a credential helper to remove this warning. See [2021-07-01T17:49:10.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:49:10.875Z] [2021-07-01T17:49:10.875Z] Login Succeeded [2021-07-01T17:49:10.875Z] nexus3.edgexfoundry.org:10002 [2021-07-01T17:49:11.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:49:11.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:49:11.146Z] Configure a credential helper to remove this warning. See [2021-07-01T17:49:11.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:49:11.146Z] [2021-07-01T17:49:11.146Z] Login Succeeded [2021-07-01T17:49:11.146Z] nexus3.edgexfoundry.org:10003 [2021-07-01T17:49:11.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:49:11.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:49:11.146Z] Configure a credential helper to remove this warning. See [2021-07-01T17:49:11.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:49:11.146Z] [2021-07-01T17:49:11.146Z] Login Succeeded [2021-07-01T17:49:11.433Z] nexus3.edgexfoundry.org:10004 [2021-07-01T17:49:11.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:49:11.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:49:11.433Z] Configure a credential helper to remove this warning. See [2021-07-01T17:49:11.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:49:11.433Z] [2021-07-01T17:49:11.433Z] Login Succeeded [2021-07-01T17:49:11.433Z] docker.io [2021-07-01T17:49:11.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:49:11.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:49:11.701Z] Configure a credential helper to remove this warning. See [2021-07-01T17:49:11.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:49:11.701Z] [2021-07-01T17:49:11.701Z] Login Succeeded [2021-07-01T17:49:11.701Z] ---> docker-login.sh ends [2021-07-01T17:49:12.698Z] $ docker rm -f fcf93d764a92cbffe13981234f6ab2a087c048d8464ccbf9ed29068a1182d5e7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2021-07-01T17:49:13.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-01T17:49:16.891Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2021-07-01T17:49:16.891Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:49:16.891Z] latest [2021-07-01T17:49:16.891Z] 1.0.0 [2021-07-01T17:49:16.891Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:49:16.891Z] master [2021-07-01T17:49:16.891Z] ===================================================== [2021-07-01T17:49:16.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] withEnv [Pipeline] { [Pipeline] stash [2021-07-01T17:49:16.922Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:17.252Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:17.394Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-07-01T17:49:17.560Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:49:17.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-01T17:49:17.560Z] a8d3b3ba2c08: Preparing [2021-07-01T17:49:17.560Z] 26c408308774: Preparing [2021-07-01T17:49:17.560Z] b5b830443335: Preparing [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-01T17:49:17.829Z] 26c408308774: Pushed [2021-07-01T17:49:17.829Z] b5b830443335: Pushed [2021-07-01T17:49:17.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-01T17:49:18.292Z] + ls -al . [2021-07-01T17:49:18.292Z] total 128 [2021-07-01T17:49:18.292Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 1 17:49 . [2021-07-01T17:49:18.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 17:46 .. [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 1 17:46 .dockerignore [2021-07-01T17:49:18.292Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 17:46 .git [2021-07-01T17:49:18.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 17:46 .github [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 350 Jul 1 17:46 .gitignore [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 5451 Jul 1 17:46 Attribution.txt [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 1502 Jul 1 17:46 Dockerfile [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 972 Jul 1 17:46 Dockerfile.build [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 1 17:46 Jenkinsfile [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 17:46 LICENSE [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 906 Jul 1 17:46 Makefile [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 6495 Jul 1 17:46 README.md [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 17:43 VERSION [2021-07-01T17:49:18.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 17:46 bin [2021-07-01T17:49:18.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 17:46 cmd [2021-07-01T17:49:18.292Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 1 17:48 coverage.out [2021-07-01T17:49:18.292Z] -rw-r--r-- 1 jenkins jenkins 379 Jul 1 17:49 go.mod [2021-07-01T17:49:18.292Z] -rw-r--r-- 1 jenkins jenkins 30244 Jul 1 17:48 go.sum [2021-07-01T17:49:18.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 17:46 internal [2021-07-01T17:49:18.292Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 1 17:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:18.644Z] + 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=61390a86f55ee6889073212d49524d4c8e9ed7d1 --label arch=arm64 --label version=1.0.0 . [2021-07-01T17:49:18.920Z] Sending build context to Docker daemon 5.482MB [2021-07-01T17:49:18.920Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-01T17:49:18.920Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-01T17:49:18.920Z] ---> 72af31cfe863 [2021-07-01T17:49:18.920Z] Step 3/23 : ARG MAKE='make build' [2021-07-01T17:49:19.197Z] ---> Running in 171331506ddc [2021-07-01T17:49:19.230Z] a8d3b3ba2c08: Pushed [2021-07-01T17:49:19.230Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1: digest: sha256:61380ea05736dc43bdcc3691be510ba3c6576f36b7badb5dacb8b44f035b68e5 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:19.543Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:19.795Z] Removing intermediate container 171331506ddc [2021-07-01T17:49:19.795Z] ---> fbbba7c4ae0c [2021-07-01T17:49:19.795Z] Step 4/23 : WORKDIR /device-gpio [2021-07-01T17:49:19.795Z] ---> Running in f845f3ebe6e6 [2021-07-01T17:49:19.853Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-07-01T17:49:19.853Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-01T17:49:19.853Z] a8d3b3ba2c08: Preparing [2021-07-01T17:49:19.853Z] 26c408308774: Preparing [2021-07-01T17:49:19.853Z] b5b830443335: Preparing [2021-07-01T17:49:19.853Z] a8d3b3ba2c08: Layer already exists [2021-07-01T17:49:19.853Z] 26c408308774: Layer already exists [2021-07-01T17:49:19.853Z] b5b830443335: Layer already exists [2021-07-01T17:49:19.853Z] latest: digest: sha256:61380ea05736dc43bdcc3691be510ba3c6576f36b7badb5dacb8b44f035b68e5 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:20.276Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.0 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:20.407Z] Removing intermediate container f845f3ebe6e6 [2021-07-01T17:49:20.407Z] ---> 4020dada1faa [2021-07-01T17:49:20.407Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:49:20.407Z] ---> Running in 5efc125b1104 [2021-07-01T17:49:20.600Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.0 [2021-07-01T17:49:20.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-01T17:49:20.600Z] a8d3b3ba2c08: Preparing [2021-07-01T17:49:20.600Z] 26c408308774: Preparing [2021-07-01T17:49:20.600Z] b5b830443335: Preparing [2021-07-01T17:49:20.600Z] 26c408308774: Layer already exists [2021-07-01T17:49:20.600Z] b5b830443335: Layer already exists [2021-07-01T17:49:20.600Z] a8d3b3ba2c08: Layer already exists [2021-07-01T17:49:20.600Z] 1.0.0: digest: sha256:61380ea05736dc43bdcc3691be510ba3c6576f36b7badb5dacb8b44f035b68e5 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:20.983Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:21.033Z] Removing intermediate container 5efc125b1104 [2021-07-01T17:49:21.033Z] ---> 399e52d42e4a [2021-07-01T17:49:21.033Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-01T17:49:21.033Z] ---> Running in 816cb4d92de8 [2021-07-01T17:49:21.348Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:49:21.348Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-01T17:49:21.348Z] a8d3b3ba2c08: Preparing [2021-07-01T17:49:21.348Z] 26c408308774: Preparing [2021-07-01T17:49:21.348Z] b5b830443335: Preparing [2021-07-01T17:49:21.348Z] a8d3b3ba2c08: Layer already exists [2021-07-01T17:49:21.348Z] b5b830443335: Layer already exists [2021-07-01T17:49:21.348Z] 26c408308774: Layer already exists [2021-07-01T17:49:21.348Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0: digest: sha256:61380ea05736dc43bdcc3691be510ba3c6576f36b7badb5dacb8b44f035b68e5 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:21.687Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:master [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:49:21.991Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:master [2021-07-01T17:49:21.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-01T17:49:21.991Z] a8d3b3ba2c08: Preparing [2021-07-01T17:49:21.991Z] 26c408308774: Preparing [2021-07-01T17:49:21.991Z] b5b830443335: Preparing [2021-07-01T17:49:21.991Z] 26c408308774: Layer already exists [2021-07-01T17:49:21.991Z] b5b830443335: Layer already exists [2021-07-01T17:49:21.991Z] a8d3b3ba2c08: Layer already exists [2021-07-01T17:49:22.257Z] master: digest: sha256:61380ea05736dc43bdcc3691be510ba3c6576f36b7badb5dacb8b44f035b68e5 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-01T17:49:22.330Z] ===================================================== [Pipeline] echo [2021-07-01T17:49:22.348Z] taggedImages: [2021-07-01T17:49:22.348Z] - nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:49:22.348Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-07-01T17:49:22.348Z] - nexus3.edgexfoundry.org:10004/device-gpio:1.0.0 [2021-07-01T17:49:22.348Z] - nexus3.edgexfoundry.org:10004/device-gpio:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:49:22.348Z] - nexus3.edgexfoundry.org:10004/device-gpio:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [2021-07-01T17:49:25.125Z] Removing intermediate container 816cb4d92de8 [2021-07-01T17:49:25.125Z] ---> ae6aaacf4d3b [2021-07-01T17:49:25.125Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-01T17:49:25.125Z] ---> Running in d25200323528 [2021-07-01T17:49:25.125Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:49:25.395Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-01T17:49:25.534Z] ---> job-cost.sh [2021-07-01T17:49:25.534Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RmIb [2021-07-01T17:49:25.989Z] OK: 138 MiB in 40 packages [2021-07-01T17:49:27.475Z] Removing intermediate container d25200323528 [2021-07-01T17:49:27.475Z] ---> 74f19b7ea5ae [2021-07-01T17:49:27.475Z] Step 8/23 : COPY . . [2021-07-01T17:49:28.074Z] ---> 63bd5288a595 [2021-07-01T17:49:28.074Z] Step 9/23 : RUN go mod tidy [2021-07-01T17:49:28.348Z] ---> Running in 02a7c6b3ff85 [2021-07-01T17:49:30.974Z] Removing intermediate container 02a7c6b3ff85 [2021-07-01T17:49:30.974Z] ---> 92317e50ab63 [2021-07-01T17:49:30.974Z] Step 10/23 : RUN ${MAKE} [2021-07-01T17:49:31.249Z] ---> Running in dbba8c5f53fb [2021-07-01T17:49:32.233Z] go mod tidy [2021-07-01T17:49:32.838Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.0" -o cmd/device-gpio ./cmd [2021-07-01T17:49:33.696Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-01T17:49:48.626Z] lf-activate-venv(): INFO: Adding /tmp/venv-RmIb/bin to PATH [2021-07-01T17:49:48.627Z] INFO: No Stack... [2021-07-01T17:49:48.901Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-01T17:49:49.489Z] INFO: Archiving Costs [Pipeline] sh [2021-07-01T17:49:49.797Z] + cat /w/workspace/device-gpio/3/archives/cost.csv [2021-07-01T17:49:49.797Z] + cut -d, -f6 [Pipeline] lock [2021-07-01T17:49:49.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [2021-07-01T17:49:49.846Z] Resource [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] did not exist. Created. [2021-07-01T17:49:49.846Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-01T17:49:50.182Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-01T17:49:50.251Z] Stashed 1 file(s) [Pipeline] } [2021-07-01T17:49:50.265Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-01T17:50:05.242Z] Removing intermediate container dbba8c5f53fb [2021-07-01T17:50:05.242Z] ---> 02c24229738a [2021-07-01T17:50:05.242Z] Step 11/23 : FROM scratch [2021-07-01T17:50:05.242Z] ---> [2021-07-01T17:50:05.242Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-01T17:50:05.242Z] ---> Running in 3329ff108043 [2021-07-01T17:50:05.242Z] Removing intermediate container 3329ff108043 [2021-07-01T17:50:05.242Z] ---> 3decd2d23879 [2021-07-01T17:50:05.242Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-01T17:50:05.242Z] ---> Running in 36c17cf1fd45 [2021-07-01T17:50:05.242Z] Removing intermediate container 36c17cf1fd45 [2021-07-01T17:50:05.242Z] ---> 30cedfa744c3 [2021-07-01T17:50:05.242Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-01T17:50:05.242Z] ---> Running in e79494cefe2a [2021-07-01T17:50:05.242Z] Removing intermediate container e79494cefe2a [2021-07-01T17:50:05.242Z] ---> 6dcb60ad41a2 [2021-07-01T17:50:05.242Z] Step 15/23 : WORKDIR / [2021-07-01T17:50:05.242Z] ---> Running in 821c2b156be2 [2021-07-01T17:50:05.242Z] Removing intermediate container 821c2b156be2 [2021-07-01T17:50:05.242Z] ---> ee4e1e467784 [2021-07-01T17:50:05.242Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-01T17:50:05.242Z] ---> 14ace8445a1d [2021-07-01T17:50:05.242Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-01T17:50:05.242Z] ---> 2c02b1f87179 [2021-07-01T17:50:05.242Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-01T17:50:05.838Z] ---> a8583e2d2e4b [2021-07-01T17:50:05.838Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-01T17:50:06.114Z] ---> Running in 92a4834ef644 [2021-07-01T17:50:06.406Z] Removing intermediate container 92a4834ef644 [2021-07-01T17:50:06.406Z] ---> c59252fd0837 [2021-07-01T17:50:06.406Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-01T17:50:06.693Z] ---> Running in 02ae6da2f3d0 [2021-07-01T17:50:06.966Z] Removing intermediate container 02ae6da2f3d0 [2021-07-01T17:50:06.966Z] ---> da0267b4de86 [2021-07-01T17:50:06.966Z] Step 21/23 : LABEL arch=arm64 [2021-07-01T17:50:07.240Z] ---> Running in 3d6c647a5211 [2021-07-01T17:50:07.840Z] Removing intermediate container 3d6c647a5211 [2021-07-01T17:50:07.840Z] ---> 0e6de9655d95 [2021-07-01T17:50:07.840Z] Step 22/23 : LABEL git_sha=61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:50:07.840Z] ---> Running in 039bb683a8e5 [2021-07-01T17:50:08.450Z] Removing intermediate container 039bb683a8e5 [2021-07-01T17:50:08.450Z] ---> 096e114a677a [2021-07-01T17:50:08.450Z] Step 23/23 : LABEL version=1.0.0 [2021-07-01T17:50:08.450Z] ---> Running in 90718e83669a [2021-07-01T17:50:09.046Z] Removing intermediate container 90718e83669a [2021-07-01T17:50:09.046Z] ---> 129d507a7261 [2021-07-01T17:50:09.046Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-01T17:50:09.046Z] Successfully built 129d507a7261 [2021-07-01T17:50:09.046Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:50:09.339Z] provisioning config files... [2021-07-01T17:50:09.363Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config3615189764526979426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:50:09.733Z] ---> docker-login.sh [2021-07-01T17:50:09.733Z] nexus3.edgexfoundry.org:10001 [2021-07-01T17:50:10.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:50:10.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:50:10.289Z] Configure a credential helper to remove this warning. See [2021-07-01T17:50:10.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:50:10.289Z] [2021-07-01T17:50:10.289Z] Login Succeeded [2021-07-01T17:50:10.289Z] nexus3.edgexfoundry.org:10002 [2021-07-01T17:50:10.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:50:10.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:50:10.854Z] Configure a credential helper to remove this warning. See [2021-07-01T17:50:10.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:50:10.854Z] [2021-07-01T17:50:10.854Z] Login Succeeded [2021-07-01T17:50:10.854Z] nexus3.edgexfoundry.org:10003 [2021-07-01T17:50:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:50:11.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:50:11.414Z] Configure a credential helper to remove this warning. See [2021-07-01T17:50:11.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:50:11.414Z] [2021-07-01T17:50:11.414Z] Login Succeeded [2021-07-01T17:50:11.414Z] nexus3.edgexfoundry.org:10004 [2021-07-01T17:50:11.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:50:11.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:50:11.969Z] Configure a credential helper to remove this warning. See [2021-07-01T17:50:11.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:50:11.969Z] [2021-07-01T17:50:11.969Z] Login Succeeded [2021-07-01T17:50:11.969Z] docker.io [2021-07-01T17:50:12.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-01T17:50:12.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-01T17:50:12.838Z] Configure a credential helper to remove this warning. See [2021-07-01T17:50:12.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-01T17:50:12.838Z] [2021-07-01T17:50:12.838Z] Login Succeeded [2021-07-01T17:50:12.838Z] ---> docker-login.sh ends [Pipeline] } [2021-07-01T17:50:12.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-01T17:50:12.938Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2021-07-01T17:50:12.938Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:50:12.938Z] latest [2021-07-01T17:50:12.938Z] 1.0.0 [2021-07-01T17:50:12.938Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:50:12.938Z] master [2021-07-01T17:50:12.938Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:13.332Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:13.667Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:50:13.667Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-01T17:50:13.667Z] 6d39e80e3822: Preparing [2021-07-01T17:50:13.667Z] 04da5d48d3ae: Preparing [2021-07-01T17:50:13.667Z] e48703ae80ac: Preparing [2021-07-01T17:50:13.939Z] 04da5d48d3ae: Pushed [2021-07-01T17:50:13.939Z] e48703ae80ac: Pushed [2021-07-01T17:50:16.553Z] 6d39e80e3822: Pushed [2021-07-01T17:50:16.553Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1: digest: sha256:e05eae9c369c78c6e1e13c563b24a292d5d9fca99d30e9ba463c18075fc9672d size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:16.902Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:17.241Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-07-01T17:50:17.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-01T17:50:17.241Z] 6d39e80e3822: Preparing [2021-07-01T17:50:17.241Z] 04da5d48d3ae: Preparing [2021-07-01T17:50:17.241Z] e48703ae80ac: Preparing [2021-07-01T17:50:17.514Z] e48703ae80ac: Layer already exists [2021-07-01T17:50:17.514Z] 04da5d48d3ae: Layer already exists [2021-07-01T17:50:17.514Z] 6d39e80e3822: Layer already exists [2021-07-01T17:50:17.514Z] latest: digest: sha256:e05eae9c369c78c6e1e13c563b24a292d5d9fca99d30e9ba463c18075fc9672d size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:17.866Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.0 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:18.233Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.0 [2021-07-01T17:50:18.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-01T17:50:18.233Z] 6d39e80e3822: Preparing [2021-07-01T17:50:18.233Z] 04da5d48d3ae: Preparing [2021-07-01T17:50:18.233Z] e48703ae80ac: Preparing [2021-07-01T17:50:18.233Z] e48703ae80ac: Layer already exists [2021-07-01T17:50:18.233Z] 6d39e80e3822: Layer already exists [2021-07-01T17:50:18.233Z] 04da5d48d3ae: Layer already exists [2021-07-01T17:50:20.937Z] 1.0.0: digest: sha256:e05eae9c369c78c6e1e13c563b24a292d5d9fca99d30e9ba463c18075fc9672d size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:21.309Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:21.655Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:50:21.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-01T17:50:21.655Z] 6d39e80e3822: Preparing [2021-07-01T17:50:21.655Z] 04da5d48d3ae: Preparing [2021-07-01T17:50:21.655Z] e48703ae80ac: Preparing [2021-07-01T17:50:21.655Z] 6d39e80e3822: Layer already exists [2021-07-01T17:50:21.655Z] e48703ae80ac: Layer already exists [2021-07-01T17:50:21.655Z] 04da5d48d3ae: Layer already exists [2021-07-01T17:50:21.925Z] 61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0: digest: sha256:e05eae9c369c78c6e1e13c563b24a292d5d9fca99d30e9ba463c18075fc9672d size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:22.271Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:50:22.613Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [2021-07-01T17:50:22.613Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-01T17:50:22.613Z] 6d39e80e3822: Preparing [2021-07-01T17:50:22.613Z] 04da5d48d3ae: Preparing [2021-07-01T17:50:22.613Z] e48703ae80ac: Preparing [2021-07-01T17:50:22.613Z] 04da5d48d3ae: Layer already exists [2021-07-01T17:50:22.613Z] 6d39e80e3822: Layer already exists [2021-07-01T17:50:22.613Z] e48703ae80ac: Layer already exists [2021-07-01T17:50:22.892Z] master: digest: sha256:e05eae9c369c78c6e1e13c563b24a292d5d9fca99d30e9ba463c18075fc9672d size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-01T17:50:22.961Z] ===================================================== [Pipeline] echo [2021-07-01T17:50:22.981Z] taggedImages: [2021-07-01T17:50:22.981Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1 [2021-07-01T17:50:22.981Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-07-01T17:50:22.981Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.0 [2021-07-01T17:50:22.981Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:61390a86f55ee6889073212d49524d4c8e9ed7d1-1.0.0 [2021-07-01T17:50:22.981Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:50:23.518Z] ---> job-cost.sh [2021-07-01T17:50:23.518Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EO3N [2021-07-01T17:51:02.467Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-01T17:52:26.681Z] lf-activate-venv(): INFO: Adding /tmp/venv-EO3N/bin to PATH [2021-07-01T17:52:26.681Z] INFO: No Stack... [2021-07-01T17:52:26.681Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-01T17:52:26.681Z] INFO: Archiving Costs [Pipeline] sh [2021-07-01T17:52:27.019Z] + cat /w/workspace/device-gpio/3/archives/cost.csv+ [2021-07-01T17:52:27.019Z] cut -d, -f6 [Pipeline] lock [2021-07-01T17:52:27.079Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [2021-07-01T17:52:27.088Z] Resource [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] did not exist. Created. [2021-07-01T17:52:27.088Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-01T17:52:27.462Z] /w/workspace/device-gpio/3@tmp/durable-2376fb9e/script.sh: 1: /w/workspace/device-gpio/3@tmp/durable-2376fb9e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-01T17:52:30.249Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-01T17:52:30.283Z] Warning: overwriting stash ‘stack-cost’ [2021-07-01T17:52:30.430Z] Stashed 1 file(s) [Pipeline] } [2021-07-01T17:52:30.441Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-master-3-stack-cost] [Pipeline] // lock [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-01T17:52:31.209Z] provisioning config files... [2021-07-01T17:52:31.220Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config344419240667701085tmp [Pipeline] { [Pipeline] sh [2021-07-01T17:52:31.553Z] + set +x [2021-07-01T17:52:31.553Z] + curl -s https://codecov.io/bash [2021-07-01T17:52:31.553Z] + bash -s -- [2021-07-01T17:52:31.553Z] [2021-07-01T17:52:31.553Z] _____ _ [2021-07-01T17:52:31.553Z] / ____| | | [2021-07-01T17:52:31.553Z] | | ___ __| | ___ ___ _____ __ [2021-07-01T17:52:31.553Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-01T17:52:31.553Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-01T17:52:31.553Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-01T17:52:31.553Z] Bash-1.0.3 [2021-07-01T17:52:31.553Z] [2021-07-01T17:52:31.553Z] [2021-07-01T17:52:31.553Z] ==> git version 2.24.4 found [2021-07-01T17:52:31.553Z] ==> 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-01T17:52:31.553Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-01T17:52:31.553Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-01T17:52:31.553Z] ==> Jenkins CI detected. [2021-07-01T17:52:31.553Z] project root: . [2021-07-01T17:52:31.553Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-01T17:52:31.553Z] ==> Running gcov in . (disable via -X gcov) [2021-07-01T17:52:31.553Z] ==> Python coveragepy not found [2021-07-01T17:52:31.553Z] ==> Searching for coverage reports in: [2021-07-01T17:52:31.553Z] + . [2021-07-01T17:52:31.553Z] -> Found 1 reports [2021-07-01T17:52:31.553Z] ==> Detecting git/mercurial file structure [2021-07-01T17:52:31.814Z] ==> Reading reports [2021-07-01T17:52:31.814Z] + ./coverage.out bytes=10 [2021-07-01T17:52:31.814Z] ==> Appending adjustments [2021-07-01T17:52:31.814Z] https://docs.codecov.io/docs/fixing-reports [2021-07-01T17:52:31.814Z] + Found adjustments [2021-07-01T17:52:31.814Z] ==> Gzipping contents [2021-07-01T17:52:31.814Z] 4.0K /tmp/codecov.En77lO.gz [2021-07-01T17:52:31.814Z] ==> Uploading reports [2021-07-01T17:52:31.814Z] url: https://codecov.io [2021-07-01T17:52:31.814Z] query: branch=master&commit=61390a86f55ee6889073212d49524d4c8e9ed7d1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmaster%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-01T17:52:31.814Z] -> Pinging Codecov [2021-07-01T17:52:31.814Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=61390a86f55ee6889073212d49524d4c8e9ed7d1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmaster%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-01T17:52:31.814Z] {'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-01T17:52:31.814Z] 404 [2021-07-01T17:52:31.814Z] ==> Uploading to Codecov [2021-07-01T17:52:31.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-01T17:52:31.814Z] Dload Upload Total Spent Left Speed [2021-07-01T17:52:32.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 791 100 169 100 622 799 2943 --:--:-- --:--:-- --:--:-- 2947 [2021-07-01T17:52:32.075Z] {'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-01T17:52:32.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-01T17:52:35.196Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-01T17:52:35.210Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:52:35.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-01T17:52:35.527Z] [2021-07-01T17:52:35.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:52:38.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-01T17:52:38.035Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-01T17:52:38.035Z] 188c0c94c7c5: Pulling fs layer [2021-07-01T17:52:38.035Z] 0ef7d3d256c8: Pulling fs layer [2021-07-01T17:52:38.035Z] de9db76c5a1d: Pulling fs layer [2021-07-01T17:52:38.035Z] 0eba1c9be4d2: Pulling fs layer [2021-07-01T17:52:38.035Z] 0d57e429df01: Pulling fs layer [2021-07-01T17:52:38.035Z] 4e4be7b47b0d: Pulling fs layer [2021-07-01T17:52:38.035Z] e1f770b5df2f: Pulling fs layer [2021-07-01T17:52:38.035Z] 85a0685a4137: Pulling fs layer [2021-07-01T17:52:38.035Z] 0eba1c9be4d2: Waiting [2021-07-01T17:52:38.035Z] 0d57e429df01: Waiting [2021-07-01T17:52:38.035Z] 4e4be7b47b0d: Waiting [2021-07-01T17:52:38.035Z] e1f770b5df2f: Waiting [2021-07-01T17:52:38.035Z] 85a0685a4137: Waiting [2021-07-01T17:52:38.035Z] de9db76c5a1d: Verifying Checksum [2021-07-01T17:52:38.035Z] de9db76c5a1d: Download complete [2021-07-01T17:52:38.035Z] 0ef7d3d256c8: Verifying Checksum [2021-07-01T17:52:38.035Z] 0ef7d3d256c8: Download complete [2021-07-01T17:52:38.035Z] 0d57e429df01: Verifying Checksum [2021-07-01T17:52:38.035Z] 0d57e429df01: Download complete [2021-07-01T17:52:38.035Z] 4e4be7b47b0d: Download complete [2021-07-01T17:52:38.035Z] 188c0c94c7c5: Verifying Checksum [2021-07-01T17:52:38.035Z] 188c0c94c7c5: Pull complete [2021-07-01T17:52:38.035Z] 0ef7d3d256c8: Pull complete [2021-07-01T17:52:38.035Z] de9db76c5a1d: Pull complete [2021-07-01T17:52:38.035Z] e1f770b5df2f: Verifying Checksum [2021-07-01T17:52:38.035Z] e1f770b5df2f: Download complete [2021-07-01T17:52:39.963Z] 0eba1c9be4d2: Verifying Checksum [2021-07-01T17:52:39.963Z] 0eba1c9be4d2: Download complete [2021-07-01T17:52:39.963Z] 85a0685a4137: Verifying Checksum [2021-07-01T17:52:39.963Z] 85a0685a4137: Download complete [2021-07-01T17:52:43.294Z] 0eba1c9be4d2: Pull complete [2021-07-01T17:52:43.294Z] 0d57e429df01: Pull complete [2021-07-01T17:52:43.294Z] 4e4be7b47b0d: Pull complete [2021-07-01T17:52:43.876Z] e1f770b5df2f: Pull complete [2021-07-01T17:52:47.212Z] 85a0685a4137: Pull complete [2021-07-01T17:52:47.212Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-01T17:52:47.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-01T17:52:47.212Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-01T17:52:47.293Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:52:47.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-01T17:52:49.939Z] $ docker top 8dd1de16bd403695c34d17d5e664c522612b7c719e9410d20b97aa5dd3651cb4 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-01T17:52:50.038Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-01T17:52:50.327Z] + set -o pipefail [2021-07-01T17:52:50.327Z] + snyk monitor '--org=edgex-jenkins' [2021-07-01T17:52:55.623Z] [2021-07-01T17:52:55.623Z] Monitoring /w/workspace/edgexfoundry_device-gpio_master (github.com/edgexfoundry/device-gpio)... [2021-07-01T17:52:55.623Z] [2021-07-01T17:52:55.623Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/0824ae3d-0363-40ef-9471-e2c124cde75f [2021-07-01T17:52:55.623Z] [2021-07-01T17:52:55.623Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-01T17:52:55.623Z] [2021-07-01T17:52:55.623Z] [Pipeline] } [2021-07-01T17:52:55.636Z] $ docker stop --time=1 8dd1de16bd403695c34d17d5e664c522612b7c719e9410d20b97aa5dd3651cb4 [2021-07-01T17:52:57.431Z] $ docker rm -f 8dd1de16bd403695c34d17d5e664c522612b7c719e9410d20b97aa5dd3651cb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-01T17:52:58.525Z] + git log --format=format:%s -1 61390a86f55ee6889073212d49524d4c8e9ed7d1 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:52:58.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:52:58.836Z] . [Pipeline] withDockerContainer [2021-07-01T17:52:58.916Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:52:58.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T17:52:59.341Z] $ docker top 9e63018140f9dcaa78eadb21e6be14df0af381b32b23a0a21655f83260f98753 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T17:52:59.452Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.1|v1.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T17:52:59.763Z] + git semver [Pipeline] } [2021-07-01T17:52:59.774Z] $ docker stop --time=1 9e63018140f9dcaa78eadb21e6be14df0af381b32b23a0a21655f83260f98753 [2021-07-01T17:53:00.969Z] $ docker rm -f 9e63018140f9dcaa78eadb21e6be14df0af381b32b23a0a21655f83260f98753 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:01.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-01T17:53:01.422Z] [2021-07-01T17:53:01.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:01.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-01T17:53:01.740Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-01T17:53:01.740Z] ab5ef0e58194: Pulling fs layer [2021-07-01T17:53:01.740Z] 9712f1f96733: Pulling fs layer [2021-07-01T17:53:01.740Z] 63f879dbbcfc: Pulling fs layer [2021-07-01T17:53:01.740Z] 0d9ebad4ef96: Pulling fs layer [2021-07-01T17:53:01.740Z] e9a5061849ea: Pulling fs layer [2021-07-01T17:53:01.740Z] d747dcd14b5f: Pulling fs layer [2021-07-01T17:53:01.740Z] 2de7ff778b66: Pulling fs layer [2021-07-01T17:53:01.740Z] 0d9ebad4ef96: Waiting [2021-07-01T17:53:01.740Z] e9a5061849ea: Waiting [2021-07-01T17:53:01.740Z] d747dcd14b5f: Waiting [2021-07-01T17:53:01.740Z] 2de7ff778b66: Waiting [2021-07-01T17:53:01.740Z] 9712f1f96733: Verifying Checksum [2021-07-01T17:53:01.740Z] 9712f1f96733: Download complete [2021-07-01T17:53:03.660Z] 63f879dbbcfc: Verifying Checksum [2021-07-01T17:53:03.660Z] 63f879dbbcfc: Download complete [2021-07-01T17:53:03.660Z] e9a5061849ea: Verifying Checksum [2021-07-01T17:53:03.660Z] e9a5061849ea: Download complete [2021-07-01T17:53:03.660Z] d747dcd14b5f: Verifying Checksum [2021-07-01T17:53:03.660Z] d747dcd14b5f: Download complete [2021-07-01T17:53:03.922Z] 2de7ff778b66: Verifying Checksum [2021-07-01T17:53:03.922Z] 2de7ff778b66: Download complete [2021-07-01T17:53:03.922Z] 0d9ebad4ef96: Verifying Checksum [2021-07-01T17:53:03.922Z] 0d9ebad4ef96: Download complete [2021-07-01T17:53:04.183Z] ab5ef0e58194: Verifying Checksum [2021-07-01T17:53:04.184Z] ab5ef0e58194: Download complete [2021-07-01T17:53:07.449Z] ab5ef0e58194: Pull complete [2021-07-01T17:53:07.449Z] 9712f1f96733: Pull complete [2021-07-01T17:53:07.449Z] 63f879dbbcfc: Pull complete [2021-07-01T17:53:10.785Z] 0d9ebad4ef96: Pull complete [2021-07-01T17:53:10.785Z] e9a5061849ea: Pull complete [2021-07-01T17:53:10.785Z] d747dcd14b5f: Pull complete [2021-07-01T17:53:11.739Z] 2de7ff778b66: Pull complete [2021-07-01T17:53:11.739Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-01T17:53:11.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-01T17:53:11.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-01T17:53:11.820Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:53:11.861Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-01T17:53:15.235Z] $ docker top f07f2c8d33b4159d7b33d12d8d4fd17896e9abed723c6fb823fd333108878942 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:53:15.337Z] provisioning config files... [2021-07-01T17:53:15.345Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config8227679247083142181tmp [2021-07-01T17:53:15.357Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config4970689485026593151tmp [2021-07-01T17:53:15.369Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config7209449590953545462tmp [Pipeline] { [Pipeline] echo [2021-07-01T17:53:15.390Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:15.687Z] ---> sigul-configuration.sh [2021-07-01T17:53:15.687Z] gpg: directory `/root/.gnupg' created [2021-07-01T17:53:15.687Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-01T17:53:15.687Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-01T17:53:15.687Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-01T17:53:15.687Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-01T17:53:15.687Z] gpg: CAST5 encrypted data [2021-07-01T17:53:15.687Z] gpg: encrypted with 1 passphrase [2021-07-01T17:53:15.687Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-01T17:53:15.992Z] + mkdir /home/jenkins [2021-07-01T17:53:15.992Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-01T17:53:16.293Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-07-01T17:53:16.304Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:16.611Z] ---> sigul-install.sh [2021-07-01T17:53:20.829Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-01T17:53:21.125Z] + git tag --list [2021-07-01T17:53:21.125Z] v0.0.0 [2021-07-01T17:53:21.125Z] v0.0.1-dev.1 [2021-07-01T17:53:21.125Z] v1.0.0 [Pipeline] sh [2021-07-01T17:53:21.440Z] + lftools sign git-tag v1.0.0 [2021-07-01T17:53:22.013Z] Signing Git tag with Sigul... [2021-07-01T17:53:22.013Z] Signing v1.0.0 [Pipeline] echo [2021-07-01T17:53:22.968Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:23.272Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-01T17:53:23.281Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-01T17:53:23.308Z] $ docker stop --time=1 f07f2c8d33b4159d7b33d12d8d4fd17896e9abed723c6fb823fd333108878942 [2021-07-01T17:53:24.846Z] $ docker rm -f f07f2c8d33b4159d7b33d12d8d4fd17896e9abed723c6fb823fd333108878942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:25.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:53:25.566Z] . [Pipeline] withDockerContainer [2021-07-01T17:53:28.151Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:53:28.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T17:53:28.556Z] $ docker top 9d1140d26c678f7d210f98d947d2053b26331a8c7b1c2d1b2f8d1eb8eb5065eb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T17:53:28.663Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.1|v1.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T17:53:28.978Z] + git semver [Pipeline] } [2021-07-01T17:53:28.992Z] $ docker stop --time=1 9d1140d26c678f7d210f98d947d2053b26331a8c7b1c2d1b2f8d1eb8eb5065eb [2021-07-01T17:53:30.172Z] $ docker rm -f 9d1140d26c678f7d210f98d947d2053b26331a8c7b1c2d1b2f8d1eb8eb5065eb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:30.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-01T17:53:30.558Z] . [Pipeline] withDockerContainer [2021-07-01T17:53:30.637Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:53:30.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-01T17:53:31.088Z] $ docker top 0f6dedd4271222d48cec4d195ad5a155fe58ba338c6c000ae5b7103e8eecf98c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-01T17:53:31.200Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v0.0.1-dev.1|v1.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-01T17:53:31.510Z] + git semver [Pipeline] } [2021-07-01T17:53:31.522Z] $ docker stop --time=1 0f6dedd4271222d48cec4d195ad5a155fe58ba338c6c000ae5b7103e8eecf98c [2021-07-01T17:53:32.722Z] $ docker rm -f 0f6dedd4271222d48cec4d195ad5a155fe58ba338c6c000ae5b7103e8eecf98c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-01T17:53:36.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:37.154Z] ---> package-listing.sh [2021-07-01T17:53:37.154Z] ++ facter osfamily [2021-07-01T17:53:37.154Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-01T17:53:37.416Z] + OS_FAMILY=redhat [2021-07-01T17:53:37.416Z] + workspace=/w/workspace/edgexfoundry_device-gpio_master [2021-07-01T17:53:37.416Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-01T17:53:37.416Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-01T17:53:37.416Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-01T17:53:37.416Z] + PACKAGES=/tmp/packages_start.txt [2021-07-01T17:53:37.416Z] + '[' /w/workspace/edgexfoundry_device-gpio_master ']' [2021-07-01T17:53:37.416Z] + PACKAGES=/tmp/packages_end.txt [2021-07-01T17:53:37.416Z] + case "${OS_FAMILY}" in [2021-07-01T17:53:37.416Z] + sort [2021-07-01T17:53:37.416Z] + rpm -qa [2021-07-01T17:53:37.988Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-01T17:53:37.988Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-01T17:53:37.988Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-01T17:53:37.988Z] + '[' /w/workspace/edgexfoundry_device-gpio_master ']' [2021-07-01T17:53:37.988Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_master/archives/ [2021-07-01T17:53:37.988Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_master/archives/ [Pipeline] echo [2021-07-01T17:53:38.002Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-01T17:53:38.292Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:38.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T17:53:38.865Z] [2021-07-01T17:53:38.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-01T17:53:39.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T17:53:39.179Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-01T17:53:39.179Z] df20fa9351a1: Pulling fs layer [2021-07-01T17:53:39.179Z] 36b3adc4ff6f: Pulling fs layer [2021-07-01T17:53:39.179Z] 8ad3a11d3b57: Pulling fs layer [2021-07-01T17:53:39.179Z] 46f8f816bc3b: Pulling fs layer [2021-07-01T17:53:39.179Z] 93b61091891f: Pulling fs layer [2021-07-01T17:53:39.179Z] 93b9cdb0e59b: Pulling fs layer [2021-07-01T17:53:39.179Z] 5e14af77c1be: Pulling fs layer [2021-07-01T17:53:39.179Z] 01666e4c0597: Pulling fs layer [2021-07-01T17:53:39.179Z] aa168da1d23b: Pulling fs layer [2021-07-01T17:53:39.179Z] 46f8f816bc3b: Waiting [2021-07-01T17:53:39.179Z] 93b61091891f: Waiting [2021-07-01T17:53:39.179Z] 93b9cdb0e59b: Waiting [2021-07-01T17:53:39.179Z] 5e14af77c1be: Waiting [2021-07-01T17:53:39.179Z] 01666e4c0597: Waiting [2021-07-01T17:53:39.179Z] aa168da1d23b: Waiting [2021-07-01T17:53:39.179Z] 36b3adc4ff6f: Verifying Checksum [2021-07-01T17:53:39.179Z] 36b3adc4ff6f: Download complete [2021-07-01T17:53:39.179Z] 46f8f816bc3b: Verifying Checksum [2021-07-01T17:53:39.179Z] 46f8f816bc3b: Download complete [2021-07-01T17:53:39.179Z] df20fa9351a1: Verifying Checksum [2021-07-01T17:53:39.179Z] df20fa9351a1: Download complete [2021-07-01T17:53:39.179Z] 93b9cdb0e59b: Verifying Checksum [2021-07-01T17:53:39.179Z] 93b9cdb0e59b: Download complete [2021-07-01T17:53:39.179Z] 5e14af77c1be: Verifying Checksum [2021-07-01T17:53:39.179Z] 5e14af77c1be: Download complete [2021-07-01T17:53:39.439Z] 93b61091891f: Verifying Checksum [2021-07-01T17:53:39.439Z] 93b61091891f: Download complete [2021-07-01T17:53:39.439Z] df20fa9351a1: Pull complete [2021-07-01T17:53:39.439Z] 36b3adc4ff6f: Pull complete [2021-07-01T17:53:39.709Z] 01666e4c0597: Verifying Checksum [2021-07-01T17:53:39.709Z] 01666e4c0597: Download complete [2021-07-01T17:53:39.709Z] 8ad3a11d3b57: Verifying Checksum [2021-07-01T17:53:39.709Z] 8ad3a11d3b57: Download complete [2021-07-01T17:53:40.296Z] 8ad3a11d3b57: Pull complete [2021-07-01T17:53:40.296Z] 46f8f816bc3b: Pull complete [2021-07-01T17:53:40.557Z] 93b61091891f: Pull complete [2021-07-01T17:53:40.557Z] 93b9cdb0e59b: Pull complete [2021-07-01T17:53:40.557Z] 5e14af77c1be: Pull complete [2021-07-01T17:53:40.818Z] 01666e4c0597: Pull complete [2021-07-01T17:53:41.079Z] aa168da1d23b: Verifying Checksum [2021-07-01T17:53:41.079Z] aa168da1d23b: Download complete [2021-07-01T17:53:45.337Z] aa168da1d23b: Pull complete [2021-07-01T17:53:45.337Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-01T17:53:45.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-01T17:53:45.337Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-01T17:53:45.414Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-07-01T17:53:45.452Z] $ 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_master/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_master -v /w/workspace/edgexfoundry_device-gpio_master:/w/workspace/edgexfoundry_device-gpio_master:rw,z -v /w/workspace/edgexfoundry_device-gpio_master@tmp:/w/workspace/edgexfoundry_device-gpio_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-01T17:53:47.789Z] $ docker top c78f0f64adbbb1ba7856481a67b037d3dbf3f7da90efa5cc51950974a151e652 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-01T17:53:48.171Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-01T17:53:48.485Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-01T17:53:48.794Z] + ls /var/log/sa-host [2021-07-01T17:53:48.794Z] + sadf -c /var/log/sa-host/sa01 [2021-07-01T17:53:48.794Z] file_magic: OK [2021-07-01T17:53:48.794Z] HZ: Using current value: 100 [2021-07-01T17:53:48.794Z] file_header: OK [2021-07-01T17:53:48.794Z] 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-01T17:53:48.794Z] Statistics: [2021-07-01T17:53:48.794Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T17:53:48.794Z] File successfully converted to sysstat format version 12.2.1 [2021-07-01T17:53:48.794Z] + sadf -c /var/log/sa-host/sa05 [2021-07-01T17:53:48.794Z] file_magic: OK [2021-07-01T17:53:48.794Z] HZ: Using current value: 100 [2021-07-01T17:53:48.794Z] file_header: OK [2021-07-01T17:53:48.794Z] 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-01T17:53:48.794Z] Statistics: [2021-07-01T17:53:48.794Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-01T17:53:48.794Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-01T17:53:51.714Z] provisioning config files... [2021-07-01T17:53:51.725Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config6698226023237178086tmp [Pipeline] { [Pipeline] echo [2021-07-01T17:53:51.747Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:52.051Z] ---> create-netrc.sh [Pipeline] } [2021-07-01T17:53:52.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:52.458Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-01T17:53:52.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:52.768Z] ---> sudo-logs.sh [2021-07-01T17:53:52.768Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-01T17:53:52.800Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:53.099Z] ---> job-cost.sh [2021-07-01T17:53:53.099Z] lf-activate-venv: SKIPPING [2021-07-01T17:53:53.099Z] DEBUG: total: 0.18000000715255737 [2021-07-01T17:53:53.099Z] INFO: Retrieving Stack Cost... [2021-07-01T17:53:54.488Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-01T17:53:54.750Z] INFO: Archiving Costs [Pipeline] echo [2021-07-01T17:53:54.763Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-01T17:53:55.073Z] ---> logs-deploy.sh [2021-07-01T17:53:55.073Z] lf-activate-venv: SKIPPING [2021-07-01T17:53:55.073Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/master/3 [2021-07-01T17:53:55.073Z] INFO: archiving workspace using pattern(s): [2021-07-01T17:53:56.125Z] Archives upload complete. [2021-07-01T17:53:56.125Z] INFO: archiving logs to Nexus