Pull request #2 closed Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8110330187978872765.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-ssh8393450447384663191.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh3614848461839514009.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh1906251842213031448.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1439998397999687008.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/master/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > 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-ssh1680842964713450571.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-168 in /w/workspace/edgexfoundry_device-gpio_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE 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-ssh6859359490613408330.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Avoid second fetch Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (master) > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 Commit message: "Merge pull request #3 from ernestojeda/init-pipeline" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-18T08:20:20.463Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-18T08:20:20.677Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-18T08:20:20.804Z] ========================================================= [2021-06-18T08:20:20.804Z] EdgeX Global Pipelines Version Info [2021-06-18T08:20:20.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:20:22.247Z] ------------------- [2021-06-18T08:20:22.247Z] stable info: [2021-06-18T08:20:22.247Z] ------------------- [2021-06-18T08:20:22.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-18T08:20:22.247Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-18T08:20:22.247Z] Message: update stable to v1.0.195 [2021-06-18T08:20:22.821Z] ------------------- [2021-06-18T08:20:22.821Z] experimental info: [2021-06-18T08:20:22.821Z] ------------------- [2021-06-18T08:20:22.821Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-18T08:20:22.821Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-18T08:20:22.821Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-18T08:20:23.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-06-18T08:20:23.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-06-18T08:20:23.230Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-18T08:20:23.290Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-18T08:20:23.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-18T08:20:23.416Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-18T08:20:23.475Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-18T08:20:23.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-18T08:20:23.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-18T08:20:23.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-18T08:20:23.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-18T08:20:23.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-06-18T08:20:23.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-18T08:20:23.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-18T08:20:23.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-18T08:20:24.026Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-18T08:20:24.082Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-18T08:20:24.143Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-18T08:20:24.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-18T08:20:24.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-18T08:20:24.325Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-18T08:20:24.392Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-18T08:20:24.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-18T08:20:24.516Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-18T08:20:24.572Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-18T08:20:24.642Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-18T08:20:24.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-06-18T08:20:24.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-06-18T08:20:24.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-06-18T08:20:24.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] echo [2021-06-18T08:20:24.961Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15a74a1 [Pipeline] echo [2021-06-18T08:20:25.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-18T08:20:25.213Z] provisioning config files... [2021-06-18T08:20:25.228Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config6963431381722059289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:20:25.607Z] ---> docker-login.sh [2021-06-18T08:20:25.607Z] nexus3.edgexfoundry.org:10001 [2021-06-18T08:20:25.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:20:25.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:20:25.875Z] Configure a credential helper to remove this warning. See [2021-06-18T08:20:25.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:20:25.875Z] [2021-06-18T08:20:25.875Z] Login Succeeded [2021-06-18T08:20:25.875Z] nexus3.edgexfoundry.org:10002 [2021-06-18T08:20:25.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:20:25.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:20:25.875Z] Configure a credential helper to remove this warning. See [2021-06-18T08:20:25.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:20:25.875Z] [2021-06-18T08:20:25.875Z] Login Succeeded [2021-06-18T08:20:25.875Z] nexus3.edgexfoundry.org:10003 [2021-06-18T08:20:25.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:20:26.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:20:26.145Z] Configure a credential helper to remove this warning. See [2021-06-18T08:20:26.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:20:26.145Z] [2021-06-18T08:20:26.145Z] Login Succeeded [2021-06-18T08:20:26.145Z] nexus3.edgexfoundry.org:10004 [2021-06-18T08:20:26.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:20:26.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:20:26.145Z] Configure a credential helper to remove this warning. See [2021-06-18T08:20:26.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:20:26.145Z] [2021-06-18T08:20:26.145Z] Login Succeeded [2021-06-18T08:20:26.145Z] docker.io [2021-06-18T08:20:26.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:20:26.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:20:26.671Z] Configure a credential helper to remove this warning. See [2021-06-18T08:20:26.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:20:26.671Z] [2021-06-18T08:20:26.671Z] Login Succeeded [2021-06-18T08:20:26.671Z] ---> docker-login.sh ends [Pipeline] } [2021-06-18T08:20:26.697Z] 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-06-18T08:20:27.513Z] + git log --format=format:%s -1 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] echo [2021-06-18T08:20:27.576Z] GIT_COMMIT: 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d, Commit Message: Merge pull request #3 from ernestojeda/init-pipeline [Pipeline] echo [2021-06-18T08:20:27.618Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:20:28.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:20:28.297Z] [2021-06-18T08:20:28.297Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:20:28.656Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:20:28.656Z] latest: Pulling from edgex-devops/git-semver [2021-06-18T08:20:28.656Z] 31603596830f: Pulling fs layer [2021-06-18T08:20:28.656Z] 54011a49482f: Pulling fs layer [2021-06-18T08:20:28.656Z] a6820b24f6d8: Pulling fs layer [2021-06-18T08:20:28.656Z] f581987b2513: Pulling fs layer [2021-06-18T08:20:28.656Z] f581987b2513: Waiting [2021-06-18T08:20:28.656Z] 54011a49482f: Verifying Checksum [2021-06-18T08:20:28.656Z] 54011a49482f: Download complete [2021-06-18T08:20:28.923Z] 31603596830f: Verifying Checksum [2021-06-18T08:20:28.923Z] 31603596830f: Download complete [2021-06-18T08:20:28.923Z] f581987b2513: Verifying Checksum [2021-06-18T08:20:28.923Z] f581987b2513: Download complete [2021-06-18T08:20:28.923Z] a6820b24f6d8: Verifying Checksum [2021-06-18T08:20:28.923Z] a6820b24f6d8: Download complete [2021-06-18T08:20:28.923Z] 31603596830f: Pull complete [2021-06-18T08:20:29.192Z] 54011a49482f: Pull complete [2021-06-18T08:20:29.770Z] a6820b24f6d8: Pull complete [2021-06-18T08:20:29.770Z] f581987b2513: Pull complete [2021-06-18T08:20:29.770Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-18T08:20:29.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:20:29.770Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-18T08:20:29.880Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:20:29.940Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-18T08:20:31.352Z] $ docker top 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-18T08:20:31.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-18T08:20:31.578Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-18T08:20:31.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-18T08:20:31.694Z] $ docker exec 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 ssh-agent [2021-06-18T08:20:31.809Z] SSH_AUTH_SOCK=/tmp/ssh-8suXHB6q1RI5/agent.14 [2021-06-18T08:20:31.809Z] SSH_AGENT_PID=20 [2021-06-18T08:20:31.818Z] Running ssh-add (command line suppressed) [2021-06-18T08:20:31.913Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_4149434048753428257.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_4149434048753428257.key) [2021-06-18T08:20:31.932Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-18T08:20:32.286Z] + git tag --points-at HEAD [Pipeline] } [2021-06-18T08:20:32.307Z] $ docker exec --env ******** --env ******** 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 ssh-agent -k [2021-06-18T08:20:32.415Z] unset SSH_AUTH_SOCK; [2021-06-18T08:20:32.416Z] unset SSH_AGENT_PID; [2021-06-18T08:20:32.416Z] echo Agent pid 20 killed; [2021-06-18T08:20:32.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-18T08:20:32.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-18T08:20:32.550Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-18T08:20:32.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-18T08:20:32.669Z] $ docker exec 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 ssh-agent [2021-06-18T08:20:32.788Z] SSH_AUTH_SOCK=/tmp/ssh-IxgbP6XNEpqu/agent.55 [2021-06-18T08:20:32.788Z] SSH_AGENT_PID=62 [2021-06-18T08:20:32.794Z] Running ssh-add (command line suppressed) [2021-06-18T08:20:32.894Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_5195253292026427436.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_5195253292026427436.key) [2021-06-18T08:20:32.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-18T08:20:33.257Z] + git semver init [2021-06-18T08:20:33.257Z] # -> Open(): unable to determine branch for HEAD [2021-06-18T08:20:33.257Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_master/.git [2021-06-18T08:20:33.257Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_master [2021-06-18T08:20:33.257Z] # $SEMVER_REMOTE_NAME = origin [2021-06-18T08:20:33.257Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-18T08:20:33.257Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-18T08:20:33.257Z] # $SEMVER_BRANCH = master [2021-06-18T08:20:33.257Z] # $SEMVER_TEMP = /tmp/semver-577604835 [2021-06-18T08:20:33.257Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-06-18T08:20:33.521Z] # -> Clone(): couldn't find remote ref "refs/heads/semver" [2021-06-18T08:20:33.521Z] # git init /tmp/semver-577604835 [2021-06-18T08:20:33.521Z] # '/tmp/semver-577604835' -> '/w/workspace/edgexfoundry_device-gpio_master/.semver' [2021-06-18T08:20:33.521Z] # -> Force: false [2021-06-18T08:20:33.521Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_master/.semver [Pipeline] } [2021-06-18T08:20:33.537Z] $ docker exec --env ******** --env ******** 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 ssh-agent -k [2021-06-18T08:20:33.645Z] unset SSH_AUTH_SOCK; [2021-06-18T08:20:33.646Z] unset SSH_AGENT_PID; [2021-06-18T08:20:33.646Z] echo Agent pid 62 killed; [2021-06-18T08:20:33.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-18T08:20:34.119Z] + git semver [Pipeline] } [2021-06-18T08:20:34.145Z] $ docker stop --time=1 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 [2021-06-18T08:20:35.357Z] $ docker rm -f 7c613bbb67b34261e48a56a728e00c595d0d31c212e1b5a6e0b0d98a24c13184 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-18T08:20:35.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-18T08:20:36.152Z] Stashed 1 file(s) [Pipeline] echo [2021-06-18T08:20:36.176Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-18T08:20:51.763Z] Still waiting to schedule task [2021-06-18T08:20:51.764Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-18T08:20:51.791Z] Still waiting to schedule task [2021-06-18T08:20:51.792Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-18T08:23:44.736Z] Running on prd-centos7-docker-4c-2g-169 in /w/workspace/edgexfoundry_device-gpio_master [Pipeline] { [Pipeline] ws [2021-06-18T08:23:44.797Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-06-18T08:23:44.951Z] The recommended git tool is: NONE [2021-06-18T08:23:47.270Z] using credential edgex-jenkins-ssh [2021-06-18T08:23:47.292Z] Cloning the remote Git repository [2021-06-18T08:23:46.983Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-06-18T08:23:47.049Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-06-18T08:23:47.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-06-18T08:23:47.076Z] > git --version # timeout=10 [2021-06-18T08:23:47.081Z] > git --version # 'git version 2.24.4' [2021-06-18T08:23:47.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-18T08:23:47.161Z] [INFO] Currently running in a labeled security context [2021-06-18T08:23:47.162Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-18T08:23:47.162Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh2495528865325952799.key [2021-06-18T08:23:47.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-18T08:23:48.299Z] Avoid second fetch [2021-06-18T08:23:48.300Z] Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (master) [2021-06-18T08:23:48.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-06-18T08:23:48.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-18T08:23:48.052Z] > git config core.sparsecheckout # timeout=10 [2021-06-18T08:23:48.063Z] > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 [2021-06-18T08:23:51.741Z] Commit message: "Merge pull request #3 from ernestojeda/init-pipeline" [2021-06-18T08:23:51.763Z] > git --version # timeout=10 [2021-06-18T08:23:51.770Z] > git --version # 'git version 2.24.4' [2021-06-18T08:23:51.777Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-18T08:23:53.134Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-18T08:23:53.507Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-18T08:23:53.835Z] + sudo service docker restart [2021-06-18T08:23:53.835Z] + true [2021-06-18T08:23:53.835Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-18T08:24:12.141Z] provisioning config files... [2021-06-18T08:24:12.159Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config500039993936655559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:24:12.560Z] ---> docker-login.sh [2021-06-18T08:24:12.560Z] nexus3.edgexfoundry.org:10001 [2021-06-18T08:24:12.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:24:12.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:24:12.827Z] Configure a credential helper to remove this warning. See [2021-06-18T08:24:12.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:24:12.827Z] [2021-06-18T08:24:12.827Z] Login Succeeded [2021-06-18T08:24:12.827Z] nexus3.edgexfoundry.org:10002 [2021-06-18T08:24:13.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:24:13.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:24:13.091Z] Configure a credential helper to remove this warning. See [2021-06-18T08:24:13.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:24:13.091Z] [2021-06-18T08:24:13.091Z] Login Succeeded [2021-06-18T08:24:13.091Z] nexus3.edgexfoundry.org:10003 [2021-06-18T08:24:13.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:24:13.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:24:13.352Z] Configure a credential helper to remove this warning. See [2021-06-18T08:24:13.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:24:13.352Z] [2021-06-18T08:24:13.352Z] Login Succeeded [2021-06-18T08:24:13.352Z] nexus3.edgexfoundry.org:10004 [2021-06-18T08:24:13.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:24:13.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:24:13.352Z] Configure a credential helper to remove this warning. See [2021-06-18T08:24:13.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:24:13.352Z] [2021-06-18T08:24:13.352Z] Login Succeeded [2021-06-18T08:24:13.352Z] docker.io [2021-06-18T08:24:13.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:24:13.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:24:13.929Z] Configure a credential helper to remove this warning. See [2021-06-18T08:24:13.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:24:13.929Z] [2021-06-18T08:24:13.929Z] Login Succeeded [2021-06-18T08:24:13.929Z] ---> docker-login.sh ends [Pipeline] } [2021-06-18T08:24:13.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-18T08:24:14.234Z] ========================================================= [2021-06-18T08:24:14.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-18T08:24:14.234Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:24:14.593Z] + 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-06-18T08:24:14.593Z] Sending build context to Docker daemon 5.46MB [2021-06-18T08:24:14.593Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-18T08:24:14.593Z] Step 2/8 : FROM ${BASE} AS builder [2021-06-18T08:24:14.857Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-18T08:24:14.857Z] 540db60ca938: Pulling fs layer [2021-06-18T08:24:14.857Z] adcc1eea9eea: Pulling fs layer [2021-06-18T08:24:14.857Z] 4c4ab2625f07: Pulling fs layer [2021-06-18T08:24:14.857Z] 0510c868ecb4: Pulling fs layer [2021-06-18T08:24:14.857Z] afea3b2eda06: Pulling fs layer [2021-06-18T08:24:14.857Z] 7809a108b3ef: Pulling fs layer [2021-06-18T08:24:14.857Z] f706445af74f: Pulling fs layer [2021-06-18T08:24:14.857Z] 0510c868ecb4: Waiting [2021-06-18T08:24:14.857Z] afea3b2eda06: Waiting [2021-06-18T08:24:14.857Z] 7809a108b3ef: Waiting [2021-06-18T08:24:14.857Z] f706445af74f: Waiting [2021-06-18T08:24:14.857Z] 4c4ab2625f07: Download complete [2021-06-18T08:24:14.857Z] adcc1eea9eea: Verifying Checksum [2021-06-18T08:24:14.857Z] adcc1eea9eea: Download complete [2021-06-18T08:24:14.857Z] afea3b2eda06: Verifying Checksum [2021-06-18T08:24:14.857Z] afea3b2eda06: Download complete [2021-06-18T08:24:15.120Z] 7809a108b3ef: Verifying Checksum [2021-06-18T08:24:15.120Z] 7809a108b3ef: Download complete [2021-06-18T08:24:15.120Z] 540db60ca938: Verifying Checksum [2021-06-18T08:24:15.120Z] 540db60ca938: Download complete [2021-06-18T08:24:15.389Z] 540db60ca938: Pull complete [2021-06-18T08:24:15.655Z] adcc1eea9eea: Pull complete [2021-06-18T08:24:15.655Z] 4c4ab2625f07: Pull complete [2021-06-18T08:24:19.869Z] f706445af74f: Verifying Checksum [2021-06-18T08:24:19.869Z] f706445af74f: Download complete [2021-06-18T08:24:20.818Z] 0510c868ecb4: Verifying Checksum [2021-06-18T08:24:20.818Z] 0510c868ecb4: Download complete [2021-06-18T08:24:24.142Z] 0510c868ecb4: Pull complete [2021-06-18T08:24:24.404Z] afea3b2eda06: Pull complete [2021-06-18T08:24:24.404Z] 7809a108b3ef: Pull complete [2021-06-18T08:24:25.801Z] f706445af74f: Pull complete [2021-06-18T08:24:26.064Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-18T08:24:26.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-18T08:24:26.064Z] ---> b068be0155e3 [2021-06-18T08:24:26.064Z] Step 3/8 : WORKDIR /device-gpio [2021-06-18T08:24:31.361Z] ---> Running in 0c9e65440281 [2021-06-18T08:24:31.361Z] Removing intermediate container 0c9e65440281 [2021-06-18T08:24:31.361Z] ---> 4b4e0b504375 [2021-06-18T08:24:31.361Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:24:31.361Z] ---> Running in c41bccad388b [2021-06-18T08:24:31.361Z] Removing intermediate container c41bccad388b [2021-06-18T08:24:31.361Z] ---> 908ac55af268 [2021-06-18T08:24:31.361Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-18T08:24:31.625Z] ---> Running in b71bb7bda2ed [2021-06-18T08:24:32.201Z] Removing intermediate container b71bb7bda2ed [2021-06-18T08:24:32.201Z] ---> 65360054155e [2021-06-18T08:24:32.201Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-06-18T08:24:32.201Z] ---> Running in f85efddef1d9 [2021-06-18T08:24:32.463Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-18T08:24:33.035Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-18T08:24:33.984Z] OK: 149 MiB in 40 packages [2021-06-18T08:24:34.245Z] Removing intermediate container f85efddef1d9 [2021-06-18T08:24:34.246Z] ---> 3105be092eeb [2021-06-18T08:24:34.246Z] Step 7/8 : COPY . . [2021-06-18T08:24:35.205Z] ---> 3b0e00e1d634 [2021-06-18T08:24:35.205Z] Step 8/8 : RUN go mod download [2021-06-18T08:24:35.205Z] ---> Running in 9f5fd29475b5 [2021-06-18T08:25:04.256Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-170 in /w/workspace/edgexfoundry_device-gpio_master [Pipeline] { [Pipeline] ws [2021-06-18T08:25:04.331Z] Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout [2021-06-18T08:25:04.581Z] The recommended git tool is: NONE [2021-06-18T08:25:09.581Z] using credential edgex-jenkins-ssh [2021-06-18T08:25:09.609Z] Cloning the remote Git repository [2021-06-18T08:25:09.727Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-06-18T08:25:09.948Z] > git init /w/workspace/device-gpio/1 # timeout=10 [2021-06-18T08:25:10.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-06-18T08:25:10.055Z] > git --version # timeout=10 [2021-06-18T08:25:10.083Z] > git --version # 'git version 2.17.1' [2021-06-18T08:25:10.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-18T08:25:10.166Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-18T08:25:11.519Z] Avoid second fetch [2021-06-18T08:25:11.519Z] Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (master) [2021-06-18T08:25:11.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-06-18T08:25:11.491Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-18T08:25:11.528Z] > git config core.sparsecheckout # timeout=10 [2021-06-18T08:25:11.540Z] > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 [2021-06-18T08:25:15.777Z] Commit message: "Merge pull request #3 from ernestojeda/init-pipeline" [2021-06-18T08:25:15.829Z] > git --version # timeout=10 [2021-06-18T08:25:15.841Z] > git --version # 'git version 2.17.1' [2021-06-18T08:25:15.852Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-18T08:25:17.259Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-18T08:25:17.674Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-18T08:25:18.092Z] + sudo service docker restart [2021-06-18T08:25:18.092Z] + true [2021-06-18T08:25:31.516Z] Removing intermediate container 9f5fd29475b5 [2021-06-18T08:25:31.516Z] ---> ba6b73daff97 [2021-06-18T08:25:31.516Z] Successfully built ba6b73daff97 [2021-06-18T08:25:31.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:25:31.871Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-18T08:25:31.871Z] . [Pipeline] withDockerContainer [2021-06-18T08:25:31.977Z] prd-centos7-docker-4c-2g-169 does not seem to be running inside a container [2021-06-18T08:25:32.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-18T08:25:32.575Z] $ docker top d366462ede113a0eaf33accfc6bf50e6bb3620f1b0ac04957bb1040bb56378c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-18T08:25:33.154Z] + go version [2021-06-18T08:25:33.154Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-18T08:25:33.367Z] $ docker stop --time=1 d366462ede113a0eaf33accfc6bf50e6bb3620f1b0ac04957bb1040bb56378c1 [2021-06-18T08:25:34.772Z] $ docker rm -f d366462ede113a0eaf33accfc6bf50e6bb3620f1b0ac04957bb1040bb56378c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:25:35.610Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-18T08:25:35.610Z] . [Pipeline] withDockerContainer [2021-06-18T08:25:35.705Z] prd-centos7-docker-4c-2g-169 does not seem to be running inside a container [2021-06-18T08:25:35.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-18T08:25:36.445Z] $ docker top 82c07f42f7d22940443c7656b10d37e93ec886848addb2524d0e4e18d0fddc7b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2021-06-18T08:25:36.709Z] provisioning config files... [2021-06-18T08:25:36.737Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config6490882410361453269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:25:36.924Z] + go mod tidy [2021-06-18T08:25:37.181Z] ---> docker-login.sh [2021-06-18T08:25:37.181Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2021-06-18T08:25:37.527Z] + make test [2021-06-18T08:25:37.528Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-18T08:25:37.796Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-06-18T08:25:38.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:25:38.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:25:38.440Z] Configure a credential helper to remove this warning. See [2021-06-18T08:25:38.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:25:38.440Z] [2021-06-18T08:25:38.440Z] Login Succeeded [2021-06-18T08:25:38.440Z] nexus3.edgexfoundry.org:10002 [2021-06-18T08:25:38.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:25:38.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:25:38.998Z] Configure a credential helper to remove this warning. See [2021-06-18T08:25:38.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:25:38.998Z] [2021-06-18T08:25:38.998Z] Login Succeeded [2021-06-18T08:25:38.998Z] nexus3.edgexfoundry.org:10003 [2021-06-18T08:25:39.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:25:39.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:25:39.555Z] Configure a credential helper to remove this warning. See [2021-06-18T08:25:39.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:25:39.555Z] [2021-06-18T08:25:39.555Z] Login Succeeded [2021-06-18T08:25:39.555Z] nexus3.edgexfoundry.org:10004 [2021-06-18T08:25:39.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:25:40.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:25:40.109Z] Configure a credential helper to remove this warning. See [2021-06-18T08:25:40.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:25:40.109Z] [2021-06-18T08:25:40.109Z] Login Succeeded [2021-06-18T08:25:40.109Z] docker.io [2021-06-18T08:25:40.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:25:40.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:25:40.998Z] Configure a credential helper to remove this warning. See [2021-06-18T08:25:40.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:25:40.998Z] [2021-06-18T08:25:40.998Z] Login Succeeded [2021-06-18T08:25:40.998Z] ---> docker-login.sh ends [Pipeline] } [2021-06-18T08:25:41.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-18T08:25:41.714Z] ========================================================= [2021-06-18T08:25:41.714Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-18T08:25:41.714Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:25:42.114Z] + 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-06-18T08:25:42.404Z] Sending build context to Docker daemon 5.459MB [2021-06-18T08:25:42.404Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-18T08:25:42.404Z] Step 2/8 : FROM ${BASE} AS builder [2021-06-18T08:25:42.679Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-18T08:25:42.679Z] 595b0fe564bb: Pulling fs layer [2021-06-18T08:25:42.679Z] 3088b5b3c5c0: Pulling fs layer [2021-06-18T08:25:42.679Z] 5b7225fbf94c: Pulling fs layer [2021-06-18T08:25:42.679Z] ba82ee9f976e: Pulling fs layer [2021-06-18T08:25:42.679Z] 506bd15cee9f: Pulling fs layer [2021-06-18T08:25:42.679Z] 75a0a4a0db45: Pulling fs layer [2021-06-18T08:25:42.679Z] 618dc40b7e24: Pulling fs layer [2021-06-18T08:25:42.679Z] ba82ee9f976e: Waiting [2021-06-18T08:25:42.679Z] 506bd15cee9f: Waiting [2021-06-18T08:25:42.679Z] 75a0a4a0db45: Waiting [2021-06-18T08:25:42.679Z] 618dc40b7e24: Waiting [2021-06-18T08:25:42.679Z] 5b7225fbf94c: Verifying Checksum [2021-06-18T08:25:42.679Z] 5b7225fbf94c: Download complete [2021-06-18T08:25:42.961Z] 3088b5b3c5c0: Verifying Checksum [2021-06-18T08:25:42.961Z] 3088b5b3c5c0: Download complete [2021-06-18T08:25:42.961Z] 506bd15cee9f: Verifying Checksum [2021-06-18T08:25:42.961Z] 506bd15cee9f: Download complete [2021-06-18T08:25:42.961Z] 75a0a4a0db45: Verifying Checksum [2021-06-18T08:25:42.961Z] 75a0a4a0db45: Download complete [2021-06-18T08:25:42.961Z] 595b0fe564bb: Download complete [2021-06-18T08:25:43.569Z] 595b0fe564bb: Pull complete [2021-06-18T08:25:44.175Z] 3088b5b3c5c0: Pull complete [2021-06-18T08:25:44.788Z] 5b7225fbf94c: Pull complete [2021-06-18T08:25:45.384Z] 618dc40b7e24: Verifying Checksum [2021-06-18T08:25:45.384Z] 618dc40b7e24: Download complete [2021-06-18T08:25:46.361Z] ba82ee9f976e: Verifying Checksum [2021-06-18T08:25:46.361Z] ba82ee9f976e: Download complete [2021-06-18T08:25:52.830Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-06-18T08:25:52.830Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-06-18T08:25:52.830Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-18T08:25:56.541Z] ba82ee9f976e: Pull complete [2021-06-18T08:25:56.541Z] 506bd15cee9f: Pull complete [2021-06-18T08:25:56.816Z] 75a0a4a0db45: Pull complete [2021-06-18T08:25:57.055Z] gofmt -l . [2021-06-18T08:25:57.055Z] [ "`gofmt -l .`" = "" ] [2021-06-18T08:25:57.055Z] ./bin/test-attribution-txt.sh [2021-06-18T08:25:57.326Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-18T08:25:57.615Z] $ docker stop --time=1 82c07f42f7d22940443c7656b10d37e93ec886848addb2524d0e4e18d0fddc7b [2021-06-18T08:26:00.395Z] $ docker rm -f 82c07f42f7d22940443c7656b10d37e93ec886848addb2524d0e4e18d0fddc7b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-18T08:26:00.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-18T08:26:01.159Z] 618dc40b7e24: Pull complete [2021-06-18T08:26:01.159Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-18T08:26:01.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-18T08:26:01.159Z] ---> a36622ca3599 [2021-06-18T08:26:01.159Z] Step 3/8 : WORKDIR /device-gpio [2021-06-18T08:26:01.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-18T08:26:02.619Z] ---> Running in 21c12253431b [2021-06-18T08:26:03.220Z] Removing intermediate container 21c12253431b [2021-06-18T08:26:03.220Z] ---> 9bbce822ee63 [2021-06-18T08:26:03.220Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:26:03.220Z] ---> Running in dcbfcda837bd [Pipeline] sh [2021-06-18T08:26:03.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-18T08:26:03.813Z] Removing intermediate container dcbfcda837bd [2021-06-18T08:26:03.813Z] ---> 68a16dafca11 [2021-06-18T08:26:03.813Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-18T08:26:03.813Z] ---> Running in 613e8a74f200 [2021-06-18T08:26:04.013Z] + ls -al . [2021-06-18T08:26:04.013Z] total 104 [2021-06-18T08:26:04.013Z] drwxrwxr-x. 6 jenkins jenkins 4096 Jun 18 08:25 . [2021-06-18T08:26:04.013Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 18 08:23 .. [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 5451 Jun 18 08:23 Attribution.txt [2021-06-18T08:26:04.013Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 18 08:23 bin [2021-06-18T08:26:04.013Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 18 08:23 cmd [2021-06-18T08:26:04.013Z] -rw-r--r--. 1 jenkins jenkins 10 Jun 18 08:25 coverage.out [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 1502 Jun 18 08:23 Dockerfile [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 972 Jun 18 08:23 Dockerfile.build [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 120 Jun 18 08:23 .dockerignore [2021-06-18T08:26:04.013Z] drwxrwxr-x. 8 jenkins jenkins 162 Jun 18 08:23 .git [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 350 Jun 18 08:23 .gitignore [2021-06-18T08:26:04.013Z] -rw-r--r--. 1 jenkins jenkins 379 Jun 18 08:25 go.mod [2021-06-18T08:26:04.013Z] -rw-r--r--. 1 jenkins jenkins 30244 Jun 18 08:25 go.sum [2021-06-18T08:26:04.013Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 18 08:23 internal [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 657 Jun 18 08:23 Jenkinsfile [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 18 08:23 LICENSE [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 920 Jun 18 08:23 Makefile [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 6495 Jun 18 08:23 README.md [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 18 08:20 VERSION [2021-06-18T08:26:04.013Z] -rw-rw-r--. 1 jenkins jenkins 209 Jun 18 08:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:04.360Z] + 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=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d --label arch=amd64 --label version=0.0.0 . [2021-06-18T08:26:04.360Z] Sending build context to Docker daemon 5.462MB [2021-06-18T08:26:04.360Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-18T08:26:04.360Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-18T08:26:04.360Z] ---> ba6b73daff97 [2021-06-18T08:26:04.360Z] Step 3/23 : ARG MAKE='make build' [2021-06-18T08:26:04.626Z] ---> Running in 15412ed4702c [2021-06-18T08:26:04.626Z] Removing intermediate container 15412ed4702c [2021-06-18T08:26:04.626Z] ---> c0b4ed5e9b7c [2021-06-18T08:26:04.626Z] Step 4/23 : WORKDIR /device-gpio [2021-06-18T08:26:04.626Z] ---> Running in 62d2d8d994c2 [2021-06-18T08:26:04.890Z] Removing intermediate container 62d2d8d994c2 [2021-06-18T08:26:04.890Z] ---> 83476d2d8c81 [2021-06-18T08:26:04.890Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:26:05.152Z] ---> Running in 04d480d1ba1b [2021-06-18T08:26:05.152Z] Removing intermediate container 04d480d1ba1b [2021-06-18T08:26:05.152Z] ---> 72b975ec8a1e [2021-06-18T08:26:05.152Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-18T08:26:05.152Z] ---> Running in e0bb079c8c0f [2021-06-18T08:26:06.116Z] Removing intermediate container e0bb079c8c0f [2021-06-18T08:26:06.116Z] ---> acf05a5a8eb1 [2021-06-18T08:26:06.116Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-06-18T08:26:06.116Z] ---> Running in 99500dd7b606 [2021-06-18T08:26:06.436Z] Removing intermediate container 613e8a74f200 [2021-06-18T08:26:06.436Z] ---> 92aca745c3b4 [2021-06-18T08:26:06.436Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-06-18T08:26:06.436Z] ---> Running in 52b2a4b0acbf [2021-06-18T08:26:06.694Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-18T08:26:07.273Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-18T08:26:07.412Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-18T08:26:07.845Z] OK: 149 MiB in 40 packages [2021-06-18T08:26:08.128Z] Removing intermediate container 99500dd7b606 [2021-06-18T08:26:08.128Z] ---> 1322c107ab7a [2021-06-18T08:26:08.128Z] Step 8/23 : COPY . . [2021-06-18T08:26:08.388Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-18T08:26:08.389Z] ---> bbb64799e10d [2021-06-18T08:26:08.389Z] Step 9/23 : RUN go mod tidy [2021-06-18T08:26:08.389Z] ---> Running in c3daf7dc0bef [2021-06-18T08:26:08.984Z] OK: 138 MiB in 40 packages [2021-06-18T08:26:09.333Z] Removing intermediate container c3daf7dc0bef [2021-06-18T08:26:09.333Z] ---> 8a9d828cfb4b [2021-06-18T08:26:09.333Z] Step 10/23 : RUN ${MAKE} [2021-06-18T08:26:09.333Z] ---> Running in 3b28790cf694 [2021-06-18T08:26:09.333Z] go mod tidy [2021-06-18T08:26:09.600Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-06-18T08:26:10.430Z] Removing intermediate container 52b2a4b0acbf [2021-06-18T08:26:10.430Z] ---> 0bf5dba5b752 [2021-06-18T08:26:10.430Z] Step 7/8 : COPY . . [2021-06-18T08:26:11.084Z] ---> 00a6f15f1ab7 [2021-06-18T08:26:11.084Z] Step 8/8 : RUN go mod download [2021-06-18T08:26:11.360Z] ---> Running in 013678002c7d [2021-06-18T08:26:21.948Z] Removing intermediate container 3b28790cf694 [2021-06-18T08:26:21.948Z] ---> 839d0502c953 [2021-06-18T08:26:21.948Z] Step 11/23 : FROM scratch [2021-06-18T08:26:21.948Z] ---> [2021-06-18T08:26:21.948Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:26:21.948Z] ---> Running in 95b9a6ba6dfc [2021-06-18T08:26:21.948Z] Removing intermediate container 95b9a6ba6dfc [2021-06-18T08:26:21.948Z] ---> 72beadabc11d [2021-06-18T08:26:21.948Z] Step 13/23 : ENV APP_PORT=49994 [2021-06-18T08:26:21.948Z] ---> Running in 43eaebec8cb7 [2021-06-18T08:26:21.948Z] Removing intermediate container 43eaebec8cb7 [2021-06-18T08:26:21.948Z] ---> 6f042fd46b17 [2021-06-18T08:26:21.948Z] Step 14/23 : EXPOSE $APP_PORT [2021-06-18T08:26:21.948Z] ---> Running in 9f95708b08d8 [2021-06-18T08:26:21.948Z] Removing intermediate container 9f95708b08d8 [2021-06-18T08:26:21.948Z] ---> 0b976a922ad8 [2021-06-18T08:26:21.948Z] Step 15/23 : WORKDIR / [2021-06-18T08:26:21.948Z] ---> Running in fa8a3ac348d6 [2021-06-18T08:26:21.948Z] Removing intermediate container fa8a3ac348d6 [2021-06-18T08:26:21.948Z] ---> 53baecdeb4fb [2021-06-18T08:26:21.948Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-06-18T08:26:21.948Z] ---> f378898b81a1 [2021-06-18T08:26:21.948Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-06-18T08:26:21.948Z] ---> b05fff93cf88 [2021-06-18T08:26:21.948Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-06-18T08:26:21.948Z] ---> bd3380b69e18 [2021-06-18T08:26:21.948Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-06-18T08:26:21.948Z] ---> Running in a96da783d575 [2021-06-18T08:26:21.948Z] Removing intermediate container a96da783d575 [2021-06-18T08:26:21.948Z] ---> b8812f09ef95 [2021-06-18T08:26:21.948Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-18T08:26:22.209Z] ---> Running in 7a29667eb345 [2021-06-18T08:26:22.209Z] Removing intermediate container 7a29667eb345 [2021-06-18T08:26:22.209Z] ---> 89f097189941 [2021-06-18T08:26:22.209Z] Step 21/23 : LABEL arch=amd64 [2021-06-18T08:26:22.209Z] ---> Running in 50cddecf3166 [2021-06-18T08:26:22.471Z] Removing intermediate container 50cddecf3166 [2021-06-18T08:26:22.471Z] ---> 65d83c54e2a2 [2021-06-18T08:26:22.471Z] Step 22/23 : LABEL git_sha=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:26:22.471Z] ---> Running in d0325a3d8945 [2021-06-18T08:26:22.471Z] Removing intermediate container d0325a3d8945 [2021-06-18T08:26:22.471Z] ---> ddeb1dbc2b96 [2021-06-18T08:26:22.471Z] Step 23/23 : LABEL version=0.0.0 [2021-06-18T08:26:22.471Z] ---> Running in 877ea3418710 [2021-06-18T08:26:22.735Z] Removing intermediate container 877ea3418710 [2021-06-18T08:26:22.735Z] ---> 1ef9be550483 [2021-06-18T08:26:22.735Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-18T08:26:22.735Z] Successfully built 1ef9be550483 [2021-06-18T08:26:22.735Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-18T08:26:23.282Z] provisioning config files... [2021-06-18T08:26:23.297Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8574722641919255363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:26:23.677Z] ---> docker-login.sh [2021-06-18T08:26:23.677Z] nexus3.edgexfoundry.org:10001 [2021-06-18T08:26:23.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:26:23.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:26:23.677Z] Configure a credential helper to remove this warning. See [2021-06-18T08:26:23.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:26:23.677Z] [2021-06-18T08:26:23.677Z] Login Succeeded [2021-06-18T08:26:23.677Z] nexus3.edgexfoundry.org:10002 [2021-06-18T08:26:23.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:26:23.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:26:23.942Z] Configure a credential helper to remove this warning. See [2021-06-18T08:26:23.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:26:23.942Z] [2021-06-18T08:26:23.942Z] Login Succeeded [2021-06-18T08:26:23.942Z] nexus3.edgexfoundry.org:10003 [2021-06-18T08:26:23.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:26:23.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:26:23.942Z] Configure a credential helper to remove this warning. See [2021-06-18T08:26:23.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:26:23.942Z] [2021-06-18T08:26:23.942Z] Login Succeeded [2021-06-18T08:26:23.942Z] nexus3.edgexfoundry.org:10004 [2021-06-18T08:26:24.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:26:24.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:26:24.211Z] Configure a credential helper to remove this warning. See [2021-06-18T08:26:24.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:26:24.211Z] [2021-06-18T08:26:24.211Z] Login Succeeded [2021-06-18T08:26:24.211Z] docker.io [2021-06-18T08:26:24.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:26:24.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:26:24.480Z] Configure a credential helper to remove this warning. See [2021-06-18T08:26:24.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:26:24.480Z] [2021-06-18T08:26:24.480Z] Login Succeeded [2021-06-18T08:26:24.480Z] ---> docker-login.sh ends [Pipeline] } [2021-06-18T08:26:24.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-18T08:26:24.771Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2021-06-18T08:26:24.771Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:26:24.771Z] latest [2021-06-18T08:26:24.771Z] 0.0.0 [2021-06-18T08:26:24.771Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:26:24.771Z] master [2021-06-18T08:26:24.771Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:25.324Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:25.664Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:26:25.664Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-06-18T08:26:25.664Z] 1bfd9dc90023: Preparing [2021-06-18T08:26:25.664Z] 9146331b16ac: Preparing [2021-06-18T08:26:25.664Z] 24249a25a846: Preparing [2021-06-18T08:26:25.927Z] 24249a25a846: Pushed [2021-06-18T08:26:25.927Z] 9146331b16ac: Pushed [2021-06-18T08:26:27.329Z] 1bfd9dc90023: Pushed [2021-06-18T08:26:27.329Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d: digest: sha256:45875c87a949b0290378753dc7f41ff1b42a465efbfb7b4ec981d44df44b9d32 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:27.688Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:28.038Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-06-18T08:26:28.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-06-18T08:26:28.038Z] 1bfd9dc90023: Preparing [2021-06-18T08:26:28.038Z] 9146331b16ac: Preparing [2021-06-18T08:26:28.038Z] 24249a25a846: Preparing [2021-06-18T08:26:28.038Z] 9146331b16ac: Layer already exists [2021-06-18T08:26:28.038Z] 1bfd9dc90023: Layer already exists [2021-06-18T08:26:28.038Z] 24249a25a846: Layer already exists [2021-06-18T08:26:28.038Z] latest: digest: sha256:45875c87a949b0290378753dc7f41ff1b42a465efbfb7b4ec981d44df44b9d32 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:28.380Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:28.719Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:0.0.0 [2021-06-18T08:26:28.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-06-18T08:26:28.719Z] 1bfd9dc90023: Preparing [2021-06-18T08:26:28.720Z] 9146331b16ac: Preparing [2021-06-18T08:26:28.720Z] 24249a25a846: Preparing [2021-06-18T08:26:28.720Z] 1bfd9dc90023: Layer already exists [2021-06-18T08:26:28.720Z] 24249a25a846: Layer already exists [2021-06-18T08:26:28.720Z] 9146331b16ac: Layer already exists [2021-06-18T08:26:28.720Z] 0.0.0: digest: sha256:45875c87a949b0290378753dc7f41ff1b42a465efbfb7b4ec981d44df44b9d32 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:29.062Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:29.419Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:26:29.420Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-06-18T08:26:29.420Z] 1bfd9dc90023: Preparing [2021-06-18T08:26:29.420Z] 9146331b16ac: Preparing [2021-06-18T08:26:29.420Z] 24249a25a846: Preparing [2021-06-18T08:26:29.420Z] 24249a25a846: Layer already exists [2021-06-18T08:26:29.420Z] 1bfd9dc90023: Layer already exists [2021-06-18T08:26:29.420Z] 9146331b16ac: Layer already exists [2021-06-18T08:26:29.420Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0: digest: sha256:45875c87a949b0290378753dc7f41ff1b42a465efbfb7b4ec981d44df44b9d32 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:29.774Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:master [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:30.360Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:master [2021-06-18T08:26:30.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-06-18T08:26:30.360Z] 1bfd9dc90023: Preparing [2021-06-18T08:26:30.360Z] 9146331b16ac: Preparing [2021-06-18T08:26:30.360Z] 24249a25a846: Preparing [2021-06-18T08:26:30.360Z] 24249a25a846: Layer already exists [2021-06-18T08:26:30.360Z] 9146331b16ac: Layer already exists [2021-06-18T08:26:30.360Z] 1bfd9dc90023: Layer already exists [2021-06-18T08:26:30.360Z] master: digest: sha256:45875c87a949b0290378753dc7f41ff1b42a465efbfb7b4ec981d44df44b9d32 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-18T08:26:30.585Z] ===================================================== [Pipeline] echo [2021-06-18T08:26:30.635Z] taggedImages: [2021-06-18T08:26:30.635Z] - nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:26:30.635Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-06-18T08:26:30.635Z] - nexus3.edgexfoundry.org:10004/device-gpio:0.0.0 [2021-06-18T08:26:30.635Z] - nexus3.edgexfoundry.org:10004/device-gpio:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:26:30.635Z] - 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 [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:26:31.500Z] ---> job-cost.sh [2021-06-18T08:26:31.500Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZQvK [2021-06-18T08:26:41.544Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-18T08:26:56.572Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZQvK/bin to PATH [2021-06-18T08:26:56.572Z] INFO: No Stack... [2021-06-18T08:26:56.572Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-18T08:26:57.154Z] INFO: Archiving Costs [Pipeline] sh [2021-06-18T08:26:57.477Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2021-06-18T08:26:57.477Z] + cut -d, -f6 [Pipeline] lock [2021-06-18T08:26:57.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] [2021-06-18T08:26:57.550Z] Resource [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] did not exist. Created. [2021-06-18T08:26:57.550Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-18T08:26:57.982Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-18T08:26:58.105Z] Stashed 1 file(s) [Pipeline] } [2021-06-18T08:26:58.127Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-06-18T08:26:58.401Z] Removing intermediate container 013678002c7d [2021-06-18T08:26:58.401Z] ---> 07ae2c2cbe41 [2021-06-18T08:26:58.401Z] Successfully built 07ae2c2cbe41 [2021-06-18T08:26:58.401Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:26:59.000Z] + docker inspect -f . ci-base-image-arm64 [2021-06-18T08:26:59.000Z] . [Pipeline] withDockerContainer [2021-06-18T08:26:59.301Z] prd-ubuntu18.04-docker-arm64-4c-16g-170 does not seem to be running inside a container [2021-06-18T08:26:59.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-18T08:27:01.023Z] $ docker top 46705540a923eb73c21567feca96c530095b69cf8b8a1ef3440e8f70e078352b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-18T08:27:02.003Z] + go version [2021-06-18T08:27:02.003Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-18T08:27:02.070Z] $ docker stop --time=1 46705540a923eb73c21567feca96c530095b69cf8b8a1ef3440e8f70e078352b [2021-06-18T08:27:03.888Z] $ docker rm -f 46705540a923eb73c21567feca96c530095b69cf8b8a1ef3440e8f70e078352b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:27:04.822Z] + docker inspect -f . ci-base-image-arm64 [2021-06-18T08:27:04.822Z] . [Pipeline] withDockerContainer [2021-06-18T08:27:05.102Z] prd-ubuntu18.04-docker-arm64-4c-16g-170 does not seem to be running inside a container [2021-06-18T08:27:05.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-18T08:27:06.705Z] $ docker top ff169e03c52d1313ef08f794437848c585c0957cbee0df962b4190f113409250 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-18T08:27:07.681Z] + go mod tidy [Pipeline] sh [2021-06-18T08:27:08.979Z] + make test [2021-06-18T08:27:08.979Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-18T08:27:09.967Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-06-18T08:27:49.081Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-06-18T08:27:49.081Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-06-18T08:27:49.081Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-06-18T08:28:15.950Z] gofmt -l . [2021-06-18T08:28:15.951Z] [ "`gofmt -l .`" = "" ] [2021-06-18T08:28:15.951Z] ./bin/test-attribution-txt.sh [2021-06-18T08:28:15.951Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-18T08:28:16.042Z] $ docker stop --time=1 ff169e03c52d1313ef08f794437848c585c0957cbee0df962b4190f113409250 [2021-06-18T08:28:17.922Z] $ docker rm -f ff169e03c52d1313ef08f794437848c585c0957cbee0df962b4190f113409250 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-18T08:28:18.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-18T08:28:18.796Z] Warning: overwriting stash ‘coverage-report’ [2021-06-18T08:28:19.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-18T08:28:20.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-18T08:28:20.399Z] + ls -al . [2021-06-18T08:28:20.400Z] total 124 [2021-06-18T08:28:20.400Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 18 08:28 . [2021-06-18T08:28:20.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 08:25 .. [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 120 Jun 18 08:25 .dockerignore [2021-06-18T08:28:20.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 08:25 .git [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 350 Jun 18 08:25 .gitignore [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 5451 Jun 18 08:25 Attribution.txt [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 1502 Jun 18 08:25 Dockerfile [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 972 Jun 18 08:25 Dockerfile.build [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 657 Jun 18 08:25 Jenkinsfile [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 08:25 LICENSE [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 920 Jun 18 08:25 Makefile [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 6495 Jun 18 08:25 README.md [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 08:20 VERSION [2021-06-18T08:28:20.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 08:25 bin [2021-06-18T08:28:20.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 08:25 cmd [2021-06-18T08:28:20.400Z] -rw-r--r-- 1 jenkins jenkins 10 Jun 18 08:27 coverage.out [2021-06-18T08:28:20.400Z] -rw-r--r-- 1 jenkins jenkins 379 Jun 18 08:28 go.mod [2021-06-18T08:28:20.400Z] -rw-r--r-- 1 jenkins jenkins 30244 Jun 18 08:27 go.sum [2021-06-18T08:28:20.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 08:25 internal [2021-06-18T08:28:20.400Z] -rw-rw-r-- 1 jenkins jenkins 209 Jun 18 08:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:28:20.790Z] + 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=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d --label arch=arm64 --label version=0.0.0 . [2021-06-18T08:28:21.066Z] Sending build context to Docker daemon 5.461MB [2021-06-18T08:28:21.066Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-18T08:28:21.066Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-18T08:28:21.066Z] ---> 07ae2c2cbe41 [2021-06-18T08:28:21.066Z] Step 3/23 : ARG MAKE='make build' [2021-06-18T08:28:21.340Z] ---> Running in 55f1a4d1e0c9 [2021-06-18T08:28:21.937Z] Removing intermediate container 55f1a4d1e0c9 [2021-06-18T08:28:21.937Z] ---> 42323d3ce8cf [2021-06-18T08:28:21.937Z] Step 4/23 : WORKDIR /device-gpio [2021-06-18T08:28:21.937Z] ---> Running in 6d07bce77979 [2021-06-18T08:28:22.533Z] Removing intermediate container 6d07bce77979 [2021-06-18T08:28:22.534Z] ---> 9c2b2304346b [2021-06-18T08:28:22.534Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:28:22.534Z] ---> Running in e659839de2e8 [2021-06-18T08:28:23.127Z] Removing intermediate container e659839de2e8 [2021-06-18T08:28:23.127Z] ---> db2ff56a4fd4 [2021-06-18T08:28:23.127Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-18T08:28:23.127Z] ---> Running in 5287e99070f1 [2021-06-18T08:28:25.755Z] Removing intermediate container 5287e99070f1 [2021-06-18T08:28:25.755Z] ---> f08597c4df9a [2021-06-18T08:28:25.755Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-06-18T08:28:25.755Z] ---> Running in e3a1cf7235c3 [2021-06-18T08:28:26.733Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-18T08:28:27.708Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-18T08:28:28.688Z] OK: 138 MiB in 40 packages [2021-06-18T08:28:29.668Z] Removing intermediate container e3a1cf7235c3 [2021-06-18T08:28:29.668Z] ---> b8f70f9a9486 [2021-06-18T08:28:29.668Z] Step 8/23 : COPY . . [2021-06-18T08:28:30.647Z] ---> b096dbf4e308 [2021-06-18T08:28:30.647Z] Step 9/23 : RUN go mod tidy [2021-06-18T08:28:30.926Z] ---> Running in bc19def78160 [2021-06-18T08:28:35.235Z] Removing intermediate container bc19def78160 [2021-06-18T08:28:35.235Z] ---> bc4478a7d0de [2021-06-18T08:28:35.235Z] Step 10/23 : RUN ${MAKE} [2021-06-18T08:28:35.509Z] ---> Running in 30a6c5772175 [2021-06-18T08:28:36.501Z] go mod tidy [2021-06-18T08:28:37.099Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-06-18T08:29:09.497Z] Removing intermediate container 30a6c5772175 [2021-06-18T08:29:09.498Z] ---> 2185e376a1ce [2021-06-18T08:29:09.498Z] Step 11/23 : FROM scratch [2021-06-18T08:29:09.498Z] ---> [2021-06-18T08:29:09.498Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-06-18T08:29:09.498Z] ---> Running in 4675f33ee6e6 [2021-06-18T08:29:09.498Z] Removing intermediate container 4675f33ee6e6 [2021-06-18T08:29:09.498Z] ---> 638e0ccf06e7 [2021-06-18T08:29:09.498Z] Step 13/23 : ENV APP_PORT=49994 [2021-06-18T08:29:09.498Z] ---> Running in 6606d7f29931 [2021-06-18T08:29:09.498Z] Removing intermediate container 6606d7f29931 [2021-06-18T08:29:09.498Z] ---> d924b331403e [2021-06-18T08:29:09.498Z] Step 14/23 : EXPOSE $APP_PORT [2021-06-18T08:29:09.498Z] ---> Running in da5dea43469f [2021-06-18T08:29:09.498Z] Removing intermediate container da5dea43469f [2021-06-18T08:29:09.498Z] ---> 932588473c56 [2021-06-18T08:29:09.498Z] Step 15/23 : WORKDIR / [2021-06-18T08:29:09.498Z] ---> Running in 3a6998bad18b [2021-06-18T08:29:09.498Z] Removing intermediate container 3a6998bad18b [2021-06-18T08:29:09.498Z] ---> dd77db884cc2 [2021-06-18T08:29:09.498Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-06-18T08:29:09.498Z] ---> a09217d27478 [2021-06-18T08:29:09.498Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-06-18T08:29:09.772Z] ---> 55889e336d7d [2021-06-18T08:29:09.772Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-06-18T08:29:10.759Z] ---> 02bf62a508da [2021-06-18T08:29:10.759Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-06-18T08:29:11.033Z] ---> Running in 253312f48079 [2021-06-18T08:29:11.631Z] Removing intermediate container 253312f48079 [2021-06-18T08:29:11.631Z] ---> c739be5e4bbd [2021-06-18T08:29:11.631Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-18T08:29:11.631Z] ---> Running in 01928fa24ba3 [2021-06-18T08:29:12.229Z] Removing intermediate container 01928fa24ba3 [2021-06-18T08:29:12.229Z] ---> 94bdde59d5d3 [2021-06-18T08:29:12.229Z] Step 21/23 : LABEL arch=arm64 [2021-06-18T08:29:12.229Z] ---> Running in 5728fc8201d7 [2021-06-18T08:29:12.827Z] Removing intermediate container 5728fc8201d7 [2021-06-18T08:29:12.827Z] ---> 0dfa40d575e9 [2021-06-18T08:29:12.827Z] Step 22/23 : LABEL git_sha=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:29:12.827Z] ---> Running in 620a18f25846 [2021-06-18T08:29:13.425Z] Removing intermediate container 620a18f25846 [2021-06-18T08:29:13.425Z] ---> c73e471ea24b [2021-06-18T08:29:13.425Z] Step 23/23 : LABEL version=0.0.0 [2021-06-18T08:29:13.425Z] ---> Running in dfe8409f7df8 [2021-06-18T08:29:13.698Z] Removing intermediate container dfe8409f7df8 [2021-06-18T08:29:13.698Z] ---> 6d3eac9f17b7 [2021-06-18T08:29:13.698Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-18T08:29:13.976Z] Successfully built 6d3eac9f17b7 [2021-06-18T08:29:13.976Z] 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-06-18T08:29:14.556Z] provisioning config files... [2021-06-18T08:29:14.579Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config3513528569887782597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:29:15.017Z] ---> docker-login.sh [2021-06-18T08:29:15.017Z] nexus3.edgexfoundry.org:10001 [2021-06-18T08:29:15.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:29:15.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:29:15.297Z] Configure a credential helper to remove this warning. See [2021-06-18T08:29:15.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:29:15.297Z] [2021-06-18T08:29:15.297Z] Login Succeeded [2021-06-18T08:29:15.297Z] nexus3.edgexfoundry.org:10002 [2021-06-18T08:29:15.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:29:15.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:29:15.895Z] Configure a credential helper to remove this warning. See [2021-06-18T08:29:15.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:29:15.895Z] [2021-06-18T08:29:15.895Z] Login Succeeded [2021-06-18T08:29:15.895Z] nexus3.edgexfoundry.org:10003 [2021-06-18T08:29:16.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:29:16.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:29:16.446Z] Configure a credential helper to remove this warning. See [2021-06-18T08:29:16.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:29:16.446Z] [2021-06-18T08:29:16.446Z] Login Succeeded [2021-06-18T08:29:16.446Z] nexus3.edgexfoundry.org:10004 [2021-06-18T08:29:16.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:29:16.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:29:16.993Z] Configure a credential helper to remove this warning. See [2021-06-18T08:29:16.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:29:16.993Z] [2021-06-18T08:29:16.993Z] Login Succeeded [2021-06-18T08:29:16.993Z] docker.io [2021-06-18T08:29:17.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-18T08:29:17.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-18T08:29:17.870Z] Configure a credential helper to remove this warning. See [2021-06-18T08:29:17.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-18T08:29:17.870Z] [2021-06-18T08:29:17.870Z] Login Succeeded [2021-06-18T08:29:17.870Z] ---> docker-login.sh ends [Pipeline] } [2021-06-18T08:29:17.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-18T08:29:18.131Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2021-06-18T08:29:18.131Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:29:18.131Z] latest [2021-06-18T08:29:18.131Z] 0.0.0 [2021-06-18T08:29:18.131Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:29:18.131Z] master [2021-06-18T08:29:18.131Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:18.683Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:19.078Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:29:19.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-06-18T08:29:19.078Z] defe284a1f2c: Preparing [2021-06-18T08:29:19.078Z] ca24c8fd9b86: Preparing [2021-06-18T08:29:19.078Z] 6a4f3a47ae57: Preparing [2021-06-18T08:29:19.353Z] 6a4f3a47ae57: Pushed [2021-06-18T08:29:19.353Z] ca24c8fd9b86: Pushed [2021-06-18T08:29:21.973Z] defe284a1f2c: Pushed [2021-06-18T08:29:21.973Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d: digest: sha256:55c6d4fde7286e8644c387bb6dbe59424d661851a9bf58f5dcf535ca98fbe8f9 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:22.404Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:22.794Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-06-18T08:29:22.794Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-06-18T08:29:22.794Z] defe284a1f2c: Preparing [2021-06-18T08:29:22.794Z] ca24c8fd9b86: Preparing [2021-06-18T08:29:22.794Z] 6a4f3a47ae57: Preparing [2021-06-18T08:29:22.794Z] defe284a1f2c: Layer already exists [2021-06-18T08:29:22.794Z] 6a4f3a47ae57: Layer already exists [2021-06-18T08:29:23.068Z] ca24c8fd9b86: Layer already exists [2021-06-18T08:29:23.069Z] latest: digest: sha256:55c6d4fde7286e8644c387bb6dbe59424d661851a9bf58f5dcf535ca98fbe8f9 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:23.455Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:23.839Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:0.0.0 [2021-06-18T08:29:23.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-06-18T08:29:23.839Z] defe284a1f2c: Preparing [2021-06-18T08:29:23.839Z] ca24c8fd9b86: Preparing [2021-06-18T08:29:23.839Z] 6a4f3a47ae57: Preparing [2021-06-18T08:29:23.839Z] defe284a1f2c: Layer already exists [2021-06-18T08:29:23.839Z] 6a4f3a47ae57: Layer already exists [2021-06-18T08:29:23.839Z] ca24c8fd9b86: Layer already exists [2021-06-18T08:29:24.111Z] 0.0.0: digest: sha256:55c6d4fde7286e8644c387bb6dbe59424d661851a9bf58f5dcf535ca98fbe8f9 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:24.515Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:24.894Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:29:24.894Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-06-18T08:29:24.894Z] defe284a1f2c: Preparing [2021-06-18T08:29:24.894Z] ca24c8fd9b86: Preparing [2021-06-18T08:29:24.894Z] 6a4f3a47ae57: Preparing [2021-06-18T08:29:24.894Z] 6a4f3a47ae57: Layer already exists [2021-06-18T08:29:24.894Z] ca24c8fd9b86: Layer already exists [2021-06-18T08:29:24.894Z] defe284a1f2c: Layer already exists [2021-06-18T08:29:25.166Z] 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0: digest: sha256:55c6d4fde7286e8644c387bb6dbe59424d661851a9bf58f5dcf535ca98fbe8f9 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:25.555Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:29:25.942Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [2021-06-18T08:29:25.942Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-06-18T08:29:25.942Z] defe284a1f2c: Preparing [2021-06-18T08:29:25.942Z] ca24c8fd9b86: Preparing [2021-06-18T08:29:25.942Z] 6a4f3a47ae57: Preparing [2021-06-18T08:29:25.942Z] defe284a1f2c: Layer already exists [2021-06-18T08:29:25.942Z] ca24c8fd9b86: Layer already exists [2021-06-18T08:29:25.942Z] 6a4f3a47ae57: Layer already exists [2021-06-18T08:29:26.215Z] master: digest: sha256:55c6d4fde7286e8644c387bb6dbe59424d661851a9bf58f5dcf535ca98fbe8f9 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-06-18T08:29:26.431Z] ===================================================== [Pipeline] echo [2021-06-18T08:29:26.480Z] taggedImages: [2021-06-18T08:29:26.480Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [2021-06-18T08:29:26.480Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-06-18T08:29:26.480Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:0.0.0 [2021-06-18T08:29:26.480Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d-0.0.0 [2021-06-18T08:29:26.480Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:29:27.132Z] ---> job-cost.sh [2021-06-18T08:29:27.132Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QfmD [2021-06-18T08:30:06.125Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-18T08:31:27.892Z] lf-activate-venv(): INFO: Adding /tmp/venv-QfmD/bin to PATH [2021-06-18T08:31:27.893Z] INFO: No Stack... [2021-06-18T08:31:27.893Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-18T08:31:27.893Z] INFO: Archiving Costs [Pipeline] sh [2021-06-18T08:31:28.257Z] + cat /w/workspace/device-gpio/1/archives/cost.csv [2021-06-18T08:31:28.258Z] + cut -d, -f6 [Pipeline] lock [2021-06-18T08:31:28.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] [2021-06-18T08:31:28.405Z] Resource [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] did not exist. Created. [2021-06-18T08:31:28.405Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-master-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-18T08:31:28.856Z] /w/workspace/device-gpio/1@tmp/durable-48bc86de/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-48bc86de/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-18T08:31:29.233Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-18T08:31:29.281Z] Warning: overwriting stash ‘stack-cost’ [2021-06-18T08:31:29.439Z] Stashed 1 file(s) [Pipeline] } [2021-06-18T08:31:29.477Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-master-1-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-06-18T08:31:30.638Z] provisioning config files... [2021-06-18T08:31:30.650Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config2431410264087940615tmp [Pipeline] { [Pipeline] sh [2021-06-18T08:31:31.190Z] + set +x [2021-06-18T08:31:31.191Z] + curl -s https://codecov.io/bash [2021-06-18T08:31:31.191Z] + bash -s -- [2021-06-18T08:31:31.191Z] [2021-06-18T08:31:31.191Z] _____ _ [2021-06-18T08:31:31.191Z] / ____| | | [2021-06-18T08:31:31.191Z] | | ___ __| | ___ ___ _____ __ [2021-06-18T08:31:31.191Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-18T08:31:31.191Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-18T08:31:31.191Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-18T08:31:31.191Z] Bash-1.0.3 [2021-06-18T08:31:31.191Z] [2021-06-18T08:31:31.191Z] [2021-06-18T08:31:31.191Z] ==> git version 2.24.4 found [2021-06-18T08:31:31.191Z] ==> 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-06-18T08:31:31.191Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-18T08:31:31.191Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-18T08:31:31.191Z] ==> Jenkins CI detected. [2021-06-18T08:31:31.191Z] project root: . [2021-06-18T08:31:31.191Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-18T08:31:31.191Z] ==> Running gcov in . (disable via -X gcov) [2021-06-18T08:31:31.191Z] ==> Python coveragepy not found [2021-06-18T08:31:31.191Z] ==> Searching for coverage reports in: [2021-06-18T08:31:31.191Z] + . [2021-06-18T08:31:31.191Z] -> Found 1 reports [2021-06-18T08:31:31.455Z] ==> Detecting git/mercurial file structure [2021-06-18T08:31:31.455Z] ==> Reading reports [2021-06-18T08:31:31.455Z] + ./coverage.out bytes=10 [2021-06-18T08:31:31.455Z] ==> Appending adjustments [2021-06-18T08:31:31.455Z] https://docs.codecov.io/docs/fixing-reports [2021-06-18T08:31:31.455Z] + Found adjustments [2021-06-18T08:31:31.455Z] ==> Gzipping contents [2021-06-18T08:31:31.455Z] 4.0K /tmp/codecov.dl4xEu.gz [2021-06-18T08:31:31.455Z] ==> Uploading reports [2021-06-18T08:31:31.455Z] url: https://codecov.io [2021-06-18T08:31:31.455Z] query: branch=master&commit=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmaster%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-18T08:31:31.455Z] -> Pinging Codecov [2021-06-18T08:31:31.455Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmaster%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-06-18T08:31:31.718Z] {'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-06-18T08:31:31.718Z] 404 [2021-06-18T08:31:31.718Z] ==> Uploading to Codecov [2021-06-18T08:31:31.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-18T08:31:31.718Z] Dload Upload Total Spent Left Speed [2021-06-18T08:31:31.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 791 100 169 100 622 962 3542 --:--:-- --:--:-- --:--:-- 3534 [2021-06-18T08:31:31.718Z] {'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-06-18T08:31:31.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-06-18T08:31:32.699Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-06-18T08:31:32.733Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:31:33.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-18T08:31:33.109Z] [2021-06-18T08:31:33.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:31:33.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-18T08:31:33.477Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-06-18T08:31:33.477Z] 188c0c94c7c5: Pulling fs layer [2021-06-18T08:31:33.477Z] 0ef7d3d256c8: Pulling fs layer [2021-06-18T08:31:33.477Z] de9db76c5a1d: Pulling fs layer [2021-06-18T08:31:33.477Z] 0eba1c9be4d2: Pulling fs layer [2021-06-18T08:31:33.477Z] 0d57e429df01: Pulling fs layer [2021-06-18T08:31:33.477Z] 4e4be7b47b0d: Pulling fs layer [2021-06-18T08:31:33.477Z] e1f770b5df2f: Pulling fs layer [2021-06-18T08:31:33.477Z] 85a0685a4137: Pulling fs layer [2021-06-18T08:31:33.477Z] 0d57e429df01: Waiting [2021-06-18T08:31:33.477Z] 4e4be7b47b0d: Waiting [2021-06-18T08:31:33.477Z] e1f770b5df2f: Waiting [2021-06-18T08:31:33.477Z] 85a0685a4137: Waiting [2021-06-18T08:31:33.477Z] 0eba1c9be4d2: Waiting [2021-06-18T08:31:33.477Z] de9db76c5a1d: Verifying Checksum [2021-06-18T08:31:33.477Z] de9db76c5a1d: Download complete [2021-06-18T08:31:33.477Z] 0ef7d3d256c8: Verifying Checksum [2021-06-18T08:31:33.477Z] 0ef7d3d256c8: Download complete [2021-06-18T08:31:33.477Z] 0d57e429df01: Verifying Checksum [2021-06-18T08:31:33.477Z] 0d57e429df01: Download complete [2021-06-18T08:31:33.477Z] 188c0c94c7c5: Verifying Checksum [2021-06-18T08:31:33.477Z] 188c0c94c7c5: Download complete [2021-06-18T08:31:33.743Z] 4e4be7b47b0d: Verifying Checksum [2021-06-18T08:31:33.743Z] 4e4be7b47b0d: Download complete [2021-06-18T08:31:33.743Z] 188c0c94c7c5: Pull complete [2021-06-18T08:31:34.005Z] 0ef7d3d256c8: Pull complete [2021-06-18T08:31:34.005Z] de9db76c5a1d: Pull complete [2021-06-18T08:31:35.389Z] e1f770b5df2f: Verifying Checksum [2021-06-18T08:31:35.389Z] e1f770b5df2f: Download complete [2021-06-18T08:31:36.787Z] 0eba1c9be4d2: Verifying Checksum [2021-06-18T08:31:36.787Z] 0eba1c9be4d2: Download complete [2021-06-18T08:31:37.055Z] 85a0685a4137: Verifying Checksum [2021-06-18T08:31:37.055Z] 85a0685a4137: Download complete [2021-06-18T08:31:40.383Z] 0eba1c9be4d2: Pull complete [2021-06-18T08:31:40.383Z] 0d57e429df01: Pull complete [2021-06-18T08:31:40.383Z] 4e4be7b47b0d: Pull complete [2021-06-18T08:31:40.648Z] e1f770b5df2f: Pull complete [2021-06-18T08:31:44.881Z] 85a0685a4137: Pull complete [2021-06-18T08:31:44.881Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-06-18T08:31:44.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-06-18T08:31:44.881Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-06-18T08:31:45.005Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:31:45.062Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-06-18T08:31:48.927Z] $ docker top 6feee2be6c07e612ef1944e31933d5121f54b3117a4e637aa456012705a6ec53 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-06-18T08:31:49.110Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-06-18T08:31:49.437Z] + set -o pipefail [2021-06-18T08:31:49.437Z] + snyk monitor '--org=edgex-jenkins' [2021-06-18T08:32:11.451Z] [2021-06-18T08:32:11.451Z] Monitoring /w/workspace/edgexfoundry_device-gpio_master (github.com/edgexfoundry/device-gpio)... [2021-06-18T08:32:11.451Z] [2021-06-18T08:32:11.451Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/20d2f06a-dba9-4e3f-bb4a-39117085a191 [2021-06-18T08:32:11.451Z] [2021-06-18T08:32:11.451Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-06-18T08:32:11.451Z] [2021-06-18T08:32:11.451Z] [Pipeline] } [2021-06-18T08:32:11.479Z] $ docker stop --time=1 6feee2be6c07e612ef1944e31933d5121f54b3117a4e637aa456012705a6ec53 [2021-06-18T08:32:13.208Z] $ docker rm -f 6feee2be6c07e612ef1944e31933d5121f54b3117a4e637aa456012705a6ec53 [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-06-18T08:32:14.796Z] + git log --format=format:%s -1 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:32:15.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:32:15.136Z] . [Pipeline] withDockerContainer [2021-06-18T08:32:15.233Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:32:15.279Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-18T08:32:15.643Z] $ docker top db9a3c51ec64875312af317b907b037ae2493f668cbf71a1091e63c6d39e0816 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-18T08:32:15.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-18T08:32:15.879Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-18T08:32:16.001Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-18T08:32:16.000Z] $ docker exec db9a3c51ec64875312af317b907b037ae2493f668cbf71a1091e63c6d39e0816 ssh-agent [2021-06-18T08:32:16.113Z] SSH_AUTH_SOCK=/tmp/ssh-QPwq7oEaoJW5/agent.14 [2021-06-18T08:32:16.113Z] SSH_AGENT_PID=21 [2021-06-18T08:32:16.119Z] Running ssh-add (command line suppressed) [2021-06-18T08:32:16.218Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_4682457849082716929.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_4682457849082716929.key) [2021-06-18T08:32:16.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-18T08:32:16.583Z] + git semver tag [2021-06-18T08:32:16.583Z] # -> Open(): unable to determine branch for HEAD [2021-06-18T08:32:16.583Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_master/.git [2021-06-18T08:32:16.583Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_master [2021-06-18T08:32:16.583Z] # $SEMVER_REMOTE_NAME = origin [2021-06-18T08:32:16.583Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-18T08:32:16.583Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-18T08:32:16.583Z] # $SEMVER_BRANCH = master [2021-06-18T08:32:16.583Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_master/.semver [2021-06-18T08:32:16.583Z] # 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d HEAD [2021-06-18T08:32:16.583Z] # -> Force: false [2021-06-18T08:32:16.583Z] # 40a6bd66f1abef7578390d128fb60e27a8f7ef22 refs/tags/v0.0.0 [Pipeline] } [2021-06-18T08:32:16.600Z] $ docker exec --env ******** --env ******** db9a3c51ec64875312af317b907b037ae2493f668cbf71a1091e63c6d39e0816 ssh-agent -k [2021-06-18T08:32:16.699Z] unset SSH_AUTH_SOCK; [2021-06-18T08:32:16.699Z] unset SSH_AGENT_PID; [2021-06-18T08:32:16.699Z] echo Agent pid 21 killed; [2021-06-18T08:32:16.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-18T08:32:17.166Z] + git semver [Pipeline] } [2021-06-18T08:32:17.191Z] $ docker stop --time=1 db9a3c51ec64875312af317b907b037ae2493f668cbf71a1091e63c6d39e0816 [2021-06-18T08:32:18.390Z] $ docker rm -f db9a3c51ec64875312af317b907b037ae2493f668cbf71a1091e63c6d39e0816 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:32:19.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-18T08:32:19.025Z] [2021-06-18T08:32:19.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:32:19.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-18T08:32:19.391Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-06-18T08:32:19.391Z] ab5ef0e58194: Pulling fs layer [2021-06-18T08:32:19.391Z] 9712f1f96733: Pulling fs layer [2021-06-18T08:32:19.391Z] 63f879dbbcfc: Pulling fs layer [2021-06-18T08:32:19.391Z] 0d9ebad4ef96: Pulling fs layer [2021-06-18T08:32:19.391Z] e9a5061849ea: Pulling fs layer [2021-06-18T08:32:19.391Z] d747dcd14b5f: Pulling fs layer [2021-06-18T08:32:19.391Z] 2de7ff778b66: Pulling fs layer [2021-06-18T08:32:19.391Z] e9a5061849ea: Waiting [2021-06-18T08:32:19.391Z] d747dcd14b5f: Waiting [2021-06-18T08:32:19.391Z] 2de7ff778b66: Waiting [2021-06-18T08:32:19.391Z] 0d9ebad4ef96: Waiting [2021-06-18T08:32:19.391Z] 9712f1f96733: Verifying Checksum [2021-06-18T08:32:19.391Z] 9712f1f96733: Download complete [2021-06-18T08:32:20.778Z] 63f879dbbcfc: Verifying Checksum [2021-06-18T08:32:20.778Z] 63f879dbbcfc: Download complete [2021-06-18T08:32:21.040Z] e9a5061849ea: Verifying Checksum [2021-06-18T08:32:21.041Z] e9a5061849ea: Download complete [2021-06-18T08:32:21.041Z] d747dcd14b5f: Verifying Checksum [2021-06-18T08:32:21.041Z] d747dcd14b5f: Download complete [2021-06-18T08:32:21.303Z] 2de7ff778b66: Verifying Checksum [2021-06-18T08:32:21.303Z] 2de7ff778b66: Download complete [2021-06-18T08:32:21.577Z] ab5ef0e58194: Verifying Checksum [2021-06-18T08:32:21.577Z] ab5ef0e58194: Download complete [2021-06-18T08:32:21.577Z] 0d9ebad4ef96: Verifying Checksum [2021-06-18T08:32:21.577Z] 0d9ebad4ef96: Download complete [2021-06-18T08:32:24.141Z] ab5ef0e58194: Pull complete [2021-06-18T08:32:24.141Z] 9712f1f96733: Pull complete [2021-06-18T08:32:24.725Z] 63f879dbbcfc: Pull complete [2021-06-18T08:32:28.068Z] 0d9ebad4ef96: Pull complete [2021-06-18T08:32:28.332Z] e9a5061849ea: Pull complete [2021-06-18T08:32:28.332Z] d747dcd14b5f: Pull complete [2021-06-18T08:32:29.290Z] 2de7ff778b66: Pull complete [2021-06-18T08:32:29.290Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-06-18T08:32:29.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-06-18T08:32:29.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-06-18T08:32:29.388Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:32:29.436Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-06-18T08:32:32.850Z] $ docker top f676c7486c9c218c2a561be36d0e67cb1780906d51b9df07a05f6d42aafbd60e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-06-18T08:32:33.071Z] provisioning config files... [2021-06-18T08:32:33.081Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config2184603500456129916tmp [2021-06-18T08:32:33.093Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config748784822089445503tmp [2021-06-18T08:32:33.105Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config1741787326149550334tmp [Pipeline] { [Pipeline] echo [2021-06-18T08:32:33.199Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:32:33.532Z] ---> sigul-configuration.sh [2021-06-18T08:32:33.532Z] gpg: directory `/root/.gnupg' created [2021-06-18T08:32:33.532Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-06-18T08:32:33.532Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-06-18T08:32:33.532Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-06-18T08:32:33.532Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-06-18T08:32:33.532Z] gpg: CAST5 encrypted data [2021-06-18T08:32:33.532Z] gpg: encrypted with 1 passphrase [2021-06-18T08:32:33.532Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-06-18T08:32:33.847Z] + mkdir /home/jenkins [2021-06-18T08:32:33.847Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-06-18T08:32:34.168Z] + 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-06-18T08:32:34.199Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:32:34.709Z] ---> sigul-install.sh [2021-06-18T08:32:40.078Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-06-18T08:32:40.404Z] + git tag --list [2021-06-18T08:32:40.404Z] v0.0.0 [Pipeline] sh [2021-06-18T08:32:40.736Z] + lftools sign git-tag v0.0.0 [2021-06-18T08:32:41.311Z] Signing Git tag with Sigul... [2021-06-18T08:32:41.311Z] Signing v0.0.0 [Pipeline] echo [2021-06-18T08:32:42.734Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:32:43.069Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-06-18T08:32:43.096Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-06-18T08:32:43.175Z] $ docker stop --time=1 f676c7486c9c218c2a561be36d0e67cb1780906d51b9df07a05f6d42aafbd60e [2021-06-18T08:32:52.810Z] $ docker rm -f f676c7486c9c218c2a561be36d0e67cb1780906d51b9df07a05f6d42aafbd60e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:32:53.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:32:53.760Z] . [Pipeline] withDockerContainer [2021-06-18T08:32:53.865Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:32:53.903Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-18T08:32:55.002Z] $ docker top e7a05bf69cc549a130abf667645946249d7ce83d875683fb1609f0231bb3b03d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-18T08:32:55.199Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-18T08:32:55.199Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-18T08:32:55.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-18T08:32:55.308Z] $ docker exec e7a05bf69cc549a130abf667645946249d7ce83d875683fb1609f0231bb3b03d ssh-agent [2021-06-18T08:32:55.430Z] SSH_AUTH_SOCK=/tmp/ssh-5JrrlyTFE8zV/agent.13 [2021-06-18T08:32:55.430Z] SSH_AGENT_PID=20 [2021-06-18T08:32:55.435Z] Running ssh-add (command line suppressed) [2021-06-18T08:32:55.533Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_1638561888343472359.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_1638561888343472359.key) [2021-06-18T08:32:55.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-18T08:32:55.915Z] + git semver bump pre [2021-06-18T08:32:55.915Z] # -> Open(): unable to determine branch for HEAD [2021-06-18T08:32:55.915Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_master/.git [2021-06-18T08:32:55.915Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_master [2021-06-18T08:32:55.915Z] # $SEMVER_REMOTE_NAME = origin [2021-06-18T08:32:55.915Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-18T08:32:55.915Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-18T08:32:55.915Z] # $SEMVER_BRANCH = master [2021-06-18T08:32:55.915Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_master/.semver [2021-06-18T08:32:55.915Z] 0.0.1-dev.1 [Pipeline] } [2021-06-18T08:32:55.932Z] $ docker exec --env ******** --env ******** e7a05bf69cc549a130abf667645946249d7ce83d875683fb1609f0231bb3b03d ssh-agent -k [2021-06-18T08:32:56.029Z] unset SSH_AUTH_SOCK; [2021-06-18T08:32:56.030Z] unset SSH_AGENT_PID; [2021-06-18T08:32:56.030Z] echo Agent pid 20 killed; [2021-06-18T08:32:56.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-18T08:32:56.509Z] + git semver [Pipeline] } [2021-06-18T08:32:56.535Z] $ docker stop --time=1 e7a05bf69cc549a130abf667645946249d7ce83d875683fb1609f0231bb3b03d [2021-06-18T08:32:58.260Z] $ docker rm -f e7a05bf69cc549a130abf667645946249d7ce83d875683fb1609f0231bb3b03d [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:32:58.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-18T08:32:58.721Z] . [Pipeline] withDockerContainer [2021-06-18T08:32:58.818Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:32:58.853Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-18T08:32:59.511Z] $ docker top cc38ab5cc640fbad531cbbf684e98771269e5eb6d77b07068c21a92852ed8064 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-18T08:32:59.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-18T08:32:59.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-18T08:32:59.847Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-18T08:32:59.846Z] $ docker exec cc38ab5cc640fbad531cbbf684e98771269e5eb6d77b07068c21a92852ed8064 ssh-agent [2021-06-18T08:32:59.954Z] SSH_AUTH_SOCK=/tmp/ssh-w59pIGi5stjl/agent.14 [2021-06-18T08:32:59.954Z] SSH_AGENT_PID=21 [2021-06-18T08:32:59.960Z] Running ssh-add (command line suppressed) [2021-06-18T08:33:00.054Z] Identity added: /w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_3258234983829458778.key (/w/workspace/edgexfoundry_device-gpio_master@tmp/private_key_3258234983829458778.key) [2021-06-18T08:33:00.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-18T08:33:00.417Z] + git semver push [2021-06-18T08:33:00.417Z] # -> Open(): unable to determine branch for HEAD [2021-06-18T08:33:00.417Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_master/.git [2021-06-18T08:33:00.417Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_master [2021-06-18T08:33:00.417Z] # $SEMVER_REMOTE_NAME = origin [2021-06-18T08:33:00.417Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-18T08:33:00.417Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-18T08:33:00.417Z] # $SEMVER_BRANCH = master [2021-06-18T08:33:00.417Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_master/.semver [Pipeline] } [2021-06-18T08:33:05.728Z] $ docker exec --env ******** --env ******** cc38ab5cc640fbad531cbbf684e98771269e5eb6d77b07068c21a92852ed8064 ssh-agent -k [2021-06-18T08:33:05.835Z] unset SSH_AUTH_SOCK; [2021-06-18T08:33:05.835Z] unset SSH_AGENT_PID; [2021-06-18T08:33:05.835Z] echo Agent pid 21 killed; [2021-06-18T08:33:05.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-18T08:33:06.296Z] + git semver [Pipeline] } [2021-06-18T08:33:06.326Z] $ docker stop --time=1 cc38ab5cc640fbad531cbbf684e98771269e5eb6d77b07068c21a92852ed8064 [2021-06-18T08:33:07.553Z] $ docker rm -f cc38ab5cc640fbad531cbbf684e98771269e5eb6d77b07068c21a92852ed8064 [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-06-18T08:33:09.115Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:09.735Z] ---> package-listing.sh [2021-06-18T08:33:09.735Z] ++ facter osfamily [2021-06-18T08:33:09.735Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-18T08:33:10.003Z] + OS_FAMILY=redhat [2021-06-18T08:33:10.003Z] + workspace=/w/workspace/edgexfoundry_device-gpio_master [2021-06-18T08:33:10.003Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-18T08:33:10.003Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-18T08:33:10.003Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-18T08:33:10.003Z] + PACKAGES=/tmp/packages_start.txt [2021-06-18T08:33:10.003Z] + '[' /w/workspace/edgexfoundry_device-gpio_master ']' [2021-06-18T08:33:10.003Z] + PACKAGES=/tmp/packages_end.txt [2021-06-18T08:33:10.003Z] + case "${OS_FAMILY}" in [2021-06-18T08:33:10.003Z] + rpm -qa [2021-06-18T08:33:10.003Z] + sort [2021-06-18T08:33:10.577Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-18T08:33:10.577Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-18T08:33:10.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-18T08:33:10.577Z] + '[' /w/workspace/edgexfoundry_device-gpio_master ']' [2021-06-18T08:33:10.577Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_master/archives/ [2021-06-18T08:33:10.577Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_master/archives/ [Pipeline] echo [2021-06-18T08:33:10.614Z] 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-06-18T08:33:10.928Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:33:11.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-18T08:33:11.547Z] [2021-06-18T08:33:11.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-18T08:33:11.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-18T08:33:12.172Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-18T08:33:12.172Z] df20fa9351a1: Pulling fs layer [2021-06-18T08:33:12.172Z] 36b3adc4ff6f: Pulling fs layer [2021-06-18T08:33:12.172Z] 8ad3a11d3b57: Pulling fs layer [2021-06-18T08:33:12.172Z] 46f8f816bc3b: Pulling fs layer [2021-06-18T08:33:12.172Z] 93b61091891f: Pulling fs layer [2021-06-18T08:33:12.172Z] 93b9cdb0e59b: Pulling fs layer [2021-06-18T08:33:12.172Z] 5e14af77c1be: Pulling fs layer [2021-06-18T08:33:12.172Z] 01666e4c0597: Pulling fs layer [2021-06-18T08:33:12.172Z] aa168da1d23b: Pulling fs layer [2021-06-18T08:33:12.172Z] 46f8f816bc3b: Waiting [2021-06-18T08:33:12.172Z] 5e14af77c1be: Waiting [2021-06-18T08:33:12.172Z] 93b61091891f: Waiting [2021-06-18T08:33:12.172Z] 01666e4c0597: Waiting [2021-06-18T08:33:12.172Z] aa168da1d23b: Waiting [2021-06-18T08:33:12.172Z] 93b9cdb0e59b: Waiting [2021-06-18T08:33:12.172Z] 36b3adc4ff6f: Verifying Checksum [2021-06-18T08:33:12.172Z] 36b3adc4ff6f: Download complete [2021-06-18T08:33:12.172Z] 46f8f816bc3b: Verifying Checksum [2021-06-18T08:33:12.172Z] 46f8f816bc3b: Download complete [2021-06-18T08:33:12.172Z] df20fa9351a1: Verifying Checksum [2021-06-18T08:33:12.172Z] df20fa9351a1: Download complete [2021-06-18T08:33:12.172Z] 93b9cdb0e59b: Verifying Checksum [2021-06-18T08:33:12.172Z] 93b9cdb0e59b: Download complete [2021-06-18T08:33:12.172Z] 5e14af77c1be: Verifying Checksum [2021-06-18T08:33:12.172Z] 5e14af77c1be: Download complete [2021-06-18T08:33:12.172Z] 93b61091891f: Download complete [2021-06-18T08:33:12.435Z] 01666e4c0597: Verifying Checksum [2021-06-18T08:33:12.435Z] 01666e4c0597: Download complete [2021-06-18T08:33:12.435Z] 8ad3a11d3b57: Download complete [2021-06-18T08:33:12.702Z] df20fa9351a1: Pull complete [2021-06-18T08:33:12.702Z] 36b3adc4ff6f: Pull complete [2021-06-18T08:33:13.281Z] 8ad3a11d3b57: Pull complete [2021-06-18T08:33:13.552Z] 46f8f816bc3b: Pull complete [2021-06-18T08:33:13.818Z] 93b61091891f: Pull complete [2021-06-18T08:33:14.081Z] 93b9cdb0e59b: Pull complete [2021-06-18T08:33:14.081Z] aa168da1d23b: Verifying Checksum [2021-06-18T08:33:14.081Z] aa168da1d23b: Download complete [2021-06-18T08:33:14.081Z] 5e14af77c1be: Pull complete [2021-06-18T08:33:14.351Z] 01666e4c0597: Pull complete [2021-06-18T08:33:18.810Z] aa168da1d23b: Pull complete [2021-06-18T08:33:18.810Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-18T08:33:18.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-18T08:33:18.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-18T08:33:18.931Z] prd-centos7-docker-4c-2g-168 does not seem to be running inside a container [2021-06-18T08:33:18.973Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-18T08:33:28.995Z] $ docker top d119a8907af9c38c9e111e50927dc6676bf3877ac7a7cd80c06be398dee404dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-18T08:33:29.433Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-18T08:33:29.752Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-18T08:33:30.083Z] + ls /var/log/sa-host [2021-06-18T08:33:30.083Z] + sadf -c /var/log/sa-host/sa05 [2021-06-18T08:33:30.083Z] file_magic: OK [2021-06-18T08:33:30.083Z] HZ: Using current value: 100 [2021-06-18T08:33:30.083Z] file_header: OK [2021-06-18T08:33:30.083Z] 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-06-18T08:33:30.083Z] Statistics: [2021-06-18T08:33:30.083Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-18T08:33:30.083Z] File successfully converted to sysstat format version 12.2.1 [2021-06-18T08:33:30.083Z] + sadf -c /var/log/sa-host/sa18 [2021-06-18T08:33:30.083Z] file_magic: OK [2021-06-18T08:33:30.083Z] HZ: Using current value: 100 [2021-06-18T08:33:30.083Z] file_header: OK [2021-06-18T08:33:30.083Z] 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-06-18T08:33:30.083Z] Statistics: [2021-06-18T08:33:30.083Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-18T08:33:30.083Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-18T08:33:30.466Z] provisioning config files... [2021-06-18T08:33:30.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_master@tmp/config5866602535756201484tmp [Pipeline] { [Pipeline] echo [2021-06-18T08:33:30.542Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:30.885Z] ---> create-netrc.sh [Pipeline] } [2021-06-18T08:33:30.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:31.374Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-18T08:33:31.411Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:31.752Z] ---> sudo-logs.sh [2021-06-18T08:33:31.752Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-18T08:33:31.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:32.197Z] ---> job-cost.sh [2021-06-18T08:33:32.197Z] lf-activate-venv: SKIPPING [2021-06-18T08:33:32.197Z] DEBUG: total: 0.18000000715255737 [2021-06-18T08:33:32.197Z] INFO: Retrieving Stack Cost... [2021-06-18T08:33:33.153Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-18T08:33:33.417Z] INFO: Archiving Costs [Pipeline] echo [2021-06-18T08:33:33.452Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-18T08:33:33.816Z] ---> logs-deploy.sh [2021-06-18T08:33:33.816Z] lf-activate-venv: SKIPPING [2021-06-18T08:33:33.816Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/master/1 [2021-06-18T08:33:33.816Z] INFO: archiving workspace using pattern(s): [2021-06-18T08:33:34.757Z] Archives upload complete. [2021-06-18T08:33:35.017Z] INFO: archiving logs to Nexus