Pull request #3 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 166f7b96da45f2a3a1794185b9b8886351da863d+ee8c3cf8f247baa696c0241f6b7663da45af0865 (3e3a4d9328c890a61094cf295647ed5d611114cd) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2367177335284198142.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-ssh4540963314846085390.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8390935282622492978.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2849272263157729498.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-3/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6597302314318369926.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1753’ is offline ‘prd-centos7-docker-4c-2g-1755’ is offline ‘prd-centos7-docker-4c-2g-1765’ is offline ‘prd-centos7-docker-4c-2g-1767’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1763’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1764’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1769 in /w/workspace/edgexfoundry_device-gpio_PR-3 [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-3 # 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-3@tmp/jenkins-gitclient-ssh4685405508499303025.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-3@tmp/jenkins-gitclient-ssh6556952518482593705.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 166f7b96da45f2a3a1794185b9b8886351da863d Merge succeeded, producing 166f7b96da45f2a3a1794185b9b8886351da863d Checking out Revision 166f7b96da45f2a3a1794185b9b8886351da863d (PR-3) > git config core.sparsecheckout # timeout=10 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # 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-3@tmp/jenkins-gitclient-ssh4174458255485249059.key > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 Commit message: "ci: init jenkins pipeline" First time build. Skipping changelog. > git rev-list --no-walk a750c57077bf4a16e2dc6c3d50fcf30526156d6e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:26:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:26:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:26:24 ========================================================= 19:26:24 EdgeX Global Pipelines Version Info 19:26:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:26:25 ------------------- 19:26:25 stable info: 19:26:25 ------------------- 19:26:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:26:25 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 19:26:25 Message: update stable to v1.0.195 19:26:26 ------------------- 19:26:26 experimental info: 19:26:26 ------------------- 19:26:26 Commited By: **** collab-it+edgex@linuxfoundation.org 19:26:26 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 19:26:26 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:26:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 166f7b96da45f2a3a1794185b9b8886351da863d [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 166f7b9 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:29 provisioning config files... 19:26:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config7534555161538362561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:29 ---> docker-login.sh 19:26:29 nexus3.edgexfoundry.org:10001 19:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:29 Configure a credential helper to remove this warning. See 19:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:29 19:26:29 Login Succeeded 19:26:29 nexus3.edgexfoundry.org:10002 19:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 nexus3.edgexfoundry.org:10003 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 nexus3.edgexfoundry.org:10004 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 docker.io 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 ---> docker-login.sh ends [Pipeline] } 19:26: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 19:26:31 + git log --format=format:%s -1 166f7b96da45f2a3a1794185b9b8886351da863d [Pipeline] echo 19:26:31 GIT_COMMIT: 166f7b96da45f2a3a1794185b9b8886351da863d, Commit Message: ci: init jenkins pipeline [Pipeline] echo 19:26:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:34 19:26:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:26:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:35 latest: Pulling from edgex-devops/git-semver 19:26:35 31603596830f: Pulling fs layer 19:26:35 54011a49482f: Pulling fs layer 19:26:35 a6820b24f6d8: Pulling fs layer 19:26:35 f581987b2513: Pulling fs layer 19:26:35 f581987b2513: Waiting 19:26:35 54011a49482f: Verifying Checksum 19:26:35 54011a49482f: Download complete 19:26:35 31603596830f: Verifying Checksum 19:26:35 31603596830f: Download complete 19:26:35 f581987b2513: Verifying Checksum 19:26:35 f581987b2513: Download complete 19:26:35 a6820b24f6d8: Verifying Checksum 19:26:35 a6820b24f6d8: Download complete 19:26:35 31603596830f: Pull complete 19:26:35 54011a49482f: Pull complete 19:26:36 a6820b24f6d8: Pull complete 19:26:36 f581987b2513: Pull complete 19:26:36 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 19:26:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:26:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:26:36 prd-centos7-docker-4c-2g-1769 does not seem to be running inside a container 19:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-3 -v /w/workspace/edgexfoundry_device-gpio_PR-3:/w/workspace/edgexfoundry_device-gpio_PR-3:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-3@tmp:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:26:37 $ docker top edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:37 [ssh-agent] Looking for ssh-agent implementation... 19:26:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:37 $ docker exec edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 ssh-agent 19:26:37 SSH_AUTH_SOCK=/tmp/ssh-5ZTHYi9a0ljr/agent.14 19:26:37 SSH_AGENT_PID=20 19:26:37 Running ssh-add (command line suppressed) 19:26:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_6837448979575669408.key (/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_6837448979575669408.key) 19:26:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:40 + git tag --points-at HEAD [Pipeline] } 19:26:40 $ docker exec --env ******** --env ******** edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 ssh-agent -k 19:26:40 unset SSH_AUTH_SOCK; 19:26:40 unset SSH_AGENT_PID; 19:26:40 echo Agent pid 20 killed; 19:26:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:26:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:40 [ssh-agent] Looking for ssh-agent implementation... 19:26:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:40 $ docker exec edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 ssh-agent 19:26:40 SSH_AUTH_SOCK=/tmp/ssh-KKbtaBbYLhVh/agent.55 19:26:40 SSH_AGENT_PID=61 19:26:40 Running ssh-add (command line suppressed) 19:26:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_4421109757826919273.key (/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/private_key_4421109757826919273.key) 19:26:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:41 + git semver init 19:26:41 # -> Open(): unable to determine branch for HEAD 19:26:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-3/.git 19:26:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-3 19:26:41 # $SEMVER_REMOTE_NAME = origin 19:26:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:26:41 # $SEMVER_USER_NAME = edgex-jenkins 19:26:41 # $SEMVER_BRANCH = PR-3 19:26:41 # $SEMVER_TEMP = /tmp/semver-274249679 19:26:41 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 19:26:41 # -> Clone(): couldn't find remote ref "refs/heads/semver" 19:26:41 # git init /tmp/semver-274249679 19:26:41 # '/tmp/semver-274249679' -> '/w/workspace/edgexfoundry_device-gpio_PR-3/.semver' 19:26:41 # -> Force: false 19:26:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-3/.semver [Pipeline] } 19:26:41 $ docker exec --env ******** --env ******** edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 ssh-agent -k 19:26:41 unset SSH_AUTH_SOCK; 19:26:41 unset SSH_AGENT_PID; 19:26:41 echo Agent pid 61 killed; 19:26:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:42 + git semver [Pipeline] } 19:26:42 $ docker stop --time=1 edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 19:26:43 $ docker rm -f edc2b526aaef02dc9cef99b2f5eae5c93e278dc47ad08d65c62d5723900baa07 [Pipeline] // withDockerContainer [Pipeline] sh 19:26:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:26:43 Stashed 1 file(s) [Pipeline] echo 19:26:43 [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 19:26:59 Still waiting to schedule task 19:26:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:26:59 Still waiting to schedule task 19:26:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:29:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1770 in /w/workspace/edgexfoundry_device-gpio_PR-3 [Pipeline] { [Pipeline] ws 19:29:52 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 19:29:52 The recommended git tool is: NONE 19:30:00 using credential edgex-jenkins-ssh 19:30:00 Cloning the remote Git repository 19:30:00 Cloning repository git@github.com:edgexfoundry/device-gpio.git 19:30:00 > git init /w/workspace/device-gpio/3 # timeout=10 19:30:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:30:00 > git --version # timeout=10 19:30:00 > git --version # 'git version 2.17.1' 19:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:30:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:30:03 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:30:03 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:30:07 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 166f7b96da45f2a3a1794185b9b8886351da863d 19:30:07 Running on prd-centos7-docker-4c-2g-1771 in /w/workspace/edgexfoundry_device-gpio_PR-3 [Pipeline] { [Pipeline] ws 19:30:07 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 19:30:07 Merge succeeded, producing 166f7b96da45f2a3a1794185b9b8886351da863d 19:30:07 Checking out Revision 166f7b96da45f2a3a1794185b9b8886351da863d (PR-3) 19:30:07 The recommended git tool is: NONE 19:30:07 > git config core.sparsecheckout # timeout=10 19:30:07 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 19:30:07 > git remote # timeout=10 19:30:07 > git config --get remote.origin.url # timeout=10 19:30:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:07 > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 19:30:07 > git rev-parse HEAD^{commit} # timeout=10 19:30:07 > git config core.sparsecheckout # timeout=10 19:30:07 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 19:30:10 using credential edgex-jenkins-ssh 19:30:10 Cloning the remote Git repository 19:30:10 Cloning repository git@github.com:edgexfoundry/device-gpio.git 19:30:10 > git init /w/workspace/device-gpio/3 # timeout=10 19:30:10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:30:10 > git --version # timeout=10 19:30:10 > git --version # 'git version 2.24.4' 19:30:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:10 [INFO] Currently running in a labeled security context 19:30:10 [INFO] Currently SELinux is 'enforcing' on the host 19:30:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/3@tmp/jenkins-gitclient-ssh7892314459365710553.key 19:30:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:11 Merging remotes/origin/master commit ee8c3cf8f247baa696c0241f6b7663da45af0865 into PR head commit 166f7b96da45f2a3a1794185b9b8886351da863d 19:30:11 Merge succeeded, producing 166f7b96da45f2a3a1794185b9b8886351da863d 19:30:11 Checking out Revision 166f7b96da45f2a3a1794185b9b8886351da863d (PR-3) 19:30:11 Commit message: "ci: init jenkins pipeline" 19:30:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:30:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:30:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:11 [INFO] Currently running in a labeled security context 19:30:11 [INFO] Currently SELinux is 'enforcing' on the host 19:30:11 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/3@tmp/jenkins-gitclient-ssh27089729916767705.key 19:30:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/3/head:refs/remotes/origin/PR-3 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:30:11 > git config core.sparsecheckout # timeout=10 19:30:11 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 19:30:11 > git remote # timeout=10 19:30:11 > git config --get remote.origin.url # timeout=10 19:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:11 [INFO] Currently running in a labeled security context 19:30:11 [INFO] Currently SELinux is 'enforcing' on the host 19:30:11 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/3@tmp/jenkins-gitclient-ssh4158291663568577307.key 19:30:11 > git merge ee8c3cf8f247baa696c0241f6b7663da45af0865 # timeout=10 19:30:11 > git rev-parse HEAD^{commit} # timeout=10 19:30:11 > git config core.sparsecheckout # timeout=10 19:30:11 > git checkout -f 166f7b96da45f2a3a1794185b9b8886351da863d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:30:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:30:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:30:16 + sudo service docker restart 19:30:16 + true 19:30:17 Commit message: "ci: init jenkins pipeline" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:30:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:30:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:30:19 + true 19:30:19 + sudo service docker restart 19:30:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:34 provisioning config files... 19:30:34 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config7110132054811979716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:34 ---> docker-login.sh 19:30:35 nexus3.edgexfoundry.org:10001 19:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:36 Configure a credential helper to remove this warning. See 19:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:36 19:30:36 Login Succeeded 19:30:36 nexus3.edgexfoundry.org:10002 19:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:36 Configure a credential helper to remove this warning. See 19:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:36 19:30:36 Login Succeeded 19:30:36 nexus3.edgexfoundry.org:10003 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:37 provisioning config files... 19:30:37 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config6218063817296279515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 ---> docker-login.sh 19:30:37 nexus3.edgexfoundry.org:10001 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 docker.io 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10002 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10003 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:38 Configure a credential helper to remove this warning. See 19:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:38 19:30:38 Login Succeeded 19:30:38 nexus3.edgexfoundry.org:10004 19:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:38 Configure a credential helper to remove this warning. See 19:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:38 19:30:38 Login Succeeded 19:30:38 docker.io 19:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:38 Configure a credential helper to remove this warning. See 19:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:38 19:30:38 Login Succeeded 19:30:38 ---> docker-login.sh ends [Pipeline] } 19:30:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 19:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:40 Configure a credential helper to remove this warning. See 19:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:40 19:30:40 Login Succeeded 19:30:40 ---> docker-login.sh ends [Pipeline] } 19:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:30:40 ========================================================= 19:30:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 19:30:40 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 19:30:41 ========================================================= 19:30:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:30:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:30:41 + 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 . 19:30:41 Sending build context to Docker daemon 5.476MB 19:30:41 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:30:41 Step 2/8 : FROM ${BASE} AS builder 19:30:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 19:30:41 540db60ca938: Pulling fs layer 19:30:41 adcc1eea9eea: Pulling fs layer 19:30:41 4c4ab2625f07: Pulling fs layer 19:30:41 0510c868ecb4: Pulling fs layer 19:30:41 afea3b2eda06: Pulling fs layer 19:30:41 7809a108b3ef: Pulling fs layer 19:30:41 f706445af74f: Pulling fs layer 19:30:41 0510c868ecb4: Waiting 19:30:41 afea3b2eda06: Waiting 19:30:41 7809a108b3ef: Waiting 19:30:41 f706445af74f: Waiting 19:30:41 + 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 . 19:30:41 4c4ab2625f07: Verifying Checksum 19:30:41 4c4ab2625f07: Download complete 19:30:41 adcc1eea9eea: Verifying Checksum 19:30:41 adcc1eea9eea: Download complete 19:30:41 afea3b2eda06: Verifying Checksum 19:30:41 afea3b2eda06: Download complete 19:30:41 7809a108b3ef: Verifying Checksum 19:30:41 7809a108b3ef: Download complete 19:30:41 540db60ca938: Verifying Checksum 19:30:41 540db60ca938: Download complete 19:30:41 Sending build context to Docker daemon 5.475MB 19:30:41 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 19:30:41 Step 2/8 : FROM ${BASE} AS builder 19:30:41 540db60ca938: Pull complete 19:30:41 adcc1eea9eea: Pull complete 19:30:42 4c4ab2625f07: Pull complete 19:30:42 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:30:42 595b0fe564bb: Pulling fs layer 19:30:42 3088b5b3c5c0: Pulling fs layer 19:30:42 5b7225fbf94c: Pulling fs layer 19:30:42 ba82ee9f976e: Pulling fs layer 19:30:42 506bd15cee9f: Pulling fs layer 19:30:42 75a0a4a0db45: Pulling fs layer 19:30:42 618dc40b7e24: Pulling fs layer 19:30:42 506bd15cee9f: Waiting 19:30:42 ba82ee9f976e: Waiting 19:30:42 75a0a4a0db45: Waiting 19:30:42 618dc40b7e24: Waiting 19:30:42 5b7225fbf94c: Verifying Checksum 19:30:42 5b7225fbf94c: Download complete 19:30:42 3088b5b3c5c0: Download complete 19:30:42 506bd15cee9f: Download complete 19:30:42 75a0a4a0db45: Verifying Checksum 19:30:42 75a0a4a0db45: Download complete 19:30:42 595b0fe564bb: Verifying Checksum 19:30:42 595b0fe564bb: Download complete 19:30:43 595b0fe564bb: Pull complete 19:30:43 3088b5b3c5c0: Pull complete 19:30:44 5b7225fbf94c: Pull complete 19:30:45 f706445af74f: Verifying Checksum 19:30:45 f706445af74f: Download complete 19:30:45 618dc40b7e24: Verifying Checksum 19:30:45 618dc40b7e24: Download complete 19:30:45 0510c868ecb4: Verifying Checksum 19:30:45 0510c868ecb4: Download complete 19:30:46 ba82ee9f976e: Verifying Checksum 19:30:46 ba82ee9f976e: Download complete 19:30:49 0510c868ecb4: Pull complete 19:30:49 afea3b2eda06: Pull complete 19:30:49 7809a108b3ef: Pull complete 19:30:50 f706445af74f: Pull complete 19:30:50 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 19:30:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 19:30:50 ---> b068be0155e3 19:30:50 Step 3/8 : WORKDIR /device-gpio 19:30:57 ---> Running in a130e67e5d05 19:30:57 Removing intermediate container a130e67e5d05 19:30:57 ---> d68cf67e9cf5 19:30:57 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:30:57 ba82ee9f976e: Pull complete 19:30:57 ---> Running in b0b4618186e7 19:30:57 Removing intermediate container b0b4618186e7 19:30:57 ---> 8d276df488ac 19:30:57 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:30:57 ---> Running in 945001d21e03 19:30:57 506bd15cee9f: Pull complete 19:30:57 75a0a4a0db45: Pull complete 19:30:57 Removing intermediate container 945001d21e03 19:30:57 ---> ae1c15fb7a28 19:30:57 Step 6/8 : RUN apk add --update --no-cache make git 19:30:57 ---> Running in f63c80ee71c0 19:30:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:30:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:30:59 OK: 149 MiB in 40 packages 19:30:59 Removing intermediate container f63c80ee71c0 19:30:59 ---> 08ae645f45a4 19:30:59 Step 7/8 : COPY . . 19:31:00 ---> 8f7f1d65e778 19:31:00 Step 8/8 : RUN go mod download 19:31:00 ---> Running in cbf2359fcf17 19:31:02 618dc40b7e24: Pull complete 19:31:02 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 19:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:31:02 ---> a36622ca3599 19:31:02 Step 3/8 : WORKDIR /device-gpio 19:31:02 ---> Running in 5b57b3ef4d54 19:31:03 Removing intermediate container 5b57b3ef4d54 19:31:03 ---> cec618a5009a 19:31:03 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:31:03 ---> Running in a99e32f18660 19:31:04 Removing intermediate container a99e32f18660 19:31:04 ---> 675f4a90c4d6 19:31:04 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:31:04 ---> Running in 81ea7c67ba21 19:31:06 Removing intermediate container 81ea7c67ba21 19:31:06 ---> cf5e58a55cd1 19:31:06 Step 6/8 : RUN apk add --update --no-cache make git 19:31:06 ---> Running in 23d35ff63b94 19:31:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:31:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:31:13 OK: 138 MiB in 40 packages 19:31:14 Removing intermediate container 23d35ff63b94 19:31:14 ---> 2dd19164bb5b 19:31:14 Step 7/8 : COPY . . 19:31:16 ---> 76803f5fff83 19:31:16 Step 8/8 : RUN go mod download 19:31:16 ---> Running in 265550ec84d0 19:31:26 Removing intermediate container cbf2359fcf17 19:31:26 ---> edd656e8d473 19:31:26 Successfully built edd656e8d473 19:31:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:31:26 + docker inspect -f . ci-base-image-x86_64 19:31:26 . [Pipeline] withDockerContainer 19:31:26 prd-centos7-docker-4c-2g-1771 does not seem to be running inside a container 19:31:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:31:26 $ docker top 078b3fbab875329ee88ce7031deafda3638fb82aba6b38c974559e97d90bbac6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:27 + go version 19:31:27 go version go1.16.3 linux/amd64 [Pipeline] } 19:31:27 $ docker stop --time=1 078b3fbab875329ee88ce7031deafda3638fb82aba6b38c974559e97d90bbac6 19:31:28 $ docker rm -f 078b3fbab875329ee88ce7031deafda3638fb82aba6b38c974559e97d90bbac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:31:29 + docker inspect -f . ci-base-image-x86_64 19:31:29 . [Pipeline] withDockerContainer 19:31:29 prd-centos7-docker-4c-2g-1771 does not seem to be running inside a container 19:31:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:31:29 $ docker top dd45b3d47d88b12476e22dea0e1f72a886b969ef5280369e419985e0b2202351 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:30 + go mod tidy [Pipeline] sh 19:31:30 + make test 19:31:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:31:30 ? github.com/edgexfoundry/device-gpio [no test files] 19:31:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:31:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:31:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:31:48 gofmt -l . 19:31:48 [ "`gofmt -l .`" = "" ] 19:31:48 ./bin/test-attribution-txt.sh 19:31:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:31:48 $ docker stop --time=1 dd45b3d47d88b12476e22dea0e1f72a886b969ef5280369e419985e0b2202351 19:31:50 $ docker rm -f dd45b3d47d88b12476e22dea0e1f72a886b969ef5280369e419985e0b2202351 [Pipeline] // withDockerContainer [Pipeline] sh 19:31:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:31:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:31:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:31:58 + ls -al . 19:31:58 total 104 19:31:58 drwxrwxr-x. 6 jenkins jenkins 4096 Jun 16 19:31 . 19:31:58 drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 19:30 .. 19:31:58 -rw-rw-r--. 1 jenkins jenkins 5451 Jun 16 19:30 Attribution.txt 19:31:58 drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 19:30 bin 19:31:58 drwxrwxr-x. 3 jenkins jenkins 32 Jun 16 19:30 cmd 19:31:58 -rw-r--r--. 1 jenkins jenkins 10 Jun 16 19:31 coverage.out 19:31:58 -rw-rw-r--. 1 jenkins jenkins 1497 Jun 16 19:30 Dockerfile 19:31:58 -rw-rw-r--. 1 jenkins jenkins 972 Jun 16 19:30 Dockerfile.build 19:31:58 -rw-rw-r--. 1 jenkins jenkins 120 Jun 16 19:30 .dockerignore 19:31:58 drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 19:30 .git 19:31:58 -rw-rw-r--. 1 jenkins jenkins 350 Jun 16 19:30 .gitignore 19:31:58 -rw-r--r--. 1 jenkins jenkins 379 Jun 16 19:31 go.mod 19:31:58 -rw-r--r--. 1 jenkins jenkins 30244 Jun 16 19:31 go.sum 19:31:58 drwxrwxr-x. 3 jenkins jenkins 20 Jun 16 19:30 internal 19:31:58 -rw-rw-r--. 1 jenkins jenkins 657 Jun 16 19:30 Jenkinsfile 19:31:58 -rw-rw-r--. 1 jenkins jenkins 11340 Jun 16 19:30 LICENSE 19:31:58 -rw-rw-r--. 1 jenkins jenkins 920 Jun 16 19:30 Makefile 19:31:58 -rw-rw-r--. 1 jenkins jenkins 6495 Jun 16 19:30 README.md 19:31:58 -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 19:26 VERSION 19:31:58 -rw-rw-r--. 1 jenkins jenkins 209 Jun 16 19:30 version.go [Pipeline] isUnix [Pipeline] sh 19:31:58 + 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=166f7b96da45f2a3a1794185b9b8886351da863d --label arch=amd64 --label version=0.0.0 . 19:31:58 Sending build context to Docker daemon 5.477MB 19:31:58 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 19:31:58 Step 2/23 : FROM ${BASE} AS builder 19:31:58 ---> edd656e8d473 19:31:58 Step 3/23 : ARG MAKE='make build' 19:31:58 ---> Running in a2da531ce08b 19:31:58 Removing intermediate container a2da531ce08b 19:31:58 ---> 3e1707dd1ca6 19:31:58 Step 4/23 : WORKDIR /device-gpio 19:31:58 ---> Running in 5287523f708d 19:31:58 Removing intermediate container 5287523f708d 19:31:58 ---> db96b32627e7 19:31:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:31:58 ---> Running in 2e16c6583fb3 19:31:58 Removing intermediate container 2e16c6583fb3 19:31:58 ---> 37a03a7a03af 19:31:58 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:31:58 ---> Running in 71e48fc7e894 19:31:59 Removing intermediate container 71e48fc7e894 19:31:59 ---> c76055d3e545 19:31:59 Step 7/23 : RUN apk add --update --no-cache make git 19:31:59 ---> Running in 67323f62d40a 19:31:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 19:32:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 19:32:01 OK: 149 MiB in 40 packages 19:32:01 Removing intermediate container 67323f62d40a 19:32:01 ---> c4f0841c17b1 19:32:01 Step 8/23 : COPY . . 19:32:01 ---> 97bc5eae157e 19:32:01 Step 9/23 : RUN go mod tidy 19:32:01 ---> Running in 55d540c90d86 19:32:02 Removing intermediate container 55d540c90d86 19:32:02 ---> 710e3f9249ac 19:32:02 Step 10/23 : RUN ${MAKE} 19:32:02 ---> Running in 4cd073636e65 19:32:02 go mod tidy 19:32:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 19:32:05 Removing intermediate container 265550ec84d0 19:32:05 ---> 740c27eb651a 19:32:05 Successfully built 740c27eb651a 19:32:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:32:05 + docker inspect -f . ci-base-image-arm64 19:32:05 . [Pipeline] withDockerContainer 19:32:05 prd-ubuntu18.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container 19:32:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:32:08 $ docker top b203578b97a2c8884a7ced567324999d42082eca20e7df6830377a1b0d0700df -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:09 + go version 19:32:09 go version go1.16.5 linux/arm64 [Pipeline] } 19:32:09 $ docker stop --time=1 b203578b97a2c8884a7ced567324999d42082eca20e7df6830377a1b0d0700df 19:32:11 $ docker rm -f b203578b97a2c8884a7ced567324999d42082eca20e7df6830377a1b0d0700df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:32:13 + docker inspect -f . ci-base-image-arm64 19:32:13 . 19:32:13 Removing intermediate container 4cd073636e65 19:32:13 ---> fccfd66cd2d5 19:32:13 Step 11/23 : FROM scratch 19:32:13 ---> 19:32:13 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:32:13 ---> Running in c7741c9e1b88 19:32:13 Removing intermediate container c7741c9e1b88 19:32:13 ---> a4c3028e4311 19:32:13 Step 13/23 : ENV APP_PORT=49994 19:32:13 ---> Running in e3ddf7cdfdd8 19:32:13 Removing intermediate container e3ddf7cdfdd8 19:32:13 ---> 2b1849fba4e9 19:32:13 Step 14/23 : EXPOSE $APP_PORT 19:32:13 ---> Running in 82b7d33f7dd9 19:32:13 Removing intermediate container 82b7d33f7dd9 19:32:13 ---> 52a21106f70e 19:32:13 Step 15/23 : WORKDIR / 19:32:13 ---> Running in 7b8e7c138758 19:32:13 Removing intermediate container 7b8e7c138758 19:32:13 ---> fde2def5e419 19:32:13 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 19:32:13 ---> 62eb6e56df61 19:32:13 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 19:32:13 ---> dcd9c6742338 19:32:13 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 19:32:13 ---> 4606ca181e20 19:32:13 Step 19/23 : ENTRYPOINT ["/device-gpio"] 19:32:13 ---> Running in 8f1bf92d8e12 19:32:13 Removing intermediate container 8f1bf92d8e12 19:32:13 ---> 1c0e3f051880 19:32:13 Step 20/23 : CMD ["-cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:32:13 ---> Running in 141c31b9ea8f 19:32:13 Removing intermediate container 141c31b9ea8f 19:32:13 ---> 7a720421cd7b 19:32:13 Step 21/23 : LABEL arch=amd64 19:32:13 ---> Running in 8b85e0821c04 19:32:13 Removing intermediate container 8b85e0821c04 19:32:13 ---> 5c59003af694 19:32:13 Step 22/23 : LABEL git_sha=166f7b96da45f2a3a1794185b9b8886351da863d 19:32:13 ---> Running in 44720b19f39d 19:32:13 Removing intermediate container 44720b19f39d 19:32:13 ---> 44a8f6ac7572 19:32:13 Step 23/23 : LABEL version=0.0.0 19:32:13 ---> Running in 5ef76a90d2fc 19:32:13 Removing intermediate container 5ef76a90d2fc 19:32:13 ---> 496a28d28be4 19:32:13 [Warning] One or more build-args [ARCH] were not consumed 19:32:13 Successfully built 496a28d28be4 19:32:13 Successfully tagged device-gpio:latest [Pipeline] withDockerContainer 19:32:14 prd-ubuntu18.04-docker-arm64-4c-16g-1770 does not seem to be running inside a container 19:32:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:32:15 $ docker top c19d0ea045f66039b0cad78031639129431637f5f77d935b5ecbd72c26002611 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 19:32:16 + go mod tidy 19:32:16 ---> job-cost.sh 19:32:16 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2qcF [Pipeline] sh 19:32:17 + make test 19:32:17 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:32:20 ? github.com/edgexfoundry/device-gpio [no test files] 19:32:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:32:40 lf-activate-venv(): INFO: Adding /tmp/venv-2qcF/bin to PATH 19:32:40 INFO: No Stack... 19:32:40 INFO: Retrieving Pricing Info for: v3-standard-2 19:32:40 INFO: Archiving Costs [Pipeline] sh 19:32:40 + cat /w/workspace/device-gpio/3/archives/cost.csv 19:32:40 + cut -d, -f6 [Pipeline] lock 19:32:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] 19:32:40 Resource [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] did not exist. Created. 19:32:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:32:40 + echo total: 0.05999999865889549 [Pipeline] stash 19:32:40 Stashed 1 file(s) [Pipeline] } 19:32:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:32:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:32:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:32:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:33:26 gofmt -l . 19:33:26 [ "`gofmt -l .`" = "" ] 19:33:26 ./bin/test-attribution-txt.sh 19:33:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:33:26 $ docker stop --time=1 c19d0ea045f66039b0cad78031639129431637f5f77d935b5ecbd72c26002611 19:33:28 $ docker rm -f c19d0ea045f66039b0cad78031639129431637f5f77d935b5ecbd72c26002611 [Pipeline] // withDockerContainer [Pipeline] sh 19:33:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:33:29 Warning: overwriting stash ‘coverage-report’ 19:33:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:33:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:33:30 + ls -al . 19:33:30 total 124 19:33:30 drwxrwxr-x 6 jenkins jenkins 4096 Jun 16 19:33 . 19:33:30 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 19:30 .. 19:33:30 -rw-rw-r-- 1 jenkins jenkins 120 Jun 16 19:30 .dockerignore 19:33:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 19:30 .git 19:33:30 -rw-rw-r-- 1 jenkins jenkins 350 Jun 16 19:30 .gitignore 19:33:30 -rw-rw-r-- 1 jenkins jenkins 5451 Jun 16 19:30 Attribution.txt 19:33:30 -rw-rw-r-- 1 jenkins jenkins 1497 Jun 16 19:30 Dockerfile 19:33:30 -rw-rw-r-- 1 jenkins jenkins 972 Jun 16 19:30 Dockerfile.build 19:33:30 -rw-rw-r-- 1 jenkins jenkins 657 Jun 16 19:30 Jenkinsfile 19:33:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 16 19:30 LICENSE 19:33:30 -rw-rw-r-- 1 jenkins jenkins 920 Jun 16 19:30 Makefile 19:33:30 -rw-rw-r-- 1 jenkins jenkins 6495 Jun 16 19:30 README.md 19:33:30 -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 19:26 VERSION 19:33:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 19:30 bin 19:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 19:30 cmd 19:33:30 -rw-r--r-- 1 jenkins jenkins 10 Jun 16 19:32 coverage.out 19:33:30 -rw-r--r-- 1 jenkins jenkins 379 Jun 16 19:33 go.mod 19:33:30 -rw-r--r-- 1 jenkins jenkins 30244 Jun 16 19:32 go.sum 19:33:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 16 19:30 internal 19:33:30 -rw-rw-r-- 1 jenkins jenkins 209 Jun 16 19:30 version.go [Pipeline] isUnix [Pipeline] sh 19:33:31 + 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=166f7b96da45f2a3a1794185b9b8886351da863d --label arch=arm64 --label version=0.0.0 . 19:33:31 Sending build context to Docker daemon 5.476MB 19:33:31 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 19:33:31 Step 2/23 : FROM ${BASE} AS builder 19:33:31 ---> 740c27eb651a 19:33:31 Step 3/23 : ARG MAKE='make build' 19:33:32 ---> Running in 7394200cf654 19:33:32 Removing intermediate container 7394200cf654 19:33:32 ---> 77329bd1a326 19:33:32 Step 4/23 : WORKDIR /device-gpio 19:33:32 ---> Running in 38d649d132ad 19:33:33 Removing intermediate container 38d649d132ad 19:33:33 ---> 1a08a0fb51ae 19:33:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:33:33 ---> Running in f75b46e7cd46 19:33:33 Removing intermediate container f75b46e7cd46 19:33:33 ---> 7bfa84bc1c5e 19:33:33 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:33:33 ---> Running in dd0d9c95e9c8 19:33:36 Removing intermediate container dd0d9c95e9c8 19:33:36 ---> d0980ca342fb 19:33:36 Step 7/23 : RUN apk add --update --no-cache make git 19:33:36 ---> Running in 3331a8f1de43 19:33:37 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 19:33:38 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 19:33:39 OK: 138 MiB in 40 packages 19:33:40 Removing intermediate container 3331a8f1de43 19:33:40 ---> cc74f2184d57 19:33:40 Step 8/23 : COPY . . 19:33:41 ---> c87f5306f761 19:33:41 Step 9/23 : RUN go mod tidy 19:33:41 ---> Running in 1c01e17722d8 19:33:44 Removing intermediate container 1c01e17722d8 19:33:44 ---> 0f38e26d5410 19:33:44 Step 10/23 : RUN ${MAKE} 19:33:44 ---> Running in dcd6048aa1e2 19:33:45 go mod tidy 19:33:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd 19:34:18 Removing intermediate container dcd6048aa1e2 19:34:18 ---> c1d16d79ab5e 19:34:18 Step 11/23 : FROM scratch 19:34:18 ---> 19:34:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:34:18 ---> Running in 6f566e7d5d2a 19:34:18 Removing intermediate container 6f566e7d5d2a 19:34:18 ---> e62f4e6c1c98 19:34:18 Step 13/23 : ENV APP_PORT=49994 19:34:18 ---> Running in becd7288f501 19:34:18 Removing intermediate container becd7288f501 19:34:18 ---> 2b85717535a4 19:34:18 Step 14/23 : EXPOSE $APP_PORT 19:34:18 ---> Running in c5f7d10ede35 19:34:18 Removing intermediate container c5f7d10ede35 19:34:18 ---> 409e032327e6 19:34:18 Step 15/23 : WORKDIR / 19:34:18 ---> Running in 350fc5e525a5 19:34:18 Removing intermediate container 350fc5e525a5 19:34:18 ---> dc5becba256f 19:34:18 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 19:34:18 ---> de2b92e7aea3 19:34:18 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 19:34:18 ---> 60f61c46dc5a 19:34:18 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 19:34:18 ---> 82f96de72369 19:34:18 Step 19/23 : ENTRYPOINT ["/device-gpio"] 19:34:18 ---> Running in bb3467b58e8b 19:34:19 Removing intermediate container bb3467b58e8b 19:34:19 ---> a5d322ef8e8a 19:34:19 Step 20/23 : CMD ["-cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:34:19 ---> Running in 3322cd168a1f 19:34:19 Removing intermediate container 3322cd168a1f 19:34:19 ---> 292a9fc18d2d 19:34:19 Step 21/23 : LABEL arch=arm64 19:34:20 ---> Running in 249c94599db6 19:34:20 Removing intermediate container 249c94599db6 19:34:20 ---> b90d76917d29 19:34:20 Step 22/23 : LABEL git_sha=166f7b96da45f2a3a1794185b9b8886351da863d 19:34:20 ---> Running in 56e5f56b7f21 19:34:21 Removing intermediate container 56e5f56b7f21 19:34:21 ---> 317c3db50473 19:34:21 Step 23/23 : LABEL version=0.0.0 19:34:21 ---> Running in ee0a31de891f 19:34:21 Removing intermediate container ee0a31de891f 19:34:21 ---> 87dcd795473e 19:34:21 [Warning] One or more build-args [ARCH] were not consumed 19:34:21 Successfully built 87dcd795473e 19:34:21 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 19:34:22 ---> job-cost.sh 19:34:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-U2HG 19:35:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 19:36:25 lf-activate-venv(): INFO: Adding /tmp/venv-U2HG/bin to PATH 19:36:25 INFO: No Stack... 19:36:25 INFO: Retrieving Pricing Info for: v2-standard-4 19:36:25 INFO: Archiving Costs [Pipeline] sh 19:36:25 + + cutcat -d, /w/workspace/device-gpio/3/archives/cost.csv -f6 19:36:25 [Pipeline] lock 19:36:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] 19:36:26 Resource [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] did not exist. Created. 19:36:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:36:26 /w/workspace/device-gpio/3@tmp/durable-b81c69e7/script.sh: 1: /w/workspace/device-gpio/3@tmp/durable-b81c69e7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:36:26 + echo total: 0.18000000715255737 [Pipeline] stash 19:36:26 Warning: overwriting stash ‘stack-cost’ 19:36:26 Stashed 1 file(s) [Pipeline] } 19:36:27 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-3-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:36:27 provisioning config files... 19:36:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config8299473510194922346tmp [Pipeline] { [Pipeline] sh 19:36:28 + set +x 19:36:28 + curl -s https://codecov.io/bash 19:36:28 + bash -s -- 19:36:28 19:36:28 _____ _ 19:36:28 / ____| | | 19:36:28 | | ___ __| | ___ ___ _____ __ 19:36:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:36:28 | |___| (_) | (_| | __/ (_| (_) \ V / 19:36:28 \_____\___/ \__,_|\___|\___\___/ \_/ 19:36:28 Bash-1.0.3 19:36:28 19:36:28 19:36:28 ==> git version 2.24.4 found 19:36:28 ==> 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 19:36:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:36:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:36:28 ==> Jenkins CI detected. 19:36:28 project root: . 19:36:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:36:28 ==> Running gcov in . (disable via -X gcov) 19:36:28 ==> Python coveragepy not found 19:36:28 ==> Searching for coverage reports in: 19:36:28 + . 19:36:28 -> Found 1 reports 19:36:28 ==> Detecting git/mercurial file structure 19:36:28 ==> Reading reports 19:36:28 + ./coverage.out bytes=10 19:36:28 ==> Appending adjustments 19:36:28 https://docs.codecov.io/docs/fixing-reports 19:36:28 + Found adjustments 19:36:28 ==> Gzipping contents 19:36:28 4.0K /tmp/codecov.kf2rji.gz 19:36:28 ==> Uploading reports 19:36:28 url: https://codecov.io 19:36:28 query: branch=PR-3&commit=166f7b96da45f2a3a1794185b9b8886351da863d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-3%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=3&job=&cmd_args= 19:36:28 -> Pinging Codecov 19:36:28 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-3&commit=166f7b96da45f2a3a1794185b9b8886351da863d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-3%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=3&job=&cmd_args= 19:36:28 {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} 19:36:28 404 19:36:28 ==> Uploading to Codecov 19:36:28 % Total % Received % Xferd Average Speed Time Time Time Current 19:36:28 Dload Upload Total Spent Left Speed 19:36:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 791 100 169 100 622 920 3386 --:--:-- --:--:-- --:--:-- 3398 19:36:28 {'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] } 19:36:28 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 19:36:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:36:30 ---> package-listing.sh 19:36:30 ++ facter osfamily 19:36:30 ++ tr '[:upper:]' '[:lower:]' 19:36:31 + OS_FAMILY=redhat 19:36:31 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-3 19:36:31 + START_PACKAGES=/tmp/packages_start.txt 19:36:31 + END_PACKAGES=/tmp/packages_end.txt 19:36:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:36:31 + PACKAGES=/tmp/packages_start.txt 19:36:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-3 ']' 19:36:31 + PACKAGES=/tmp/packages_end.txt 19:36:31 + case "${OS_FAMILY}" in 19:36:31 + rpm -qa 19:36:31 + sort 19:36:31 + '[' -f /tmp/packages_start.txt ']' 19:36:31 + '[' -f /tmp/packages_end.txt ']' 19:36:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:36:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-3 ']' 19:36:31 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-3/archives/ 19:36:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-3/archives/ [Pipeline] echo 19:36:31 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-3/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:36:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:36:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:36:32 19:36:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:36:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:36:33 alpine: Pulling from edgex-lftools-log-publisher 19:36:33 df20fa9351a1: Pulling fs layer 19:36:33 36b3adc4ff6f: Pulling fs layer 19:36:33 8ad3a11d3b57: Pulling fs layer 19:36:33 46f8f816bc3b: Pulling fs layer 19:36:33 93b61091891f: Pulling fs layer 19:36:33 93b9cdb0e59b: Pulling fs layer 19:36:33 5e14af77c1be: Pulling fs layer 19:36:33 01666e4c0597: Pulling fs layer 19:36:33 aa168da1d23b: Pulling fs layer 19:36:33 93b9cdb0e59b: Waiting 19:36:33 5e14af77c1be: Waiting 19:36:33 01666e4c0597: Waiting 19:36:33 aa168da1d23b: Waiting 19:36:33 46f8f816bc3b: Waiting 19:36:33 93b61091891f: Waiting 19:36:34 36b3adc4ff6f: Verifying Checksum 19:36:34 36b3adc4ff6f: Download complete 19:36:34 46f8f816bc3b: Verifying Checksum 19:36:34 46f8f816bc3b: Download complete 19:36:34 df20fa9351a1: Verifying Checksum 19:36:34 df20fa9351a1: Download complete 19:36:34 93b9cdb0e59b: Verifying Checksum 19:36:34 93b9cdb0e59b: Download complete 19:36:34 5e14af77c1be: Verifying Checksum 19:36:34 5e14af77c1be: Download complete 19:36:34 01666e4c0597: Verifying Checksum 19:36:34 01666e4c0597: Download complete 19:36:34 93b61091891f: Download complete 19:36:34 df20fa9351a1: Pull complete 19:36:34 36b3adc4ff6f: Pull complete 19:36:34 8ad3a11d3b57: Verifying Checksum 19:36:34 8ad3a11d3b57: Download complete 19:36:35 8ad3a11d3b57: Pull complete 19:36:35 46f8f816bc3b: Pull complete 19:36:35 93b61091891f: Pull complete 19:36:35 93b9cdb0e59b: Pull complete 19:36:35 5e14af77c1be: Pull complete 19:36:35 01666e4c0597: Pull complete 19:36:36 aa168da1d23b: Verifying Checksum 19:36:36 aa168da1d23b: Download complete 19:36:40 aa168da1d23b: Pull complete 19:36:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:36:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:36:41 prd-centos7-docker-4c-2g-1769 does not seem to be running inside a container 19:36:41 $ 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-3/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-3 -v /w/workspace/edgexfoundry_device-gpio_PR-3:/w/workspace/edgexfoundry_device-gpio_PR-3:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-3@tmp:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:36:43 $ docker top f1e809e0cecd1dfdbd396d16651d663f4a6427fd221b2dfc73427c3a05a5a31f -eo pid,comm [Pipeline] { [Pipeline] sh 19:36:43 + touch /tmp/pre-build-complete [Pipeline] sh 19:36:43 + mkdir -p /var/log/sa [Pipeline] sh 19:36:46 + ls /var/log/sa-host 19:36:46 + sadf -c /var/log/sa-host/sa05 19:36:46 file_magic: OK 19:36:46 HZ: Using current value: 100 19:36:46 file_header: OK 19:36:46 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 19:36:46 Statistics: 19:36:46 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:36:46 File successfully converted to sysstat format version 12.2.1 19:36:46 + sadf -c /var/log/sa-host/sa16 19:36:46 file_magic: OK 19:36:46 HZ: Using current value: 100 19:36:46 file_header: OK 19:36:46 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 19:36:46 Statistics: 19:36:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:36:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:36:46 provisioning config files... 19:36:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-3@tmp/config1749727012843535318tmp [Pipeline] { [Pipeline] echo 19:36:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:36:46 ---> create-netrc.sh [Pipeline] } 19:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:36:46 ---> python-tools-install.sh [Pipeline] echo 19:36:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:36:47 ---> sudo-logs.sh 19:36:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:36:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:36:47 ---> job-cost.sh 19:36:47 lf-activate-venv: SKIPPING 19:36:47 DEBUG: total: 0.18000000715255737 19:36:47 INFO: Retrieving Stack Cost... 19:36:48 INFO: Retrieving Pricing Info for: v3-standard-2 19:36:49 INFO: Archiving Costs [Pipeline] echo 19:36:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:36:49 ---> logs-deploy.sh 19:36:49 lf-activate-venv: SKIPPING 19:36:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-3/3 19:36:49 INFO: archiving workspace using pattern(s): 19:36:50 Archives upload complete. 19:36:50 INFO: archiving logs to Nexus 19:36:50 ---> uname -a: 19:36:50 Linux prd-centos7-docker-4c-2g-1769.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 19:36:50 19:36:50 19:36:50 ---> lscpu: 19:36:50 Architecture: x86_64 19:36:50 CPU op-mode(s): 32-bit, 64-bit 19:36:50 Byte Order: Little Endian 19:36:50 Address sizes: 40 bits physical, 48 bits virtual 19:36:50 CPU(s): 2 19:36:50 On-line CPU(s) list: 0,1 19:36:50 Thread(s) per core: 1 19:36:50 Core(s) per socket: 1 19:36:50 Socket(s): 2 19:36:50 NUMA node(s): 1 19:36:50 Vendor ID: AuthenticAMD 19:36:50 CPU family: 23 19:36:50 Model: 49 19:36:50 Model name: AMD EPYC-Rome Processor 19:36:50 Stepping: 0 19:36:50 CPU MHz: 2800.000 19:36:50 BogoMIPS: 5600.00 19:36:50 Virtualization: AMD-V 19:36:50 Hypervisor vendor: KVM 19:36:50 Virtualization type: full 19:36:50 L1d cache: 64 KiB 19:36:50 L1i cache: 64 KiB 19:36:50 L2 cache: 1 MiB 19:36:50 L3 cache: 32 MiB 19:36:50 NUMA node0 CPU(s): 0,1 19:36:50 Vulnerability Itlb multihit: Not affected 19:36:50 Vulnerability L1tf: Not affected 19:36:50 Vulnerability Mds: Not affected 19:36:50 Vulnerability Meltdown: Not affected 19:36:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:36:50 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:36:50 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:36:50 Vulnerability Srbds: Not affected 19:36:50 Vulnerability Tsx async abort: Not affected 19:36:50 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 19:36:50 19:36:50 19:36:50 ---> nproc: 19:36:50 2 19:36:50 19:36:50 19:36:50 ---> df -h: 19:36:50 Filesystem Size Used Available Use% Mounted on 19:36:50 overlay 40.0G 7.6G 32.4G 19% / 19:36:50 tmpfs 64.0M 0 64.0M 0% /dev 19:36:50 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 19:36:50 shm 64.0M 0 64.0M 0% /dev/shm 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-3 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/edgexfoundry_device-gpio_PR-3@tmp 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 19:36:50 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 19:36:50 19:36:50 19:36:50 ---> free -m: 19:36:50 total used free shared buff/cache available 19:36:50 Mem: 7821 913 4809 0 2098 6729 19:36:50 Swap: 1023 0 1023 19:36:50 19:36:50 19:36:50 ---> ip addr: 19:36:50 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:36:50 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:36:50 inet 127.0.0.1/8 scope host lo 19:36:50 valid_lft forever preferred_lft forever 19:36:50 inet6 ::1/128 scope host 19:36:50 valid_lft forever preferred_lft forever 19:36:50 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:36:50 link/ether fa:16:3e:4a:3f:e6 brd ff:ff:ff:ff:ff:ff 19:36:50 inet 10.30.123.79/23 brd 10.30.123.255 scope global dynamic eth0 19:36:50 valid_lft 85739sec preferred_lft 85739sec 19:36:50 inet6 fe80::f816:3eff:fe4a:3fe6/64 scope link 19:36:50 valid_lft forever preferred_lft forever 19:36:50 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:36:50 link/ether 02:42:9e:cc:86:50 brd ff:ff:ff:ff:ff:ff 19:36:50 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:36:50 valid_lft forever preferred_lft forever 19:36:50 inet6 fe80::42:9eff:fecc:8650/64 scope link 19:36:50 valid_lft forever preferred_lft forever 19:36:50 19:36:50 19:36:50 ---> sar -b -r -n DEV: 19:36:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/16/21 _x86_64_ (2 CPU) 19:36:50 19:36:50 19:25:40 LINUX RESTART (2 CPU) 19:36:50 19:36:50 19:26:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:36:50 19:27:02 123.01 19.08 103.93 0.00 5818.35 16232.81 0.00 19:36:50 19:28:01 2.13 0.00 2.13 0.00 0.00 51.68 0.00 19:36:50 19:29:01 0.40 0.00 0.40 0.00 0.00 5.01 0.00 19:36:50 19:30:01 0.23 0.00 0.23 0.00 0.00 3.33 0.00 19:36:50 19:31:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 19:36:50 19:32:01 0.27 0.00 0.27 0.00 0.00 3.17 0.00 19:36:50 19:33:01 0.40 0.00 0.40 0.00 0.00 5.65 0.00 19:36:50 19:34:01 0.25 0.00 0.25 0.00 0.00 4.13 0.00 19:36:50 19:35:01 0.28 0.00 0.28 0.00 0.00 3.05 0.00 19:36:50 19:36:01 0.20 0.00 0.20 0.00 0.00 2.43 0.00 19:36:50 Average: 12.76 1.91 10.85 0.00 582.95 1634.44 0.00 19:36:50 19:36:50 19:26:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:36:50 19:27:02 5473072 0 792432 9.89 2620 1740808 1171100 12.93 564944 1572104 128 19:36:50 19:28:01 5485524 0 779972 9.74 2620 1740816 1075852 11.88 554856 1572072 8 19:36:50 19:29:01 5485516 0 779980 9.74 2620 1740816 1075852 11.88 556368 1570564 8 19:36:50 19:30:01 5483292 0 782196 9.77 2620 1740824 1075984 11.88 558164 1570564 8 19:36:50 19:31:01 5483392 0 782064 9.76 2620 1740856 1076056 11.88 554992 1574124 16 19:36:50 19:32:01 5482644 0 782836 9.77 2620 1740832 1075972 11.88 555264 1574116 8 19:36:50 19:33:01 5474712 0 790760 9.87 2620 1740840 1075852 11.88 563692 1574116 20 19:36:50 19:34:01 5474528 0 790940 9.88 2620 1740844 1075852 11.88 565692 1572332 8 19:36:50 19:35:01 5474312 0 791152 9.88 2620 1740848 1075852 11.88 565824 1572336 8 19:36:50 19:36:01 5474604 0 790856 9.87 2620 1740852 1075852 11.88 568072 1570140 8 19:36:50 Average: 5479160 0 786319 9.82 2620 1740834 1085422 11.98 560787 1572247 22 19:36:50 19:36:50 19:26:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:36:50 19:27:02 eth0 640.52 454.55 1151.01 89.15 0.00 0.00 0.00 0.00 19:36:50 19:27:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:27:02 docker0 0.53 0.50 0.07 0.08 0.00 0.00 0.00 0.00 19:36:50 19:28:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:29:01 eth0 0.78 0.08 0.06 0.01 0.00 0.00 0.00 0.00 19:36:50 19:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:30:01 eth0 1.03 0.28 0.32 0.17 0.00 0.00 0.00 0.00 19:36:50 19:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:31:01 eth0 0.57 0.33 0.27 0.23 0.00 0.00 0.00 0.00 19:36:50 19:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:32:01 eth0 0.35 0.33 0.17 0.08 0.00 0.00 0.00 0.00 19:36:50 19:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:33:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:34:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:35:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:36:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 19:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 Average: eth0 64.52 45.69 115.41 8.98 0.00 0.00 0.00 0.00 19:36:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:36:50 Average: docker0 0.05 0.05 0.01 0.01 0.00 0.00 0.00 0.00 19:36:50 19:36:50 19:36:50 ---> sar -P ALL: 19:36:50 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 06/16/21 _x86_64_ (2 CPU) 19:36:50 19:36:50 19:25:40 LINUX RESTART (2 CPU) 19:36:50 19:36:50 19:26:01 CPU %user %nice %system %iowait %steal %idle 19:36:50 19:27:02 all 16.40 0.00 4.35 3.39 0.08 75.78 19:36:50 19:27:02 0 15.83 0.00 4.70 3.10 0.07 76.29 19:36:50 19:27:02 1 16.97 0.00 4.00 3.68 0.09 75.26 19:36:50 19:28:01 all 0.15 0.00 0.04 0.00 0.03 99.78 19:36:50 19:28:01 0 0.03 0.00 0.03 0.00 0.02 99.92 19:36:50 19:28:01 1 0.27 0.00 0.05 0.00 0.03 99.64 19:36:50 19:29:01 all 0.08 0.00 0.03 0.00 0.04 99.85 19:36:50 19:29:01 0 0.03 0.00 0.02 0.00 0.05 99.90 19:36:50 19:29:01 1 0.13 0.00 0.03 0.00 0.03 99.80 19:36:50 19:30:01 all 0.04 0.00 0.02 0.00 0.03 99.91 19:36:50 19:30:01 0 0.05 0.00 0.02 0.00 0.03 99.90 19:36:50 19:30:01 1 0.03 0.00 0.02 0.00 0.03 99.92 19:36:50 19:31:01 all 0.08 0.00 0.04 0.00 0.04 99.84 19:36:50 19:31:01 0 0.03 0.00 0.05 0.00 0.05 99.87 19:36:50 19:31:01 1 0.12 0.00 0.03 0.00 0.03 99.82 19:36:50 19:32:01 all 0.08 0.00 0.03 0.00 0.03 99.87 19:36:50 19:32:01 0 0.05 0.00 0.03 0.00 0.03 99.88 19:36:50 19:32:01 1 0.10 0.00 0.02 0.00 0.02 99.87 19:36:50 19:33:01 all 0.06 0.00 0.03 0.01 0.03 99.87 19:36:50 19:33:01 0 0.05 0.00 0.05 0.02 0.05 99.83 19:36:50 19:33:01 1 0.07 0.00 0.02 0.00 0.02 99.90 19:36:50 19:34:01 all 0.07 0.00 0.02 0.00 0.03 99.88 19:36:50 19:34:01 0 0.03 0.00 0.02 0.00 0.05 99.90 19:36:50 19:34:01 1 0.10 0.00 0.02 0.00 0.02 99.87 19:36:50 19:35:01 all 0.10 0.00 0.03 0.00 0.03 99.85 19:36:50 19:35:01 0 0.03 0.00 0.02 0.00 0.02 99.93 19:36:50 19:35:01 1 0.17 0.00 0.03 0.00 0.03 99.77 19:36:50 19:36:01 all 0.08 0.00 0.03 0.00 0.03 99.87 19:36:50 19:36:01 0 0.03 0.00 0.02 0.00 0.02 99.93 19:36:50 19:36:01 1 0.12 0.00 0.03 0.00 0.05 99.80 19:36:50 Average: all 1.67 0.00 0.45 0.33 0.04 97.51 19:36:50 Average: 0 1.58 0.00 0.48 0.30 0.04 97.60 19:36:50 Average: 1 1.76 0.00 0.42 0.36 0.04 97.43 19:36:50 19:36:50 19:36:50