Pull request #2 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d+08733150c9fd0d5a61d48a64135eed09313835c6 (e6610b912fb3717dbd2b5f59b8a1d89676498830) 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-ssh9024407063613166602.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-ssh7253387663862513678.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/PR-2/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/PR-2/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9072955015898910865.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/PR-2/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3212306245917584683.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-ssh4026012328306811545.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/PR-2/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/PR-2/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2597244196248415453.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-81 in /w/workspace/edgexfoundry_device-gpio_PR-2 [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_PR-2 # 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_PR-2@tmp/jenkins-gitclient-ssh3478740803567691483.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-2@tmp/jenkins-gitclient-ssh5489349776544531061.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/2/head:refs/remotes/origin/PR-2 +refs/heads/review:refs/remotes/origin/review # timeout=10 Merging remotes/origin/review commit 08733150c9fd0d5a61d48a64135eed09313835c6 into PR head commit 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d Merge succeeded, producing 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (PR-2) > git config core.sparsecheckout # timeout=10 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-2@tmp/jenkins-gitclient-ssh3917604318442184087.key > git merge 08733150c9fd0d5a61d48a64135eed09313835c6 # timeout=10 > git rev-parse HEAD^{commit} # 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 20:01:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:01:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:01:24 ========================================================= 20:01:24 EdgeX Global Pipelines Version Info 20:01:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:01:25 ------------------- 20:01:25 stable info: 20:01:25 ------------------- 20:01:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:01:25 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:01:25 Message: update stable to v1.0.195 20:01:26 ------------------- 20:01:26 experimental info: 20:01:26 ------------------- 20:01:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:01:26 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 20:01:26 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:01:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:01:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2 [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2 [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2 [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15a74a1 [Pipeline] echo 20:01:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:28 provisioning config files... 20:01:28 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-2@tmp/config6112969416999098763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:29 ---> docker-login.sh 20:01:29 nexus3.edgexfoundry.org:10001 20:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:29 Configure a credential helper to remove this warning. See 20:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:29 20:01:29 Login Succeeded 20:01:29 nexus3.edgexfoundry.org:10002 20:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:29 Configure a credential helper to remove this warning. See 20:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:29 20:01:29 Login Succeeded 20:01:29 nexus3.edgexfoundry.org:10003 20:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:29 Configure a credential helper to remove this warning. See 20:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:29 20:01:29 Login Succeeded 20:01:29 nexus3.edgexfoundry.org:10004 20:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:29 Configure a credential helper to remove this warning. See 20:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:29 20:01:29 Login Succeeded 20:01:29 docker.io 20:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:30 Configure a credential helper to remove this warning. See 20:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:30 20:01:30 Login Succeeded 20:01:30 ---> docker-login.sh ends [Pipeline] } 20:01:30 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 20:01:31 + git log --format=format:%s -1 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d [Pipeline] echo 20:01:31 GIT_COMMIT: 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d, Commit Message: Merge pull request #3 from ernestojeda/init-pipeline [Pipeline] echo 20:01:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:01:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:31 20:01:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:01:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:32 latest: Pulling from edgex-devops/git-semver 20:01:32 31603596830f: Pulling fs layer 20:01:32 54011a49482f: Pulling fs layer 20:01:32 a6820b24f6d8: Pulling fs layer 20:01:32 f581987b2513: Pulling fs layer 20:01:32 f581987b2513: Waiting 20:01:32 54011a49482f: Verifying Checksum 20:01:32 54011a49482f: Download complete 20:01:32 31603596830f: Verifying Checksum 20:01:32 31603596830f: Download complete 20:01:32 f581987b2513: Verifying Checksum 20:01:32 f581987b2513: Download complete 20:01:32 a6820b24f6d8: Verifying Checksum 20:01:32 a6820b24f6d8: Download complete 20:01:32 31603596830f: Pull complete 20:01:32 54011a49482f: Pull complete 20:01:33 a6820b24f6d8: Pull complete 20:01:33 f581987b2513: Pull complete 20:01:33 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:01:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:01:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:01:33 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 20:01:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-2 -v /w/workspace/edgexfoundry_device-gpio_PR-2:/w/workspace/edgexfoundry_device-gpio_PR-2:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-2@tmp:/w/workspace/edgexfoundry_device-gpio_PR-2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:01:34 $ docker top 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:35 [ssh-agent] Looking for ssh-agent implementation... 20:01:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:35 $ docker exec 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e ssh-agent 20:01:35 SSH_AUTH_SOCK=/tmp/ssh-lvopAvtCDITu/agent.13 20:01:35 SSH_AGENT_PID=18 20:01:35 Running ssh-add (command line suppressed) 20:01:35 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-2@tmp/private_key_1710517139324821837.key (/w/workspace/edgexfoundry_device-gpio_PR-2@tmp/private_key_1710517139324821837.key) 20:01:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:35 + git tag --points-at HEAD [Pipeline] } 20:01:35 $ docker exec --env ******** --env ******** 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e ssh-agent -k 20:01:35 unset SSH_AUTH_SOCK; 20:01:35 unset SSH_AGENT_PID; 20:01:35 echo Agent pid 18 killed; 20:01:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:01:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:36 [ssh-agent] Looking for ssh-agent implementation... 20:01:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:36 $ docker exec 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e ssh-agent 20:01:36 SSH_AUTH_SOCK=/tmp/ssh-ZU3bAA4BSoWf/agent.53 20:01:36 SSH_AGENT_PID=59 20:01:36 Running ssh-add (command line suppressed) 20:01:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-2@tmp/private_key_3780505499449835040.key (/w/workspace/edgexfoundry_device-gpio_PR-2@tmp/private_key_3780505499449835040.key) 20:01:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:36 + git semver init 20:01:36 # -> Open(): unable to determine branch for HEAD 20:01:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-2/.git 20:01:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-2 20:01:36 # $SEMVER_REMOTE_NAME = origin 20:01:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:01:36 # $SEMVER_USER_NAME = edgex-jenkins 20:01:36 # $SEMVER_BRANCH = PR-2 20:01:36 # $SEMVER_TEMP = /tmp/semver-456075157 20:01:36 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 20:01:37 # -> Clone(): couldn't find remote ref "refs/heads/semver" 20:01:37 # git init /tmp/semver-456075157 20:01:37 # '/tmp/semver-456075157' -> '/w/workspace/edgexfoundry_device-gpio_PR-2/.semver' 20:01:37 # -> Force: false 20:01:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-2/.semver [Pipeline] } 20:01:37 $ docker exec --env ******** --env ******** 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e ssh-agent -k 20:01:37 unset SSH_AUTH_SOCK; 20:01:37 unset SSH_AGENT_PID; 20:01:37 echo Agent pid 59 killed; 20:01:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:37 + git semver [Pipeline] } 20:01:37 $ docker stop --time=1 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e 20:01:38 $ docker rm -f 60fd6074b5bc0ecf60f340948020641bd0aebe9009bee2e0795b2f9a0ce5ca3e [Pipeline] // withDockerContainer [Pipeline] sh 20:01:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:01:39 Stashed 1 file(s) [Pipeline] echo 20:01:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:01:55 Still waiting to schedule task 20:01:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:01:55 Still waiting to schedule task 20:01:55 ‘prd-ubuntu18.04-docker-arm64-4c-16g-79’ is offline 20:03:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-82 in /w/workspace/edgexfoundry_device-gpio_PR-2 [Pipeline] { [Pipeline] ws 20:03:45 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 20:03:45 The recommended git tool is: NONE 20:03:51 using credential edgex-jenkins-ssh 20:03:51 Cloning the remote Git repository 20:03:51 Cloning repository git@github.com:edgexfoundry/device-gpio.git 20:03:51 > git init /w/workspace/device-gpio/1 # timeout=10 20:03:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:03:51 > git --version # timeout=10 20:03:51 > git --version # 'git version 2.17.1' 20:03:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:03:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:03:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:03:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/2/head:refs/remotes/origin/PR-2 +refs/heads/review:refs/remotes/origin/review # timeout=10 20:03:53 Merging remotes/origin/review commit 08733150c9fd0d5a61d48a64135eed09313835c6 into PR head commit 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:03:53 Merge succeeded, producing 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:03:53 Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (PR-2) 20:03:53 > git config core.sparsecheckout # timeout=10 20:03:53 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 20:03:53 > git remote # timeout=10 20:03:53 > git config --get remote.origin.url # timeout=10 20:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:03:53 > git merge 08733150c9fd0d5a61d48a64135eed09313835c6 # timeout=10 20:03:53 > git rev-parse HEAD^{commit} # timeout=10 20:03:53 > git config core.sparsecheckout # timeout=10 20:03:53 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 20:03:58 Commit message: "Merge pull request #3 from ernestojeda/init-pipeline" 20:03:58 > git --version # timeout=10 20:03:58 > git --version # 'git version 2.17.1' 20:03:58 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:04:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:04:00 + sudo service docker restart 20:04:00 + true 20:04:15 Running on prd-centos7-docker-4c-2g-84 in /w/workspace/edgexfoundry_device-gpio_PR-2 [Pipeline] { [Pipeline] ws 20:04:16 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 20:04:16 The recommended git tool is: NONE 20:04:18 using credential edgex-jenkins-ssh 20:04:18 Cloning the remote Git repository 20:04:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:19 provisioning config files... 20:04:19 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4826561258357246511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:18 > git init /w/workspace/device-gpio/1 # timeout=10 20:04:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:04:18 > git --version # timeout=10 20:04:18 > git --version # 'git version 2.24.4' 20:04:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:18 [INFO] Currently running in a labeled security context 20:04:18 [INFO] Currently SELinux is 'enforcing' on the host 20:04:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh3425813204505029226.key 20:04:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:18 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:04:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:18 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 20:04:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 20:04:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:18 [INFO] Currently running in a labeled security context 20:04:18 [INFO] Currently SELinux is 'enforcing' on the host 20:04:18 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh9211109717840698708.key 20:04:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/2/head:refs/remotes/origin/PR-2 +refs/heads/review:refs/remotes/origin/review # timeout=10 20:04:19 ---> docker-login.sh 20:04:19 nexus3.edgexfoundry.org:10001 20:04:19 Merging remotes/origin/review commit 08733150c9fd0d5a61d48a64135eed09313835c6 into PR head commit 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:04:19 Merge succeeded, producing 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:04:19 Checking out Revision 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d (PR-2) 20:04:19 > git config core.sparsecheckout # timeout=10 20:04:19 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 20:04:19 > git remote # timeout=10 20:04:19 > git config --get remote.origin.url # timeout=10 20:04:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:19 [INFO] Currently running in a labeled security context 20:04:19 [INFO] Currently SELinux is 'enforcing' on the host 20:04:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/1@tmp/jenkins-gitclient-ssh5027484231847008584.key 20:04:19 > git merge 08733150c9fd0d5a61d48a64135eed09313835c6 # timeout=10 20:04:19 > git rev-parse HEAD^{commit} # timeout=10 20:04:19 > git config core.sparsecheckout # timeout=10 20:04:19 > git checkout -f 15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d # timeout=10 20:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:21 Configure a credential helper to remove this warning. See 20:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:21 20:04:21 Login Succeeded 20:04:21 nexus3.edgexfoundry.org:10002 20:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:21 Configure a credential helper to remove this warning. See 20:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:21 20:04:21 Login Succeeded 20:04:21 nexus3.edgexfoundry.org:10003 20:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 nexus3.edgexfoundry.org:10004 20:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:22 Configure a credential helper to remove this warning. See 20:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:22 20:04:22 Login Succeeded 20:04:22 docker.io 20:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:23 Commit message: "Merge pull request #3 from ernestojeda/init-pipeline" 20:04:23 > git --version # timeout=10 20:04:23 > git --version # 'git version 2.24.4' 20:04:23 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 20:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:23 Configure a credential helper to remove this warning. See 20:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:23 20:04:23 Login Succeeded 20:04:23 ---> docker-login.sh ends [Pipeline] } 20:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] echo 20:04:24 ========================================================= 20:04:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:04:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:04:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:04:24 + 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 . 20:04:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:04:25 + true 20:04:25 + sudo service docker restart 20:04:25 Redirecting to /bin/systemctl restart docker.service 20:04:25 Sending build context to Docker daemon 5.463MB 20:04:25 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:04:25 Step 2/8 : FROM ${BASE} AS builder 20:04:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:04:25 595b0fe564bb: Pulling fs layer 20:04:25 3088b5b3c5c0: Pulling fs layer 20:04:25 5b7225fbf94c: Pulling fs layer 20:04:25 ba82ee9f976e: Pulling fs layer 20:04:25 506bd15cee9f: Pulling fs layer 20:04:25 75a0a4a0db45: Pulling fs layer 20:04:25 618dc40b7e24: Pulling fs layer 20:04:25 75a0a4a0db45: Waiting 20:04:25 ba82ee9f976e: Waiting 20:04:25 618dc40b7e24: Waiting 20:04:25 506bd15cee9f: Waiting 20:04:25 5b7225fbf94c: Download complete 20:04:25 3088b5b3c5c0: Verifying Checksum 20:04:25 3088b5b3c5c0: Download complete 20:04:25 506bd15cee9f: Verifying Checksum 20:04:25 506bd15cee9f: Download complete 20:04:25 75a0a4a0db45: Verifying Checksum 20:04:25 75a0a4a0db45: Download complete 20:04:25 595b0fe564bb: Download complete 20:04:26 595b0fe564bb: Pull complete 20:04:26 3088b5b3c5c0: Pull complete 20:04:27 5b7225fbf94c: Pull complete 20:04:28 618dc40b7e24: Verifying Checksum 20:04:29 ba82ee9f976e: Download complete 20:04:39 ba82ee9f976e: Pull complete 20:04:39 506bd15cee9f: Pull complete 20:04:40 75a0a4a0db45: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:43 provisioning config files... 20:04:43 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config229393947453729337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:43 ---> docker-login.sh 20:04:43 nexus3.edgexfoundry.org:10001 20:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:44 Configure a credential helper to remove this warning. See 20:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:44 20:04:44 Login Succeeded 20:04:44 nexus3.edgexfoundry.org:10002 20:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:44 Configure a credential helper to remove this warning. See 20:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:44 20:04:44 Login Succeeded 20:04:44 nexus3.edgexfoundry.org:10003 20:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:44 Configure a credential helper to remove this warning. See 20:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:44 20:04:44 Login Succeeded 20:04:44 nexus3.edgexfoundry.org:10004 20:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:44 618dc40b7e24: Pull complete 20:04:44 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 20:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:04:44 ---> a36622ca3599 20:04:44 Step 3/8 : WORKDIR /device-gpio 20:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:44 Configure a credential helper to remove this warning. See 20:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:44 20:04:44 Login Succeeded 20:04:44 docker.io 20:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:44 Configure a credential helper to remove this warning. See 20:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:44 20:04:44 Login Succeeded 20:04:44 ---> docker-login.sh ends [Pipeline] } 20:04:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:45 ========================================================= 20:04:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:04:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:04:45 + 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 . 20:04:45 Sending build context to Docker daemon 5.464MB 20:04:45 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:04:45 Step 2/8 : FROM ${BASE} AS builder 20:04:45 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:45 540db60ca938: Pulling fs layer 20:04:45 adcc1eea9eea: Pulling fs layer 20:04:45 4c4ab2625f07: Pulling fs layer 20:04:45 0510c868ecb4: Pulling fs layer 20:04:45 afea3b2eda06: Pulling fs layer 20:04:45 7809a108b3ef: Pulling fs layer 20:04:45 f706445af74f: Pulling fs layer 20:04:45 0510c868ecb4: Waiting 20:04:45 afea3b2eda06: Waiting 20:04:45 7809a108b3ef: Waiting 20:04:45 f706445af74f: Waiting 20:04:45 ---> Running in 44ac08a52de4 20:04:46 4c4ab2625f07: Verifying Checksum 20:04:46 4c4ab2625f07: Download complete 20:04:46 adcc1eea9eea: Verifying Checksum 20:04:46 adcc1eea9eea: Download complete 20:04:46 afea3b2eda06: Verifying Checksum 20:04:46 afea3b2eda06: Download complete 20:04:46 7809a108b3ef: Verifying Checksum 20:04:46 7809a108b3ef: Download complete 20:04:46 540db60ca938: Verifying Checksum 20:04:46 540db60ca938: Download complete 20:04:46 540db60ca938: Pull complete 20:04:46 adcc1eea9eea: Pull complete 20:04:46 4c4ab2625f07: Pull complete 20:04:46 Removing intermediate container 44ac08a52de4 20:04:46 ---> 74fd3e6447a3 20:04:46 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:04:46 ---> Running in 428ca14f3fb0 20:04:47 Removing intermediate container 428ca14f3fb0 20:04:47 ---> 2c17b99aa361 20:04:47 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:47 ---> Running in dd9f5f0d80b0 20:04:47 f706445af74f: Verifying Checksum 20:04:47 f706445af74f: Download complete 20:04:48 0510c868ecb4: Verifying Checksum 20:04:48 0510c868ecb4: Download complete 20:04:49 Removing intermediate container dd9f5f0d80b0 20:04:49 ---> 4f6f021ab990 20:04:49 Step 6/8 : RUN apk add --update --no-cache make git 20:04:49 ---> Running in 9f1f1a9fb73d 20:04:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:04:51 0510c868ecb4: Pull complete 20:04:51 afea3b2eda06: Pull complete 20:04:51 7809a108b3ef: Pull complete 20:04:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:04:52 OK: 138 MiB in 40 packages 20:04:53 f706445af74f: Pull complete 20:04:53 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:04:53 ---> b068be0155e3 20:04:53 Step 3/8 : WORKDIR /device-gpio 20:04:53 Removing intermediate container 9f1f1a9fb73d 20:04:53 ---> 7630d45ad848 20:04:53 Step 7/8 : COPY . . 20:04:55 ---> eca18802d0b4 20:04:55 Step 8/8 : RUN go mod download 20:04:55 ---> Running in 4970cd43ce2d 20:04:56 ---> Running in 47f505bc460d 20:04:56 Removing intermediate container 47f505bc460d 20:04:56 ---> cfbffadb1186 20:04:56 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:04:56 ---> Running in 68fc425ac000 20:04:56 Removing intermediate container 68fc425ac000 20:04:56 ---> f05d6fbbe098 20:04:56 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:56 ---> Running in 585570f6b381 20:04:57 Removing intermediate container 585570f6b381 20:04:57 ---> db223bec03af 20:04:57 Step 6/8 : RUN apk add --update --no-cache make git 20:04:57 ---> Running in f150f5089ebc 20:04:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:04:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:04:58 OK: 149 MiB in 40 packages 20:04:59 Removing intermediate container f150f5089ebc 20:04:59 ---> 9f147b91d528 20:04:59 Step 7/8 : COPY . . 20:04:59 ---> e1fb7a1b0823 20:04:59 Step 8/8 : RUN go mod download 20:04:59 ---> Running in 82ea9ccee0d4 20:05:21 Removing intermediate container 82ea9ccee0d4 20:05:21 ---> fca4277d900c 20:05:21 Successfully built fca4277d900c 20:05:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:05:22 + docker inspect -f . ci-base-image-x86_64 20:05:22 . [Pipeline] withDockerContainer 20:05:22 prd-centos7-docker-4c-2g-84 does not seem to be running inside a container 20:05:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:22 $ docker top a26cb0a6ab45a307445881e0054d7c19289a3bf0da0297fe10cf00ad278c7abe -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:23 + go version 20:05:23 go version go1.16.3 linux/amd64 [Pipeline] } 20:05:23 $ docker stop --time=1 a26cb0a6ab45a307445881e0054d7c19289a3bf0da0297fe10cf00ad278c7abe 20:05:24 $ docker rm -f a26cb0a6ab45a307445881e0054d7c19289a3bf0da0297fe10cf00ad278c7abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:05:25 + docker inspect -f . ci-base-image-x86_64 20:05:25 . [Pipeline] withDockerContainer 20:05:25 prd-centos7-docker-4c-2g-84 does not seem to be running inside a container 20:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:25 $ docker top a1ae6ba8031a6f6d17bc498696a7ba28ccebf6a78f504bdc4c126a8ac4c6e27d -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:26 + go mod tidy [Pipeline] sh 20:05:26 + make test 20:05:26 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:05:27 ? github.com/edgexfoundry/device-gpio [no test files] 20:05:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 20:05:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 20:05:39 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:05:42 Removing intermediate container 4970cd43ce2d 20:05:42 ---> 692505cb9f8e 20:05:42 Successfully built 692505cb9f8e 20:05:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:05:42 + docker inspect -f . ci-base-image-arm64 20:05:42 . [Pipeline] withDockerContainer 20:05:42 prd-ubuntu18.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 20:05:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:05:44 $ docker top 623d23cce0fb3397b4f64eb32ef25b316dca64357d62322375c5405cdbb78928 -eo pid,comm 20:05:44 gofmt -l . 20:05:44 [ "`gofmt -l .`" = "" ] 20:05:44 ./bin/test-attribution-txt.sh 20:05:44 ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] } 20:05:45 $ docker stop --time=1 a1ae6ba8031a6f6d17bc498696a7ba28ccebf6a78f504bdc4c126a8ac4c6e27d 20:05:46 $ docker rm -f a1ae6ba8031a6f6d17bc498696a7ba28ccebf6a78f504bdc4c126a8ac4c6e27d [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 20:05:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 20:05:47 + go version 20:05:47 go version go1.16.5 linux/arm64 [Pipeline] // stage [Pipeline] } 20:05:47 $ docker stop --time=1 623d23cce0fb3397b4f64eb32ef25b316dca64357d62322375c5405cdbb78928 20:05:49 $ docker rm -f 623d23cce0fb3397b4f64eb32ef25b316dca64357d62322375c5405cdbb78928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:05:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:52 + docker inspect -f . ci-base-image-arm64 20:05:52 . [Pipeline] withDockerContainer 20:05:52 + ls -al . 20:05:52 total 104 20:05:52 drwxrwxr-x. 6 jenkins jenkins 4096 Jun 17 20:05 . 20:05:52 drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 20:04 .. 20:05:52 -rw-rw-r--. 1 jenkins jenkins 5451 Jun 17 20:04 Attribution.txt 20:05:52 drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 20:04 bin 20:05:52 drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 20:04 cmd 20:05:52 -rw-r--r--. 1 jenkins jenkins 10 Jun 17 20:05 coverage.out 20:05:52 -rw-rw-r--. 1 jenkins jenkins 1502 Jun 17 20:04 Dockerfile 20:05:52 -rw-rw-r--. 1 jenkins jenkins 972 Jun 17 20:04 Dockerfile.build 20:05:52 -rw-rw-r--. 1 jenkins jenkins 120 Jun 17 20:04 .dockerignore 20:05:52 drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 20:04 .git 20:05:52 -rw-rw-r--. 1 jenkins jenkins 350 Jun 17 20:04 .gitignore 20:05:52 -rw-r--r--. 1 jenkins jenkins 379 Jun 17 20:05 go.mod 20:05:52 -rw-r--r--. 1 jenkins jenkins 30244 Jun 17 20:05 go.sum 20:05:52 drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 20:04 internal 20:05:52 -rw-rw-r--. 1 jenkins jenkins 657 Jun 17 20:04 Jenkinsfile 20:05:52 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 20:04 LICENSE 20:05:52 -rw-rw-r--. 1 jenkins jenkins 920 Jun 17 20:04 Makefile 20:05:52 -rw-rw-r--. 1 jenkins jenkins 6495 Jun 17 20:04 README.md 20:05:52 -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 20:01 VERSION 20:05:52 -rw-rw-r--. 1 jenkins jenkins 209 Jun 17 20:04 version.go 20:05:53 prd-ubuntu18.04-docker-arm64-4c-16g-82 does not seem to be running inside a container 20:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:05:54 $ docker top afec58e854f845f62115bc9dc2c1f29ba6411058c263497eca099b8f56d7a32b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 20:05:55 + 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 . 20:05:55 Sending build context to Docker daemon 5.465MB 20:05:55 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 20:05:55 Step 2/23 : FROM ${BASE} AS builder 20:05:55 ---> fca4277d900c 20:05:55 Step 3/23 : ARG MAKE='make build' 20:05:55 ---> Running in 95b81de46d97 20:05:55 + go mod tidy 20:05:55 Removing intermediate container 95b81de46d97 20:05:55 ---> 057a52971d9b 20:05:55 Step 4/23 : WORKDIR /device-gpio 20:05:55 ---> Running in 41c621c3d41d 20:05:55 Removing intermediate container 41c621c3d41d 20:05:55 ---> 87724eb3387f 20:05:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:05:55 ---> Running in 5991126fbfe0 20:05:56 Removing intermediate container 5991126fbfe0 20:05:56 ---> 8221fffbbbeb 20:05:56 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:56 ---> Running in 0d981438851f 20:05:56 Removing intermediate container 0d981438851f 20:05:56 ---> 75abf2067060 20:05:56 Step 7/23 : RUN apk add --update --no-cache make git 20:05:56 ---> Running in 82e81257b472 [Pipeline] sh 20:05:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:05:57 + make test 20:05:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:05:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:05:58 ? github.com/edgexfoundry/device-gpio [no test files] 20:05:58 OK: 149 MiB in 40 packages 20:05:58 Removing intermediate container 82e81257b472 20:05:58 ---> 9d9654f78cba 20:05:58 Step 8/23 : COPY . . 20:05:58 ---> 360a5e126c8b 20:05:58 Step 9/23 : RUN go mod tidy 20:05:58 ---> Running in dbeb2ef4cef2 20:05:59 Removing intermediate container dbeb2ef4cef2 20:05:59 ---> b307f9dca87e 20:05:59 Step 10/23 : RUN ${MAKE} 20:05:59 ---> Running in 4ab3053ea312 20:05:59 go mod tidy 20:05:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 20:06:09 Removing intermediate container 4ab3053ea312 20:06:09 ---> f750367f0557 20:06:09 Step 11/23 : FROM scratch 20:06:09 ---> 20:06:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:06:09 ---> Running in 9bffb5e46e53 20:06:09 Removing intermediate container 9bffb5e46e53 20:06:09 ---> 379ca3d534d3 20:06:09 Step 13/23 : ENV APP_PORT=49994 20:06:09 ---> Running in 5c1375510033 20:06:09 Removing intermediate container 5c1375510033 20:06:09 ---> 9cb9263db187 20:06:09 Step 14/23 : EXPOSE $APP_PORT 20:06:09 ---> Running in 9d6f5a440bdc 20:06:09 Removing intermediate container 9d6f5a440bdc 20:06:09 ---> c4773613f006 20:06:09 Step 15/23 : WORKDIR / 20:06:09 ---> Running in e94db2cd600b 20:06:09 Removing intermediate container e94db2cd600b 20:06:09 ---> dccbc25fadfb 20:06:09 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 20:06:09 ---> e92f297ae49d 20:06:09 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 20:06:09 ---> 65aef7dc4e52 20:06:09 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 20:06:09 ---> 7f53b4b7c484 20:06:09 Step 19/23 : ENTRYPOINT ["/device-gpio"] 20:06:09 ---> Running in 745c56691088 20:06:09 Removing intermediate container 745c56691088 20:06:09 ---> 95798605bbab 20:06:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:06:09 ---> Running in 6c5a5a9bc411 20:06:09 Removing intermediate container 6c5a5a9bc411 20:06:09 ---> 79b9b0802ee8 20:06:09 Step 21/23 : LABEL arch=amd64 20:06:09 ---> Running in 5ecfea7cdff3 20:06:09 Removing intermediate container 5ecfea7cdff3 20:06:09 ---> 0039ba400af7 20:06:09 Step 22/23 : LABEL git_sha=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:06:09 ---> Running in 8a0288108bbc 20:06:10 Removing intermediate container 8a0288108bbc 20:06:10 ---> 61a6fdd751f6 20:06:10 Step 23/23 : LABEL version=0.0.0 20:06:10 ---> Running in 4a64fa91eaf7 20:06:10 Removing intermediate container 4a64fa91eaf7 20:06:10 ---> 2c52dcb870dd 20:06:10 [Warning] One or more build-args [ARCH] were not consumed 20:06:10 Successfully built 2c52dcb870dd 20:06:10 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:06:11 ---> job-cost.sh 20:06:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Rjnl 20:06:19 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:06:34 lf-activate-venv(): INFO: Adding /tmp/venv-Rjnl/bin to PATH 20:06:34 INFO: No Stack... 20:06:34 INFO: Retrieving Pricing Info for: v3-standard-2 20:06:34 INFO: Archiving Costs [Pipeline] sh 20:06:34 + cut -d, -f6 20:06:34 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 20:06:35 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] 20:06:35 Resource [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] did not exist. Created. 20:06:35 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:35 + echo total: 0.05999999865889549 [Pipeline] stash 20:06:35 Stashed 1 file(s) [Pipeline] } 20:06:35 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:45 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 20:06:45 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 20:06:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:07:00 gofmt -l . 20:07:00 [ "`gofmt -l .`" = "" ] 20:07:00 ./bin/test-attribution-txt.sh 20:07:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:07:01 $ docker stop --time=1 afec58e854f845f62115bc9dc2c1f29ba6411058c263497eca099b8f56d7a32b 20:07:03 $ docker rm -f afec58e854f845f62115bc9dc2c1f29ba6411058c263497eca099b8f56d7a32b [Pipeline] // withDockerContainer [Pipeline] sh 20:07:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:04 Warning: overwriting stash ‘coverage-report’ 20:07:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:06 + ls -al . 20:07:06 total 124 20:07:06 drwxrwxr-x 6 jenkins jenkins 4096 Jun 17 20:07 . 20:07:06 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 20:03 .. 20:07:06 -rw-rw-r-- 1 jenkins jenkins 120 Jun 17 20:03 .dockerignore 20:07:06 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 20:03 .git 20:07:06 -rw-rw-r-- 1 jenkins jenkins 350 Jun 17 20:03 .gitignore 20:07:06 -rw-rw-r-- 1 jenkins jenkins 5451 Jun 17 20:03 Attribution.txt 20:07:06 -rw-rw-r-- 1 jenkins jenkins 1502 Jun 17 20:03 Dockerfile 20:07:06 -rw-rw-r-- 1 jenkins jenkins 972 Jun 17 20:03 Dockerfile.build 20:07:06 -rw-rw-r-- 1 jenkins jenkins 657 Jun 17 20:03 Jenkinsfile 20:07:06 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 20:03 LICENSE 20:07:06 -rw-rw-r-- 1 jenkins jenkins 920 Jun 17 20:03 Makefile 20:07:06 -rw-rw-r-- 1 jenkins jenkins 6495 Jun 17 20:03 README.md 20:07:06 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 20:01 VERSION 20:07:06 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 20:03 bin 20:07:06 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 20:03 cmd 20:07:06 -rw-r--r-- 1 jenkins jenkins 10 Jun 17 20:05 coverage.out 20:07:06 -rw-r--r-- 1 jenkins jenkins 379 Jun 17 20:07 go.mod 20:07:06 -rw-r--r-- 1 jenkins jenkins 30244 Jun 17 20:05 go.sum 20:07:06 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 20:03 internal 20:07:06 -rw-rw-r-- 1 jenkins jenkins 209 Jun 17 20:03 version.go [Pipeline] isUnix [Pipeline] sh 20:07:06 + 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 . 20:07:06 Sending build context to Docker daemon 5.464MB 20:07:07 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 20:07:07 Step 2/23 : FROM ${BASE} AS builder 20:07:07 ---> 692505cb9f8e 20:07:07 Step 3/23 : ARG MAKE='make build' 20:07:07 ---> Running in 75d0cf68e179 20:07:07 Removing intermediate container 75d0cf68e179 20:07:07 ---> 1ad7a5371b45 20:07:07 Step 4/23 : WORKDIR /device-gpio 20:07:08 ---> Running in 88725c430967 20:07:08 Removing intermediate container 88725c430967 20:07:08 ---> 763cf62faae4 20:07:08 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:07:08 ---> Running in b3be4b89a6d8 20:07:09 Removing intermediate container b3be4b89a6d8 20:07:09 ---> e27c41f0ed93 20:07:09 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:09 ---> Running in d1373fd4f582 20:07:11 Removing intermediate container d1373fd4f582 20:07:11 ---> f9de17a2898c 20:07:11 Step 7/23 : RUN apk add --update --no-cache make git 20:07:11 ---> Running in a1beb17231d7 20:07:12 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:07:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:07:14 OK: 138 MiB in 40 packages 20:07:15 Removing intermediate container a1beb17231d7 20:07:15 ---> 12fa9d98ea54 20:07:15 Step 8/23 : COPY . . 20:07:17 ---> 104f24e357b0 20:07:17 Step 9/23 : RUN go mod tidy 20:07:17 ---> Running in 00f83b655ef1 20:07:20 Removing intermediate container 00f83b655ef1 20:07:20 ---> feb8eaf6a566 20:07:20 Step 10/23 : RUN ${MAKE} 20:07:20 ---> Running in 19ce1c90f424 20:07:21 go mod tidy 20:07:22 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 20:07:54 Removing intermediate container 19ce1c90f424 20:07:54 ---> 1672662a474b 20:07:54 Step 11/23 : FROM scratch 20:07:54 ---> 20:07:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 20:07:54 ---> Running in 04af7b8b1865 20:07:54 Removing intermediate container 04af7b8b1865 20:07:54 ---> f21d52cf61a1 20:07:54 Step 13/23 : ENV APP_PORT=49994 20:07:54 ---> Running in 4cccea5c4585 20:07:54 Removing intermediate container 4cccea5c4585 20:07:54 ---> 9b2bdb92b8ee 20:07:54 Step 14/23 : EXPOSE $APP_PORT 20:07:54 ---> Running in ac88d436a5ac 20:07:54 Removing intermediate container ac88d436a5ac 20:07:54 ---> 2ea7657a7e7e 20:07:54 Step 15/23 : WORKDIR / 20:07:54 ---> Running in f0bb29917d1c 20:07:54 Removing intermediate container f0bb29917d1c 20:07:54 ---> ee4ba0e1627f 20:07:54 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 20:07:54 ---> 75a63bdf92a1 20:07:54 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 20:07:54 ---> 85502d41d147 20:07:54 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 20:07:55 ---> e74e9eccaefe 20:07:55 Step 19/23 : ENTRYPOINT ["/device-gpio"] 20:07:55 ---> Running in d03fe9a061c9 20:07:55 Removing intermediate container d03fe9a061c9 20:07:55 ---> 577a1a99c7ee 20:07:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:07:55 ---> Running in f456d57b0b54 20:07:56 Removing intermediate container f456d57b0b54 20:07:56 ---> 4f458a30a278 20:07:56 Step 21/23 : LABEL arch=arm64 20:07:56 ---> Running in 7702b1b45787 20:07:57 Removing intermediate container 7702b1b45787 20:07:57 ---> b02898bc66bc 20:07:57 Step 22/23 : LABEL git_sha=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d 20:07:57 ---> Running in 0d22606cc19b 20:07:57 Removing intermediate container 0d22606cc19b 20:07:57 ---> 7c7deff35827 20:07:57 Step 23/23 : LABEL version=0.0.0 20:07:57 ---> Running in 9abc47d91c75 20:07:58 Removing intermediate container 9abc47d91c75 20:07:58 ---> be3eb2a7d2ae 20:07:58 [Warning] One or more build-args [ARCH] were not consumed 20:07:58 Successfully built be3eb2a7d2ae 20:07:58 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 20:07:59 ---> job-cost.sh 20:07:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Qoyn 20:08:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:10:14 lf-activate-venv(): INFO: Adding /tmp/venv-Qoyn/bin to PATH 20:10:14 INFO: No Stack... 20:10:14 INFO: Retrieving Pricing Info for: v2-standard-4 20:10:14 INFO: Archiving Costs [Pipeline] sh 20:10:15 + cat /w/workspace/device-gpio/1/archives/cost.csv 20:10:15 + cut -d, -f6 [Pipeline] lock 20:10:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] 20:10:15 Resource [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] did not exist. Created. 20:10:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:15 /w/workspace/device-gpio/1@tmp/durable-ced2e8da/script.sh: 1: /w/workspace/device-gpio/1@tmp/durable-ced2e8da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:10:16 + echo total: 0.18000000715255737 [Pipeline] stash 20:10:16 Warning: overwriting stash ‘stack-cost’ 20:10:16 Stashed 1 file(s) [Pipeline] } 20:10:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-2-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 20:10:17 provisioning config files... 20:10:17 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-2@tmp/config8525287110673145453tmp [Pipeline] { [Pipeline] sh 20:10:18 + set +x 20:10:18 + bash -s -- 20:10:18 + curl -s https://codecov.io/bash 20:10:18 20:10:18 _____ _ 20:10:18 / ____| | | 20:10:18 | | ___ __| | ___ ___ _____ __ 20:10:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:10:18 | |___| (_) | (_| | __/ (_| (_) \ V / 20:10:18 \_____\___/ \__,_|\___|\___\___/ \_/ 20:10:18 Bash-1.0.3 20:10:18 20:10:18 20:10:18 ==> git version 2.24.4 found 20:10:18 ==> 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 20:10:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:10:18 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:10:18 ==> Jenkins CI detected. 20:10:18 project root: . 20:10:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:10:18 ==> Running gcov in . (disable via -X gcov) 20:10:18 ==> Python coveragepy not found 20:10:18 ==> Searching for coverage reports in: 20:10:18 + . 20:10:18 -> Found 1 reports 20:10:18 ==> Detecting git/mercurial file structure 20:10:18 ==> Reading reports 20:10:18 + ./coverage.out bytes=10 20:10:18 ==> Appending adjustments 20:10:18 https://docs.codecov.io/docs/fixing-reports 20:10:18 + Found adjustments 20:10:18 ==> Gzipping contents 20:10:18 4.0K /tmp/codecov.rBjx2G.gz 20:10:18 ==> Uploading reports 20:10:18 url: https://codecov.io 20:10:18 query: branch=PR-2&commit=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=2&job=&cmd_args= 20:10:18 -> Pinging Codecov 20:10:18 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-2&commit=15a74a1710f41e4e97c9ff4bc1f30fd64ca5ec9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=2&job=&cmd_args= 20:10:18 {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} 20:10:18 404 20:10:18 ==> Uploading to Codecov 20:10:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:10:18 Dload Upload Total Spent Left Speed 20:10:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 791 100 169 100 622 709 2612 --:--:-- --:--:-- --:--:-- 2613 20:10:18 {'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] } 20:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:10:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:22 ---> package-listing.sh 20:10:22 ++ facter osfamily 20:10:22 ++ tr '[:upper:]' '[:lower:]' 20:10:22 + OS_FAMILY=redhat 20:10:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-2 20:10:22 + START_PACKAGES=/tmp/packages_start.txt 20:10:22 + END_PACKAGES=/tmp/packages_end.txt 20:10:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:22 + PACKAGES=/tmp/packages_start.txt 20:10:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-2 ']' 20:10:22 + PACKAGES=/tmp/packages_end.txt 20:10:22 + case "${OS_FAMILY}" in 20:10:22 + sort 20:10:22 + rpm -qa 20:10:23 + '[' -f /tmp/packages_start.txt ']' 20:10:23 + '[' -f /tmp/packages_end.txt ']' 20:10:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:23 + '[' /w/workspace/edgexfoundry_device-gpio_PR-2 ']' 20:10:23 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-2/archives/ 20:10:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-2/archives/ [Pipeline] echo 20:10:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:10:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:10:24 20:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:10:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:10:24 alpine: Pulling from edgex-lftools-log-publisher 20:10:24 df20fa9351a1: Pulling fs layer 20:10:24 36b3adc4ff6f: Pulling fs layer 20:10:24 8ad3a11d3b57: Pulling fs layer 20:10:24 46f8f816bc3b: Pulling fs layer 20:10:24 93b61091891f: Pulling fs layer 20:10:24 93b9cdb0e59b: Pulling fs layer 20:10:24 5e14af77c1be: Pulling fs layer 20:10:24 01666e4c0597: Pulling fs layer 20:10:24 aa168da1d23b: Pulling fs layer 20:10:24 46f8f816bc3b: Waiting 20:10:24 93b61091891f: Waiting 20:10:24 93b9cdb0e59b: Waiting 20:10:24 5e14af77c1be: Waiting 20:10:24 01666e4c0597: Waiting 20:10:24 aa168da1d23b: Waiting 20:10:24 36b3adc4ff6f: Verifying Checksum 20:10:24 36b3adc4ff6f: Download complete 20:10:24 46f8f816bc3b: Verifying Checksum 20:10:24 46f8f816bc3b: Download complete 20:10:24 df20fa9351a1: Verifying Checksum 20:10:24 df20fa9351a1: Download complete 20:10:24 93b9cdb0e59b: Verifying Checksum 20:10:24 93b9cdb0e59b: Download complete 20:10:24 5e14af77c1be: Verifying Checksum 20:10:24 5e14af77c1be: Download complete 20:10:24 93b61091891f: Download complete 20:10:24 01666e4c0597: Verifying Checksum 20:10:24 01666e4c0597: Download complete 20:10:24 df20fa9351a1: Pull complete 20:10:24 36b3adc4ff6f: Pull complete 20:10:25 8ad3a11d3b57: Verifying Checksum 20:10:25 8ad3a11d3b57: Download complete 20:10:25 8ad3a11d3b57: Pull complete 20:10:25 46f8f816bc3b: Pull complete 20:10:26 93b61091891f: Pull complete 20:10:26 93b9cdb0e59b: Pull complete 20:10:26 5e14af77c1be: Pull complete 20:10:26 01666e4c0597: Pull complete 20:10:26 aa168da1d23b: Verifying Checksum 20:10:26 aa168da1d23b: Download complete 20:10:31 aa168da1d23b: Pull complete 20:10:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:10:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:10:31 prd-centos7-docker-4c-2g-81 does not seem to be running inside a container 20:10:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-2 -v /w/workspace/edgexfoundry_device-gpio_PR-2:/w/workspace/edgexfoundry_device-gpio_PR-2:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-2@tmp:/w/workspace/edgexfoundry_device-gpio_PR-2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:10:34 $ docker top 2af218d18171a81d8506942b9f44bfb06bb60d43cf21c7186c4bceb48433c3ab -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:34 + mkdir -p /var/log/sa [Pipeline] sh 20:10:35 + ls /var/log/sa-host 20:10:35 + sadf -c /var/log/sa-host/sa05 20:10:35 file_magic: OK 20:10:35 HZ: Using current value: 100 20:10:35 file_header: OK 20:10:35 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 20:10:35 Statistics: 20:10:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:10:35 File successfully converted to sysstat format version 12.2.1 20:10:35 + sadf -c /var/log/sa-host/sa17 20:10:35 file_magic: OK 20:10:35 HZ: Using current value: 100 20:10:35 file_header: OK 20:10:35 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 20:10:35 Statistics: 20:10:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:10:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:35 provisioning config files... 20:10:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-2@tmp/config6668361337604483488tmp [Pipeline] { [Pipeline] echo 20:10:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:35 ---> create-netrc.sh [Pipeline] } 20:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:36 ---> python-tools-install.sh [Pipeline] echo 20:10:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:10:36 ---> sudo-logs.sh 20:10:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:10:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:10:37 ---> job-cost.sh 20:10:37 lf-activate-venv: SKIPPING 20:10:37 DEBUG: total: 0.18000000715255737 20:10:37 INFO: Retrieving Stack Cost... 20:10:37 INFO: Retrieving Pricing Info for: v3-standard-2 20:10:38 INFO: Archiving Costs [Pipeline] echo 20:10:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:10:38 ---> logs-deploy.sh 20:10:38 lf-activate-venv: SKIPPING 20:10:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-2/1 20:10:38 INFO: archiving workspace using pattern(s): 20:10:39 Archives upload complete. 20:10:39 INFO: archiving logs to Nexus 20:10:40 ---> uname -a: 20:10:40 Linux prd-centos7-docker-4c-2g-81.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 20:10:40 20:10:40 20:10:40 ---> lscpu: 20:10:40 Architecture: x86_64 20:10:40 CPU op-mode(s): 32-bit, 64-bit 20:10:40 Byte Order: Little Endian 20:10:40 Address sizes: 40 bits physical, 48 bits virtual 20:10:40 CPU(s): 2 20:10:40 On-line CPU(s) list: 0,1 20:10:40 Thread(s) per core: 1 20:10:40 Core(s) per socket: 1 20:10:40 Socket(s): 2 20:10:40 NUMA node(s): 1 20:10:40 Vendor ID: AuthenticAMD 20:10:40 CPU family: 23 20:10:40 Model: 49 20:10:40 Model name: AMD EPYC-Rome Processor 20:10:40 Stepping: 0 20:10:40 CPU MHz: 2799.998 20:10:40 BogoMIPS: 5599.99 20:10:40 Virtualization: AMD-V 20:10:40 Hypervisor vendor: KVM 20:10:40 Virtualization type: full 20:10:40 L1d cache: 64 KiB 20:10:40 L1i cache: 64 KiB 20:10:40 L2 cache: 1 MiB 20:10:40 L3 cache: 32 MiB 20:10:40 NUMA node0 CPU(s): 0,1 20:10:40 Vulnerability Itlb multihit: Not affected 20:10:40 Vulnerability L1tf: Not affected 20:10:40 Vulnerability Mds: Not affected 20:10:40 Vulnerability Meltdown: Not affected 20:10:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:10:40 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:10:40 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:10:40 Vulnerability Srbds: Not affected 20:10:40 Vulnerability Tsx async abort: Not affected 20:10:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 20:10:40 20:10:40 20:10:40 ---> nproc: 20:10:40 2 20:10:40 20:10:40 20:10:40 ---> df -h: 20:10:40 Filesystem Size Used Available Use% Mounted on 20:10:40 overlay 40.0G 7.6G 32.4G 19% / 20:10:40 tmpfs 64.0M 0 64.0M 0% /dev 20:10:40 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 20:10:40 shm 64.0M 0 64.0M 0% /dev/shm 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-2 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-2@tmp 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 20:10:40 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 20:10:40 20:10:40 20:10:40 ---> free -m: 20:10:40 total used free shared buff/cache available 20:10:40 Mem: 7821 982 4740 0 2098 6660 20:10:40 Swap: 1023 0 1023 20:10:40 20:10:40 20:10:40 ---> ip addr: 20:10:40 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:10:40 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:10:40 inet 127.0.0.1/8 scope host lo 20:10:40 valid_lft forever preferred_lft forever 20:10:40 inet6 ::1/128 scope host 20:10:40 valid_lft forever preferred_lft forever 20:10:40 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:10:40 link/ether fa:16:3e:8d:56:ae brd ff:ff:ff:ff:ff:ff 20:10:40 inet 10.30.123.42/23 brd 10.30.123.255 scope global dynamic eth0 20:10:40 valid_lft 85810sec preferred_lft 85810sec 20:10:40 inet6 fe80::f816:3eff:fe8d:56ae/64 scope link 20:10:40 valid_lft forever preferred_lft forever 20:10:40 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:10:40 link/ether 02:42:90:03:75:c8 brd ff:ff:ff:ff:ff:ff 20:10:40 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:10:40 valid_lft forever preferred_lft forever 20:10:40 inet6 fe80::42:90ff:fe03:75c8/64 scope link 20:10:40 valid_lft forever preferred_lft forever 20:10:40 20:10:40 20:10:40 ---> sar -b -r -n DEV: 20:10:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 20:10:40 20:10:40 20:00:39 LINUX RESTART (2 CPU) 20:10:40 20:10:40 20:01:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:10:40 20:02:02 131.03 20.16 110.87 0.00 5987.74 23905.07 0.00 20:10:40 20:03:01 1.68 0.00 1.68 0.00 0.00 30.81 0.00 20:10:40 20:04:01 0.17 0.00 0.17 0.00 0.00 1.47 0.00 20:10:40 20:05:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 20:10:40 20:06:01 0.22 0.00 0.22 0.00 0.00 2.43 0.00 20:10:40 20:07:01 0.25 0.00 0.25 0.00 0.00 3.36 0.00 20:10:40 20:08:01 0.27 0.00 0.27 0.00 0.00 4.30 0.00 20:10:40 20:09:01 0.25 0.00 0.25 0.00 0.00 2.73 0.00 20:10:40 20:10:01 0.20 0.00 0.20 0.00 0.00 1.62 0.00 20:10:40 Average: 14.65 2.20 12.45 0.00 653.57 2614.68 0.00 20:10:40 20:10:40 20:01:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:10:40 20:02:02 5457308 0 808104 10.09 2620 1740908 1278140 14.11 579136 1573300 132 20:10:40 20:03:01 5466572 0 798836 9.97 2620 1740912 1205508 13.31 571296 1573288 12 20:10:40 20:04:01 5465188 0 800220 9.99 2620 1740912 1205844 13.31 572540 1573712 20 20:10:40 20:05:01 5463628 0 801772 10.01 2620 1740920 1205892 13.31 574004 1573712 16 20:10:40 20:06:01 5465752 0 799644 9.98 2620 1740924 1205508 13.31 568224 1577296 8 20:10:40 20:07:01 5464376 0 801016 10.00 2620 1740928 1205604 13.31 569908 1577296 8 20:10:40 20:08:01 5464768 0 800620 10.00 2620 1740932 1205508 13.31 569380 1577296 8 20:10:40 20:09:01 5454824 0 810556 10.12 2620 1740940 1205580 13.31 579236 1577300 8 20:10:40 20:10:01 5454000 0 811380 10.13 2620 1740940 1205640 13.31 580012 1577296 8 20:10:40 Average: 5461824 0 803572 10.03 2620 1740924 1213692 13.40 573748 1575611 24 20:10:40 20:10:40 20:01:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:10:40 20:02:02 eth0 556.25 382.46 1169.75 85.85 0.00 0.00 0.00 0.00 20:10:40 20:02:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:02:02 docker0 0.51 0.48 0.07 0.08 0.00 0.00 0.00 0.00 20:10:40 20:03:01 eth0 0.83 0.12 0.07 0.04 0.00 0.00 0.00 0.00 20:10:40 20:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:04:01 eth0 5.86 2.92 4.30 0.37 0.00 0.00 0.00 0.00 20:10:40 20:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:05:01 eth0 0.90 0.45 0.53 0.38 0.00 0.00 0.00 0.00 20:10:40 20:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:06:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:10:40 20:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:07:01 eth0 0.23 0.20 0.09 0.07 0.00 0.00 0.00 0.00 20:10:40 20:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:08:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:10:40 20:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:09:01 eth0 0.18 0.17 0.07 0.01 0.00 0.00 0.00 0.00 20:10:40 20:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:10:01 eth0 0.53 0.37 0.27 0.21 0.00 0.00 0.00 0.00 20:10:40 20:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 20:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 Average: eth0 61.69 42.23 128.28 9.49 0.00 0.00 0.00 0.00 20:10:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:10:40 Average: docker0 0.06 0.05 0.01 0.01 0.00 0.00 0.00 0.00 20:10:40 20:10:40 20:10:40 ---> sar -P ALL: 20:10:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/17/21 _x86_64_ (2 CPU) 20:10:40 20:10:40 20:00:39 LINUX RESTART (2 CPU) 20:10:40 20:10:40 20:01:02 CPU %user %nice %system %iowait %steal %idle 20:10:40 20:02:02 all 17.35 0.00 5.60 4.75 0.07 72.22 20:10:40 20:02:02 0 17.50 0.00 6.02 4.37 0.07 72.04 20:10:40 20:02:02 1 17.20 0.00 5.19 5.13 0.07 72.41 20:10:40 20:03:01 all 0.11 0.00 0.05 0.00 0.03 99.81 20:10:40 20:03:01 0 0.17 0.00 0.05 0.00 0.02 99.76 20:10:40 20:03:01 1 0.05 0.00 0.05 0.00 0.03 99.86 20:10:40 20:04:01 all 0.16 0.00 0.04 0.00 0.03 99.77 20:10:40 20:04:01 0 0.22 0.00 0.05 0.00 0.03 99.70 20:10:40 20:04:01 1 0.10 0.00 0.03 0.00 0.03 99.83 20:10:40 20:05:01 all 0.10 0.00 0.03 0.00 0.02 99.86 20:10:40 20:05:01 0 0.05 0.00 0.02 0.00 0.02 99.92 20:10:40 20:05:01 1 0.15 0.00 0.03 0.00 0.02 99.80 20:10:40 20:06:01 all 0.14 0.00 0.11 0.00 0.03 99.72 20:10:40 20:06:01 0 0.08 0.00 0.12 0.00 0.03 99.77 20:10:40 20:06:01 1 0.20 0.00 0.10 0.00 0.02 99.68 20:10:40 20:07:01 all 0.08 0.00 0.02 0.00 0.03 99.87 20:10:40 20:07:01 0 0.03 0.00 0.02 0.00 0.03 99.92 20:10:40 20:07:01 1 0.13 0.00 0.02 0.00 0.02 99.83 20:10:40 20:08:01 all 0.08 0.00 0.03 0.00 0.03 99.86 20:10:40 20:08:01 0 0.03 0.00 0.03 0.00 0.03 99.90 20:10:40 20:08:01 1 0.13 0.00 0.03 0.00 0.02 99.82 20:10:40 20:09:01 all 0.10 0.00 0.05 0.00 0.02 99.83 20:10:40 20:09:01 0 0.03 0.00 0.03 0.00 0.02 99.92 20:10:40 20:09:01 1 0.17 0.00 0.07 0.00 0.02 99.75 20:10:40 20:10:01 all 0.08 0.00 0.03 0.00 0.03 99.86 20:10:40 20:10:01 0 0.03 0.00 0.03 0.00 0.03 99.90 20:10:40 20:10:01 1 0.13 0.00 0.03 0.00 0.02 99.82 20:10:40 Average: all 1.93 0.00 0.63 0.50 0.03 96.90 20:10:40 Average: 0 1.92 0.00 0.68 0.46 0.03 96.91 20:10:40 Average: 1 1.95 0.00 0.59 0.54 0.03 96.89 20:10:40 20:10:40 20:10:40