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 [2021-07-29T21:48:26.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-29T21:48:26.471Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-29T21:48:26.509Z] ========================================================= [2021-07-29T21:48:26.509Z] EdgeX Global Pipelines Version Info [2021-07-29T21:48:26.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:48:27.848Z] ------------------- [2021-07-29T21:48:27.848Z] stable info: [2021-07-29T21:48:27.848Z] ------------------- [2021-07-29T21:48:27.848Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-29T21:48:27.848Z] Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 [2021-07-29T21:48:27.848Z] Message: update stable to v1.0.198 [2021-07-29T21:48:28.436Z] ------------------- [2021-07-29T21:48:28.436Z] experimental info: [2021-07-29T21:48:28.436Z] ------------------- [2021-07-29T21:48:28.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-29T21:48:28.436Z] Commit SHA: badcf42234fb1e6cb640581e12a7601bf0f58365 [2021-07-29T21:48:28.436Z] Message: update experimental to v1.0.198 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-29T21:48:28.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-07-29T21:48:28.614Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-07-29T21:48:28.637Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-29T21:48:28.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-29T21:48:28.684Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-29T21:48:28.707Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-29T21:48:28.732Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-29T21:48:28.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-29T21:48:28.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-29T21:48:28.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-29T21:48:28.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-29T21:48:28.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-07-29T21:48:28.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-29T21:48:28.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-29T21:48:28.922Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T21:48:28.945Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-29T21:48:28.968Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T21:48:28.991Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-29T21:48:29.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-29T21:48:29.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-29T21:48:29.100Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-29T21:48:29.155Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-29T21:48:29.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-29T21:48:29.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-29T21:48:29.222Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-29T21:48:29.245Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-29T21:48:29.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-29T21:48:29.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-29T21:48:29.313Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-29T21:48:29.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] echo [2021-07-29T21:48:29.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4f5f06 [Pipeline] echo [2021-07-29T21:48:29.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:48:29.449Z] provisioning config files... [2021-07-29T21:48:29.468Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3454058581529324376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:48:29.811Z] ---> docker-login.sh [2021-07-29T21:48:29.811Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:48:29.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:48:30.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:48:30.078Z] Configure a credential helper to remove this warning. See [2021-07-29T21:48:30.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:48:30.078Z] [2021-07-29T21:48:30.078Z] Login Succeeded [2021-07-29T21:48:30.078Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:48:30.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:48:30.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:48:30.078Z] Configure a credential helper to remove this warning. See [2021-07-29T21:48:30.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:48:30.078Z] [2021-07-29T21:48:30.078Z] Login Succeeded [2021-07-29T21:48:30.078Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:48:30.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:48:30.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:48:30.345Z] Configure a credential helper to remove this warning. See [2021-07-29T21:48:30.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:48:30.345Z] [2021-07-29T21:48:30.346Z] Login Succeeded [2021-07-29T21:48:30.346Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:48:30.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:48:30.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:48:30.614Z] Configure a credential helper to remove this warning. See [2021-07-29T21:48:30.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:48:30.614Z] [2021-07-29T21:48:30.614Z] Login Succeeded [2021-07-29T21:48:30.614Z] docker.io [2021-07-29T21:48:30.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:48:30.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:48:30.880Z] Configure a credential helper to remove this warning. See [2021-07-29T21:48:30.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:48:30.880Z] [2021-07-29T21:48:30.880Z] Login Succeeded [2021-07-29T21:48:30.880Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:48:30.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-29T21:48:31.402Z] + git log --format=format:%s -1 e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] echo [2021-07-29T21:48:31.455Z] GIT_COMMIT: e4f5f068f655fee6138b2e5b598b1f79c6216501, Commit Message: Merge pull request #5 from soda480/US1907 [Pipeline] echo [2021-07-29T21:48:31.471Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:48:32.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:48:32.081Z] [2021-07-29T21:48:32.081Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:48:32.406Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:48:32.406Z] latest: Pulling from edgex-devops/git-semver [2021-07-29T21:48:32.406Z] 31603596830f: Pulling fs layer [2021-07-29T21:48:32.406Z] b6dc333f4379: Pulling fs layer [2021-07-29T21:48:32.406Z] 3d9ef1400e77: Pulling fs layer [2021-07-29T21:48:32.406Z] fd332fbdc1db: Pulling fs layer [2021-07-29T21:48:32.406Z] fd332fbdc1db: Waiting [2021-07-29T21:48:32.406Z] b6dc333f4379: Verifying Checksum [2021-07-29T21:48:32.406Z] b6dc333f4379: Download complete [2021-07-29T21:48:32.683Z] 31603596830f: Verifying Checksum [2021-07-29T21:48:32.683Z] 31603596830f: Download complete [2021-07-29T21:48:32.958Z] fd332fbdc1db: Verifying Checksum [2021-07-29T21:48:32.958Z] fd332fbdc1db: Download complete [2021-07-29T21:48:32.958Z] 31603596830f: Pull complete [2021-07-29T21:48:32.958Z] b6dc333f4379: Pull complete [2021-07-29T21:48:32.958Z] 3d9ef1400e77: Verifying Checksum [2021-07-29T21:48:32.958Z] 3d9ef1400e77: Download complete [2021-07-29T21:48:33.544Z] 3d9ef1400e77: Pull complete [2021-07-29T21:48:33.812Z] fd332fbdc1db: Pull complete [2021-07-29T21:48:33.812Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-29T21:48:33.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:48:33.812Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-29T21:48:33.905Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:48:33.963Z] $ 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 [2021-07-29T21:48:34.737Z] $ docker top 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T21:48:34.877Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:48:34.877Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:48:35.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:48:35.008Z] $ docker exec 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent [2021-07-29T21:48:35.132Z] SSH_AUTH_SOCK=/tmp/ssh-zVJ1DSSmbIeZ/agent.13 [2021-07-29T21:48:35.132Z] SSH_AGENT_PID=20 [2021-07-29T21:48:35.146Z] Running ssh-add (command line suppressed) [2021-07-29T21:48:35.246Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4355658725812880631.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4355658725812880631.key) [2021-07-29T21:48:35.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:48:35.593Z] + git tag --points-at HEAD [Pipeline] } [2021-07-29T21:48:35.614Z] $ docker exec --env ******** --env ******** 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent -k [2021-07-29T21:48:35.721Z] unset SSH_AUTH_SOCK; [2021-07-29T21:48:35.723Z] unset SSH_AGENT_PID; [2021-07-29T21:48:35.723Z] echo Agent pid 20 killed; [2021-07-29T21:48:35.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-29T21:48:35.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:48:35.790Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:48:35.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:48:35.917Z] $ docker exec 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent [2021-07-29T21:48:36.049Z] SSH_AUTH_SOCK=/tmp/ssh-hzuLcmQX6ucg/agent.53 [2021-07-29T21:48:36.049Z] SSH_AGENT_PID=59 [2021-07-29T21:48:36.058Z] Running ssh-add (command line suppressed) [2021-07-29T21:48:36.166Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3933097075634122923.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3933097075634122923.key) [2021-07-29T21:48:36.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:48:36.505Z] + git semver init [2021-07-29T21:48:36.505Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T21:48:36.505Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-07-29T21:48:36.505Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:48:36.505Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T21:48:36.505Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T21:48:36.505Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T21:48:36.505Z] # $SEMVER_BRANCH = main [2021-07-29T21:48:36.505Z] # $SEMVER_TEMP = /tmp/semver-150176412 [2021-07-29T21:48:36.505Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-07-29T21:48:37.467Z] # '/tmp/semver-150176412' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2021-07-29T21:48:37.467Z] # -> Force: false [2021-07-29T21:48:37.467Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2021-07-29T21:48:37.483Z] $ docker exec --env ******** --env ******** 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 ssh-agent -k [2021-07-29T21:48:37.617Z] unset SSH_AUTH_SOCK; [2021-07-29T21:48:37.617Z] unset SSH_AGENT_PID; [2021-07-29T21:48:37.617Z] echo Agent pid 59 killed; [2021-07-29T21:48:37.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T21:48:37.985Z] + git semver [Pipeline] } [2021-07-29T21:48:38.005Z] $ docker stop --time=1 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 [2021-07-29T21:48:39.277Z] $ docker rm -f 466f1c70ea3577fbbeec139e8715762bba9ef7b1c4128902fb40ebed368f9c67 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:48:39.668Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-29T21:48:39.996Z] Stashed 1 file(s) [Pipeline] echo [2021-07-29T21:48:40.001Z] [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 [2021-07-29T21:48:55.384Z] Still waiting to schedule task [2021-07-29T21:48:55.385Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-29T21:48:55.388Z] Still waiting to schedule task [2021-07-29T21:48:55.388Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-558’ [2021-07-29T21:50:57.076Z] Running on prd-centos7-docker-4c-2g-573 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-07-29T21:50:57.107Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2021-07-29T21:50:57.298Z] The recommended git tool is: git [2021-07-29T21:51:00.642Z] using credential edgex-jenkins-ssh [2021-07-29T21:51:00.657Z] Cloning the remote Git repository [2021-07-29T21:51:00.684Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:51:00.753Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2021-07-29T21:51:00.999Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:51:00.999Z] > git --version # timeout=10 [2021-07-29T21:51:01.007Z] > git --version # 'git version 2.24.4' [2021-07-29T21:51:01.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:51:01.030Z] [INFO] Currently running in a labeled security context [2021-07-29T21:51:01.031Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-29T21:51:01.031Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/2@tmp/jenkins-gitclient-ssh3113940689627322133.key [2021-07-29T21:51:01.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:51:02.759Z] Avoid second fetch [2021-07-29T21:51:02.760Z] Checking out Revision e4f5f068f655fee6138b2e5b598b1f79c6216501 (main) [2021-07-29T21:51:02.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:51:02.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:51:02.778Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:51:02.787Z] > git checkout -f e4f5f068f655fee6138b2e5b598b1f79c6216501 # timeout=10 [2021-07-29T21:51:06.802Z] 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 [2021-07-29T21:51:07.205Z] provisioning config files... [2021-07-29T21:51:07.225Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1108822934580431884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:51:07.683Z] ---> docker-login.sh [2021-07-29T21:51:07.683Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:51:07.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:51:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:51:07.964Z] Configure a credential helper to remove this warning. See [2021-07-29T21:51:07.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:51:07.964Z] [2021-07-29T21:51:07.964Z] Login Succeeded [2021-07-29T21:51:07.964Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:51:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:51:13.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:51:13.358Z] Configure a credential helper to remove this warning. See [2021-07-29T21:51:13.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:51:13.358Z] [2021-07-29T21:51:13.358Z] Login Succeeded [2021-07-29T21:51:13.358Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:51:13.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:51:13.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:51:13.358Z] Configure a credential helper to remove this warning. See [2021-07-29T21:51:13.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:51:13.358Z] [2021-07-29T21:51:13.358Z] Login Succeeded [2021-07-29T21:51:13.358Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:51:13.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:51:13.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:51:13.358Z] Configure a credential helper to remove this warning. See [2021-07-29T21:51:13.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:51:13.358Z] [2021-07-29T21:51:13.358Z] Login Succeeded [2021-07-29T21:51:13.358Z] docker.io [2021-07-29T21:51:13.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:51:13.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:51:13.896Z] Configure a credential helper to remove this warning. See [2021-07-29T21:51:13.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:51:13.896Z] [2021-07-29T21:51:13.896Z] Login Succeeded [2021-07-29T21:51:13.896Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:51:13.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T21:51:14.199Z] ========================================================= [2021-07-29T21:51:14.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-29T21:51:14.199Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:51:14.546Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-29T21:51:14.546Z] Sending build context to Docker daemon 5.483MB [2021-07-29T21:51:14.546Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:51:14.546Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-29T21:51:14.546Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-29T21:51:14.546Z] 540db60ca938: Pulling fs layer [2021-07-29T21:51:14.546Z] adcc1eea9eea: Pulling fs layer [2021-07-29T21:51:14.546Z] 4c4ab2625f07: Pulling fs layer [2021-07-29T21:51:14.546Z] 0773c198feca: Pulling fs layer [2021-07-29T21:51:14.546Z] 345f892a5656: Pulling fs layer [2021-07-29T21:51:14.546Z] 4796506630df: Pulling fs layer [2021-07-29T21:51:14.546Z] cc55df3e53f1: Pulling fs layer [2021-07-29T21:51:14.546Z] 4d027b6c602c: Pulling fs layer [2021-07-29T21:51:14.546Z] 449e75d2c14e: Pulling fs layer [2021-07-29T21:51:14.546Z] 0773c198feca: Waiting [2021-07-29T21:51:14.546Z] 345f892a5656: Waiting [2021-07-29T21:51:14.546Z] 4796506630df: Waiting [2021-07-29T21:51:14.546Z] cc55df3e53f1: Waiting [2021-07-29T21:51:14.546Z] 4d027b6c602c: Waiting [2021-07-29T21:51:14.546Z] 449e75d2c14e: Waiting [2021-07-29T21:51:14.816Z] 4c4ab2625f07: Verifying Checksum [2021-07-29T21:51:14.816Z] 4c4ab2625f07: Download complete [2021-07-29T21:51:14.816Z] adcc1eea9eea: Verifying Checksum [2021-07-29T21:51:14.816Z] adcc1eea9eea: Download complete [2021-07-29T21:51:14.816Z] 345f892a5656: Verifying Checksum [2021-07-29T21:51:14.816Z] 345f892a5656: Download complete [2021-07-29T21:51:14.816Z] 4796506630df: Verifying Checksum [2021-07-29T21:51:14.816Z] 4796506630df: Download complete [2021-07-29T21:51:14.816Z] cc55df3e53f1: Verifying Checksum [2021-07-29T21:51:14.816Z] cc55df3e53f1: Download complete [2021-07-29T21:51:15.094Z] 540db60ca938: Verifying Checksum [2021-07-29T21:51:15.094Z] 540db60ca938: Download complete [2021-07-29T21:51:15.094Z] 540db60ca938: Pull complete [2021-07-29T21:51:15.370Z] adcc1eea9eea: Pull complete [2021-07-29T21:51:15.370Z] 4c4ab2625f07: Pull complete [2021-07-29T21:51:15.639Z] 4d027b6c602c: Verifying Checksum [2021-07-29T21:51:15.639Z] 4d027b6c602c: Download complete [2021-07-29T21:51:20.996Z] 449e75d2c14e: Verifying Checksum [2021-07-29T21:51:20.996Z] 449e75d2c14e: Download complete [2021-07-29T21:51:25.276Z] 0773c198feca: Verifying Checksum [2021-07-29T21:51:25.276Z] 0773c198feca: Download complete [2021-07-29T21:51:28.654Z] 0773c198feca: Pull complete [2021-07-29T21:51:28.654Z] 345f892a5656: Pull complete [2021-07-29T21:51:28.654Z] 4796506630df: Pull complete [2021-07-29T21:51:28.654Z] cc55df3e53f1: Pull complete [2021-07-29T21:51:28.924Z] 4d027b6c602c: Pull complete [2021-07-29T21:51:31.595Z] 449e75d2c14e: Pull complete [2021-07-29T21:51:31.595Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-29T21:51:31.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-29T21:51:31.595Z] ---> 0d28375d9b5b [2021-07-29T21:51:31.595Z] Step 3/8 : WORKDIR /device-gpio [2021-07-29T21:51:35.864Z] ---> Running in 50adc5ef77a4 [2021-07-29T21:51:35.864Z] Removing intermediate container 50adc5ef77a4 [2021-07-29T21:51:35.864Z] ---> ad484912e5e4 [2021-07-29T21:51:35.864Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:51:35.864Z] ---> Running in 228026c73a6f [2021-07-29T21:51:35.864Z] Removing intermediate container 228026c73a6f [2021-07-29T21:51:35.864Z] ---> de9b8c5b2cdd [2021-07-29T21:51:35.864Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:51:35.864Z] ---> Running in 86b5db172a08 [2021-07-29T21:51:35.864Z] Removing intermediate container 86b5db172a08 [2021-07-29T21:51:35.864Z] ---> 22c8dbe19486 [2021-07-29T21:51:35.864Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-29T21:51:36.128Z] ---> Running in d683221b4680 [2021-07-29T21:51:36.128Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T21:51:37.086Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T21:51:37.676Z] OK: 149 MiB in 40 packages [2021-07-29T21:51:37.945Z] Removing intermediate container d683221b4680 [2021-07-29T21:51:37.945Z] ---> 003236b3c0e5 [2021-07-29T21:51:37.945Z] Step 7/8 : COPY . . [2021-07-29T21:51:38.215Z] ---> 33846bce28ae [2021-07-29T21:51:38.215Z] Step 8/8 : RUN go mod download [2021-07-29T21:51:38.215Z] ---> Running in bcaa4ee77bb7 [2021-07-29T21:52:05.198Z] Removing intermediate container bcaa4ee77bb7 [2021-07-29T21:52:05.198Z] ---> 28ed90e555c0 [2021-07-29T21:52:05.198Z] Successfully built 28ed90e555c0 [2021-07-29T21:52:05.198Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:05.541Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T21:52:05.541Z] . [Pipeline] withDockerContainer [2021-07-29T21:52:05.642Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-07-29T21:52:05.720Z] $ 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 [2021-07-29T21:52:06.100Z] $ docker top 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:52:06.515Z] + go version [2021-07-29T21:52:06.515Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-29T21:52:06.532Z] $ docker stop --time=1 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 [2021-07-29T21:52:07.724Z] $ docker rm -f 3e5b168e222465b7dd971f8c69c0e497616007a0b5c83de0093c34704d547cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:08.264Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-29T21:52:08.265Z] . [Pipeline] withDockerContainer [2021-07-29T21:52:08.357Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-07-29T21:52:08.442Z] $ 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 [2021-07-29T21:52:08.789Z] $ docker top 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:52:09.202Z] + go mod tidy [Pipeline] sh [2021-07-29T21:52:09.810Z] + make test [2021-07-29T21:52:09.810Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T21:52:10.089Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-29T21:52:22.497Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-29T21:52:22.497Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-29T21:52:22.497Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-29T21:52:27.890Z] gofmt -l . [2021-07-29T21:52:27.890Z] [ "`gofmt -l .`" = "" ] [2021-07-29T21:52:27.890Z] ./bin/test-attribution-txt.sh [2021-07-29T21:52:27.890Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T21:52:27.905Z] $ docker stop --time=1 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc [2021-07-29T21:52:29.329Z] $ docker rm -f 739ae4dc83c65c5ee83356ee0c70b177ddbdd9bfccc3b1578e26bb5bf70c2ebc [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:52:29.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T21:52:30.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-29T21:52:31.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T21:52:31.773Z] + ls -al . [2021-07-29T21:52:31.773Z] total 104 [2021-07-29T21:52:31.773Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jul 29 21:52 . [2021-07-29T21:52:31.773Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 29 21:51 .. [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 5451 Jul 29 21:51 Attribution.txt [2021-07-29T21:52:31.773Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 29 21:51 bin [2021-07-29T21:52:31.773Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 29 21:51 cmd [2021-07-29T21:52:31.773Z] -rw-r--r--. 1 jenkins jenkins 10 Jul 29 21:52 coverage.out [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 1502 Jul 29 21:51 Dockerfile [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 972 Jul 29 21:51 Dockerfile.build [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 120 Jul 29 21:51 .dockerignore [2021-07-29T21:52:31.773Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 29 21:51 .git [2021-07-29T21:52:31.773Z] drwxrwxr-x. 2 jenkins jenkins 81 Jul 29 21:51 .github [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 350 Jul 29 21:51 .gitignore [2021-07-29T21:52:31.773Z] -rw-r--r--. 1 jenkins jenkins 379 Jul 29 21:52 go.mod [2021-07-29T21:52:31.773Z] -rw-r--r--. 1 jenkins jenkins 30244 Jul 29 21:52 go.sum [2021-07-29T21:52:31.773Z] drwxrwxr-x. 3 jenkins jenkins 20 Jul 29 21:51 internal [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 657 Jul 29 21:51 Jenkinsfile [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 29 21:51 LICENSE [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 906 Jul 29 21:51 Makefile [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 8048 Jul 29 21:51 README.md [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 29 21:48 VERSION [2021-07-29T21:52:31.773Z] -rw-rw-r--. 1 jenkins jenkins 209 Jul 29 21:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:32.113Z] + 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 . [2021-07-29T21:52:32.113Z] Sending build context to Docker daemon 5.485MB [2021-07-29T21:52:32.113Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:52:32.113Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-29T21:52:32.113Z] ---> 28ed90e555c0 [2021-07-29T21:52:32.113Z] Step 3/23 : ARG MAKE='make build' [2021-07-29T21:52:32.113Z] ---> Running in 9f8135267f46 [2021-07-29T21:52:32.391Z] Removing intermediate container 9f8135267f46 [2021-07-29T21:52:32.391Z] ---> 8c4c440037e0 [2021-07-29T21:52:32.391Z] Step 4/23 : WORKDIR /device-gpio [2021-07-29T21:52:32.391Z] ---> Running in b5ad65f312ff [2021-07-29T21:52:32.391Z] Removing intermediate container b5ad65f312ff [2021-07-29T21:52:32.391Z] ---> d892e97b9653 [2021-07-29T21:52:32.391Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:52:32.391Z] ---> Running in a843d2668386 [2021-07-29T21:52:32.391Z] Removing intermediate container a843d2668386 [2021-07-29T21:52:32.391Z] ---> 50a888b67a66 [2021-07-29T21:52:32.391Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:52:32.391Z] ---> Running in 03c99d02b14c [2021-07-29T21:52:32.980Z] Removing intermediate container 03c99d02b14c [2021-07-29T21:52:32.980Z] ---> aab707e702ec [2021-07-29T21:52:32.980Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-29T21:52:32.980Z] ---> Running in 8b1224640597 [2021-07-29T21:52:33.170Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-574 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-07-29T21:52:33.190Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2021-07-29T21:52:33.250Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-29T21:52:33.624Z] The recommended git tool is: git [2021-07-29T21:52:34.907Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-29T21:52:39.473Z] using credential edgex-jenkins-ssh [2021-07-29T21:52:39.509Z] Cloning the remote Git repository [2021-07-29T21:52:39.547Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:52:39.667Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2021-07-29T21:52:39.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-07-29T21:52:39.772Z] > git --version # timeout=10 [2021-07-29T21:52:39.796Z] > git --version # 'git version 2.17.1' [2021-07-29T21:52:39.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-29T21:52:40.369Z] OK: 149 MiB in 40 packages [2021-07-29T21:52:40.369Z] Removing intermediate container 8b1224640597 [2021-07-29T21:52:40.369Z] ---> c7a3fe4f7b39 [2021-07-29T21:52:40.369Z] Step 8/23 : COPY . . [2021-07-29T21:52:40.369Z] ---> 90f7654797b8 [2021-07-29T21:52:40.370Z] Step 9/23 : RUN go mod tidy [2021-07-29T21:52:40.370Z] ---> Running in 70b3848ff6ff [2021-07-29T21:52:39.913Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:52:41.335Z] Removing intermediate container 70b3848ff6ff [2021-07-29T21:52:41.335Z] ---> 0cd0b21deaf7 [2021-07-29T21:52:41.335Z] Step 10/23 : RUN ${MAKE} [2021-07-29T21:52:41.335Z] ---> Running in 4deff280dbc6 [2021-07-29T21:52:41.335Z] go mod tidy [2021-07-29T21:52:41.406Z] Avoid second fetch [2021-07-29T21:52:41.406Z] Checking out Revision e4f5f068f655fee6138b2e5b598b1f79c6216501 (main) [2021-07-29T21:52:41.605Z] 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 [2021-07-29T21:52:41.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-07-29T21:52:41.338Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-29T21:52:41.391Z] > git config core.sparsecheckout # timeout=10 [2021-07-29T21:52:41.405Z] > git checkout -f e4f5f068f655fee6138b2e5b598b1f79c6216501 # timeout=10 [2021-07-29T21:52:45.926Z] 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 [2021-07-29T21:52:46.325Z] provisioning config files... [2021-07-29T21:52:46.354Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config2759713888362616317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:52:46.970Z] ---> docker-login.sh [2021-07-29T21:52:46.971Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:52:47.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:48.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:48.176Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:48.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:48.176Z] [2021-07-29T21:52:48.176Z] Login Succeeded [2021-07-29T21:52:48.176Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:52:48.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:48.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:48.737Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:48.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:48.737Z] [2021-07-29T21:52:48.737Z] Login Succeeded [2021-07-29T21:52:48.737Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:52:49.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:49.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:49.292Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:49.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:49.292Z] [2021-07-29T21:52:49.292Z] Login Succeeded [2021-07-29T21:52:49.292Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:52:49.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:49.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:49.842Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:49.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:49.842Z] [2021-07-29T21:52:49.842Z] Login Succeeded [2021-07-29T21:52:49.842Z] docker.io [2021-07-29T21:52:50.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:50.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:50.394Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:50.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:50.394Z] [2021-07-29T21:52:50.394Z] Login Succeeded [2021-07-29T21:52:50.394Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:52:50.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-29T21:52:50.824Z] ========================================================= [2021-07-29T21:52:50.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-29T21:52:50.824Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:51.185Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-29T21:52:51.465Z] Sending build context to Docker daemon 5.482MB [2021-07-29T21:52:51.465Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:52:51.465Z] Step 2/8 : FROM ${BASE} AS builder [2021-07-29T21:52:51.954Z] Removing intermediate container 4deff280dbc6 [2021-07-29T21:52:51.954Z] ---> d8805e693d48 [2021-07-29T21:52:51.954Z] Step 11/23 : FROM scratch [2021-07-29T21:52:51.954Z] ---> [2021-07-29T21:52:51.954Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:52:51.954Z] ---> Running in f764267aa4fb [2021-07-29T21:52:51.954Z] Removing intermediate container f764267aa4fb [2021-07-29T21:52:51.954Z] ---> cc729485133f [2021-07-29T21:52:51.954Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-29T21:52:51.954Z] ---> Running in 7a1180c73dd0 [2021-07-29T21:52:51.954Z] Removing intermediate container 7a1180c73dd0 [2021-07-29T21:52:51.954Z] ---> 5fae11ffb4b7 [2021-07-29T21:52:51.954Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-29T21:52:51.954Z] ---> Running in 12121824000b [2021-07-29T21:52:51.954Z] Removing intermediate container 12121824000b [2021-07-29T21:52:51.954Z] ---> 9f34dbd93732 [2021-07-29T21:52:51.954Z] Step 15/23 : WORKDIR / [2021-07-29T21:52:51.954Z] ---> Running in d8f4c7817341 [2021-07-29T21:52:51.954Z] Removing intermediate container d8f4c7817341 [2021-07-29T21:52:51.954Z] ---> 834cab7d52bb [2021-07-29T21:52:51.954Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-29T21:52:51.954Z] ---> 1b0555d5b26f [2021-07-29T21:52:51.954Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-29T21:52:51.954Z] ---> 28a4da8d51e2 [2021-07-29T21:52:51.954Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-29T21:52:51.954Z] ---> da33e5e4821d [2021-07-29T21:52:51.954Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-29T21:52:51.954Z] ---> Running in 62ea9aedfde9 [2021-07-29T21:52:51.954Z] Removing intermediate container 62ea9aedfde9 [2021-07-29T21:52:51.954Z] ---> e49af5e5cc3e [2021-07-29T21:52:51.954Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T21:52:51.954Z] ---> Running in ba251b57d5a9 [2021-07-29T21:52:51.954Z] Removing intermediate container ba251b57d5a9 [2021-07-29T21:52:51.954Z] ---> bc9cfeb6d925 [2021-07-29T21:52:51.954Z] Step 21/23 : LABEL arch=amd64 [2021-07-29T21:52:51.954Z] ---> Running in 699c965c8e9c [2021-07-29T21:52:51.954Z] Removing intermediate container 699c965c8e9c [2021-07-29T21:52:51.954Z] ---> fc052934f256 [2021-07-29T21:52:51.954Z] Step 22/23 : LABEL git_sha=e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:52:51.954Z] ---> Running in 19ed3bb34bd5 [2021-07-29T21:52:51.954Z] Removing intermediate container 19ed3bb34bd5 [2021-07-29T21:52:51.954Z] ---> 5c2005216125 [2021-07-29T21:52:51.954Z] Step 23/23 : LABEL version=1.0.1-dev.1 [2021-07-29T21:52:51.954Z] ---> Running in 3183c52bc0fe [2021-07-29T21:52:52.062Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-29T21:52:52.062Z] 595b0fe564bb: Pulling fs layer [2021-07-29T21:52:52.062Z] 24495759ef45: Pulling fs layer [2021-07-29T21:52:52.062Z] d148012ef14d: Pulling fs layer [2021-07-29T21:52:52.062Z] cb65c68fc2e2: Pulling fs layer [2021-07-29T21:52:52.062Z] 093eec477d81: Pulling fs layer [2021-07-29T21:52:52.062Z] a6d5b2bbb924: Pulling fs layer [2021-07-29T21:52:52.062Z] 2446dc1eb7d3: Pulling fs layer [2021-07-29T21:52:52.062Z] 596795e73e0f: Pulling fs layer [2021-07-29T21:52:52.062Z] a6d5b2bbb924: Waiting [2021-07-29T21:52:52.062Z] cb65c68fc2e2: Waiting [2021-07-29T21:52:52.062Z] 093eec477d81: Waiting [2021-07-29T21:52:52.062Z] 2446dc1eb7d3: Waiting [2021-07-29T21:52:52.062Z] 596795e73e0f: Waiting [2021-07-29T21:52:52.062Z] d148012ef14d: Download complete [2021-07-29T21:52:52.062Z] 24495759ef45: Verifying Checksum [2021-07-29T21:52:52.062Z] 24495759ef45: Download complete [2021-07-29T21:52:52.062Z] 093eec477d81: Download complete [2021-07-29T21:52:52.062Z] a6d5b2bbb924: Verifying Checksum [2021-07-29T21:52:52.062Z] a6d5b2bbb924: Download complete [2021-07-29T21:52:52.062Z] 595b0fe564bb: Download complete [2021-07-29T21:52:52.062Z] 2446dc1eb7d3: Verifying Checksum [2021-07-29T21:52:52.062Z] 2446dc1eb7d3: Download complete [2021-07-29T21:52:52.229Z] Removing intermediate container 3183c52bc0fe [2021-07-29T21:52:52.229Z] ---> ce8d2f7aa0c7 [2021-07-29T21:52:52.229Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-29T21:52:52.229Z] Successfully built ce8d2f7aa0c7 [2021-07-29T21:52:52.229Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:52:52.453Z] provisioning config files... [2021-07-29T21:52:52.485Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config5173012825507450338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:52:52.666Z] 595b0fe564bb: Pull complete [2021-07-29T21:52:52.888Z] ---> docker-login.sh [2021-07-29T21:52:52.888Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:52:52.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:52.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:52.888Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:52.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:52.888Z] [2021-07-29T21:52:52.888Z] Login Succeeded [2021-07-29T21:52:52.888Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:52:52.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:53.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:53.159Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:53.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:53.159Z] [2021-07-29T21:52:53.159Z] Login Succeeded [2021-07-29T21:52:53.159Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:52:53.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:53.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:53.159Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:53.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:53.159Z] [2021-07-29T21:52:53.159Z] Login Succeeded [2021-07-29T21:52:53.159Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:52:53.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:53.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:53.428Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:53.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:53.428Z] [2021-07-29T21:52:53.428Z] Login Succeeded [2021-07-29T21:52:53.428Z] docker.io [2021-07-29T21:52:53.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:52:53.668Z] 24495759ef45: Pull complete [2021-07-29T21:52:53.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:52:53.697Z] Configure a credential helper to remove this warning. See [2021-07-29T21:52:53.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:52:53.697Z] [2021-07-29T21:52:53.697Z] Login Succeeded [2021-07-29T21:52:53.697Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:52:53.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T21:52:53.792Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2021-07-29T21:52:53.792Z] e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:52:53.792Z] latest [2021-07-29T21:52:53.792Z] 1.0.1-dev.1 [2021-07-29T21:52:53.792Z] e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:52:53.792Z] main [2021-07-29T21:52:53.792Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:54.195Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:54.300Z] d148012ef14d: Pull complete [2021-07-29T21:52:54.533Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:52:54.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-29T21:52:54.905Z] 596795e73e0f: Verifying Checksum [2021-07-29T21:52:55.499Z] 194d49da222b: Preparing [2021-07-29T21:52:55.499Z] 54cb94a71318: Preparing [2021-07-29T21:52:55.499Z] 195e9f2a3c41: Preparing [2021-07-29T21:52:55.768Z] 195e9f2a3c41: Pushed [2021-07-29T21:52:55.768Z] 54cb94a71318: Pushed [2021-07-29T21:52:55.892Z] cb65c68fc2e2: Verifying Checksum [2021-07-29T21:52:55.892Z] cb65c68fc2e2: Download complete [2021-07-29T21:52:56.733Z] 194d49da222b: Pushed [2021-07-29T21:52:56.998Z] e4f5f068f655fee6138b2e5b598b1f79c6216501: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:57.342Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:52:57.667Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-07-29T21:52:57.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-29T21:53:03.233Z] 194d49da222b: Preparing [2021-07-29T21:53:03.233Z] 54cb94a71318: Preparing [2021-07-29T21:53:03.233Z] 195e9f2a3c41: Preparing [2021-07-29T21:53:03.233Z] 194d49da222b: Layer already exists [2021-07-29T21:53:03.233Z] 195e9f2a3c41: Layer already exists [2021-07-29T21:53:03.233Z] 54cb94a71318: Layer already exists [2021-07-29T21:53:03.233Z] latest: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:03.573Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:04.134Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 [2021-07-29T21:53:04.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-29T21:53:04.134Z] 194d49da222b: Preparing [2021-07-29T21:53:04.134Z] 54cb94a71318: Preparing [2021-07-29T21:53:04.134Z] 195e9f2a3c41: Preparing [2021-07-29T21:53:04.134Z] 194d49da222b: Layer already exists [2021-07-29T21:53:04.134Z] 54cb94a71318: Layer already exists [2021-07-29T21:53:04.134Z] 195e9f2a3c41: Layer already exists [2021-07-29T21:53:04.134Z] 1.0.1-dev.1: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:04.493Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:04.830Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:53:04.830Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-29T21:53:04.830Z] 194d49da222b: Preparing [2021-07-29T21:53:04.830Z] 54cb94a71318: Preparing [2021-07-29T21:53:04.830Z] 195e9f2a3c41: Preparing [2021-07-29T21:53:04.830Z] 54cb94a71318: Layer already exists [2021-07-29T21:53:04.830Z] 195e9f2a3c41: Layer already exists [2021-07-29T21:53:04.830Z] 194d49da222b: Layer already exists [2021-07-29T21:53:04.830Z] e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:05.199Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:05.530Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2021-07-29T21:53:05.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-07-29T21:53:05.530Z] 194d49da222b: Preparing [2021-07-29T21:53:05.530Z] 54cb94a71318: Preparing [2021-07-29T21:53:05.530Z] 195e9f2a3c41: Preparing [2021-07-29T21:53:05.530Z] 195e9f2a3c41: Layer already exists [2021-07-29T21:53:05.530Z] 194d49da222b: Layer already exists [2021-07-29T21:53:05.530Z] 54cb94a71318: Layer already exists [2021-07-29T21:53:05.799Z] main: digest: sha256:2bdf40d17dfd0eb2ae948c535c0bc97fd698ed914e830737d54f0967abb6d0aa size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T21:53:05.861Z] ===================================================== [Pipeline] echo [2021-07-29T21:53:05.878Z] taggedImages: [2021-07-29T21:53:05.878Z] - nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:53:05.878Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-07-29T21:53:05.878Z] - nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.1 [2021-07-29T21:53:05.878Z] - nexus3.edgexfoundry.org:10004/device-gpio:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:53:05.878Z] - 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] } [2021-07-29T21:53:06.051Z] cb65c68fc2e2: Pull complete [2021-07-29T21:53:06.051Z] 093eec477d81: Pull complete [2021-07-29T21:53:06.051Z] a6d5b2bbb924: Pull complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:06.327Z] 2446dc1eb7d3: Pull complete [2021-07-29T21:53:06.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:53:06.427Z] [2021-07-29T21:53:06.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:53:06.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:53:06.769Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T21:53:06.769Z] b4d181a07f80: Pulling fs layer [2021-07-29T21:53:06.769Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T21:53:06.769Z] ed53099fbce6: Pulling fs layer [2021-07-29T21:53:06.769Z] dc539afda2c1: Pulling fs layer [2021-07-29T21:53:06.769Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T21:53:06.769Z] 9065ff56babe: Pulling fs layer [2021-07-29T21:53:06.769Z] d287ab97295c: Pulling fs layer [2021-07-29T21:53:06.769Z] 77bc0d833cb6: Waiting [2021-07-29T21:53:06.769Z] 9065ff56babe: Waiting [2021-07-29T21:53:06.769Z] d287ab97295c: Waiting [2021-07-29T21:53:06.769Z] dc539afda2c1: Waiting [2021-07-29T21:53:07.036Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T21:53:07.036Z] a1111a8f2ec3: Download complete [2021-07-29T21:53:07.036Z] dc539afda2c1: Verifying Checksum [2021-07-29T21:53:07.036Z] dc539afda2c1: Download complete [2021-07-29T21:53:07.307Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T21:53:07.307Z] 77bc0d833cb6: Download complete [2021-07-29T21:53:07.307Z] 9065ff56babe: Verifying Checksum [2021-07-29T21:53:07.307Z] 9065ff56babe: Download complete [2021-07-29T21:53:07.591Z] ed53099fbce6: Verifying Checksum [2021-07-29T21:53:07.591Z] ed53099fbce6: Download complete [2021-07-29T21:53:08.568Z] b4d181a07f80: Verifying Checksum [2021-07-29T21:53:08.568Z] b4d181a07f80: Download complete [2021-07-29T21:53:09.548Z] b4d181a07f80: Pull complete [2021-07-29T21:53:09.548Z] a1111a8f2ec3: Pull complete [2021-07-29T21:53:10.149Z] ed53099fbce6: Pull complete [2021-07-29T21:53:10.149Z] dc539afda2c1: Pull complete [2021-07-29T21:53:10.421Z] 77bc0d833cb6: Pull complete [2021-07-29T21:53:10.421Z] 9065ff56babe: Pull complete [2021-07-29T21:53:10.664Z] 596795e73e0f: Pull complete [2021-07-29T21:53:10.664Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-29T21:53:10.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-29T21:53:10.664Z] ---> d9e956139c92 [2021-07-29T21:53:10.664Z] Step 3/8 : WORKDIR /device-gpio [2021-07-29T21:53:14.973Z] ---> Running in 78e123815ed6 [2021-07-29T21:53:15.248Z] Removing intermediate container 78e123815ed6 [2021-07-29T21:53:15.248Z] ---> 3d289d009b55 [2021-07-29T21:53:15.248Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:53:15.524Z] ---> Running in 8b427db1e5bf [2021-07-29T21:53:15.780Z] d287ab97295c: Verifying Checksum [2021-07-29T21:53:15.780Z] d287ab97295c: Download complete [2021-07-29T21:53:16.119Z] Removing intermediate container 8b427db1e5bf [2021-07-29T21:53:16.119Z] ---> 52281f985d18 [2021-07-29T21:53:16.119Z] Step 5/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:53:16.389Z] ---> Running in 27e4dfdced7f [2021-07-29T21:53:19.018Z] Removing intermediate container 27e4dfdced7f [2021-07-29T21:53:19.018Z] ---> ce81a08b5bbb [2021-07-29T21:53:19.018Z] Step 6/8 : RUN apk add --update --no-cache make git [2021-07-29T21:53:19.160Z] d287ab97295c: Pull complete [2021-07-29T21:53:19.160Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T21:53:19.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:53:19.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T21:53:19.251Z] prd-centos7-docker-4c-2g-573 does not seem to be running inside a container [2021-07-29T21:53:19.294Z] ---> Running in bc7183142814 [2021-07-29T21:53:19.315Z] $ 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 [2021-07-29T21:53:20.757Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T21:53:21.742Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T21:53:22.730Z] OK: 138 MiB in 40 packages [2021-07-29T21:53:23.678Z] $ docker top e420b1fe6c2a113f0b33a9b1a6efec204ec67cb6947b60686149461d00682c1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:53:24.168Z] ---> job-cost.sh [2021-07-29T21:53:24.168Z] lf-activate-venv: SKIPPING [2021-07-29T21:53:24.168Z] INFO: No Stack... [2021-07-29T21:53:24.429Z] Removing intermediate container bc7183142814 [2021-07-29T21:53:24.429Z] ---> 6f245bf87a21 [2021-07-29T21:53:24.429Z] Step 7/8 : COPY . . [2021-07-29T21:53:24.756Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T21:53:25.351Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T21:53:25.423Z] ---> 1038738d0749 [2021-07-29T21:53:25.424Z] Step 8/8 : RUN go mod download [2021-07-29T21:53:25.680Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2021-07-29T21:53:25.681Z] + cut -d, -f6 [2021-07-29T21:53:25.700Z] ---> Running in 7c1345518873 [Pipeline] lock [2021-07-29T21:53:25.725Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [2021-07-29T21:53:25.742Z] Resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] did not exist. Created. [2021-07-29T21:53:25.742Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T21:53:26.111Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-29T21:53:26.216Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T21:53:26.246Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T21:53:26.278Z] $ docker stop --time=1 e420b1fe6c2a113f0b33a9b1a6efec204ec67cb6947b60686149461d00682c1b [2021-07-29T21:53:27.488Z] $ 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] } [2021-07-29T21:54:22.311Z] Removing intermediate container 7c1345518873 [2021-07-29T21:54:22.311Z] ---> 6e62affbd40a [2021-07-29T21:54:22.311Z] Successfully built 6e62affbd40a [2021-07-29T21:54:22.311Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:54:22.663Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T21:54:22.664Z] . [Pipeline] withDockerContainer [2021-07-29T21:54:22.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-07-29T21:54:23.021Z] $ 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 [2021-07-29T21:54:24.888Z] $ docker top 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:54:25.882Z] + go version [2021-07-29T21:54:25.882Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-29T21:54:25.906Z] $ docker stop --time=1 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 [2021-07-29T21:54:28.126Z] $ docker rm -f 68b47467a2704b4225ecad354999a49d05d51ad57b83edf7747d0fd412907411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:54:28.940Z] + docker inspect -f . ci-base-image-arm64 [2021-07-29T21:54:28.940Z] . [Pipeline] withDockerContainer [2021-07-29T21:54:29.182Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-07-29T21:54:29.272Z] $ 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 [2021-07-29T21:54:31.212Z] $ docker top a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:54:32.225Z] + go mod tidy [Pipeline] sh [2021-07-29T21:54:33.514Z] + make test [2021-07-29T21:54:33.515Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-07-29T21:54:34.503Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-07-29T21:55:21.530Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-07-29T21:55:21.530Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-07-29T21:55:21.530Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-07-29T21:55:39.889Z] gofmt -l . [2021-07-29T21:55:39.889Z] [ "`gofmt -l .`" = "" ] [2021-07-29T21:55:39.889Z] ./bin/test-attribution-txt.sh [2021-07-29T21:55:41.325Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-29T21:55:41.956Z] $ docker stop --time=1 a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 [2021-07-29T21:55:44.152Z] $ docker rm -f a60d1b74e76f50b3c98d9c206a0a050757d5cc12d1a858d04fbb9235c7c9b0a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-29T21:55:44.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-29T21:55:45.022Z] Warning: overwriting stash ‘coverage-report’ [2021-07-29T21:55:45.554Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-29T21:55:46.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-29T21:55:46.433Z] + ls -al . [2021-07-29T21:55:46.433Z] total 128 [2021-07-29T21:55:46.433Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 29 21:55 . [2021-07-29T21:55:46.433Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 21:52 .. [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 29 21:52 .dockerignore [2021-07-29T21:55:46.433Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 21:52 .git [2021-07-29T21:55:46.433Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:52 .github [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 350 Jul 29 21:52 .gitignore [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 5451 Jul 29 21:52 Attribution.txt [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 1502 Jul 29 21:52 Dockerfile [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 972 Jul 29 21:52 Dockerfile.build [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 29 21:52 Jenkinsfile [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 29 21:52 LICENSE [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 906 Jul 29 21:52 Makefile [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 8048 Jul 29 21:52 README.md [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 29 21:48 VERSION [2021-07-29T21:55:46.433Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 21:52 bin [2021-07-29T21:55:46.433Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:52 cmd [2021-07-29T21:55:46.433Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 29 21:54 coverage.out [2021-07-29T21:55:46.433Z] -rw-r--r-- 1 jenkins jenkins 379 Jul 29 21:55 go.mod [2021-07-29T21:55:46.433Z] -rw-r--r-- 1 jenkins jenkins 30244 Jul 29 21:54 go.sum [2021-07-29T21:55:46.433Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 21:52 internal [2021-07-29T21:55:46.433Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 29 21:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:55:46.800Z] + 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 . [2021-07-29T21:55:47.074Z] Sending build context to Docker daemon 5.484MB [2021-07-29T21:55:47.074Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-29T21:55:47.074Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-29T21:55:47.074Z] ---> 6e62affbd40a [2021-07-29T21:55:47.074Z] Step 3/23 : ARG MAKE='make build' [2021-07-29T21:55:47.687Z] ---> Running in 3882dc7f3f1f [2021-07-29T21:55:48.286Z] Removing intermediate container 3882dc7f3f1f [2021-07-29T21:55:48.286Z] ---> 202e0c7ac81d [2021-07-29T21:55:48.286Z] Step 4/23 : WORKDIR /device-gpio [2021-07-29T21:55:48.286Z] ---> Running in a3662233b5c5 [2021-07-29T21:55:48.886Z] Removing intermediate container a3662233b5c5 [2021-07-29T21:55:48.886Z] ---> 351c82b4a7fe [2021-07-29T21:55:48.886Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:55:49.161Z] ---> Running in f8c373e3a982 [2021-07-29T21:55:49.757Z] Removing intermediate container f8c373e3a982 [2021-07-29T21:55:49.757Z] ---> 472a925c7d45 [2021-07-29T21:55:49.757Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-29T21:55:49.757Z] ---> Running in 95a3a251712e [2021-07-29T21:55:52.390Z] Removing intermediate container 95a3a251712e [2021-07-29T21:55:52.390Z] ---> 761e33ba6ddd [2021-07-29T21:55:52.390Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-07-29T21:55:52.665Z] ---> Running in fd72b87dc9fc [2021-07-29T21:55:54.105Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-29T21:55:55.087Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-29T21:55:56.064Z] OK: 138 MiB in 40 packages [2021-07-29T21:55:57.045Z] Removing intermediate container fd72b87dc9fc [2021-07-29T21:55:57.045Z] ---> 51702829f46b [2021-07-29T21:55:57.045Z] Step 8/23 : COPY . . [2021-07-29T21:55:58.478Z] ---> 6c27e2941731 [2021-07-29T21:55:58.478Z] Step 9/23 : RUN go mod tidy [2021-07-29T21:55:58.478Z] ---> Running in abd5845b44e6 [2021-07-29T21:56:01.888Z] Removing intermediate container abd5845b44e6 [2021-07-29T21:56:01.888Z] ---> a8cc559a7913 [2021-07-29T21:56:01.888Z] Step 10/23 : RUN ${MAKE} [2021-07-29T21:56:02.164Z] ---> Running in 7e56513ccffc [2021-07-29T21:56:03.612Z] go mod tidy [2021-07-29T21:56:03.892Z] 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 [2021-07-29T21:56:43.039Z] Removing intermediate container 7e56513ccffc [2021-07-29T21:56:43.039Z] ---> 2c65145f987c [2021-07-29T21:56:43.039Z] Step 11/23 : FROM scratch [2021-07-29T21:56:43.039Z] ---> [2021-07-29T21:56:43.039Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-07-29T21:56:43.039Z] ---> Running in f8ba51a7149b [2021-07-29T21:56:43.039Z] Removing intermediate container f8ba51a7149b [2021-07-29T21:56:43.039Z] ---> 288343293899 [2021-07-29T21:56:43.039Z] Step 13/23 : ENV APP_PORT=49994 [2021-07-29T21:56:43.039Z] ---> Running in 0ae0c5f5ad6a [2021-07-29T21:56:43.039Z] Removing intermediate container 0ae0c5f5ad6a [2021-07-29T21:56:43.039Z] ---> 7858987f6c2f [2021-07-29T21:56:43.039Z] Step 14/23 : EXPOSE $APP_PORT [2021-07-29T21:56:43.039Z] ---> Running in 4bc4f0a8b973 [2021-07-29T21:56:43.039Z] Removing intermediate container 4bc4f0a8b973 [2021-07-29T21:56:43.039Z] ---> e997466fa7e2 [2021-07-29T21:56:43.039Z] Step 15/23 : WORKDIR / [2021-07-29T21:56:43.039Z] ---> Running in 4322653feaf9 [2021-07-29T21:56:43.039Z] Removing intermediate container 4322653feaf9 [2021-07-29T21:56:43.039Z] ---> 175451688506 [2021-07-29T21:56:43.039Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-07-29T21:56:43.039Z] ---> 9f28186dcfc5 [2021-07-29T21:56:43.039Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-07-29T21:56:43.039Z] ---> 8d841357f242 [2021-07-29T21:56:43.039Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-07-29T21:56:43.039Z] ---> 76d6d0eb3edd [2021-07-29T21:56:43.039Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-07-29T21:56:43.039Z] ---> Running in 34409e898d18 [2021-07-29T21:56:43.640Z] Removing intermediate container 34409e898d18 [2021-07-29T21:56:43.640Z] ---> ad47fa19a8b8 [2021-07-29T21:56:43.640Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-29T21:56:43.916Z] ---> Running in 1ac971c7e223 [2021-07-29T21:56:44.514Z] Removing intermediate container 1ac971c7e223 [2021-07-29T21:56:44.514Z] ---> d51f94af798e [2021-07-29T21:56:44.514Z] Step 21/23 : LABEL arch=arm64 [2021-07-29T21:56:44.514Z] ---> Running in 79b8d74ae824 [2021-07-29T21:56:45.113Z] Removing intermediate container 79b8d74ae824 [2021-07-29T21:56:45.113Z] ---> 269fd688f014 [2021-07-29T21:56:45.113Z] Step 22/23 : LABEL git_sha=e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:56:45.389Z] ---> Running in 45e285ec066a [2021-07-29T21:56:45.984Z] Removing intermediate container 45e285ec066a [2021-07-29T21:56:45.984Z] ---> b0ec144d2d0e [2021-07-29T21:56:45.984Z] Step 23/23 : LABEL version=1.0.1-dev.1 [2021-07-29T21:56:46.257Z] ---> Running in 6b5ff3029ea4 [2021-07-29T21:56:46.854Z] Removing intermediate container 6b5ff3029ea4 [2021-07-29T21:56:46.854Z] ---> e3b39d04f4d7 [2021-07-29T21:56:46.854Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-29T21:56:46.854Z] Successfully built e3b39d04f4d7 [2021-07-29T21:56:46.854Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:56:47.191Z] provisioning config files... [2021-07-29T21:56:47.213Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8205140363880239747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:56:47.589Z] ---> docker-login.sh [2021-07-29T21:56:47.589Z] nexus3.edgexfoundry.org:10001 [2021-07-29T21:56:47.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:56:48.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:56:48.139Z] Configure a credential helper to remove this warning. See [2021-07-29T21:56:48.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:56:48.139Z] [2021-07-29T21:56:48.139Z] Login Succeeded [2021-07-29T21:56:48.139Z] nexus3.edgexfoundry.org:10002 [2021-07-29T21:56:48.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:56:48.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:56:48.737Z] Configure a credential helper to remove this warning. See [2021-07-29T21:56:48.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:56:48.737Z] [2021-07-29T21:56:48.737Z] Login Succeeded [2021-07-29T21:56:48.737Z] nexus3.edgexfoundry.org:10003 [2021-07-29T21:56:49.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:56:49.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:56:49.338Z] Configure a credential helper to remove this warning. See [2021-07-29T21:56:49.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:56:49.338Z] [2021-07-29T21:56:49.338Z] Login Succeeded [2021-07-29T21:56:49.338Z] nexus3.edgexfoundry.org:10004 [2021-07-29T21:56:49.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:56:49.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:56:49.945Z] Configure a credential helper to remove this warning. See [2021-07-29T21:56:49.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:56:49.945Z] [2021-07-29T21:56:49.945Z] Login Succeeded [2021-07-29T21:56:49.945Z] docker.io [2021-07-29T21:56:50.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-29T21:56:50.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-29T21:56:50.818Z] Configure a credential helper to remove this warning. See [2021-07-29T21:56:50.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-29T21:56:50.818Z] [2021-07-29T21:56:50.818Z] Login Succeeded [2021-07-29T21:56:50.818Z] ---> docker-login.sh ends [Pipeline] } [2021-07-29T21:56:50.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T21:56:50.915Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2021-07-29T21:56:50.915Z] e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:56:50.915Z] latest [2021-07-29T21:56:50.915Z] 1.0.1-dev.1 [2021-07-29T21:56:50.915Z] e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:56:50.915Z] main [2021-07-29T21:56:50.915Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:51.303Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:51.647Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:56:51.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-29T21:56:51.648Z] f83b74ab0bdf: Preparing [2021-07-29T21:56:51.648Z] 910d222bc83f: Preparing [2021-07-29T21:56:51.648Z] c415d7fb587c: Preparing [2021-07-29T21:56:51.920Z] c415d7fb587c: Pushed [2021-07-29T21:56:51.920Z] 910d222bc83f: Pushed [2021-07-29T21:56:54.541Z] f83b74ab0bdf: Pushed [2021-07-29T21:56:54.814Z] e4f5f068f655fee6138b2e5b598b1f79c6216501: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:55.174Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:55.530Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-07-29T21:56:55.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-29T21:56:55.530Z] f83b74ab0bdf: Preparing [2021-07-29T21:56:55.530Z] 910d222bc83f: Preparing [2021-07-29T21:56:55.530Z] c415d7fb587c: Preparing [2021-07-29T21:56:55.804Z] 910d222bc83f: Layer already exists [2021-07-29T21:56:55.804Z] f83b74ab0bdf: Layer already exists [2021-07-29T21:56:55.804Z] c415d7fb587c: Layer already exists [2021-07-29T21:56:55.804Z] latest: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:56.154Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:56.505Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 [2021-07-29T21:56:56.505Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-29T21:56:56.505Z] f83b74ab0bdf: Preparing [2021-07-29T21:56:56.505Z] 910d222bc83f: Preparing [2021-07-29T21:56:56.505Z] c415d7fb587c: Preparing [2021-07-29T21:56:56.778Z] 910d222bc83f: Layer already exists [2021-07-29T21:56:56.778Z] c415d7fb587c: Layer already exists [2021-07-29T21:56:56.778Z] f83b74ab0bdf: Layer already exists [2021-07-29T21:56:56.778Z] 1.0.1-dev.1: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:57.132Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:57.475Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:56:57.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-29T21:56:57.475Z] f83b74ab0bdf: Preparing [2021-07-29T21:56:57.475Z] 910d222bc83f: Preparing [2021-07-29T21:56:57.475Z] c415d7fb587c: Preparing [2021-07-29T21:56:57.748Z] f83b74ab0bdf: Layer already exists [2021-07-29T21:56:57.748Z] c415d7fb587c: Layer already exists [2021-07-29T21:56:57.748Z] 910d222bc83f: Layer already exists [2021-07-29T21:56:57.748Z] e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:58.094Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:58.434Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2021-07-29T21:56:58.434Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-07-29T21:56:58.434Z] f83b74ab0bdf: Preparing [2021-07-29T21:56:58.434Z] 910d222bc83f: Preparing [2021-07-29T21:56:58.434Z] c415d7fb587c: Preparing [2021-07-29T21:56:58.708Z] f83b74ab0bdf: Layer already exists [2021-07-29T21:56:58.708Z] 910d222bc83f: Layer already exists [2021-07-29T21:56:58.708Z] c415d7fb587c: Layer already exists [2021-07-29T21:56:58.708Z] main: digest: sha256:0ac06f8a76119d15fda84be1379ecd945e49e16f778d6a7298cbf98cbbc601d7 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-07-29T21:56:58.778Z] ===================================================== [Pipeline] echo [2021-07-29T21:56:58.796Z] taggedImages: [2021-07-29T21:56:58.796Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501 [2021-07-29T21:56:58.796Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-07-29T21:56:58.796Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.1 [2021-07-29T21:56:58.796Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:e4f5f068f655fee6138b2e5b598b1f79c6216501-1.0.1-dev.1 [2021-07-29T21:56:58.796Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:59.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:56:59.541Z] [2021-07-29T21:56:59.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:56:59.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:57:00.174Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-29T21:57:00.174Z] 448f6bf000e3: Pulling fs layer [2021-07-29T21:57:00.174Z] f757da607395: Pulling fs layer [2021-07-29T21:57:00.174Z] 05883995daec: Pulling fs layer [2021-07-29T21:57:00.174Z] 8603b9c90790: Pulling fs layer [2021-07-29T21:57:00.174Z] 1560dd03e051: Pulling fs layer [2021-07-29T21:57:00.174Z] 27f5ce0e4adf: Pulling fs layer [2021-07-29T21:57:00.174Z] c2d8d7efcc4b: Pulling fs layer [2021-07-29T21:57:00.174Z] 8603b9c90790: Waiting [2021-07-29T21:57:00.174Z] 1560dd03e051: Waiting [2021-07-29T21:57:00.174Z] 27f5ce0e4adf: Waiting [2021-07-29T21:57:00.174Z] c2d8d7efcc4b: Waiting [2021-07-29T21:57:00.449Z] f757da607395: Verifying Checksum [2021-07-29T21:57:00.449Z] 8603b9c90790: Verifying Checksum [2021-07-29T21:57:00.449Z] 8603b9c90790: Download complete [2021-07-29T21:57:00.724Z] 1560dd03e051: Verifying Checksum [2021-07-29T21:57:00.725Z] 1560dd03e051: Download complete [2021-07-29T21:57:00.725Z] 27f5ce0e4adf: Verifying Checksum [2021-07-29T21:57:00.725Z] 27f5ce0e4adf: Download complete [2021-07-29T21:57:00.997Z] 05883995daec: Verifying Checksum [2021-07-29T21:57:00.997Z] 05883995daec: Download complete [2021-07-29T21:57:01.602Z] 448f6bf000e3: Verifying Checksum [2021-07-29T21:57:01.602Z] 448f6bf000e3: Download complete [2021-07-29T21:57:05.006Z] c2d8d7efcc4b: Verifying Checksum [2021-07-29T21:57:05.006Z] c2d8d7efcc4b: Download complete [2021-07-29T21:57:05.279Z] 448f6bf000e3: Pull complete [2021-07-29T21:57:05.879Z] f757da607395: Pull complete [2021-07-29T21:57:07.309Z] 05883995daec: Pull complete [2021-07-29T21:57:07.902Z] 8603b9c90790: Pull complete [2021-07-29T21:57:08.879Z] 1560dd03e051: Pull complete [2021-07-29T21:57:09.153Z] 27f5ce0e4adf: Pull complete [2021-07-29T21:57:24.239Z] c2d8d7efcc4b: Pull complete [2021-07-29T21:57:24.239Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-29T21:57:24.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-29T21:57:24.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-29T21:57:24.511Z] prd-ubuntu18.04-docker-arm64-4c-16g-574 does not seem to be running inside a container [2021-07-29T21:57:24.606Z] $ 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 [2021-07-29T21:57:29.050Z] $ docker top c22a8c05021adf677aa724d7232d2b316d02e076f01d32488fd9c135c999b6c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:57:29.966Z] ---> job-cost.sh [2021-07-29T21:57:29.966Z] lf-activate-venv: SKIPPING [2021-07-29T21:57:29.966Z] INFO: No Stack... [2021-07-29T21:57:30.939Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-29T21:57:31.210Z] INFO: Archiving Costs [Pipeline] sh [2021-07-29T21:57:31.909Z] + cut -d, -f6 [2021-07-29T21:57:31.910Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock [2021-07-29T21:57:31.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [2021-07-29T21:57:32.010Z] Resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] did not exist. Created. [2021-07-29T21:57:32.010Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-29T21:57:32.738Z] /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 [2021-07-29T21:57:33.415Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-29T21:57:33.446Z] Warning: overwriting stash ‘stack-cost’ [2021-07-29T21:57:33.479Z] Stashed 1 file(s) [Pipeline] } [2021-07-29T21:57:33.488Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-29T21:57:33.530Z] $ docker stop --time=1 c22a8c05021adf677aa724d7232d2b316d02e076f01d32488fd9c135c999b6c5 [2021-07-29T21:57:35.165Z] $ 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 [2021-07-29T21:57:35.981Z] provisioning config files... [2021-07-29T21:57:35.996Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6697793604152650302tmp [Pipeline] { [Pipeline] sh [2021-07-29T21:57:36.326Z] + set +x [2021-07-29T21:57:36.326Z] + curl -s https://codecov.io/bash [2021-07-29T21:57:36.326Z] + bash -s -- [2021-07-29T21:57:36.326Z] [2021-07-29T21:57:36.326Z] _____ _ [2021-07-29T21:57:36.326Z] / ____| | | [2021-07-29T21:57:36.326Z] | | ___ __| | ___ ___ _____ __ [2021-07-29T21:57:36.326Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-29T21:57:36.326Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-29T21:57:36.326Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-29T21:57:36.326Z] Bash-1.0.6 [2021-07-29T21:57:36.326Z] [2021-07-29T21:57:36.326Z] [2021-07-29T21:57:36.326Z] ==> git version 2.24.4 found [2021-07-29T21:57:36.326Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-29T21:57:36.326Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-29T21:57:36.326Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-29T21:57:36.326Z] ==> Jenkins CI detected. [2021-07-29T21:57:36.326Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:57:36.326Z] project root: . [2021-07-29T21:57:36.326Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-29T21:57:36.596Z] ==> Running gcov in . (disable via -X gcov) [2021-07-29T21:57:36.596Z] ==> Python coveragepy not found [2021-07-29T21:57:36.596Z] ==> Searching for coverage reports in: [2021-07-29T21:57:36.596Z] + . [2021-07-29T21:57:36.596Z] -> Found 1 reports [2021-07-29T21:57:36.596Z] ==> Detecting git/mercurial file structure [2021-07-29T21:57:36.596Z] ==> Reading reports [2021-07-29T21:57:36.596Z] + ./coverage.out bytes=10 [2021-07-29T21:57:36.596Z] ==> Appending adjustments [2021-07-29T21:57:36.596Z] https://docs.codecov.io/docs/fixing-reports [2021-07-29T21:57:36.596Z] + Found adjustments [2021-07-29T21:57:36.596Z] ==> Gzipping contents [2021-07-29T21:57:36.596Z] 4.0K /tmp/codecov.OpRbSw.gz [2021-07-29T21:57:36.596Z] ==> Uploading reports [2021-07-29T21:57:36.596Z] url: https://codecov.io [2021-07-29T21:57:36.596Z] 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= [2021-07-29T21:57:36.596Z] -> Pinging Codecov [2021-07-29T21:57:36.596Z] 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= [2021-07-29T21:57:36.864Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [2021-07-29T21:57:36.864Z] 404 [2021-07-29T21:57:36.864Z] ==> Uploading to Codecov [2021-07-29T21:57:36.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-29T21:57:36.864Z] Dload Upload Total Spent Left Speed [2021-07-29T21:57:36.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 751 100 169 100 582 778 2682 --:--:-- --:--:-- --:--:-- 2694 [2021-07-29T21:57:36.864Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [Pipeline] } [2021-07-29T21:57:36.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-29T21:57:37.181Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-29T21:57:37.203Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:57:37.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T21:57:37.527Z] [2021-07-29T21:57:37.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:57:37.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T21:57:37.854Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-29T21:57:37.854Z] 188c0c94c7c5: Pulling fs layer [2021-07-29T21:57:37.854Z] 0ef7d3d256c8: Pulling fs layer [2021-07-29T21:57:37.854Z] de9db76c5a1d: Pulling fs layer [2021-07-29T21:57:37.854Z] 0eba1c9be4d2: Pulling fs layer [2021-07-29T21:57:37.854Z] 0d57e429df01: Pulling fs layer [2021-07-29T21:57:37.854Z] 4e4be7b47b0d: Pulling fs layer [2021-07-29T21:57:37.854Z] e1f770b5df2f: Pulling fs layer [2021-07-29T21:57:37.854Z] 85a0685a4137: Pulling fs layer [2021-07-29T21:57:37.854Z] 0d57e429df01: Waiting [2021-07-29T21:57:37.854Z] 4e4be7b47b0d: Waiting [2021-07-29T21:57:37.854Z] e1f770b5df2f: Waiting [2021-07-29T21:57:37.854Z] 85a0685a4137: Waiting [2021-07-29T21:57:37.854Z] 0eba1c9be4d2: Waiting [2021-07-29T21:57:37.854Z] de9db76c5a1d: Verifying Checksum [2021-07-29T21:57:37.854Z] de9db76c5a1d: Download complete [2021-07-29T21:57:37.854Z] 0ef7d3d256c8: Verifying Checksum [2021-07-29T21:57:37.854Z] 0ef7d3d256c8: Download complete [2021-07-29T21:57:37.854Z] 0d57e429df01: Verifying Checksum [2021-07-29T21:57:37.854Z] 0d57e429df01: Download complete [2021-07-29T21:57:37.854Z] 4e4be7b47b0d: Verifying Checksum [2021-07-29T21:57:37.854Z] 4e4be7b47b0d: Download complete [2021-07-29T21:57:38.118Z] 188c0c94c7c5: Verifying Checksum [2021-07-29T21:57:38.383Z] 188c0c94c7c5: Pull complete [2021-07-29T21:57:38.383Z] 0ef7d3d256c8: Pull complete [2021-07-29T21:57:38.383Z] de9db76c5a1d: Pull complete [2021-07-29T21:57:39.339Z] e1f770b5df2f: Verifying Checksum [2021-07-29T21:57:39.339Z] e1f770b5df2f: Download complete [2021-07-29T21:57:42.678Z] 85a0685a4137: Verifying Checksum [2021-07-29T21:57:42.678Z] 85a0685a4137: Download complete [2021-07-29T21:57:42.951Z] 0eba1c9be4d2: Verifying Checksum [2021-07-29T21:57:42.951Z] 0eba1c9be4d2: Download complete [2021-07-29T21:57:46.332Z] 0eba1c9be4d2: Pull complete [2021-07-29T21:57:46.332Z] 0d57e429df01: Pull complete [2021-07-29T21:57:46.332Z] 4e4be7b47b0d: Pull complete [2021-07-29T21:57:46.598Z] e1f770b5df2f: Pull complete [2021-07-29T21:57:49.954Z] 85a0685a4137: Pull complete [2021-07-29T21:57:49.955Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-29T21:57:49.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-29T21:57:49.955Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-29T21:57:50.045Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:57:50.106Z] $ 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 [2021-07-29T21:57:52.059Z] $ docker top c13e072693c9631471bf6b925caa3c657e08e485bf35a47bb8b42f9fce761daf -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-29T21:57:52.163Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-29T21:57:52.510Z] + set -o pipefail [2021-07-29T21:57:52.510Z] + snyk monitor '--org=edgex-jenkins' [2021-07-29T21:58:10.720Z] [2021-07-29T21:58:10.720Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2021-07-29T21:58:10.720Z] [2021-07-29T21:58:10.720Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/2c88b842-5315-4199-bf6e-795347206a18 [2021-07-29T21:58:10.720Z] [2021-07-29T21:58:10.720Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-29T21:58:10.720Z] [2021-07-29T21:58:10.720Z] [Pipeline] } [2021-07-29T21:58:10.738Z] $ docker stop --time=1 c13e072693c9631471bf6b925caa3c657e08e485bf35a47bb8b42f9fce761daf [2021-07-29T21:58:12.395Z] $ 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 [2021-07-29T21:58:13.416Z] + git log --format=format:%s -1 e4f5f068f655fee6138b2e5b598b1f79c6216501 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:13.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:58:13.742Z] . [Pipeline] withDockerContainer [2021-07-29T21:58:13.831Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:58:13.887Z] $ 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 [2021-07-29T21:58:14.262Z] $ docker top b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T21:58:14.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:58:14.385Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:58:14.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:58:14.523Z] $ docker exec b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 ssh-agent [2021-07-29T21:58:14.637Z] SSH_AUTH_SOCK=/tmp/ssh-aY9uKW6wTdOI/agent.15 [2021-07-29T21:58:14.637Z] SSH_AGENT_PID=21 [2021-07-29T21:58:14.645Z] Running ssh-add (command line suppressed) [2021-07-29T21:58:14.743Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1383687335120421329.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1383687335120421329.key) [2021-07-29T21:58:14.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:58:15.075Z] + git semver tag [2021-07-29T21:58:15.075Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T21:58:15.075Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-07-29T21:58:15.075Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:58:15.075Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T21:58:15.075Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T21:58:15.075Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T21:58:15.075Z] # $SEMVER_BRANCH = main [2021-07-29T21:58:15.075Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2021-07-29T21:58:15.075Z] # e4f5f068f655fee6138b2e5b598b1f79c6216501 HEAD [2021-07-29T21:58:15.075Z] # -> Force: false [2021-07-29T21:58:15.075Z] # 6209620f721b5ce190a412af5c58ccab07496733 refs/tags/v1.0.1-dev.1 [Pipeline] } [2021-07-29T21:58:15.090Z] $ docker exec --env ******** --env ******** b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 ssh-agent -k [2021-07-29T21:58:15.185Z] unset SSH_AUTH_SOCK; [2021-07-29T21:58:15.185Z] unset SSH_AGENT_PID; [2021-07-29T21:58:15.185Z] echo Agent pid 21 killed; [2021-07-29T21:58:15.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T21:58:15.551Z] + git semver [Pipeline] } [2021-07-29T21:58:15.573Z] $ docker stop --time=1 b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 [2021-07-29T21:58:16.762Z] $ docker rm -f b912879a9d069bf1bbf31229dfe3f893ea3d375414a4bfa02d02ee00738ed720 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:17.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T21:58:17.215Z] [2021-07-29T21:58:17.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:17.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T21:58:17.596Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-29T21:58:17.596Z] ab5ef0e58194: Pulling fs layer [2021-07-29T21:58:17.596Z] 9712f1f96733: Pulling fs layer [2021-07-29T21:58:17.596Z] 63f879dbbcfc: Pulling fs layer [2021-07-29T21:58:17.596Z] 0d9ebad4ef96: Pulling fs layer [2021-07-29T21:58:17.596Z] e9a5061849ea: Pulling fs layer [2021-07-29T21:58:17.596Z] d747dcd14b5f: Pulling fs layer [2021-07-29T21:58:17.596Z] 2de7ff778b66: Pulling fs layer [2021-07-29T21:58:17.596Z] 0d9ebad4ef96: Waiting [2021-07-29T21:58:17.596Z] e9a5061849ea: Waiting [2021-07-29T21:58:17.596Z] d747dcd14b5f: Waiting [2021-07-29T21:58:17.596Z] 2de7ff778b66: Waiting [2021-07-29T21:58:17.596Z] 9712f1f96733: Verifying Checksum [2021-07-29T21:58:17.596Z] 9712f1f96733: Download complete [2021-07-29T21:58:20.168Z] 63f879dbbcfc: Verifying Checksum [2021-07-29T21:58:20.168Z] 63f879dbbcfc: Download complete [2021-07-29T21:58:20.168Z] e9a5061849ea: Verifying Checksum [2021-07-29T21:58:20.168Z] e9a5061849ea: Download complete [2021-07-29T21:58:20.168Z] d747dcd14b5f: Verifying Checksum [2021-07-29T21:58:20.168Z] d747dcd14b5f: Download complete [2021-07-29T21:58:20.749Z] 2de7ff778b66: Verifying Checksum [2021-07-29T21:58:20.749Z] 2de7ff778b66: Download complete [2021-07-29T21:58:21.017Z] 0d9ebad4ef96: Verifying Checksum [2021-07-29T21:58:21.017Z] 0d9ebad4ef96: Download complete [2021-07-29T21:58:21.602Z] ab5ef0e58194: Verifying Checksum [2021-07-29T21:58:21.602Z] ab5ef0e58194: Download complete [2021-07-29T21:58:24.226Z] ab5ef0e58194: Pull complete [2021-07-29T21:58:24.226Z] 9712f1f96733: Pull complete [2021-07-29T21:58:24.814Z] 63f879dbbcfc: Pull complete [2021-07-29T21:58:28.183Z] 0d9ebad4ef96: Pull complete [2021-07-29T21:58:28.183Z] e9a5061849ea: Pull complete [2021-07-29T21:58:28.183Z] d747dcd14b5f: Pull complete [2021-07-29T21:58:29.187Z] 2de7ff778b66: Pull complete [2021-07-29T21:58:29.187Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-29T21:58:29.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-29T21:58:29.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-29T21:58:29.286Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:58:29.351Z] $ 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 [2021-07-29T21:58:32.597Z] $ docker top 54896c416c7d90a55a6d0cec9a417f802c52fd083ada9f9cfc9f11d6c56c4d2c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:58:32.765Z] provisioning config files... [2021-07-29T21:58:32.778Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config726091669986100552tmp [2021-07-29T21:58:32.797Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2524493934536675204tmp [2021-07-29T21:58:32.814Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2046637231980081087tmp [Pipeline] { [Pipeline] echo [2021-07-29T21:58:32.838Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:58:33.140Z] ---> sigul-configuration.sh [2021-07-29T21:58:33.141Z] gpg: directory `/root/.gnupg' created [2021-07-29T21:58:33.141Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-29T21:58:33.141Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-29T21:58:33.141Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-29T21:58:33.141Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-29T21:58:33.141Z] gpg: CAST5 encrypted data [2021-07-29T21:58:33.141Z] gpg: encrypted with 1 passphrase [2021-07-29T21:58:33.141Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-29T21:58:33.451Z] + mkdir /home/jenkins [2021-07-29T21:58:33.452Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-29T21:58:33.769Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-07-29T21:58:33.783Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:58:34.094Z] ---> sigul-install.sh [2021-07-29T21:58:34.094Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-29T21:58:34.405Z] + git tag --list [2021-07-29T21:58:34.405Z] v0.0.0 [2021-07-29T21:58:34.405Z] v1.0.0 [2021-07-29T21:58:34.405Z] v1.0.1-dev.1 [Pipeline] sh [2021-07-29T21:58:34.717Z] + lftools sign git-tag v1.0.1-dev.1 [2021-07-29T21:58:35.300Z] Signing Git tag with Sigul... [2021-07-29T21:58:35.300Z] Signing v1.0.1-dev.1 [Pipeline] echo [2021-07-29T21:58:35.894Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:58:36.196Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-29T21:58:36.209Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-29T21:58:36.242Z] $ docker stop --time=1 54896c416c7d90a55a6d0cec9a417f802c52fd083ada9f9cfc9f11d6c56c4d2c [2021-07-29T21:58:37.433Z] $ 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 [2021-07-29T21:58:38.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:58:38.064Z] . [Pipeline] withDockerContainer [2021-07-29T21:58:38.144Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:58:38.195Z] $ 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 [2021-07-29T21:58:38.525Z] $ docker top 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T21:58:38.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:58:38.657Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:58:38.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:58:38.782Z] $ docker exec 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 ssh-agent [2021-07-29T21:58:38.888Z] SSH_AUTH_SOCK=/tmp/ssh-5wmQ6WIz6nrG/agent.15 [2021-07-29T21:58:38.888Z] SSH_AGENT_PID=21 [2021-07-29T21:58:38.896Z] Running ssh-add (command line suppressed) [2021-07-29T21:58:38.999Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3447404490422726271.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3447404490422726271.key) [2021-07-29T21:58:39.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:58:39.332Z] + git semver bump pre [2021-07-29T21:58:39.332Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T21:58:39.332Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-07-29T21:58:39.332Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:58:39.332Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T21:58:39.332Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T21:58:39.332Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T21:58:39.332Z] # $SEMVER_BRANCH = main [2021-07-29T21:58:39.332Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2021-07-29T21:58:39.332Z] 1.0.1-dev.2 [Pipeline] } [2021-07-29T21:58:39.345Z] $ docker exec --env ******** --env ******** 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 ssh-agent -k [2021-07-29T21:58:39.431Z] unset SSH_AUTH_SOCK; [2021-07-29T21:58:39.431Z] unset SSH_AGENT_PID; [2021-07-29T21:58:39.431Z] echo Agent pid 21 killed; [2021-07-29T21:58:39.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T21:58:39.788Z] + git semver [Pipeline] } [2021-07-29T21:58:39.809Z] $ docker stop --time=1 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 [2021-07-29T21:58:41.021Z] $ docker rm -f 29ee8bfead824912cead4ef1a78c8faff4b78d133757c0756cd20f0792c84c23 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:41.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-29T21:58:41.424Z] . [Pipeline] withDockerContainer [2021-07-29T21:58:41.510Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:58:41.561Z] $ 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 [2021-07-29T21:58:41.907Z] $ docker top a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-29T21:58:42.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-29T21:58:42.048Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-29T21:58:42.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-29T21:58:42.238Z] $ docker exec a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 ssh-agent [2021-07-29T21:58:42.424Z] SSH_AUTH_SOCK=/tmp/ssh-gBNn5fo2mqGF/agent.14 [2021-07-29T21:58:42.424Z] SSH_AGENT_PID=20 [2021-07-29T21:58:42.443Z] Running ssh-add (command line suppressed) [2021-07-29T21:58:42.562Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5079888837871357320.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5079888837871357320.key) [2021-07-29T21:58:42.640Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-29T21:58:42.990Z] + git semver push [2021-07-29T21:58:42.990Z] # -> Open(): unable to determine branch for HEAD [2021-07-29T21:58:42.990Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-07-29T21:58:42.990Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:58:42.990Z] # $SEMVER_REMOTE_NAME = origin [2021-07-29T21:58:42.990Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-29T21:58:42.990Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-29T21:58:42.990Z] # $SEMVER_BRANCH = main [2021-07-29T21:58:42.990Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2021-07-29T21:58:49.635Z] $ docker exec --env ******** --env ******** a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 ssh-agent -k [2021-07-29T21:58:49.730Z] unset SSH_AUTH_SOCK; [2021-07-29T21:58:49.730Z] unset SSH_AGENT_PID; [2021-07-29T21:58:49.731Z] echo Agent pid 20 killed; [2021-07-29T21:58:49.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-29T21:58:50.096Z] + git semver [Pipeline] } [2021-07-29T21:58:50.117Z] $ docker stop --time=1 a9edc057e1b0a08b7466ed1bc38be677511ece2753557119d04e7836f55301a0 [2021-07-29T21:58:51.310Z] $ 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 [2021-07-29T21:58:52.381Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:58:52.973Z] ---> package-listing.sh [2021-07-29T21:58:52.973Z] ++ facter osfamily [2021-07-29T21:58:52.973Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-29T21:58:53.243Z] + OS_FAMILY=redhat [2021-07-29T21:58:53.243Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2021-07-29T21:58:53.243Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-29T21:58:53.243Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-29T21:58:53.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-29T21:58:53.243Z] + PACKAGES=/tmp/packages_start.txt [2021-07-29T21:58:53.243Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-07-29T21:58:53.243Z] + PACKAGES=/tmp/packages_end.txt [2021-07-29T21:58:53.243Z] + case "${OS_FAMILY}" in [2021-07-29T21:58:53.243Z] + rpm -qa [2021-07-29T21:58:53.243Z] + sort [2021-07-29T21:58:53.826Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-29T21:58:53.826Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-29T21:58:53.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-29T21:58:53.826Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-07-29T21:58:53.826Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2021-07-29T21:58:53.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2021-07-29T21:58:53.844Z] 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 [2021-07-29T21:58:54.194Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:54.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:58:54.778Z] [2021-07-29T21:58:54.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-29T21:58:55.101Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:58:55.101Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-29T21:58:55.101Z] b4d181a07f80: Pulling fs layer [2021-07-29T21:58:55.101Z] a1111a8f2ec3: Pulling fs layer [2021-07-29T21:58:55.101Z] ed53099fbce6: Pulling fs layer [2021-07-29T21:58:55.101Z] dc539afda2c1: Pulling fs layer [2021-07-29T21:58:55.101Z] 77bc0d833cb6: Pulling fs layer [2021-07-29T21:58:55.101Z] 9065ff56babe: Pulling fs layer [2021-07-29T21:58:55.101Z] d287ab97295c: Pulling fs layer [2021-07-29T21:58:55.101Z] dc539afda2c1: Waiting [2021-07-29T21:58:55.101Z] 77bc0d833cb6: Waiting [2021-07-29T21:58:55.101Z] 9065ff56babe: Waiting [2021-07-29T21:58:55.101Z] d287ab97295c: Waiting [2021-07-29T21:58:55.680Z] a1111a8f2ec3: Verifying Checksum [2021-07-29T21:58:55.680Z] a1111a8f2ec3: Download complete [2021-07-29T21:58:55.680Z] dc539afda2c1: Download complete [2021-07-29T21:58:55.944Z] ed53099fbce6: Verifying Checksum [2021-07-29T21:58:55.944Z] ed53099fbce6: Download complete [2021-07-29T21:58:55.944Z] 9065ff56babe: Verifying Checksum [2021-07-29T21:58:55.944Z] 9065ff56babe: Download complete [2021-07-29T21:58:55.944Z] 77bc0d833cb6: Verifying Checksum [2021-07-29T21:58:55.944Z] 77bc0d833cb6: Download complete [2021-07-29T21:58:57.351Z] b4d181a07f80: Verifying Checksum [2021-07-29T21:58:57.351Z] b4d181a07f80: Download complete [2021-07-29T21:58:58.321Z] b4d181a07f80: Pull complete [2021-07-29T21:58:58.321Z] a1111a8f2ec3: Pull complete [2021-07-29T21:58:58.907Z] ed53099fbce6: Pull complete [2021-07-29T21:58:58.907Z] dc539afda2c1: Pull complete [2021-07-29T21:58:59.172Z] 77bc0d833cb6: Pull complete [2021-07-29T21:58:59.173Z] 9065ff56babe: Pull complete [2021-07-29T21:59:03.421Z] d287ab97295c: Verifying Checksum [2021-07-29T21:59:03.421Z] d287ab97295c: Download complete [2021-07-29T21:59:07.667Z] d287ab97295c: Pull complete [2021-07-29T21:59:07.667Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-29T21:59:07.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-29T21:59:07.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-29T21:59:07.761Z] prd-centos7-docker-4c-2g-562 does not seem to be running inside a container [2021-07-29T21:59:07.812Z] $ 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 [2021-07-29T21:59:10.003Z] $ docker top 9aabe52f9c5dae334af3d3d18f1b562efc060d7742696588cfeb958625252367 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-29T21:59:10.389Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-29T21:59:10.705Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-29T21:59:11.017Z] + ls /var/log/sa-host [2021-07-29T21:59:11.017Z] + sadf -c /var/log/sa-host/sa05 [2021-07-29T21:59:11.017Z] file_magic: OK [2021-07-29T21:59:11.017Z] HZ: Using current value: 100 [2021-07-29T21:59:11.017Z] file_header: OK [2021-07-29T21:59:11.017Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-29T21:59:11.017Z] Statistics: [2021-07-29T21:59:11.017Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T21:59:11.017Z] File successfully converted to sysstat format version 12.0.3 [2021-07-29T21:59:11.017Z] + sadf -c /var/log/sa-host/sa29 [2021-07-29T21:59:11.017Z] file_magic: OK [2021-07-29T21:59:11.017Z] HZ: Using current value: 100 [2021-07-29T21:59:11.017Z] file_header: OK [2021-07-29T21:59:11.017Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-29T21:59:11.017Z] Statistics: [2021-07-29T21:59:11.017Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-29T21:59:11.017Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-29T21:59:11.212Z] provisioning config files... [2021-07-29T21:59:11.229Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3937810659145507778tmp [Pipeline] { [Pipeline] echo [2021-07-29T21:59:11.258Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:59:11.566Z] ---> create-netrc.sh [Pipeline] } [2021-07-29T21:59:11.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:59:11.954Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-29T21:59:11.969Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:59:12.272Z] ---> sudo-logs.sh [2021-07-29T21:59:12.272Z] Archiving 'sudo' log.. [2021-07-29T21:59:12.272Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-562.vexxhost.local: Name or service not known [2021-07-29T21:59:12.272Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-562.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-29T21:59:12.310Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:59:12.615Z] ---> job-cost.sh [2021-07-29T21:59:12.615Z] lf-activate-venv: SKIPPING [2021-07-29T21:59:12.615Z] DEBUG: total: 0.18000000715255737 [2021-07-29T21:59:12.615Z] INFO: Retrieving Stack Cost... [2021-07-29T21:59:14.017Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-29T21:59:14.017Z] INFO: Archiving Costs [Pipeline] echo [2021-07-29T21:59:14.033Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-29T21:59:14.353Z] ---> logs-deploy.sh [2021-07-29T21:59:14.353Z] lf-activate-venv: SKIPPING [2021-07-29T21:59:14.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/2 [2021-07-29T21:59:14.353Z] INFO: archiving workspace using pattern(s): [2021-07-29T21:59:14.936Z] Archives upload complete. [2021-07-29T21:59:15.203Z] INFO: archiving logs to Nexus