Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4f5f068f655fee6138b2e5b598b1f79c6216501 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5281722034016397798.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7841125561946446355.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision db16f8292de5a0132d944c4e76ede2ca4f84da27 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2777315782743113821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision db16f8292de5a0132d944c4e76ede2ca4f84da27 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f db16f8292de5a0132d944c4e76ede2ca4f84da27 # timeout=10 Commit message: "Merge pull request #343 from ernestojeda/pipeline-optimizations" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3320785627640934613.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2001288606666260656.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-557’ Running on prd-centos7-docker-4c-2g-562 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_main@tmp/jenkins-gitclient-ssh6091301330496064741.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e4f5f068f655fee6138b2e5b598b1f79c6216501 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4f5f068f655fee6138b2e5b598b1f79c6216501 # timeout=10 Commit message: "Merge pull request #5 from soda480/US1907" > git rev-list --no-walk 61390a86f55ee6889073212d49524d4c8e9ed7d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:48:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:26 ========================================================= 21:48:26 EdgeX Global Pipelines Version Info 21:48:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:48:27 ------------------- 21:48:27 stable info: 21:48:27 ------------------- 21:48:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:27 Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 21:48:27 Message: update stable to v1.0.198 21:48:28 ------------------- 21:48:28 experimental info: 21:48:28 ------------------- 21:48:28 Commited By: **** collab-it+edgex@linuxfoundation.org 21:48:28 Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 21:48:28 Message: update experimental to v1.0.198 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:48:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4f5f06 [Pipeline] echo 21:48:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:29 provisioning config files... 21:48:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3454058581529324376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:29 ---> docker-login.sh 21:48:29 nexus3.edgexfoundry.org:10001 21:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:30 Configure a credential helper to remove this warning. See 21:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:30 21:48:30 Login Succeeded 21:48:30 nexus3.edgexfoundry.org:10002 21:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:30 Configure a credential helper to remove this warning. See 21:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:30 21:48:30 Login Succeeded 21:48:30 nexus3.edgexfoundry.org:10003 21:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:30 Configure a credential helper to remove this warning. See 21:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:30 21:48:30 Login Succeeded 21:48:30 nexus3.edgexfoundry.org:10004 21:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:30 Configure a credential helper to remove this warning. See 21:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:30 21:48:30 Login Succeeded 21:48:30 docker.io 21:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:30 Configure a credential helper to remove this warning. See 21:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:30 21:48:30 Login Succeeded 21:48:30 ---> docker-login.sh ends [Pipeline] } 21:48: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 21:48:31 + git log --format=format:%s -1 e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] echo 21:48:31 GIT_COMMIT: e4f5f068f655fee6138b2e5b598b1f79c6216501, Commit Message: Merge pull request #5 from soda480/US1907 [Pipeline] echo 21:48:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:32 21:48:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:48:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:32 latest: Pulling from edgex-devops/git-semver 21:48:32 31603596830f: Pulling fs layer 21:48:32 b6dc333f4379: Pulling fs layer 21:48:32 3d9ef1400e77: Pulling fs layer 21:48:32 fd332fbdc1db: Pulling fs layer 21:48:32 fd332fbdc1db: Waiting 21:48:32 b6dc333f4379: Verifying Checksum 21:48:32 b6dc333f4379: Download complete 21:48:32 31603596830f: Verifying Checksum 21:48:32 31603596830f: Download complete 21:48:32 fd332fbdc1db: Verifying Checksum 21:48:32 fd332fbdc1db: Download complete 21:48:32 31603596830f: Pull complete 21:48:32 b6dc333f4379: Pull complete 21:48:32 3d9ef1400e77: Verifying Checksum 21:48:32 3d9ef1400e77: Download complete 21:48:33 3d9ef1400e77: Pull complete 21:48:33 fd332fbdc1db: Pull complete 21:48:33 Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 21:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:48:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:48:33 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:48:34 $ docker top 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:34 [ssh-agent] Looking for ssh-agent implementation... 21:48:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:35 $ docker exec 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent 21:48:35 SSH_AUTH_SOCK=/tmp/ssh-zVJ1DSSmbIeZ/agent.13 21:48:35 SSH_AGENT_PID=20 21:48:35 Running ssh-add (command line suppressed) 21:48:35 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4355658725812880631.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4355658725812880631.key) 21:48:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:35 + git tag --points-at HEAD [Pipeline] } 21:48:35 $ docker exec --env ******** --env ******** 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent -k 21:48:35 unset SSH_AUTH_SOCK; 21:48:35 unset SSH_AGENT_PID; 21:48:35 echo Agent pid 20 killed; 21:48:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:48:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:35 [ssh-agent] Looking for ssh-agent implementation... 21:48:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:35 $ docker exec 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent 21:48:36 SSH_AUTH_SOCK=/tmp/ssh-hzuLcmQX6ucg/agent.53 21:48:36 SSH_AGENT_PID=59 21:48:36 Running ssh-add (command line suppressed) 21:48:36 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3933097075634122923.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3933097075634122923.key) 21:48:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:36 + git semver init 21:48:36 # -> Open(): unable to determine branch for HEAD 21:48:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 21:48:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 21:48:36 # $SEMVER_REMOTE_NAME = origin 21:48:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:48:36 # $SEMVER_USER_NAME = edgex-jenkins 21:48:36 # $SEMVER_BRANCH = main 21:48:36 # $SEMVER_TEMP = /tmp/semver-150176412 21:48:36 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 21:48:37 # '/tmp/semver-150176412' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' 21:48:37 # -> Force: false 21:48:37 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 21:48:37 $ docker exec --env ******** --env ******** 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent -k 21:48:37 unset SSH_AUTH_SOCK; 21:48:37 unset SSH_AGENT_PID; 21:48:37 echo Agent pid 59 killed; 21:48:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:48:37 + git semver [Pipeline] } 21:48:38 $ docker stop --time=1 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 21:48:39 $ docker rm -f 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 [Pipeline] // withDockerContainer [Pipeline] sh 21:48:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:48:39 Stashed 1 file(s) [Pipeline] echo 21:48:40 [edgeXSemver]: initialized semver on version 1.0.1-dev.1 [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 21:48:55 Still waiting to schedule task 21:48:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:48:55 Still waiting to schedule task 21:48:55 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-558’ 21:50:57 Running on prd-centos7-docker-4c-2g-573 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 21:50:57 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 21:50:57 The recommended git tool is: git 21:51:00 using credential edgex-jenkins-ssh 21:51:00 Cloning the remote Git repository 21:51:00 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:51:00 > git init /w/workspace/device-gpio/2 # timeout=10 21:51:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:51:00 > git --version # timeout=10 21:51:01 > git --version # 'git version 2.24.4' 21:51:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:51:01 [INFO] Currently running in a labeled security context 21:51:01 [INFO] Currently SELinux is 'enforcing' on the host 21:51:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/2@tmp/jenkins-gitclient-ssh3113940689627322133.key 21:51:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:02 Avoid second fetch 21:51:02 Checking out Revision e4f5f068f655fee6138b2e5b598b1f79c6216501 (main) 21:51:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:51:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:51:02 > git config core.sparsecheckout # timeout=10 21:51:02 > git checkout -f e4f5f068f655fee6138b2e5b598b1f79c6216501 # timeout=10 21:51:06 Commit message: "Merge pull request #5 from soda480/US1907" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:07 provisioning config files... 21:51:07 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1108822934580431884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:07 ---> docker-login.sh 21:51:07 nexus3.edgexfoundry.org:10001 21:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:07 Configure a credential helper to remove this warning. See 21:51:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:07 21:51:07 Login Succeeded 21:51:07 nexus3.edgexfoundry.org:10002 21:51:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:13 Configure a credential helper to remove this warning. See 21:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:13 21:51:13 Login Succeeded 21:51:13 nexus3.edgexfoundry.org:10003 21:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:13 Configure a credential helper to remove this warning. See 21:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:13 21:51:13 Login Succeeded 21:51:13 nexus3.edgexfoundry.org:10004 21:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:13 Configure a credential helper to remove this warning. See 21:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:13 21:51:13 Login Succeeded 21:51:13 docker.io 21:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:13 Configure a credential helper to remove this warning. See 21:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:13 21:51:13 Login Succeeded 21:51:13 ---> docker-login.sh ends [Pipeline] } 21:51:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:14 ========================================================= 21:51:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:51:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:51:14 + 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 . 21:51:14 Sending build context to Docker daemon 5.483MB 21:51:14 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 21:51:14 Step 2/8 : FROM ${BASE} AS builder 21:51:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:51:14 540db60ca938: Pulling fs layer 21:51:14 adcc1eea9eea: Pulling fs layer 21:51:14 4c4ab2625f07: Pulling fs layer 21:51:14 0773c198feca: Pulling fs layer 21:51:14 345f892a5656: Pulling fs layer 21:51:14 4796506630df: Pulling fs layer 21:51:14 cc55df3e53f1: Pulling fs layer 21:51:14 4d027b6c602c: Pulling fs layer 21:51:14 449e75d2c14e: Pulling fs layer 21:51:14 0773c198feca: Waiting 21:51:14 345f892a5656: Waiting 21:51:14 4796506630df: Waiting 21:51:14 cc55df3e53f1: Waiting 21:51:14 4d027b6c602c: Waiting 21:51:14 449e75d2c14e: Waiting 21:51:14 4c4ab2625f07: Verifying Checksum 21:51:14 4c4ab2625f07: Download complete 21:51:14 adcc1eea9eea: Verifying Checksum 21:51:14 adcc1eea9eea: Download complete 21:51:14 345f892a5656: Verifying Checksum 21:51:14 345f892a5656: Download complete 21:51:14 4796506630df: Verifying Checksum 21:51:14 4796506630df: Download complete 21:51:14 cc55df3e53f1: Verifying Checksum 21:51:14 cc55df3e53f1: Download complete 21:51:15 540db60ca938: Verifying Checksum 21:51:15 540db60ca938: Download complete 21:51:15 540db60ca938: Pull complete 21:51:15 adcc1eea9eea: Pull complete 21:51:15 4c4ab2625f07: Pull complete 21:51:15 4d027b6c602c: Verifying Checksum 21:51:15 4d027b6c602c: Download complete 21:51:20 449e75d2c14e: Verifying Checksum 21:51:20 449e75d2c14e: Download complete 21:51:25 0773c198feca: Verifying Checksum 21:51:25 0773c198feca: Download complete 21:51:28 0773c198feca: Pull complete 21:51:28 345f892a5656: Pull complete 21:51:28 4796506630df: Pull complete 21:51:28 cc55df3e53f1: Pull complete 21:51:28 4d027b6c602c: Pull complete 21:51:31 449e75d2c14e: Pull complete 21:51:31 Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 21:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:51:31 ---> 0d28375d9b5b 21:51:31 Step 3/8 : WORKDIR /device-gpio 21:51:35 ---> Running in 50adc5ef77a4 21:51:35 Removing intermediate container 50adc5ef77a4 21:51:35 ---> ad484912e5e4 21:51:35 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:51:35 ---> Running in 228026c73a6f 21:51:35 Removing intermediate container 228026c73a6f 21:51:35 ---> de9b8c5b2cdd 21:51:35 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:51:35 ---> Running in 86b5db172a08 21:51:35 Removing intermediate container 86b5db172a08 21:51:35 ---> 22c8dbe19486 21:51:35 Step 6/8 : RUN apk add --update --no-cache make git 21:51:36 ---> Running in d683221b4680 21:51:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:51:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:51:37 OK: 149 MiB in 40 packages 21:51:37 Removing intermediate container d683221b4680 21:51:37 ---> 003236b3c0e5 21:51:37 Step 7/8 : COPY . . 21:51:38 ---> 33846bce28ae 21:51:38 Step 8/8 : RUN go mod download 21:51:38 ---> Running in bcaa4ee77bb7 21:52:05 Removing intermediate container bcaa4ee77bb7 21:52:05 ---> 28ed90e555c0 21:52:05 Successfully built 28ed90e555c0 21:52:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:52:05 + docker inspect -f . ci-base-image-x86_64 21:52:05 . [Pipeline] withDockerContainer 21:52:05 prd-centos7-docker-4c-2g-573 does not seem to be running inside a container 21:52:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-x86_64 cat 21:52:06 $ docker top 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:06 + go version 21:52:06 go version go1.16.5 linux/amd64 [Pipeline] } 21:52:06 $ docker stop --time=1 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 21:52:07 $ docker rm -f 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:52:08 + docker inspect -f . ci-base-image-x86_64 21:52:08 . [Pipeline] withDockerContainer 21:52:08 prd-centos7-docker-4c-2g-573 does not seem to be running inside a container 21:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-x86_64 cat 21:52:08 $ docker top 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:09 + go mod tidy [Pipeline] sh 21:52:09 + make test 21:52:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:52:10 ? github.com/edgexfoundry/device-gpio [no test files] 21:52:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:52:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:52:22 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:52:27 gofmt -l . 21:52:27 [ "`gofmt -l .`" = "" ] 21:52:27 ./bin/test-attribution-txt.sh 21:52:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:52:27 $ docker stop --time=1 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc 21:52:29 $ docker rm -f 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc [Pipeline] // withDockerContainer [Pipeline] sh 21:52:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:52:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:52:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:52:31 + ls -al . 21:52:31 total 104 21:52:31 drwxrwxr-x. 7 jenkins jenkins 4096 Jul 29 21:52 . 21:52:31 drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 21:51 .. 21:52:31 -rw-rw-r--. 1 jenkins jenkins 5451 Jul 29 21:51 Attribution.txt 21:52:31 drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 21:51 bin 21:52:31 drwxrwxr-x. 3 jenkins jenkins 32 Jul 29 21:51 cmd 21:52:31 -rw-r--r--. 1 jenkins jenkins 10 Jul 29 21:52 coverage.out 21:52:31 -rw-rw-r--. 1 jenkins jenkins 1502 Jul 29 21:51 Dockerfile 21:52:31 -rw-rw-r--. 1 jenkins jenkins 972 Jul 29 21:51 Dockerfile.build 21:52:31 -rw-rw-r--. 1 jenkins jenkins 120 Jul 29 21:51 .dockerignore 21:52:31 drwxrwxr-x. 8 jenkins jenkins 162 Jul 29 21:51 .git 21:52:31 drwxrwxr-x. 2 jenkins jenkins 81 Jul 29 21:51 .github 21:52:31 -rw-rw-r--. 1 jenkins jenkins 350 Jul 29 21:51 .gitignore 21:52:31 -rw-r--r--. 1 jenkins jenkins 379 Jul 29 21:52 go.mod 21:52:31 -rw-r--r--. 1 jenkins jenkins 30244 Jul 29 21:52 go.sum 21:52:31 drwxrwxr-x. 3 jenkins jenkins 20 Jul 29 21:51 internal 21:52:31 -rw-rw-r--. 1 jenkins jenkins 657 Jul 29 21:51 Jenkinsfile 21:52:31 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 29 21:51 LICENSE 21:52:31 -rw-rw-r--. 1 jenkins jenkins 906 Jul 29 21:51 Makefile 21:52:31 -rw-rw-r--. 1 jenkins jenkins 8048 Jul 29 21:51 README.md 21:52:31 -rw-rw-r--. 1 jenkins jenkins 11 Jul 29 21:48 VERSION 21:52:31 -rw-rw-r--. 1 jenkins jenkins 209 Jul 29 21:51 version.go [Pipeline] isUnix [Pipeline] sh 21:52:32 + 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=e4f5f068f655fee6138b2e5b598b1f79c6216501 --label arch=amd64 --label version=1.0.1-dev.1 . 21:52:32 Sending build context to Docker daemon 5.485MB 21:52:32 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 21:52:32 Step 2/23 : FROM ${BASE} AS builder 21:52:32 ---> 28ed90e555c0 21:52:32 Step 3/23 : ARG MAKE='make build' 21:52:32 ---> Running in 9f8135267f46 21:52:32 Removing intermediate container 9f8135267f46 21:52:32 ---> 8c4c440037e0 21:52:32 Step 4/23 : WORKDIR /device-gpio 21:52:32 ---> Running in b5ad65f312ff 21:52:32 Removing intermediate container b5ad65f312ff 21:52:32 ---> d892e97b9653 21:52:32 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:52:32 ---> Running in a843d2668386 21:52:32 Removing intermediate container a843d2668386 21:52:32 ---> 50a888b67a66 21:52:32 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:52:32 ---> Running in 03c99d02b14c 21:52:32 Removing intermediate container 03c99d02b14c 21:52:32 ---> aab707e702ec 21:52:32 Step 7/23 : RUN apk add --update --no-cache make git 21:52:32 ---> Running in 8b1224640597 21:52:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-574 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 21:52:33 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 21:52:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:52:33 The recommended git tool is: git 21:52:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:52:39 using credential edgex-jenkins-ssh 21:52:39 Cloning the remote Git repository 21:52:39 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:52:39 > git init /w/workspace/device-gpio/2 # timeout=10 21:52:39 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:52:39 > git --version # timeout=10 21:52:39 > git --version # 'git version 2.17.1' 21:52:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:52:40 OK: 149 MiB in 40 packages 21:52:40 Removing intermediate container 8b1224640597 21:52:40 ---> c7a3fe4f7b39 21:52:40 Step 8/23 : COPY . . 21:52:40 ---> 90f7654797b8 21:52:40 Step 9/23 : RUN go mod tidy 21:52:40 ---> Running in 70b3848ff6ff 21:52:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:52:41 Removing intermediate container 70b3848ff6ff 21:52:41 ---> 0cd0b21deaf7 21:52:41 Step 10/23 : RUN ${MAKE} 21:52:41 ---> Running in 4deff280dbc6 21:52:41 go mod tidy 21:52:41 Avoid second fetch 21:52:41 Checking out Revision e4f5f068f655fee6138b2e5b598b1f79c6216501 (main) 21:52:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.1" -o cmd/device-gpio ./cmd 21:52:41 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:52:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:52:41 > git config core.sparsecheckout # timeout=10 21:52:41 > git checkout -f e4f5f068f655fee6138b2e5b598b1f79c6216501 # timeout=10 21:52:45 Commit message: "Merge pull request #5 from soda480/US1907" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:46 provisioning config files... 21:52:46 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config2759713888362616317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:46 ---> docker-login.sh 21:52:46 nexus3.edgexfoundry.org:10001 21:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:48 Configure a credential helper to remove this warning. See 21:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:48 21:52:48 Login Succeeded 21:52:48 nexus3.edgexfoundry.org:10002 21:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:48 Configure a credential helper to remove this warning. See 21:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:48 21:52:48 Login Succeeded 21:52:48 nexus3.edgexfoundry.org:10003 21:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:49 Configure a credential helper to remove this warning. See 21:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:49 21:52:49 Login Succeeded 21:52:49 nexus3.edgexfoundry.org:10004 21:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:49 Configure a credential helper to remove this warning. See 21:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:49 21:52:49 Login Succeeded 21:52:49 docker.io 21:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:50 Configure a credential helper to remove this warning. See 21:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:50 21:52:50 Login Succeeded 21:52:50 ---> docker-login.sh ends [Pipeline] } 21:52:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:52:50 ========================================================= 21:52:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:52:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:52:51 + 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 . 21:52:51 Sending build context to Docker daemon 5.482MB 21:52:51 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 21:52:51 Step 2/8 : FROM ${BASE} AS builder 21:52:51 Removing intermediate container 4deff280dbc6 21:52:51 ---> d8805e693d48 21:52:51 Step 11/23 : FROM scratch 21:52:51 ---> 21:52:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:52:51 ---> Running in f764267aa4fb 21:52:51 Removing intermediate container f764267aa4fb 21:52:51 ---> cc729485133f 21:52:51 Step 13/23 : ENV APP_PORT=49994 21:52:51 ---> Running in 7a1180c73dd0 21:52:51 Removing intermediate container 7a1180c73dd0 21:52:51 ---> 5fae11ffb4b7 21:52:51 Step 14/23 : EXPOSE $APP_PORT 21:52:51 ---> Running in 12121824000b 21:52:51 Removing intermediate container 12121824000b 21:52:51 ---> 9f34dbd93732 21:52:51 Step 15/23 : WORKDIR / 21:52:51 ---> Running in d8f4c7817341 21:52:51 Removing intermediate container d8f4c7817341 21:52:51 ---> 834cab7d52bb 21:52:51 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 21:52:51 ---> 1b0555d5b26f 21:52:51 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 21:52:51 ---> 28a4da8d51e2 21:52:51 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 21:52:51 ---> da33e5e4821d 21:52:51 Step 19/23 : ENTRYPOINT ["/device-gpio"] 21:52:51 ---> Running in 62ea9aedfde9 21:52:51 Removing intermediate container 62ea9aedfde9 21:52:51 ---> e49af5e5cc3e 21:52:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:52:51 ---> Running in ba251b57d5a9 21:52:51 Removing intermediate container ba251b57d5a9 21:52:51 ---> bc9cfeb6d925 21:52:51 Step 21/23 : LABEL arch=amd64 21:52:51 ---> Running in 699c965c8e9c 21:52:51 Removing intermediate container 699c965c8e9c 21:52:51 ---> fc052934f256 21:52:51 Step 22/23 : LABEL git_sha=e4f5f068f655fee6138b2e5b598b1f79c6216501 21:52:51 ---> Running in 19ed3bb34bd5 21:52:51 Removing intermediate container 19ed3bb34bd5 21:52:51 ---> 5c2005216125 21:52:51 Step 23/23 : LABEL version=1.0.1-dev.1 21:52:51 ---> Running in 3183c52bc0fe 21:52:52 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:52:52 595b0fe564bb: Pulling fs layer 21:52:52 24495759ef45: Pulling fs layer 21:52:52 d148012ef14d: Pulling fs layer 21:52:52 cb65c68fc2e2: Pulling fs layer 21:52:52 093eec477d81: Pulling fs layer 21:52:52 a6d5b2bbb924: Pulling fs layer 21:52:52 2446dc1eb7d3: Pulling fs layer 21:52:52 596795e73e0f: Pulling fs layer 21:52:52 a6d5b2bbb924: Waiting 21:52:52 cb65c68fc2e2: Waiting 21:52:52 093eec477d81: Waiting 21:52:52 2446dc1eb7d3: Waiting 21:52:52 596795e73e0f: Waiting 21:52:52 d148012ef14d: Download complete 21:52:52 24495759ef45: Verifying Checksum 21:52:52 24495759ef45: Download complete 21:52:52 093eec477d81: Download complete 21:52:52 a6d5b2bbb924: Verifying Checksum 21:52:52 a6d5b2bbb924: Download complete 21:52:52 595b0fe564bb: Download complete 21:52:52 2446dc1eb7d3: Verifying Checksum 21:52:52 2446dc1eb7d3: Download complete 21:52:52 Removing intermediate container 3183c52bc0fe 21:52:52 ---> ce8d2f7aa0c7 21:52:52 [Warning] One or more build-args [ARCH] were not consumed 21:52:52 Successfully built ce8d2f7aa0c7 21:52:52 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:52 provisioning config files... 21:52:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config5173012825507450338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:52 595b0fe564bb: Pull complete 21:52:52 ---> docker-login.sh 21:52:52 nexus3.edgexfoundry.org:10001 21:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:52 Configure a credential helper to remove this warning. See 21:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:52 21:52:52 Login Succeeded 21:52:52 nexus3.edgexfoundry.org:10002 21:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:53 Configure a credential helper to remove this warning. See 21:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:53 21:52:53 Login Succeeded 21:52:53 nexus3.edgexfoundry.org:10003 21:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:53 Configure a credential helper to remove this warning. See 21:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:53 21:52:53 Login Succeeded 21:52:53 nexus3.edgexfoundry.org:10004 21:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:53 Configure a credential helper to remove this warning. See 21:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:53 21:52:53 Login Succeeded 21:52:53 docker.io 21:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:53 24495759ef45: Pull complete 21:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:53 Configure a credential helper to remove this warning. See 21:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:53 21:52:53 Login Succeeded 21:52:53 ---> docker-login.sh ends [Pipeline] } 21:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:52:53 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 21:52:53 e4f5f068f655fee6138b2e5b598b1f79c6216501 21:52:53 latest 21:52:53 1.0.1-dev.1 21:52:53 e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:52:53 main 21:52:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:52:54 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh 21:52:54 d148012ef14d: Pull complete 21:52:54 + docker push nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 21:52:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:52:54 596795e73e0f: Verifying Checksum 21:52:55 194d49da222b: Preparing 21:52:55 54cb94a71318: Preparing 21:52:55 195e9f2a3c41: Preparing 21:52:55 195e9f2a3c41: Pushed 21:52:55 54cb94a71318: Pushed 21:52:55 cb65c68fc2e2: Verifying Checksum 21:52:55 cb65c68fc2e2: Download complete 21:52:56 194d49da222b: Pushed 21:52:56 e4f5f068f655fee6138b2e5b598b1f79c6216501: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh 21:52:57 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh 21:52:57 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 21:52:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:53:03 194d49da222b: Preparing 21:53:03 54cb94a71318: Preparing 21:53:03 195e9f2a3c41: Preparing 21:53:03 194d49da222b: Layer already exists 21:53:03 195e9f2a3c41: Layer already exists 21:53:03 54cb94a71318: Layer already exists 21:53:03 latest: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh 21:53:03 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 21:53:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 21:53:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:53:04 194d49da222b: Preparing 21:53:04 54cb94a71318: Preparing 21:53:04 195e9f2a3c41: Preparing 21:53:04 194d49da222b: Layer already exists 21:53:04 54cb94a71318: Layer already exists 21:53:04 195e9f2a3c41: Layer already exists 21:53:04 1.0.1-dev.1: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh 21:53:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 21:53:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:53:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:53:04 194d49da222b: Preparing 21:53:04 54cb94a71318: Preparing 21:53:04 195e9f2a3c41: Preparing 21:53:04 54cb94a71318: Layer already exists 21:53:04 195e9f2a3c41: Layer already exists 21:53:04 194d49da222b: Layer already exists 21:53:04 e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh 21:53:05 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh 21:53:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 21:53:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 21:53:05 194d49da222b: Preparing 21:53:05 54cb94a71318: Preparing 21:53:05 195e9f2a3c41: Preparing 21:53:05 195e9f2a3c41: Layer already exists 21:53:05 194d49da222b: Layer already exists 21:53:05 54cb94a71318: Layer already exists 21:53:05 main: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:53:05 ===================================================== [Pipeline] echo 21:53:05 taggedImages: 21:53:05 - nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 21:53:05 - nexus3.edgexfoundry.org:10004/device-gpio:latest 21:53:05 - nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 21:53:05 - nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:53:05 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 21:53:06 cb65c68fc2e2: Pull complete 21:53:06 093eec477d81: Pull complete 21:53:06 a6d5b2bbb924: Pull complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:53:06 2446dc1eb7d3: Pull complete 21:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:06 21:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:53:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:06 latest: Pulling from edgex-lftools-log-publisher 21:53:06 b4d181a07f80: Pulling fs layer 21:53:06 a1111a8f2ec3: Pulling fs layer 21:53:06 ed53099fbce6: Pulling fs layer 21:53:06 dc539afda2c1: Pulling fs layer 21:53:06 77bc0d833cb6: Pulling fs layer 21:53:06 9065ff56babe: Pulling fs layer 21:53:06 d287ab97295c: Pulling fs layer 21:53:06 77bc0d833cb6: Waiting 21:53:06 9065ff56babe: Waiting 21:53:06 d287ab97295c: Waiting 21:53:06 dc539afda2c1: Waiting 21:53:07 a1111a8f2ec3: Verifying Checksum 21:53:07 a1111a8f2ec3: Download complete 21:53:07 dc539afda2c1: Verifying Checksum 21:53:07 dc539afda2c1: Download complete 21:53:07 77bc0d833cb6: Verifying Checksum 21:53:07 77bc0d833cb6: Download complete 21:53:07 9065ff56babe: Verifying Checksum 21:53:07 9065ff56babe: Download complete 21:53:07 ed53099fbce6: Verifying Checksum 21:53:07 ed53099fbce6: Download complete 21:53:08 b4d181a07f80: Verifying Checksum 21:53:08 b4d181a07f80: Download complete 21:53:09 b4d181a07f80: Pull complete 21:53:09 a1111a8f2ec3: Pull complete 21:53:10 ed53099fbce6: Pull complete 21:53:10 dc539afda2c1: Pull complete 21:53:10 77bc0d833cb6: Pull complete 21:53:10 9065ff56babe: Pull complete 21:53:10 596795e73e0f: Pull complete 21:53:10 Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 21:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:53:10 ---> d9e956139c92 21:53:10 Step 3/8 : WORKDIR /device-gpio 21:53:14 ---> Running in 78e123815ed6 21:53:15 Removing intermediate container 78e123815ed6 21:53:15 ---> 3d289d009b55 21:53:15 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:53:15 ---> Running in 8b427db1e5bf 21:53:15 d287ab97295c: Verifying Checksum 21:53:15 d287ab97295c: Download complete 21:53:16 Removing intermediate container 8b427db1e5bf 21:53:16 ---> 52281f985d18 21:53:16 Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:53:16 ---> Running in 27e4dfdced7f 21:53:19 Removing intermediate container 27e4dfdced7f 21:53:19 ---> ce81a08b5bbb 21:53:19 Step 6/8 : RUN apk add --update --no-cache make git 21:53:19 d287ab97295c: Pull complete 21:53:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:53:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:53:19 prd-centos7-docker-4c-2g-573 does not seem to be running inside a container 21:53:19 ---> Running in bc7183142814 21:53:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:53:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:53:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:53:22 OK: 138 MiB in 40 packages 21:53:23 $ docker top e420b1fe6c2a113f0b33a9b1a6efec204ec67cb6947b60686149461d00682c1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:53:24 ---> job-cost.sh 21:53:24 lf-activate-venv: SKIPPING 21:53:24 INFO: No Stack... 21:53:24 Removing intermediate container bc7183142814 21:53:24 ---> 6f245bf87a21 21:53:24 Step 7/8 : COPY . . 21:53:24 INFO: Retrieving Pricing Info for: v3-standard-2 21:53:25 INFO: Archiving Costs [Pipeline] sh 21:53:25 ---> 1038738d0749 21:53:25 Step 8/8 : RUN go mod download 21:53:25 + cat /w/workspace/device-gpio/2/archives/cost.csv 21:53:25 + cut -d, -f6 21:53:25 ---> Running in 7c1345518873 [Pipeline] lock 21:53:25 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] 21:53:25 Resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] did not exist. Created. 21:53:25 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:53:26 + echo total: 0.05999999865889549 [Pipeline] stash 21:53:26 Stashed 1 file(s) [Pipeline] } 21:53:26 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:53:26 $ docker stop --time=1 e420b1fe6c2a113f0b33a9b1a6efec204ec67cb6947b60686149461d00682c1b 21:53:27 $ docker rm -f e420b1fe6c2a113f0b33a9b1a6efec204ec67cb6947b60686149461d00682c1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:54:22 Removing intermediate container 7c1345518873 21:54:22 ---> 6e62affbd40a 21:54:22 Successfully built 6e62affbd40a 21:54:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:54:22 + docker inspect -f . ci-base-image-arm64 21:54:22 . [Pipeline] withDockerContainer 21:54:22 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 21:54:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-arm64 cat 21:54:24 $ docker top 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:25 + go version 21:54:25 go version go1.16.5 linux/arm64 [Pipeline] } 21:54:25 $ docker stop --time=1 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 21:54:28 $ docker rm -f 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:54:28 + docker inspect -f . ci-base-image-arm64 21:54:28 . [Pipeline] withDockerContainer 21:54:29 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 21:54:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** ci-base-image-arm64 cat 21:54:31 $ docker top a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:54:32 + go mod tidy [Pipeline] sh 21:54:33 + make test 21:54:33 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:54:34 ? github.com/edgexfoundry/device-gpio [no test files] 21:55:21 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:55:21 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:55:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 21:55:39 gofmt -l . 21:55:39 [ "`gofmt -l .`" = "" ] 21:55:39 ./bin/test-attribution-txt.sh 21:55:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:55:41 $ docker stop --time=1 a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 21:55:44 $ docker rm -f a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 [Pipeline] // withDockerContainer [Pipeline] sh 21:55:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:55:45 Warning: overwriting stash ‘coverage-report’ 21:55:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:55:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:55:46 + ls -al . 21:55:46 total 128 21:55:46 drwxrwxr-x 7 jenkins jenkins 4096 Jul 29 21:55 . 21:55:46 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 21:52 .. 21:55:46 -rw-rw-r-- 1 jenkins jenkins 120 Jul 29 21:52 .dockerignore 21:55:46 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 21:52 .git 21:55:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:52 .github 21:55:46 -rw-rw-r-- 1 jenkins jenkins 350 Jul 29 21:52 .gitignore 21:55:46 -rw-rw-r-- 1 jenkins jenkins 5451 Jul 29 21:52 Attribution.txt 21:55:46 -rw-rw-r-- 1 jenkins jenkins 1502 Jul 29 21:52 Dockerfile 21:55:46 -rw-rw-r-- 1 jenkins jenkins 972 Jul 29 21:52 Dockerfile.build 21:55:46 -rw-rw-r-- 1 jenkins jenkins 657 Jul 29 21:52 Jenkinsfile 21:55:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 29 21:52 LICENSE 21:55:46 -rw-rw-r-- 1 jenkins jenkins 906 Jul 29 21:52 Makefile 21:55:46 -rw-rw-r-- 1 jenkins jenkins 8048 Jul 29 21:52 README.md 21:55:46 -rw-rw-r-- 1 jenkins jenkins 11 Jul 29 21:48 VERSION 21:55:46 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:52 bin 21:55:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:52 cmd 21:55:46 -rw-r--r-- 1 jenkins jenkins 10 Jul 29 21:54 coverage.out 21:55:46 -rw-r--r-- 1 jenkins jenkins 379 Jul 29 21:55 go.mod 21:55:46 -rw-r--r-- 1 jenkins jenkins 30244 Jul 29 21:54 go.sum 21:55:46 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:52 internal 21:55:46 -rw-rw-r-- 1 jenkins jenkins 209 Jul 29 21:52 version.go [Pipeline] isUnix [Pipeline] sh 21:55:46 + 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=e4f5f068f655fee6138b2e5b598b1f79c6216501 --label arch=arm64 --label version=1.0.1-dev.1 . 21:55:47 Sending build context to Docker daemon 5.484MB 21:55:47 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 21:55:47 Step 2/23 : FROM ${BASE} AS builder 21:55:47 ---> 6e62affbd40a 21:55:47 Step 3/23 : ARG MAKE='make build' 21:55:47 ---> Running in 3882dc7f3f1f 21:55:48 Removing intermediate container 3882dc7f3f1f 21:55:48 ---> 202e0c7ac81d 21:55:48 Step 4/23 : WORKDIR /device-gpio 21:55:48 ---> Running in a3662233b5c5 21:55:48 Removing intermediate container a3662233b5c5 21:55:48 ---> 351c82b4a7fe 21:55:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:55:49 ---> Running in f8c373e3a982 21:55:49 Removing intermediate container f8c373e3a982 21:55:49 ---> 472a925c7d45 21:55:49 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:55:49 ---> Running in 95a3a251712e 21:55:52 Removing intermediate container 95a3a251712e 21:55:52 ---> 761e33ba6ddd 21:55:52 Step 7/23 : RUN apk add --update --no-cache make git 21:55:52 ---> Running in fd72b87dc9fc 21:55:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:55:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:55:56 OK: 138 MiB in 40 packages 21:55:57 Removing intermediate container fd72b87dc9fc 21:55:57 ---> 51702829f46b 21:55:57 Step 8/23 : COPY . . 21:55:58 ---> 6c27e2941731 21:55:58 Step 9/23 : RUN go mod tidy 21:55:58 ---> Running in abd5845b44e6 21:56:01 Removing intermediate container abd5845b44e6 21:56:01 ---> a8cc559a7913 21:56:01 Step 10/23 : RUN ${MAKE} 21:56:02 ---> Running in 7e56513ccffc 21:56:03 go mod tidy 21:56:03 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.1" -o cmd/device-gpio ./cmd 21:56:43 Removing intermediate container 7e56513ccffc 21:56:43 ---> 2c65145f987c 21:56:43 Step 11/23 : FROM scratch 21:56:43 ---> 21:56:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:56:43 ---> Running in f8ba51a7149b 21:56:43 Removing intermediate container f8ba51a7149b 21:56:43 ---> 288343293899 21:56:43 Step 13/23 : ENV APP_PORT=49994 21:56:43 ---> Running in 0ae0c5f5ad6a 21:56:43 Removing intermediate container 0ae0c5f5ad6a 21:56:43 ---> 7858987f6c2f 21:56:43 Step 14/23 : EXPOSE $APP_PORT 21:56:43 ---> Running in 4bc4f0a8b973 21:56:43 Removing intermediate container 4bc4f0a8b973 21:56:43 ---> e997466fa7e2 21:56:43 Step 15/23 : WORKDIR / 21:56:43 ---> Running in 4322653feaf9 21:56:43 Removing intermediate container 4322653feaf9 21:56:43 ---> 175451688506 21:56:43 Step 16/23 : COPY --from=builder /device-gpio/LICENSE / 21:56:43 ---> 9f28186dcfc5 21:56:43 Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / 21:56:43 ---> 8d841357f242 21:56:43 Step 18/23 : COPY --from=builder /device-gpio/cmd/ / 21:56:43 ---> 76d6d0eb3edd 21:56:43 Step 19/23 : ENTRYPOINT ["/device-gpio"] 21:56:43 ---> Running in 34409e898d18 21:56:43 Removing intermediate container 34409e898d18 21:56:43 ---> ad47fa19a8b8 21:56:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:56:43 ---> Running in 1ac971c7e223 21:56:44 Removing intermediate container 1ac971c7e223 21:56:44 ---> d51f94af798e 21:56:44 Step 21/23 : LABEL arch=arm64 21:56:44 ---> Running in 79b8d74ae824 21:56:45 Removing intermediate container 79b8d74ae824 21:56:45 ---> 269fd688f014 21:56:45 Step 22/23 : LABEL git_sha=e4f5f068f655fee6138b2e5b598b1f79c6216501 21:56:45 ---> Running in 45e285ec066a 21:56:45 Removing intermediate container 45e285ec066a 21:56:45 ---> b0ec144d2d0e 21:56:45 Step 23/23 : LABEL version=1.0.1-dev.1 21:56:46 ---> Running in 6b5ff3029ea4 21:56:46 Removing intermediate container 6b5ff3029ea4 21:56:46 ---> e3b39d04f4d7 21:56:46 [Warning] One or more build-args [ARCH] were not consumed 21:56:46 Successfully built e3b39d04f4d7 21:56:46 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:47 provisioning config files... 21:56:47 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8205140363880239747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:47 ---> docker-login.sh 21:56:47 nexus3.edgexfoundry.org:10001 21:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:48 Configure a credential helper to remove this warning. See 21:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:48 21:56:48 Login Succeeded 21:56:48 nexus3.edgexfoundry.org:10002 21:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:48 Configure a credential helper to remove this warning. See 21:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:48 21:56:48 Login Succeeded 21:56:48 nexus3.edgexfoundry.org:10003 21:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:49 Configure a credential helper to remove this warning. See 21:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:49 21:56:49 Login Succeeded 21:56:49 nexus3.edgexfoundry.org:10004 21:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:49 Configure a credential helper to remove this warning. See 21:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:49 21:56:49 Login Succeeded 21:56:49 docker.io 21:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:50 Configure a credential helper to remove this warning. See 21:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:50 21:56:50 Login Succeeded 21:56:50 ---> docker-login.sh ends [Pipeline] } 21:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:56:50 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 21:56:50 e4f5f068f655fee6138b2e5b598b1f79c6216501 21:56:50 latest 21:56:50 1.0.1-dev.1 21:56:50 e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:56:50 main 21:56:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:56:51 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh 21:56:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 21:56:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:56:51 f83b74ab0bdf: Preparing 21:56:51 910d222bc83f: Preparing 21:56:51 c415d7fb587c: Preparing 21:56:51 c415d7fb587c: Pushed 21:56:51 910d222bc83f: Pushed 21:56:54 f83b74ab0bdf: Pushed 21:56:54 e4f5f068f655fee6138b2e5b598b1f79c6216501: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh 21:56:55 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:56:55 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 21:56:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:56:55 f83b74ab0bdf: Preparing 21:56:55 910d222bc83f: Preparing 21:56:55 c415d7fb587c: Preparing 21:56:55 910d222bc83f: Layer already exists 21:56:55 f83b74ab0bdf: Layer already exists 21:56:55 c415d7fb587c: Layer already exists 21:56:55 latest: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh 21:56:56 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 21:56:56 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 21:56:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:56:56 f83b74ab0bdf: Preparing 21:56:56 910d222bc83f: Preparing 21:56:56 c415d7fb587c: Preparing 21:56:56 910d222bc83f: Layer already exists 21:56:56 c415d7fb587c: Layer already exists 21:56:56 f83b74ab0bdf: Layer already exists 21:56:56 1.0.1-dev.1: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh 21:56:57 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 21:56:57 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:56:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:56:57 f83b74ab0bdf: Preparing 21:56:57 910d222bc83f: Preparing 21:56:57 c415d7fb587c: Preparing 21:56:57 f83b74ab0bdf: Layer already exists 21:56:57 c415d7fb587c: Layer already exists 21:56:57 910d222bc83f: Layer already exists 21:56:57 e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh 21:56:58 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh 21:56:58 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 21:56:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 21:56:58 f83b74ab0bdf: Preparing 21:56:58 910d222bc83f: Preparing 21:56:58 c415d7fb587c: Preparing 21:56:58 f83b74ab0bdf: Layer already exists 21:56:58 910d222bc83f: Layer already exists 21:56:58 c415d7fb587c: Layer already exists 21:56:58 main: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:56:58 ===================================================== [Pipeline] echo 21:56:58 taggedImages: 21:56:58 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 21:56:58 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 21:56:58 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 21:56:58 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 21:56:58 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:56:59 21:56:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:56:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:00 arm64: Pulling from edgex-lftools-log-publisher 21:57:00 448f6bf000e3: Pulling fs layer 21:57:00 f757da607395: Pulling fs layer 21:57:00 05883995daec: Pulling fs layer 21:57:00 8603b9c90790: Pulling fs layer 21:57:00 1560dd03e051: Pulling fs layer 21:57:00 27f5ce0e4adf: Pulling fs layer 21:57:00 c2d8d7efcc4b: Pulling fs layer 21:57:00 8603b9c90790: Waiting 21:57:00 1560dd03e051: Waiting 21:57:00 27f5ce0e4adf: Waiting 21:57:00 c2d8d7efcc4b: Waiting 21:57:00 f757da607395: Verifying Checksum 21:57:00 8603b9c90790: Verifying Checksum 21:57:00 8603b9c90790: Download complete 21:57:00 1560dd03e051: Verifying Checksum 21:57:00 1560dd03e051: Download complete 21:57:00 27f5ce0e4adf: Verifying Checksum 21:57:00 27f5ce0e4adf: Download complete 21:57:00 05883995daec: Verifying Checksum 21:57:00 05883995daec: Download complete 21:57:01 448f6bf000e3: Verifying Checksum 21:57:01 448f6bf000e3: Download complete 21:57:05 c2d8d7efcc4b: Verifying Checksum 21:57:05 c2d8d7efcc4b: Download complete 21:57:05 448f6bf000e3: Pull complete 21:57:05 f757da607395: Pull complete 21:57:07 05883995daec: Pull complete 21:57:07 8603b9c90790: Pull complete 21:57:08 1560dd03e051: Pull complete 21:57:09 27f5ce0e4adf: Pull complete 21:57:24 c2d8d7efcc4b: Pull complete 21:57:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:57:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:57:24 prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container 21:57:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:57:29 $ docker top c22a8c05021adf677aa724d7232d2b316d02e076f01d32488fd9c135c999b6c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:29 ---> job-cost.sh 21:57:29 lf-activate-venv: SKIPPING 21:57:29 INFO: No Stack... 21:57:30 INFO: Retrieving Pricing Info for: v2-standard-4 21:57:31 INFO: Archiving Costs [Pipeline] sh 21:57:31 + cut -d, -f6 21:57:31 + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock 21:57:31 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] 21:57:32 Resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] did not exist. Created. 21:57:32 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:32 /w/workspace/device-gpio/2@tmp/durable-de4a0340/script.sh: 1: /w/workspace/device-gpio/2@tmp/durable-de4a0340/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:57:33 + echo total: 0.18000000715255737 [Pipeline] stash 21:57:33 Warning: overwriting stash ‘stack-cost’ 21:57:33 Stashed 1 file(s) [Pipeline] } 21:57:33 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:33 $ docker stop --time=1 c22a8c05021adf677aa724d7232d2b316d02e076f01d32488fd9c135c999b6c5 21:57:35 $ docker rm -f c22a8c05021adf677aa724d7232d2b316d02e076f01d32488fd9c135c999b6c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:57:35 provisioning config files... 21:57:35 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6697793604152650302tmp [Pipeline] { [Pipeline] sh 21:57:36 + set +x 21:57:36 + curl -s https://codecov.io/bash 21:57:36 + bash -s -- 21:57:36 21:57:36 _____ _ 21:57:36 / ____| | | 21:57:36 | | ___ __| | ___ ___ _____ __ 21:57:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:57:36 | |___| (_) | (_| | __/ (_| (_) \ V / 21:57:36 \_____\___/ \__,_|\___|\___\___/ \_/ 21:57:36 Bash-1.0.6 21:57:36 21:57:36 21:57:36 ==> git version 2.24.4 found 21:57:36 ==> 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 21:57:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:57:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:57:36 ==> Jenkins CI detected. 21:57:36 current dir:  /w/workspace/edgexfoundry_device-gpio_main 21:57:36 project root: . 21:57:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:57:36 ==> Running gcov in . (disable via -X gcov) 21:57:36 ==> Python coveragepy not found 21:57:36 ==> Searching for coverage reports in: 21:57:36 + . 21:57:36 -> Found 1 reports 21:57:36 ==> Detecting git/mercurial file structure 21:57:36 ==> Reading reports 21:57:36 + ./coverage.out bytes=10 21:57:36 ==> Appending adjustments 21:57:36 https://docs.codecov.io/docs/fixing-reports 21:57:36 + Found adjustments 21:57:36 ==> Gzipping contents 21:57:36 4.0K /tmp/codecov.OpRbSw.gz 21:57:36 ==> Uploading reports 21:57:36 url: https://codecov.io 21:57:36 query: branch=main&commit=e4f5f068f655fee6138b2e5b598b1f79c6216501&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 21:57:36 -> Pinging Codecov 21:57:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=&branch=main&commit=e4f5f068f655fee6138b2e5b598b1f79c6216501&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 21:57:36 {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} 21:57:36 404 21:57:36 ==> Uploading to Codecov 21:57:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:57:36 Dload Upload Total Spent Left Speed 21:57:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 751 100 169 100 582 778 2682 --:--:-- --:--:-- --:--:-- 2694 21:57:36 {'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] } 21:57:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:57:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:57:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:37 21:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:37 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:57:37 188c0c94c7c5: Pulling fs layer 21:57:37 0ef7d3d256c8: Pulling fs layer 21:57:37 de9db76c5a1d: Pulling fs layer 21:57:37 0eba1c9be4d2: Pulling fs layer 21:57:37 0d57e429df01: Pulling fs layer 21:57:37 4e4be7b47b0d: Pulling fs layer 21:57:37 e1f770b5df2f: Pulling fs layer 21:57:37 85a0685a4137: Pulling fs layer 21:57:37 0d57e429df01: Waiting 21:57:37 4e4be7b47b0d: Waiting 21:57:37 e1f770b5df2f: Waiting 21:57:37 85a0685a4137: Waiting 21:57:37 0eba1c9be4d2: Waiting 21:57:37 de9db76c5a1d: Verifying Checksum 21:57:37 de9db76c5a1d: Download complete 21:57:37 0ef7d3d256c8: Verifying Checksum 21:57:37 0ef7d3d256c8: Download complete 21:57:37 0d57e429df01: Verifying Checksum 21:57:37 0d57e429df01: Download complete 21:57:37 4e4be7b47b0d: Verifying Checksum 21:57:37 4e4be7b47b0d: Download complete 21:57:38 188c0c94c7c5: Verifying Checksum 21:57:38 188c0c94c7c5: Pull complete 21:57:38 0ef7d3d256c8: Pull complete 21:57:38 de9db76c5a1d: Pull complete 21:57:39 e1f770b5df2f: Verifying Checksum 21:57:39 e1f770b5df2f: Download complete 21:57:42 85a0685a4137: Verifying Checksum 21:57:42 85a0685a4137: Download complete 21:57:42 0eba1c9be4d2: Verifying Checksum 21:57:42 0eba1c9be4d2: Download complete 21:57:46 0eba1c9be4d2: Pull complete 21:57:46 0d57e429df01: Pull complete 21:57:46 4e4be7b47b0d: Pull complete 21:57:46 e1f770b5df2f: Pull complete 21:57:49 85a0685a4137: Pull complete 21:57:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:57:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:57:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:57:50 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:57:52 $ docker top c13e072693c9631471bf6b925caa3c657e08e485bf35a47bb8b42f9fce761daf -eo pid,comm [Pipeline] { [Pipeline] echo 21:57:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:57:52 + set -o pipefail 21:57:52 + snyk monitor '--org=edgex-jenkins' 21:58:10 21:58:10 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 21:58:10 21:58:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/2c88b842-5315-4199-bf6e-795347206a18 21:58:10 21:58:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:58:10 21:58:10 [Pipeline] } 21:58:10 $ docker stop --time=1 c13e072693c9631471bf6b925caa3c657e08e485bf35a47bb8b42f9fce761daf 21:58:12 $ docker rm -f c13e072693c9631471bf6b925caa3c657e08e485bf35a47bb8b42f9fce761daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:58:13 + git log --format=format:%s -1 e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh 21:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:13 . [Pipeline] withDockerContainer 21:58:13 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:58:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 21:58:14 $ docker top b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:14 [ssh-agent] Looking for ssh-agent implementation... 21:58:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:14 $ docker exec b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 ssh-agent 21:58:14 SSH_AUTH_SOCK=/tmp/ssh-aY9uKW6wTdOI/agent.15 21:58:14 SSH_AGENT_PID=21 21:58:14 Running ssh-add (command line suppressed) 21:58:14 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1383687335120421329.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1383687335120421329.key) 21:58:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:15 + git semver tag 21:58:15 # -> Open(): unable to determine branch for HEAD 21:58:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 21:58:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 21:58:15 # $SEMVER_REMOTE_NAME = origin 21:58:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:58:15 # $SEMVER_USER_NAME = edgex-jenkins 21:58:15 # $SEMVER_BRANCH = main 21:58:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 21:58:15 # e4f5f068f655fee6138b2e5b598b1f79c6216501 HEAD 21:58:15 # -> Force: false 21:58:15 # 6209620f721b5ce190a412af5c58ccab07496733 refs/tags/v1.0.1-dev.1 [Pipeline] } 21:58:15 $ docker exec --env ******** --env ******** b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 ssh-agent -k 21:58:15 unset SSH_AUTH_SOCK; 21:58:15 unset SSH_AGENT_PID; 21:58:15 echo Agent pid 21 killed; 21:58:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:15 + git semver [Pipeline] } 21:58:15 $ docker stop --time=1 b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 21:58:16 $ docker rm -f b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:17 21:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:17 0.23.1-centos7: Pulling from edgex-lftools 21:58:17 ab5ef0e58194: Pulling fs layer 21:58:17 9712f1f96733: Pulling fs layer 21:58:17 63f879dbbcfc: Pulling fs layer 21:58:17 0d9ebad4ef96: Pulling fs layer 21:58:17 e9a5061849ea: Pulling fs layer 21:58:17 d747dcd14b5f: Pulling fs layer 21:58:17 2de7ff778b66: Pulling fs layer 21:58:17 0d9ebad4ef96: Waiting 21:58:17 e9a5061849ea: Waiting 21:58:17 d747dcd14b5f: Waiting 21:58:17 2de7ff778b66: Waiting 21:58:17 9712f1f96733: Verifying Checksum 21:58:17 9712f1f96733: Download complete 21:58:20 63f879dbbcfc: Verifying Checksum 21:58:20 63f879dbbcfc: Download complete 21:58:20 e9a5061849ea: Verifying Checksum 21:58:20 e9a5061849ea: Download complete 21:58:20 d747dcd14b5f: Verifying Checksum 21:58:20 d747dcd14b5f: Download complete 21:58:20 2de7ff778b66: Verifying Checksum 21:58:20 2de7ff778b66: Download complete 21:58:21 0d9ebad4ef96: Verifying Checksum 21:58:21 0d9ebad4ef96: Download complete 21:58:21 ab5ef0e58194: Verifying Checksum 21:58:21 ab5ef0e58194: Download complete 21:58:24 ab5ef0e58194: Pull complete 21:58:24 9712f1f96733: Pull complete 21:58:24 63f879dbbcfc: Pull complete 21:58:28 0d9ebad4ef96: Pull complete 21:58:28 e9a5061849ea: Pull complete 21:58:28 d747dcd14b5f: Pull complete 21:58:29 2de7ff778b66: Pull complete 21:58:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:58:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:58:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:58:29 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:58:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:58:32 $ docker top 54896c416c7d90a55a6d0cec9a417f802c52fd083ada9f9cfc9f11d6c56c4d2c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:58:32 provisioning config files... 21:58:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config726091669986100552tmp 21:58:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2524493934536675204tmp 21:58:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2046637231980081087tmp [Pipeline] { [Pipeline] echo 21:58:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:58:33 ---> sigul-configuration.sh 21:58:33 gpg: directory `/root/.gnupg' created 21:58:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:58:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:58:33 gpg: keyring `/root/.gnupg/secring.gpg' created 21:58:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:58:33 gpg: CAST5 encrypted data 21:58:33 gpg: encrypted with 1 passphrase 21:58:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:58:33 + mkdir /home/jenkins 21:58:33 + mkdir /home/jenkins/sigul [Pipeline] sh 21:58:33 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:58:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:58:34 ---> sigul-install.sh 21:58:34 Sigul already installed; skipping installation. [Pipeline] sh 21:58:34 + git tag --list 21:58:34 v0.0.0 21:58:34 v1.0.0 21:58:34 v1.0.1-dev.1 [Pipeline] sh 21:58:34 + lftools sign git-tag v1.0.1-dev.1 21:58:35 Signing Git tag with Sigul... 21:58:35 Signing v1.0.1-dev.1 [Pipeline] echo 21:58:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:58:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:58:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:58:36 $ docker stop --time=1 54896c416c7d90a55a6d0cec9a417f802c52fd083ada9f9cfc9f11d6c56c4d2c 21:58:37 $ docker rm -f 54896c416c7d90a55a6d0cec9a417f802c52fd083ada9f9cfc9f11d6c56c4d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 21:58:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:38 . [Pipeline] withDockerContainer 21:58:38 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 21:58:38 $ docker top 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:38 [ssh-agent] Looking for ssh-agent implementation... 21:58:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:38 $ docker exec 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 ssh-agent 21:58:38 SSH_AUTH_SOCK=/tmp/ssh-5wmQ6WIz6nrG/agent.15 21:58:38 SSH_AGENT_PID=21 21:58:38 Running ssh-add (command line suppressed) 21:58:38 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3447404490422726271.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3447404490422726271.key) 21:58:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:39 + git semver bump pre 21:58:39 # -> Open(): unable to determine branch for HEAD 21:58:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 21:58:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 21:58:39 # $SEMVER_REMOTE_NAME = origin 21:58:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:58:39 # $SEMVER_USER_NAME = edgex-jenkins 21:58:39 # $SEMVER_BRANCH = main 21:58:39 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver 21:58:39 1.0.1-dev.2 [Pipeline] } 21:58:39 $ docker exec --env ******** --env ******** 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 ssh-agent -k 21:58:39 unset SSH_AUTH_SOCK; 21:58:39 unset SSH_AGENT_PID; 21:58:39 echo Agent pid 21 killed; 21:58:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:39 + git semver [Pipeline] } 21:58:39 $ docker stop --time=1 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 21:58:41 $ docker rm -f 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:41 . [Pipeline] withDockerContainer 21:58:41 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:58:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 21:58:41 $ docker top a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:42 [ssh-agent] Looking for ssh-agent implementation... 21:58:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:42 $ docker exec a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 ssh-agent 21:58:42 SSH_AUTH_SOCK=/tmp/ssh-gBNn5fo2mqGF/agent.14 21:58:42 SSH_AGENT_PID=20 21:58:42 Running ssh-add (command line suppressed) 21:58:42 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5079888837871357320.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5079888837871357320.key) 21:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:42 + git semver push 21:58:42 # -> Open(): unable to determine branch for HEAD 21:58:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git 21:58:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main 21:58:42 # $SEMVER_REMOTE_NAME = origin 21:58:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:58:42 # $SEMVER_USER_NAME = edgex-jenkins 21:58:42 # $SEMVER_BRANCH = main 21:58:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } 21:58:49 $ docker exec --env ******** --env ******** a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 ssh-agent -k 21:58:49 unset SSH_AUTH_SOCK; 21:58:49 unset SSH_AGENT_PID; 21:58:49 echo Agent pid 20 killed; 21:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:50 + git semver [Pipeline] } 21:58:50 $ docker stop --time=1 a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 21:58:51 $ docker rm -f a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 21:58:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:58:52 ---> package-listing.sh 21:58:52 ++ facter osfamily 21:58:52 ++ tr '[:upper:]' '[:lower:]' 21:58:53 + OS_FAMILY=redhat 21:58:53 + workspace=/w/workspace/edgexfoundry_device-gpio_main 21:58:53 + START_PACKAGES=/tmp/packages_start.txt 21:58:53 + END_PACKAGES=/tmp/packages_end.txt 21:58:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:58:53 + PACKAGES=/tmp/packages_start.txt 21:58:53 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 21:58:53 + PACKAGES=/tmp/packages_end.txt 21:58:53 + case "${OS_FAMILY}" in 21:58:53 + rpm -qa 21:58:53 + sort 21:58:53 + '[' -f /tmp/packages_start.txt ']' 21:58:53 + '[' -f /tmp/packages_end.txt ']' 21:58:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:58:53 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 21:58:53 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 21:58:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 21:58:53 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:58:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:58:54 21:58:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:58:55 latest: Pulling from edgex-lftools-log-publisher 21:58:55 b4d181a07f80: Pulling fs layer 21:58:55 a1111a8f2ec3: Pulling fs layer 21:58:55 ed53099fbce6: Pulling fs layer 21:58:55 dc539afda2c1: Pulling fs layer 21:58:55 77bc0d833cb6: Pulling fs layer 21:58:55 9065ff56babe: Pulling fs layer 21:58:55 d287ab97295c: Pulling fs layer 21:58:55 dc539afda2c1: Waiting 21:58:55 77bc0d833cb6: Waiting 21:58:55 9065ff56babe: Waiting 21:58:55 d287ab97295c: Waiting 21:58:55 a1111a8f2ec3: Verifying Checksum 21:58:55 a1111a8f2ec3: Download complete 21:58:55 dc539afda2c1: Download complete 21:58:55 ed53099fbce6: Verifying Checksum 21:58:55 ed53099fbce6: Download complete 21:58:55 9065ff56babe: Verifying Checksum 21:58:55 9065ff56babe: Download complete 21:58:55 77bc0d833cb6: Verifying Checksum 21:58:55 77bc0d833cb6: Download complete 21:58:57 b4d181a07f80: Verifying Checksum 21:58:57 b4d181a07f80: Download complete 21:58:58 b4d181a07f80: Pull complete 21:58:58 a1111a8f2ec3: Pull complete 21:58:58 ed53099fbce6: Pull complete 21:58:58 dc539afda2c1: Pull complete 21:58:59 77bc0d833cb6: Pull complete 21:58:59 9065ff56babe: Pull complete 21:59:03 d287ab97295c: Verifying Checksum 21:59:03 d287ab97295c: Download complete 21:59:07 d287ab97295c: Pull complete 21:59:07 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:59:07 prd-centos7-docker-4c-2g-562 does not seem to be running inside a container 21:59:07 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:59:10 $ docker top 9aabe52f9c5dae334af3d3d18f1b562efc060d7742696588cfeb958625252367 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:10 + touch /tmp/pre-build-complete [Pipeline] sh 21:59:10 + mkdir -p /var/log/sysstat [Pipeline] sh 21:59:11 + ls /var/log/sa-host 21:59:11 + sadf -c /var/log/sa-host/sa05 21:59:11 file_magic: OK 21:59:11 HZ: Using current value: 100 21:59:11 file_header: OK 21:59:11 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 21:59:11 Statistics: 21:59:11 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:59:11 File successfully converted to sysstat format version 12.0.3 21:59:11 + sadf -c /var/log/sa-host/sa29 21:59:11 file_magic: OK 21:59:11 HZ: Using current value: 100 21:59:11 file_header: OK 21:59:11 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 21:59:11 Statistics: 21:59:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:59:11 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:11 provisioning config files... 21:59:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3937810659145507778tmp [Pipeline] { [Pipeline] echo 21:59:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:59:11 ---> create-netrc.sh [Pipeline] } 21:59:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:59:11 ---> python-tools-install.sh [Pipeline] echo 21:59:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:59:12 ---> sudo-logs.sh 21:59:12 Archiving 'sudo' log.. 21:59:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-562.vexxhost.local: Name or service not known 21:59:12 sudo: unable to resolve host prd-centos7-docker-4c-2g-562.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 21:59:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:59:12 ---> job-cost.sh 21:59:12 lf-activate-venv: SKIPPING 21:59:12 DEBUG: total: 0.18000000715255737 21:59:12 INFO: Retrieving Stack Cost... 21:59:14 INFO: Retrieving Pricing Info for: v3-standard-2 21:59:14 INFO: Archiving Costs [Pipeline] echo 21:59:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:59:14 ---> logs-deploy.sh 21:59:14 lf-activate-venv: SKIPPING 21:59:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/2 21:59:14 INFO: archiving workspace using pattern(s): 21:59:14 Archives upload complete. 21:59:15 INFO: archiving logs to Nexus 21:59:15 ---> uname -a: 21:59:15 Linux prd-centos7-docker-4c-2g-562.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 21:59:15 21:59:15 21:59:15 ---> lscpu: 21:59:15 Architecture: x86_64 21:59:15 CPU op-mode(s): 32-bit, 64-bit 21:59:15 Byte Order: Little Endian 21:59:15 Address sizes: 40 bits physical, 48 bits virtual 21:59:15 CPU(s): 2 21:59:15 On-line CPU(s) list: 0,1 21:59:15 Thread(s) per core: 1 21:59:15 Core(s) per socket: 1 21:59:15 Socket(s): 2 21:59:15 NUMA node(s): 1 21:59:15 Vendor ID: AuthenticAMD 21:59:15 CPU family: 23 21:59:15 Model: 49 21:59:15 Model name: AMD EPYC-Rome Processor 21:59:15 Stepping: 0 21:59:15 CPU MHz: 2799.998 21:59:15 BogoMIPS: 5599.99 21:59:15 Virtualization: AMD-V 21:59:15 Hypervisor vendor: KVM 21:59:15 Virtualization type: full 21:59:15 L1d cache: 32K 21:59:15 L1i cache: 32K 21:59:15 L2 cache: 512K 21:59:15 L3 cache: 16384K 21:59:15 NUMA node0 CPU(s): 0,1 21:59:15 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 21:59:15 21:59:15 21:59:15 ---> nproc: 21:59:15 2 21:59:15 21:59:15 21:59:15 ---> df -h: 21:59:15 Filesystem Size Used Avail Use% Mounted on 21:59:15 overlay 40G 9.0G 32G 23% / 21:59:15 tmpfs 64M 0 64M 0% /dev 21:59:15 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:59:15 shm 64M 0 64M 0% /dev/shm 21:59:15 /dev/vda1 40G 9.0G 32G 23% /facter-os 21:59:15 21:59:15 21:59:15 ---> sar -b -r -n DEV: 21:59:15 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 21:59:15 21:59:15 21:47:47 LINUX RESTART (2 CPU) 21:59:15 21:59:15 21:48:01 tps rtps wtps bread/s bwrtn/s 21:59:15 21:49:01 243.57 108.82 134.74 10934.31 41221.72 21:59:15 21:50:01 1.77 0.00 1.77 0.00 35.22 21:59:15 21:51:01 0.27 0.00 0.27 0.00 3.28 21:59:15 21:52:01 0.23 0.00 0.23 0.00 3.20 21:59:15 21:53:01 0.23 0.00 0.23 0.00 3.12 21:59:15 21:54:01 0.22 0.00 0.22 0.00 3.31 21:59:15 21:55:01 0.27 0.00 0.27 0.00 3.65 21:59:15 21:56:01 0.25 0.00 0.25 0.00 3.53 21:59:15 21:57:01 0.28 0.00 0.28 0.00 2.93 21:59:15 21:58:01 89.69 0.03 89.66 3.73 30026.02 21:59:15 21:59:01 117.88 0.10 117.78 9.99 24752.00 21:59:15 Average: 41.34 9.91 31.44 995.73 8734.77 21:59:15 21:59:15 21:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:59:15 21:49:01 5458680 0 805112 10.05 2620 1742528 1306720 14.43 580004 1570488 132 21:59:15 21:50:01 5465488 0 798300 9.97 2620 1742532 1242540 13.72 574668 1570448 16 21:59:15 21:51:01 5465556 0 798232 9.97 2620 1742532 1241536 13.71 579756 1565328 20 21:59:15 21:52:01 5464552 0 799228 9.98 2620 1742540 1238492 13.67 581484 1565328 12 21:59:15 21:53:01 5464352 0 799424 9.98 2620 1742544 1238516 13.67 578460 1568528 8 21:59:15 21:54:01 5464788 0 798984 9.98 2620 1742548 1232348 13.61 577820 1568528 8 21:59:15 21:55:01 5468264 0 795500 9.93 2620 1742556 1206624 13.32 575172 1568528 20 21:59:15 21:56:01 5466228 0 797528 9.96 2620 1742564 1206624 13.32 576888 1568532 8 21:59:15 21:57:01 5456908 0 806848 10.07 2620 1742564 1206624 13.32 586344 1568528 8 21:59:15 21:58:01 4458872 0 1016660 12.69 2620 2530788 1395456 15.41 797304 2242680 57588 21:59:15 21:59:01 3515656 0 1224500 15.29 2620 3266164 1636328 18.07 1088284 2765852 200880 21:59:15 Average: 5195395 0 858211 10.72 2620 1952715 1286528 14.20 645108 1738433 23518 21:59:15 21:59:15 21:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:59:15 21:49:01 eth0 482.20 294.49 1162.93 77.25 0.00 0.00 0.00 0.00 21:59:15 21:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:49:01 docker0 29.17 24.16 2.62 89.23 0.00 0.00 0.00 0.00 21:59:15 21:50:01 eth0 4.18 0.80 1.08 0.57 0.00 0.00 0.00 0.00 21:59:15 21:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:51:01 eth0 4.58 1.23 1.48 0.80 0.00 0.00 0.00 0.00 21:59:15 21:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:52:01 eth0 1.42 0.33 0.34 0.23 0.00 0.00 0.00 0.00 21:59:15 21:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:53:01 eth0 1.23 0.62 0.56 0.40 0.00 0.00 0.00 0.00 21:59:15 21:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:54:01 eth0 0.85 0.55 0.41 0.28 0.00 0.00 0.00 0.00 21:59:15 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:55:01 eth0 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:59:15 21:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:56:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:59:15 21:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:57:01 eth0 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:58:01 vetha611198 62.87 71.44 6.75 209.19 0.00 0.00 0.00 0.00 21:59:15 21:58:01 eth0 720.57 498.30 4308.53 43.24 0.00 0.00 0.00 0.00 21:59:15 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:58:01 docker0 62.87 71.30 5.89 209.18 0.00 0.00 0.00 0.00 21:59:15 21:59:01 eth0 963.95 641.01 5297.73 151.71 0.00 0.00 0.00 0.00 21:59:15 21:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 21:59:01 docker0 2.00 1.63 0.33 0.35 0.00 0.00 0.00 0.00 21:59:15 Average: eth0 198.16 130.71 979.54 24.96 0.00 0.00 0.00 0.00 21:59:15 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:59:15 Average: docker0 8.55 8.83 0.80 27.16 0.00 0.00 0.00 0.00 21:59:15 21:59:15 21:59:15 ---> sar -P ALL: 21:59:15 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/29/21 _x86_64_ (2 CPU) 21:59:15 21:59:15 21:47:47 LINUX RESTART (2 CPU) 21:59:15 21:59:15 21:48:01 CPU %user %nice %system %iowait %steal %idle 21:59:15 21:49:01 all 22.83 0.00 9.02 5.75 0.07 62.34 21:59:15 21:49:01 0 22.09 0.00 9.44 5.52 0.07 62.87 21:59:15 21:49:01 1 23.56 0.00 8.59 5.97 0.07 61.81 21:59:15 21:50:01 all 0.22 0.00 0.08 0.00 0.02 99.69 21:59:15 21:50:01 0 0.27 0.00 0.08 0.00 0.02 99.63 21:59:15 21:50:01 1 0.17 0.00 0.07 0.00 0.02 99.75 21:59:15 21:51:01 all 0.13 0.00 0.06 0.00 0.04 99.77 21:59:15 21:51:01 0 0.17 0.00 0.07 0.00 0.05 99.72 21:59:15 21:51:01 1 0.10 0.00 0.05 0.00 0.03 99.82 21:59:15 21:52:01 all 0.10 0.00 0.03 0.00 0.03 99.84 21:59:15 21:52:01 0 0.08 0.00 0.02 0.00 0.03 99.87 21:59:15 21:52:01 1 0.12 0.00 0.03 0.00 0.03 99.82 21:59:15 21:53:01 all 0.14 0.00 0.03 0.00 0.03 99.79 21:59:15 21:53:01 0 0.07 0.00 0.03 0.00 0.03 99.87 21:59:15 21:53:01 1 0.22 0.00 0.03 0.00 0.03 99.72 21:59:15 21:54:01 all 0.10 0.00 0.05 0.00 0.04 99.81 21:59:15 21:54:01 0 0.05 0.00 0.03 0.00 0.03 99.88 21:59:15 21:54:01 1 0.15 0.00 0.07 0.00 0.05 99.73 21:59:15 21:55:01 all 0.10 0.00 0.05 0.00 0.03 99.82 21:59:15 21:55:01 0 0.05 0.00 0.05 0.00 0.02 99.88 21:59:15 21:55:01 1 0.15 0.00 0.05 0.00 0.05 99.75 21:59:15 21:56:01 all 0.15 0.00 0.05 0.00 0.04 99.76 21:59:15 21:56:01 0 0.03 0.00 0.07 0.00 0.05 99.85 21:59:15 21:56:01 1 0.27 0.00 0.03 0.00 0.03 99.67 21:59:15 21:57:01 all 0.13 0.00 0.05 0.00 0.02 99.80 21:59:15 21:57:01 0 0.03 0.00 0.05 0.00 0.02 99.90 21:59:15 21:57:01 1 0.23 0.00 0.05 0.00 0.02 99.70 21:59:15 21:58:01 all 10.26 0.00 4.31 0.97 0.06 84.40 21:59:15 21:58:01 0 10.44 0.00 4.30 1.02 0.07 84.17 21:59:15 21:58:01 1 10.08 0.00 4.32 0.93 0.05 84.62 21:59:15 21:59:01 all 15.40 0.00 7.67 0.93 0.07 75.93 21:59:15 21:59:01 0 15.53 0.00 7.75 1.02 0.07 75.63 21:59:15 21:59:01 1 15.26 0.00 7.59 0.85 0.07 76.23 21:59:15 21:59:15 Average: CPU %user %nice %system %iowait %steal %idle 21:59:15 Average: all 4.38 0.00 1.89 0.67 0.04 93.02 21:59:15 Average: 0 4.30 0.00 1.93 0.67 0.04 93.06 21:59:15 Average: 1 4.45 0.00 1.85 0.68 0.04 92.98 21:59:15 21:59:15 21:59:15