ernestojeda commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-gpio Obtained Jenkinsfile from 42e90dd75818125de2014c769f9771e2ae4197be+c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 (a7ee1ff2bd5b1795d9944345b3b6deebfdc360b0) 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-ssh4047641309567543990.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh3760265269424039818.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-12/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/PR-12/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3413275731486568077.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh6135818799772718306.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-12/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/PR-12/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1389183725295699651.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-335 in /w/workspace/edgexfoundry_device-gpio_PR-12 [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_PR-12 # 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_PR-12@tmp/jenkins-gitclient-ssh4904764651846244950.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-12@tmp/jenkins-gitclient-ssh883546347146447170.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/12/head:refs/remotes/origin/PR-12 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 into PR head commit 42e90dd75818125de2014c769f9771e2ae4197be Merge succeeded, producing 42e90dd75818125de2014c769f9771e2ae4197be Checking out Revision 42e90dd75818125de2014c769f9771e2ae4197be (PR-12) > git config core.sparsecheckout # timeout=10 > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_PR-12@tmp/jenkins-gitclient-ssh4111568008574018719.key > git merge c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 Commit message: "ci: changes required for Jakara LTS" > git rev-list --no-walk 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-06T22:00:45.668Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-06T22:00:45.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-06T22:00:45.814Z] ========================================================= [2021-10-06T22:00:45.814Z] EdgeX Global Pipelines Version Info [2021-10-06T22:00:45.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:00:47.063Z] ------------------- [2021-10-06T22:00:47.063Z] stable info: [2021-10-06T22:00:47.063Z] ------------------- [2021-10-06T22:00:47.063Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T22:00:47.063Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-06T22:00:47.063Z] Message: update stable to v1.0.207 [2021-10-06T22:00:47.651Z] ------------------- [2021-10-06T22:00:47.651Z] experimental info: [2021-10-06T22:00:47.651Z] ------------------- [2021-10-06T22:00:47.651Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-06T22:00:47.651Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-06T22:00:47.651Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-06T22:00:47.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-10-06T22:00:47.809Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-10-06T22:00:47.837Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-06T22:00:47.863Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-06T22:00:47.889Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-06T22:00:47.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-06T22:00:47.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-06T22:00:47.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-06T22:00:47.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-06T22:00:48.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-06T22:00:48.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-06T22:00:48.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-10-06T22:00:48.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-06T22:00:48.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-06T22:00:48.141Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-06T22:00:48.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-06T22:00:48.191Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T22:00:48.215Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T22:00:48.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-06T22:00:48.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-06T22:00:48.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-06T22:00:48.312Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-06T22:00:48.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-06T22:00:48.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-06T22:00:48.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-06T22:00:48.411Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-06T22:00:48.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-12 [Pipeline] echo [2021-10-06T22:00:48.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-12 [Pipeline] echo [2021-10-06T22:00:48.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-12 [Pipeline] echo [2021-10-06T22:00:48.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42e90dd75818125de2014c769f9771e2ae4197be [Pipeline] echo [2021-10-06T22:00:48.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42e90dd [Pipeline] echo [2021-10-06T22:00:48.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T22:00:48.649Z] provisioning config files... [2021-10-06T22:00:48.879Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-12@tmp/config8956483552071599052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:00:49.225Z] ---> docker-login.sh [2021-10-06T22:00:49.226Z] nexus3.edgexfoundry.org:10001 [2021-10-06T22:00:49.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:00:50.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:00:50.189Z] Configure a credential helper to remove this warning. See [2021-10-06T22:00:50.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:00:50.189Z] [2021-10-06T22:00:50.189Z] Login Succeeded [2021-10-06T22:00:50.189Z] nexus3.edgexfoundry.org:10002 [2021-10-06T22:00:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:00:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:00:50.460Z] Configure a credential helper to remove this warning. See [2021-10-06T22:00:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:00:50.460Z] [2021-10-06T22:00:50.460Z] Login Succeeded [2021-10-06T22:00:50.460Z] nexus3.edgexfoundry.org:10003 [2021-10-06T22:00:50.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:00:50.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:00:50.460Z] Configure a credential helper to remove this warning. See [2021-10-06T22:00:50.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:00:50.460Z] [2021-10-06T22:00:50.460Z] Login Succeeded [2021-10-06T22:00:50.460Z] nexus3.edgexfoundry.org:10004 [2021-10-06T22:00:50.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:00:50.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:00:50.729Z] Configure a credential helper to remove this warning. See [2021-10-06T22:00:50.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:00:50.729Z] [2021-10-06T22:00:50.729Z] Login Succeeded [2021-10-06T22:00:50.729Z] docker.io [2021-10-06T22:00:50.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:00:51.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:00:51.316Z] Configure a credential helper to remove this warning. See [2021-10-06T22:00:51.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:00:51.316Z] [2021-10-06T22:00:51.316Z] Login Succeeded [2021-10-06T22:00:51.316Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T22:00:51.330Z] 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-10-06T22:00:51.852Z] + git log --format=format:%s -1 42e90dd75818125de2014c769f9771e2ae4197be [Pipeline] echo [2021-10-06T22:00:51.903Z] GIT_COMMIT: 42e90dd75818125de2014c769f9771e2ae4197be, Commit Message: ci: changes required for Jakara LTS [Pipeline] echo [2021-10-06T22:00:51.917Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:00:52.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T22:00:52.498Z] [2021-10-06T22:00:52.498Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:00:52.833Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T22:00:52.833Z] latest: Pulling from edgex-devops/git-semver [2021-10-06T22:00:52.833Z] 31603596830f: Pulling fs layer [2021-10-06T22:00:52.833Z] 04fac38145f0: Pulling fs layer [2021-10-06T22:00:52.833Z] 701f6daf10bf: Pulling fs layer [2021-10-06T22:00:52.833Z] 24f72da36158: Pulling fs layer [2021-10-06T22:00:52.833Z] 24f72da36158: Waiting [2021-10-06T22:00:52.833Z] 04fac38145f0: Verifying Checksum [2021-10-06T22:00:52.833Z] 04fac38145f0: Download complete [2021-10-06T22:00:53.100Z] 31603596830f: Download complete [2021-10-06T22:00:53.100Z] 24f72da36158: Verifying Checksum [2021-10-06T22:00:53.100Z] 24f72da36158: Download complete [2021-10-06T22:00:53.100Z] 701f6daf10bf: Verifying Checksum [2021-10-06T22:00:53.100Z] 701f6daf10bf: Download complete [2021-10-06T22:00:53.100Z] 31603596830f: Pull complete [2021-10-06T22:00:53.372Z] 04fac38145f0: Pull complete [2021-10-06T22:00:53.972Z] 701f6daf10bf: Pull complete [2021-10-06T22:00:53.972Z] 24f72da36158: Pull complete [2021-10-06T22:00:53.972Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-06T22:00:53.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T22:00:53.972Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-06T22:00:54.065Z] prd-centos7-docker-4c-2g-335 does not seem to be running inside a container [2021-10-06T22:00:54.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-12 -v /w/workspace/edgexfoundry_device-gpio_PR-12:/w/workspace/edgexfoundry_device-gpio_PR-12:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-12@tmp:/w/workspace/edgexfoundry_device-gpio_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-06T22:00:54.896Z] $ docker top 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-06T22:00:55.023Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T22:00:55.023Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T22:00:55.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T22:00:55.136Z] $ docker exec 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 ssh-agent [2021-10-06T22:00:55.245Z] SSH_AUTH_SOCK=/tmp/ssh-dNhwXZ4kIhjO/agent.14 [2021-10-06T22:00:55.245Z] SSH_AGENT_PID=20 [2021-10-06T22:00:55.255Z] Running ssh-add (command line suppressed) [2021-10-06T22:00:55.353Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-12@tmp/private_key_2767435613620681850.key (/w/workspace/edgexfoundry_device-gpio_PR-12@tmp/private_key_2767435613620681850.key) [2021-10-06T22:00:55.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T22:00:55.688Z] + git tag --points-at HEAD [Pipeline] } [2021-10-06T22:00:55.707Z] $ docker exec --env ******** --env ******** 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 ssh-agent -k [2021-10-06T22:00:55.821Z] unset SSH_AUTH_SOCK; [2021-10-06T22:00:55.822Z] unset SSH_AGENT_PID; [2021-10-06T22:00:55.822Z] echo Agent pid 20 killed; [2021-10-06T22:00:55.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-06T22:00:55.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T22:00:55.904Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T22:00:56.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T22:00:56.012Z] $ docker exec 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 ssh-agent [2021-10-06T22:00:56.145Z] SSH_AUTH_SOCK=/tmp/ssh-z5foRJFtBWnk/agent.54 [2021-10-06T22:00:56.145Z] SSH_AGENT_PID=61 [2021-10-06T22:00:56.153Z] Running ssh-add (command line suppressed) [2021-10-06T22:00:56.247Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-12@tmp/private_key_9011714392924881559.key (/w/workspace/edgexfoundry_device-gpio_PR-12@tmp/private_key_9011714392924881559.key) [2021-10-06T22:00:56.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T22:00:56.600Z] + git semver init [2021-10-06T22:00:56.601Z] # -> Open(): unable to determine branch for HEAD [2021-10-06T22:00:56.601Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-12/.git [2021-10-06T22:00:56.601Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-12 [2021-10-06T22:00:56.601Z] # $SEMVER_REMOTE_NAME = origin [2021-10-06T22:00:56.601Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-06T22:00:56.601Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-06T22:00:56.601Z] # $SEMVER_BRANCH = PR-12 [2021-10-06T22:00:56.601Z] # $SEMVER_TEMP = /tmp/semver-211873394 [2021-10-06T22:00:56.601Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-10-06T22:00:57.563Z] # '/tmp/semver-211873394' -> '/w/workspace/edgexfoundry_device-gpio_PR-12/.semver' [2021-10-06T22:00:57.563Z] # -> Force: false [2021-10-06T22:00:57.563Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-12/.semver [Pipeline] } [2021-10-06T22:00:57.575Z] $ docker exec --env ******** --env ******** 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 ssh-agent -k [2021-10-06T22:00:57.658Z] unset SSH_AUTH_SOCK; [2021-10-06T22:00:57.658Z] unset SSH_AGENT_PID; [2021-10-06T22:00:57.658Z] echo Agent pid 61 killed; [2021-10-06T22:00:57.676Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-06T22:00:58.018Z] + git semver [Pipeline] } [2021-10-06T22:00:58.035Z] $ docker stop --time=1 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 [2021-10-06T22:00:59.307Z] $ docker rm -f 8d60c86a9370a0bd2ce7752ff61905568ca07f67cb1aabaa4c96ea8413d28493 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T22:00:59.689Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-06T22:01:00.046Z] Stashed 1 file(s) [Pipeline] echo [2021-10-06T22:01:00.049Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-06T22:01:15.283Z] Still waiting to schedule task [2021-10-06T22:01:15.284Z] ‘prd-centos7-docker-4c-2g-285’ is offline [2021-10-06T22:01:15.284Z] ‘prd-centos7-docker-4c-2g-306’ is offline [2021-10-06T22:01:15.284Z] ‘prd-centos7-docker-4c-2g-314’ is offline [2021-10-06T22:01:15.284Z] ‘prd-centos7-docker-4c-2g-316’ is offline [2021-10-06T22:01:15.284Z] ‘prd-centos7-docker-4c-2g-324’ is offline [2021-10-06T22:01:15.285Z] ‘prd-centos7-docker-4c-2g-336’ is offline [2021-10-06T22:01:15.285Z] ‘prd-centos7-docker-4c-2g-338’ is offline [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-8c-8g-330’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-8c-8g-331’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-8c-8g-332’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-322’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-327’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.285Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-329’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T22:01:15.286Z] Still waiting to schedule task [2021-10-06T22:01:15.286Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-06T22:01:26.460Z] Running on prd-centos7-docker-4c-2g-338 in /w/workspace/edgexfoundry_device-gpio_PR-12 [Pipeline] { [Pipeline] ws [2021-10-06T22:01:26.477Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2021-10-06T22:01:26.594Z] The recommended git tool is: git [2021-10-06T22:01:29.463Z] using credential edgex-jenkins-ssh [2021-10-06T22:01:29.483Z] Cloning the remote Git repository [2021-10-06T22:01:29.606Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:01:29.685Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2021-10-06T22:01:29.731Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:01:29.731Z] > git --version # timeout=10 [2021-10-06T22:01:29.735Z] > git --version # 'git version 2.24.4' [2021-10-06T22:01:29.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:01:29.762Z] [INFO] Currently running in a labeled security context [2021-10-06T22:01:29.762Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T22:01:29.763Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/2@tmp/jenkins-gitclient-ssh3767689907950263921.key [2021-10-06T22:01:29.778Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T22:01:30.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-06T22:01:30.562Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T22:01:30.578Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-06T22:01:30.597Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:01:30.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:01:30.599Z] [INFO] Currently running in a labeled security context [2021-10-06T22:01:30.599Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T22:01:30.599Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/2@tmp/jenkins-gitclient-ssh2027981655659185969.key [2021-10-06T22:01:30.612Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/12/head:refs/remotes/origin/PR-12 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T22:01:31.110Z] Merging remotes/origin/main commit c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 into PR head commit 42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:01:31.193Z] Merge succeeded, producing 42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:01:31.193Z] Checking out Revision 42e90dd75818125de2014c769f9771e2ae4197be (PR-12) [2021-10-06T22:01:31.115Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T22:01:31.120Z] > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 [2021-10-06T22:01:31.153Z] > git remote # timeout=10 [2021-10-06T22:01:31.160Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T22:01:31.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:01:31.164Z] [INFO] Currently running in a labeled security context [2021-10-06T22:01:31.164Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T22:01:31.164Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/2@tmp/jenkins-gitclient-ssh6911280200088261553.key [2021-10-06T22:01:31.170Z] > git merge c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 [2021-10-06T22:01:31.182Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T22:01:31.193Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T22:01:31.203Z] > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 [2021-10-06T22:01:34.919Z] Commit message: "ci: changes required for Jakara LTS" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T22:01:35.273Z] provisioning config files... [2021-10-06T22:01:35.298Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config4813800823330878625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:01:35.770Z] ---> docker-login.sh [2021-10-06T22:01:35.770Z] nexus3.edgexfoundry.org:10001 [2021-10-06T22:01:35.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:01:35.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:01:35.770Z] Configure a credential helper to remove this warning. See [2021-10-06T22:01:35.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:01:35.771Z] [2021-10-06T22:01:35.771Z] Login Succeeded [2021-10-06T22:01:35.771Z] nexus3.edgexfoundry.org:10002 [2021-10-06T22:01:36.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:01:36.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:01:36.040Z] Configure a credential helper to remove this warning. See [2021-10-06T22:01:36.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:01:36.040Z] [2021-10-06T22:01:36.040Z] Login Succeeded [2021-10-06T22:01:36.040Z] nexus3.edgexfoundry.org:10003 [2021-10-06T22:01:36.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:01:36.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:01:36.306Z] Configure a credential helper to remove this warning. See [2021-10-06T22:01:36.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:01:36.306Z] [2021-10-06T22:01:36.306Z] Login Succeeded [2021-10-06T22:01:36.306Z] nexus3.edgexfoundry.org:10004 [2021-10-06T22:01:36.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:01:36.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:01:36.306Z] Configure a credential helper to remove this warning. See [2021-10-06T22:01:36.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:01:36.306Z] [2021-10-06T22:01:36.306Z] Login Succeeded [2021-10-06T22:01:36.306Z] docker.io [2021-10-06T22:01:36.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:01:36.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:01:36.892Z] Configure a credential helper to remove this warning. See [2021-10-06T22:01:36.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:01:36.892Z] [2021-10-06T22:01:36.892Z] Login Succeeded [2021-10-06T22:01:36.892Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T22:01:36.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-06T22:01:37.137Z] ========================================================= [2021-10-06T22:01:37.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-06T22:01:37.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:01:37.479Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-06T22:01:37.479Z] Sending build context to Docker daemon 5.533MB [2021-10-06T22:01:37.479Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T22:01:37.479Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-06T22:01:37.479Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-06T22:01:37.479Z] 4e9f2cdf4387: Pulling fs layer [2021-10-06T22:01:37.479Z] 57d31006c564: Pulling fs layer [2021-10-06T22:01:37.479Z] bd5ccded8296: Pulling fs layer [2021-10-06T22:01:37.479Z] 304dd3a0f381: Pulling fs layer [2021-10-06T22:01:37.479Z] d37cda54a23b: Pulling fs layer [2021-10-06T22:01:37.479Z] bae75c0f2455: Pulling fs layer [2021-10-06T22:01:37.479Z] 806579b3d29a: Pulling fs layer [2021-10-06T22:01:37.479Z] c77eb801bf70: Pulling fs layer [2021-10-06T22:01:37.479Z] 6d0567d44e1a: Pulling fs layer [2021-10-06T22:01:37.479Z] 304dd3a0f381: Waiting [2021-10-06T22:01:37.479Z] d37cda54a23b: Waiting [2021-10-06T22:01:37.479Z] bae75c0f2455: Waiting [2021-10-06T22:01:37.479Z] 806579b3d29a: Waiting [2021-10-06T22:01:37.479Z] c77eb801bf70: Waiting [2021-10-06T22:01:37.479Z] 6d0567d44e1a: Waiting [2021-10-06T22:01:37.754Z] bd5ccded8296: Verifying Checksum [2021-10-06T22:01:37.754Z] bd5ccded8296: Download complete [2021-10-06T22:01:37.754Z] 57d31006c564: Verifying Checksum [2021-10-06T22:01:37.754Z] 57d31006c564: Download complete [2021-10-06T22:01:37.754Z] d37cda54a23b: Verifying Checksum [2021-10-06T22:01:37.754Z] d37cda54a23b: Download complete [2021-10-06T22:01:37.754Z] 4e9f2cdf4387: Verifying Checksum [2021-10-06T22:01:37.754Z] 4e9f2cdf4387: Download complete [2021-10-06T22:01:37.754Z] bae75c0f2455: Verifying Checksum [2021-10-06T22:01:37.754Z] bae75c0f2455: Download complete [2021-10-06T22:01:37.754Z] 806579b3d29a: Verifying Checksum [2021-10-06T22:01:37.754Z] 806579b3d29a: Download complete [2021-10-06T22:01:38.036Z] 4e9f2cdf4387: Pull complete [2021-10-06T22:01:38.036Z] c77eb801bf70: Verifying Checksum [2021-10-06T22:01:38.036Z] c77eb801bf70: Download complete [2021-10-06T22:01:38.036Z] 57d31006c564: Pull complete [2021-10-06T22:01:38.303Z] bd5ccded8296: Pull complete [2021-10-06T22:01:38.578Z] 304dd3a0f381: Verifying Checksum [2021-10-06T22:01:38.578Z] 304dd3a0f381: Download complete [2021-10-06T22:01:39.161Z] 6d0567d44e1a: Verifying Checksum [2021-10-06T22:01:39.161Z] 6d0567d44e1a: Download complete [2021-10-06T22:01:42.553Z] 304dd3a0f381: Pull complete [2021-10-06T22:01:42.553Z] d37cda54a23b: Pull complete [2021-10-06T22:01:42.553Z] bae75c0f2455: Pull complete [2021-10-06T22:01:42.825Z] 806579b3d29a: Pull complete [2021-10-06T22:01:42.825Z] c77eb801bf70: Pull complete [2021-10-06T22:01:45.421Z] 6d0567d44e1a: Pull complete [2021-10-06T22:01:45.421Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-06T22:01:45.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-06T22:01:45.421Z] ---> e839a31ac9d1 [2021-10-06T22:01:45.421Z] Step 3/10 : ARG MAKE='make build' [2021-10-06T22:01:47.373Z] ---> Running in d8ebf337e33d [2021-10-06T22:01:47.374Z] Removing intermediate container d8ebf337e33d [2021-10-06T22:01:47.374Z] ---> 4454f08c177b [2021-10-06T22:01:47.374Z] Step 4/10 : WORKDIR /device-gpio [2021-10-06T22:01:47.374Z] ---> Running in 2e9cb13a8750 [2021-10-06T22:01:47.374Z] Removing intermediate container 2e9cb13a8750 [2021-10-06T22:01:47.374Z] ---> a09386a732e8 [2021-10-06T22:01:47.374Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:01:47.645Z] ---> Running in 03ae11234fe7 [2021-10-06T22:01:47.645Z] Removing intermediate container 03ae11234fe7 [2021-10-06T22:01:47.645Z] ---> 2a6a61ded206 [2021-10-06T22:01:47.645Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T22:01:47.645Z] ---> Running in 90187486c9d9 [2021-10-06T22:01:48.234Z] Removing intermediate container 90187486c9d9 [2021-10-06T22:01:48.234Z] ---> aa492b20af73 [2021-10-06T22:01:48.234Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-10-06T22:01:48.234Z] ---> Running in afc5d4c87a7a [2021-10-06T22:01:48.503Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-06T22:01:49.460Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-06T22:01:49.727Z] OK: 219 MiB in 52 packages [2021-10-06T22:01:50.001Z] Removing intermediate container afc5d4c87a7a [2021-10-06T22:01:50.001Z] ---> eb93b20fe821 [2021-10-06T22:01:50.001Z] Step 8/10 : COPY . . [2021-10-06T22:01:50.268Z] ---> ca032cde048d [2021-10-06T22:01:50.268Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-06T22:01:50.268Z] ---> Running in 21c36407b3e4 [2021-10-06T22:02:12.377Z] Removing intermediate container 21c36407b3e4 [2021-10-06T22:02:12.377Z] ---> d54fd76a9eeb [2021-10-06T22:02:12.377Z] Step 10/10 : RUN ${MAKE} [2021-10-06T22:02:12.377Z] ---> Running in f978c992ad02 [2021-10-06T22:02:12.377Z] noop [2021-10-06T22:02:12.377Z] Removing intermediate container f978c992ad02 [2021-10-06T22:02:12.377Z] ---> 61a8535adc04 [2021-10-06T22:02:12.377Z] Successfully built 61a8535adc04 [2021-10-06T22:02:12.377Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:02:12.710Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T22:02:12.710Z] . [Pipeline] withDockerContainer [2021-10-06T22:02:12.808Z] prd-centos7-docker-4c-2g-338 does not seem to be running inside a container [2021-10-06T22:02:12.884Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-06T22:02:13.251Z] $ docker top 65761d832da805c6a6c1df10ead3f2f09cd78e901f9715c5b556badd38aecef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T22:02:13.650Z] + go version [2021-10-06T22:02:13.650Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-06T22:02:13.665Z] $ docker stop --time=1 65761d832da805c6a6c1df10ead3f2f09cd78e901f9715c5b556badd38aecef8 [2021-10-06T22:02:14.855Z] $ docker rm -f 65761d832da805c6a6c1df10ead3f2f09cd78e901f9715c5b556badd38aecef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:02:15.404Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T22:02:15.404Z] . [Pipeline] withDockerContainer [2021-10-06T22:02:15.490Z] prd-centos7-docker-4c-2g-338 does not seem to be running inside a container [2021-10-06T22:02:15.580Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-06T22:02:15.936Z] $ docker top b6ad919efff363cd51f62aa922f1ce81dcbc770a772a953e7a79c6cea88875b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T22:02:16.340Z] + make test [2021-10-06T22:02:16.340Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-06T22:02:16.630Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-10-06T22:02:29.038Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-10-06T22:02:29.038Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-10-06T22:02:29.038Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-06T22:02:34.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T22:02:34.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-06T22:02:34.409Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-06T22:02:34.424Z] $ docker stop --time=1 b6ad919efff363cd51f62aa922f1ce81dcbc770a772a953e7a79c6cea88875b9 [2021-10-06T22:02:35.772Z] $ docker rm -f b6ad919efff363cd51f62aa922f1ce81dcbc770a772a953e7a79c6cea88875b9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T22:02:36.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-06T22:02:36.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-06T22:02:37.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-06T22:02:37.941Z] + ls -al . [2021-10-06T22:02:37.941Z] total 108 [2021-10-06T22:02:37.941Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 6 22:02 . [2021-10-06T22:02:37.941Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 22:01 .. [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 5451 Oct 6 22:01 Attribution.txt [2021-10-06T22:02:37.941Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 6 22:01 bin [2021-10-06T22:02:37.941Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 6 22:01 cmd [2021-10-06T22:02:37.941Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 6 22:02 coverage.out [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 1557 Oct 6 22:01 Dockerfile [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 120 Oct 6 22:01 .dockerignore [2021-10-06T22:02:37.941Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 22:01 .git [2021-10-06T22:02:37.941Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 6 22:01 .github [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 343 Oct 6 22:01 .gitignore [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 379 Oct 6 22:01 go.mod [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 30244 Oct 6 22:01 go.sum [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 6 22:01 GOVERNANCE.md [2021-10-06T22:02:37.941Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 6 22:01 internal [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 657 Oct 6 22:01 Jenkinsfile [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 6 22:01 LICENSE [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 1001 Oct 6 22:01 Makefile [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 617 Oct 6 22:01 OWNERS.md [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 8048 Oct 6 22:01 README.md [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 22:00 VERSION [2021-10-06T22:02:37.941Z] -rw-rw-r--. 1 jenkins jenkins 209 Oct 6 22:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:02:38.264Z] + 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=42e90dd75818125de2014c769f9771e2ae4197be --label arch=amd64 --label version=0.0.0 . [2021-10-06T22:02:38.264Z] Sending build context to Docker daemon 5.534MB [2021-10-06T22:02:38.264Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T22:02:38.264Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-06T22:02:38.264Z] ---> 61a8535adc04 [2021-10-06T22:02:38.264Z] Step 3/23 : ARG MAKE='make build' [2021-10-06T22:02:38.264Z] ---> Running in 306241f3667f [2021-10-06T22:02:38.532Z] Removing intermediate container 306241f3667f [2021-10-06T22:02:38.532Z] ---> 930b186f0346 [2021-10-06T22:02:38.532Z] Step 4/23 : WORKDIR /device-gpio [2021-10-06T22:02:38.532Z] ---> Running in 6b8e9193fbe3 [2021-10-06T22:02:38.532Z] Removing intermediate container 6b8e9193fbe3 [2021-10-06T22:02:38.532Z] ---> f24a4a0b095e [2021-10-06T22:02:38.532Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:02:38.532Z] ---> Running in a79d819ec18e [2021-10-06T22:02:38.532Z] Removing intermediate container a79d819ec18e [2021-10-06T22:02:38.532Z] ---> d15db3ca00c3 [2021-10-06T22:02:38.532Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T22:02:38.532Z] ---> Running in 40b35cfd8970 [2021-10-06T22:02:39.122Z] Removing intermediate container 40b35cfd8970 [2021-10-06T22:02:39.122Z] ---> c41bec8f2c76 [2021-10-06T22:02:39.122Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-10-06T22:02:39.122Z] ---> Running in f84a80f55b93 [2021-10-06T22:02:39.388Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-06T22:02:40.346Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-06T22:02:40.613Z] OK: 219 MiB in 52 packages [2021-10-06T22:02:40.613Z] Removing intermediate container f84a80f55b93 [2021-10-06T22:02:40.613Z] ---> 7b5c163711bd [2021-10-06T22:02:40.613Z] Step 8/23 : COPY . . [2021-10-06T22:02:40.881Z] ---> c2245ef2d3af [2021-10-06T22:02:40.881Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-06T22:02:41.156Z] ---> Running in a998f8c38632 [2021-10-06T22:02:41.425Z] Removing intermediate container a998f8c38632 [2021-10-06T22:02:41.425Z] ---> 0b576bf73d5a [2021-10-06T22:02:41.425Z] Step 10/23 : RUN ${MAKE} [2021-10-06T22:02:41.425Z] ---> Running in 325f2a503fe3 [2021-10-06T22:02:41.695Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-10-06T22:02:51.796Z] Removing intermediate container 325f2a503fe3 [2021-10-06T22:02:51.796Z] ---> 333e6c444746 [2021-10-06T22:02:51.796Z] Step 11/23 : FROM alpine:3.14 [2021-10-06T22:02:51.796Z] 3.14: Pulling from library/alpine [2021-10-06T22:02:51.796Z] a0d0a0d46f8b: Pulling fs layer [2021-10-06T22:02:51.796Z] a0d0a0d46f8b: Verifying Checksum [2021-10-06T22:02:51.796Z] a0d0a0d46f8b: Download complete [2021-10-06T22:02:51.796Z] a0d0a0d46f8b: Pull complete [2021-10-06T22:02:51.796Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-06T22:02:51.796Z] Status: Downloaded newer image for alpine:3.14 [2021-10-06T22:02:51.796Z] ---> 14119a10abf4 [2021-10-06T22:02:51.796Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:02:51.796Z] ---> Running in 39310363d509 [2021-10-06T22:02:51.796Z] Removing intermediate container 39310363d509 [2021-10-06T22:02:51.796Z] ---> 6265b8470e99 [2021-10-06T22:02:51.796Z] Step 13/23 : ENV APP_PORT=49994 [2021-10-06T22:02:51.796Z] ---> Running in 0dfed6f3b52b [2021-10-06T22:02:52.065Z] Removing intermediate container 0dfed6f3b52b [2021-10-06T22:02:52.065Z] ---> 75f2c4fa4c05 [2021-10-06T22:02:52.065Z] Step 14/23 : EXPOSE $APP_PORT [2021-10-06T22:02:52.065Z] ---> Running in 89689d65734a [2021-10-06T22:02:52.065Z] Removing intermediate container 89689d65734a [2021-10-06T22:02:52.065Z] ---> 1b627b7fe4c6 [2021-10-06T22:02:52.065Z] Step 15/23 : WORKDIR / [2021-10-06T22:02:52.065Z] ---> Running in dd08a6f068e4 [2021-10-06T22:02:52.353Z] Removing intermediate container dd08a6f068e4 [2021-10-06T22:02:52.353Z] ---> 31dd5d722665 [2021-10-06T22:02:52.353Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-10-06T22:02:52.353Z] ---> 80d330176d66 [2021-10-06T22:02:52.353Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-10-06T22:02:52.626Z] ---> 353ff394139a [2021-10-06T22:02:52.626Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-10-06T22:02:52.893Z] ---> 23ab87f7aa32 [2021-10-06T22:02:52.893Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-10-06T22:02:52.893Z] ---> Running in 2ff40b25e956 [2021-10-06T22:02:52.893Z] Removing intermediate container 2ff40b25e956 [2021-10-06T22:02:52.893Z] ---> c69d2f9ae756 [2021-10-06T22:02:52.893Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-06T22:02:52.893Z] ---> Running in 9990afaa6eb0 [2021-10-06T22:02:52.893Z] Removing intermediate container 9990afaa6eb0 [2021-10-06T22:02:52.893Z] ---> 39fb9386d642 [2021-10-06T22:02:52.893Z] Step 21/23 : LABEL arch=amd64 [2021-10-06T22:02:53.159Z] ---> Running in 4beba1dbaf4c [2021-10-06T22:02:53.159Z] Removing intermediate container 4beba1dbaf4c [2021-10-06T22:02:53.159Z] ---> 0f7f6336c985 [2021-10-06T22:02:53.159Z] Step 22/23 : LABEL git_sha=42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:02:53.159Z] ---> Running in 7bfb306ed0f0 [2021-10-06T22:02:53.159Z] Removing intermediate container 7bfb306ed0f0 [2021-10-06T22:02:53.159Z] ---> a377c6a32cb1 [2021-10-06T22:02:53.159Z] Step 23/23 : LABEL version=0.0.0 [2021-10-06T22:02:53.159Z] ---> Running in 3a1ad94f0346 [2021-10-06T22:02:53.438Z] Removing intermediate container 3a1ad94f0346 [2021-10-06T22:02:53.438Z] ---> 2e55aac1ec5e [2021-10-06T22:02:53.438Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-06T22:02:53.438Z] Successfully built 2e55aac1ec5e [2021-10-06T22:02:53.438Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:02:54.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:02:54.368Z] [2021-10-06T22:02:54.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:02:54.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:02:54.703Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T22:02:54.703Z] b4d181a07f80: Pulling fs layer [2021-10-06T22:02:54.703Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T22:02:54.703Z] ed53099fbce6: Pulling fs layer [2021-10-06T22:02:54.703Z] dc539afda2c1: Pulling fs layer [2021-10-06T22:02:54.703Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T22:02:54.703Z] 9065ff56babe: Pulling fs layer [2021-10-06T22:02:54.703Z] d287ab97295c: Pulling fs layer [2021-10-06T22:02:54.703Z] dc539afda2c1: Waiting [2021-10-06T22:02:54.703Z] 77bc0d833cb6: Waiting [2021-10-06T22:02:54.703Z] 9065ff56babe: Waiting [2021-10-06T22:02:54.703Z] d287ab97295c: Waiting [2021-10-06T22:02:54.971Z] a1111a8f2ec3: Download complete [2021-10-06T22:02:54.971Z] dc539afda2c1: Verifying Checksum [2021-10-06T22:02:54.971Z] dc539afda2c1: Download complete [2021-10-06T22:02:55.239Z] ed53099fbce6: Verifying Checksum [2021-10-06T22:02:55.239Z] ed53099fbce6: Download complete [2021-10-06T22:02:55.239Z] b4d181a07f80: Verifying Checksum [2021-10-06T22:02:55.239Z] b4d181a07f80: Download complete [2021-10-06T22:02:55.239Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T22:02:55.239Z] 77bc0d833cb6: Download complete [2021-10-06T22:02:55.239Z] 9065ff56babe: Verifying Checksum [2021-10-06T22:02:55.239Z] 9065ff56babe: Download complete [2021-10-06T22:02:57.080Z] d287ab97295c: Verifying Checksum [2021-10-06T22:02:57.080Z] d287ab97295c: Download complete [2021-10-06T22:02:57.080Z] b4d181a07f80: Pull complete [2021-10-06T22:02:57.080Z] a1111a8f2ec3: Pull complete [2021-10-06T22:02:57.355Z] ed53099fbce6: Pull complete [2021-10-06T22:02:57.625Z] dc539afda2c1: Pull complete [2021-10-06T22:02:57.893Z] 77bc0d833cb6: Pull complete [2021-10-06T22:02:57.893Z] 9065ff56babe: Pull complete [2021-10-06T22:03:03.260Z] d287ab97295c: Pull complete [2021-10-06T22:03:03.260Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T22:03:03.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:03:03.261Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T22:03:03.354Z] prd-centos7-docker-4c-2g-338 does not seem to be running inside a container [2021-10-06T22:03:03.419Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T22:03:06.129Z] $ docker top cbb5dc41336a81ec96f3a0e4b4ccac423914eb506604e4d831f8fd8e210cf647 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:03:06.596Z] ---> job-cost.sh [2021-10-06T22:03:06.596Z] lf-activate-venv: SKIPPING [2021-10-06T22:03:06.596Z] INFO: No Stack... [2021-10-06T22:03:06.867Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T22:03:07.136Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T22:03:07.456Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2021-10-06T22:03:07.456Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T22:03:07.497Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [2021-10-06T22:03:07.506Z] Resource [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] did not exist. Created. [2021-10-06T22:03:07.506Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T22:03:07.847Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-06T22:03:07.891Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T22:03:07.899Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T22:03:07.923Z] $ docker stop --time=1 cbb5dc41336a81ec96f3a0e4b4ccac423914eb506604e4d831f8fd8e210cf647 [2021-10-06T22:03:09.063Z] $ docker rm -f cbb5dc41336a81ec96f3a0e4b4ccac423914eb506604e4d831f8fd8e210cf647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T22:05:17.794Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/edgexfoundry_device-gpio_PR-12 [Pipeline] { [Pipeline] ws [2021-10-06T22:05:17.821Z] Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout [2021-10-06T22:05:18.141Z] The recommended git tool is: git [2021-10-06T22:05:24.309Z] using credential edgex-jenkins-ssh [2021-10-06T22:05:24.333Z] Cloning the remote Git repository [2021-10-06T22:05:24.399Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:05:24.517Z] > git init /w/workspace/device-gpio/2 # timeout=10 [2021-10-06T22:05:24.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:05:24.627Z] > git --version # timeout=10 [2021-10-06T22:05:24.648Z] > git --version # 'git version 2.17.1' [2021-10-06T22:05:24.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:05:24.751Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T22:05:26.909Z] Merging remotes/origin/main commit c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 into PR head commit 42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:05:26.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-06T22:05:26.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T22:05:26.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-06T22:05:26.250Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-06T22:05:26.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:05:26.261Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/12/head:refs/remotes/origin/PR-12 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-06T22:05:27.161Z] Merge succeeded, producing 42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:05:27.162Z] Checking out Revision 42e90dd75818125de2014c769f9771e2ae4197be (PR-12) [2021-10-06T22:05:26.934Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T22:05:26.967Z] > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 [2021-10-06T22:05:27.068Z] > git remote # timeout=10 [2021-10-06T22:05:27.093Z] > git config --get remote.origin.url # timeout=10 [2021-10-06T22:05:27.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T22:05:27.116Z] > git merge c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 [2021-10-06T22:05:27.140Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-06T22:05:27.170Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T22:05:27.183Z] > git checkout -f 42e90dd75818125de2014c769f9771e2ae4197be # timeout=10 [2021-10-06T22:05:31.708Z] Commit message: "ci: changes required for Jakara LTS" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T22:05:32.378Z] provisioning config files... [2021-10-06T22:05:32.422Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config1491550573305819803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:05:33.098Z] ---> docker-login.sh [2021-10-06T22:05:33.098Z] nexus3.edgexfoundry.org:10001 [2021-10-06T22:05:34.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:05:34.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:05:34.875Z] Configure a credential helper to remove this warning. See [2021-10-06T22:05:34.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:05:34.875Z] [2021-10-06T22:05:34.875Z] Login Succeeded [2021-10-06T22:05:34.875Z] nexus3.edgexfoundry.org:10002 [2021-10-06T22:05:35.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:05:35.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:05:35.447Z] Configure a credential helper to remove this warning. See [2021-10-06T22:05:35.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:05:35.447Z] [2021-10-06T22:05:35.447Z] Login Succeeded [2021-10-06T22:05:35.447Z] nexus3.edgexfoundry.org:10003 [2021-10-06T22:05:35.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:05:36.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:05:36.016Z] Configure a credential helper to remove this warning. See [2021-10-06T22:05:36.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:05:36.016Z] [2021-10-06T22:05:36.016Z] Login Succeeded [2021-10-06T22:05:36.016Z] nexus3.edgexfoundry.org:10004 [2021-10-06T22:05:36.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:05:36.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:05:36.589Z] Configure a credential helper to remove this warning. See [2021-10-06T22:05:36.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:05:36.589Z] [2021-10-06T22:05:36.589Z] Login Succeeded [2021-10-06T22:05:36.589Z] docker.io [2021-10-06T22:05:36.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-06T22:05:37.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-06T22:05:37.517Z] Configure a credential helper to remove this warning. See [2021-10-06T22:05:37.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-06T22:05:37.517Z] [2021-10-06T22:05:37.517Z] Login Succeeded [2021-10-06T22:05:37.517Z] ---> docker-login.sh ends [Pipeline] } [2021-10-06T22:05:37.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-06T22:05:38.141Z] ========================================================= [2021-10-06T22:05:38.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-06T22:05:38.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:05:38.531Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-06T22:05:38.819Z] Sending build context to Docker daemon 5.532MB [2021-10-06T22:05:38.819Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T22:05:38.819Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-06T22:05:39.109Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-06T22:05:39.109Z] bbf911997326: Pulling fs layer [2021-10-06T22:05:39.109Z] 58ec367f63d7: Pulling fs layer [2021-10-06T22:05:39.394Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-06T22:05:39.394Z] fc5181fea5dc: Pulling fs layer [2021-10-06T22:05:39.394Z] 9c418107303f: Pulling fs layer [2021-10-06T22:05:39.394Z] 284eca6f2348: Pulling fs layer [2021-10-06T22:05:39.394Z] 842844d905b1: Pulling fs layer [2021-10-06T22:05:39.394Z] 901a3a57568e: Pulling fs layer [2021-10-06T22:05:39.394Z] 9c418107303f: Waiting [2021-10-06T22:05:39.395Z] 284eca6f2348: Waiting [2021-10-06T22:05:39.395Z] fc5181fea5dc: Waiting [2021-10-06T22:05:39.395Z] 842844d905b1: Waiting [2021-10-06T22:05:39.395Z] 901a3a57568e: Waiting [2021-10-06T22:05:39.395Z] 1b4a6ffa7d45: Download complete [2021-10-06T22:05:39.395Z] 58ec367f63d7: Verifying Checksum [2021-10-06T22:05:39.395Z] 58ec367f63d7: Download complete [2021-10-06T22:05:39.395Z] 9c418107303f: Verifying Checksum [2021-10-06T22:05:39.395Z] 9c418107303f: Download complete [2021-10-06T22:05:39.395Z] 284eca6f2348: Verifying Checksum [2021-10-06T22:05:39.395Z] 284eca6f2348: Download complete [2021-10-06T22:05:39.395Z] bbf911997326: Verifying Checksum [2021-10-06T22:05:39.395Z] bbf911997326: Download complete [2021-10-06T22:05:39.681Z] 842844d905b1: Download complete [2021-10-06T22:05:39.969Z] bbf911997326: Pull complete [2021-10-06T22:05:40.618Z] 58ec367f63d7: Pull complete [2021-10-06T22:05:40.914Z] 1b4a6ffa7d45: Pull complete [2021-10-06T22:05:41.946Z] fc5181fea5dc: Verifying Checksum [2021-10-06T22:05:41.946Z] fc5181fea5dc: Download complete [2021-10-06T22:05:42.232Z] 901a3a57568e: Verifying Checksum [2021-10-06T22:05:42.232Z] 901a3a57568e: Download complete [2021-10-06T22:05:52.541Z] fc5181fea5dc: Pull complete [2021-10-06T22:05:52.541Z] 9c418107303f: Pull complete [2021-10-06T22:05:52.541Z] 284eca6f2348: Pull complete [2021-10-06T22:05:52.541Z] 842844d905b1: Pull complete [2021-10-06T22:05:59.380Z] 901a3a57568e: Pull complete [2021-10-06T22:05:59.380Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-06T22:05:59.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-06T22:05:59.380Z] ---> 72ade6ffb461 [2021-10-06T22:05:59.380Z] Step 3/10 : ARG MAKE='make build' [2021-10-06T22:06:03.768Z] ---> Running in 3e7cd18a5ac9 [2021-10-06T22:06:04.056Z] Removing intermediate container 3e7cd18a5ac9 [2021-10-06T22:06:04.056Z] ---> 6c27bcca100e [2021-10-06T22:06:04.056Z] Step 4/10 : WORKDIR /device-gpio [2021-10-06T22:06:04.056Z] ---> Running in 4bea98810077 [2021-10-06T22:06:04.670Z] Removing intermediate container 4bea98810077 [2021-10-06T22:06:04.670Z] ---> 2ebc615bf41b [2021-10-06T22:06:04.670Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:06:04.670Z] ---> Running in b1d4dcecead1 [2021-10-06T22:06:04.962Z] Removing intermediate container b1d4dcecead1 [2021-10-06T22:06:04.962Z] ---> 0384abafa24d [2021-10-06T22:06:04.962Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T22:06:05.262Z] ---> Running in 9a0f011a544c [2021-10-06T22:06:07.965Z] Removing intermediate container 9a0f011a544c [2021-10-06T22:06:07.965Z] ---> 50fa72687842 [2021-10-06T22:06:07.965Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-10-06T22:06:07.965Z] ---> Running in 7b0fef8d3ef5 [2021-10-06T22:06:09.450Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-06T22:06:10.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-06T22:06:11.090Z] OK: 218 MiB in 52 packages [2021-10-06T22:06:12.118Z] Removing intermediate container 7b0fef8d3ef5 [2021-10-06T22:06:12.118Z] ---> c874dc0ab83c [2021-10-06T22:06:12.118Z] Step 8/10 : COPY . . [2021-10-06T22:06:13.599Z] ---> 789b3cff2f3b [2021-10-06T22:06:13.599Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-06T22:06:13.599Z] ---> Running in 34ff08a41144 [2021-10-06T22:07:10.423Z] Removing intermediate container 34ff08a41144 [2021-10-06T22:07:10.423Z] ---> 6222f5552106 [2021-10-06T22:07:10.423Z] Step 10/10 : RUN ${MAKE} [2021-10-06T22:07:10.423Z] ---> Running in 501c60a7426d [2021-10-06T22:07:10.423Z] noop [2021-10-06T22:07:10.423Z] Removing intermediate container 501c60a7426d [2021-10-06T22:07:10.423Z] ---> c8ef9e6d055d [2021-10-06T22:07:10.424Z] Successfully built c8ef9e6d055d [2021-10-06T22:07:10.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:07:10.809Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T22:07:10.809Z] . [Pipeline] withDockerContainer [2021-10-06T22:07:11.109Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2021-10-06T22:07:11.263Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-06T22:07:12.905Z] $ docker top e4df4743fb69a5598e74206f93445f7a294858bbad3f709a226f4a9e9597bc29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T22:07:13.954Z] + go version [2021-10-06T22:07:13.954Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-06T22:07:13.997Z] $ docker stop --time=1 e4df4743fb69a5598e74206f93445f7a294858bbad3f709a226f4a9e9597bc29 [2021-10-06T22:07:15.859Z] $ docker rm -f e4df4743fb69a5598e74206f93445f7a294858bbad3f709a226f4a9e9597bc29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:07:16.709Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T22:07:16.709Z] . [Pipeline] withDockerContainer [2021-10-06T22:07:17.005Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2021-10-06T22:07:17.149Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-06T22:07:18.782Z] $ docker top 8d30fda444d434202740845f4b5ebea5f6b0910d7b4f8a5b7996502d3ad233cf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T22:07:19.829Z] + make test [2021-10-06T22:07:19.829Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-06T22:07:20.848Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-10-06T22:08:00.114Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-10-06T22:08:00.114Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-10-06T22:08:00.114Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-06T22:08:22.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T22:08:22.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-06T22:08:22.473Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-06T22:08:23.521Z] $ docker stop --time=1 8d30fda444d434202740845f4b5ebea5f6b0910d7b4f8a5b7996502d3ad233cf [2021-10-06T22:08:25.407Z] $ docker rm -f 8d30fda444d434202740845f4b5ebea5f6b0910d7b4f8a5b7996502d3ad233cf [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T22:08:26.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-06T22:08:26.323Z] Warning: overwriting stash ‘coverage-report’ [2021-10-06T22:08:26.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-06T22:08:27.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-06T22:08:27.854Z] + ls -al . [2021-10-06T22:08:27.854Z] total 132 [2021-10-06T22:08:27.854Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 6 22:08 . [2021-10-06T22:08:27.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 22:05 .. [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 6 22:05 .dockerignore [2021-10-06T22:08:27.854Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 22:05 .git [2021-10-06T22:08:27.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:05 .github [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 6 22:05 .gitignore [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 5451 Oct 6 22:05 Attribution.txt [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 1557 Oct 6 22:05 Dockerfile [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 22:05 GOVERNANCE.md [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 6 22:05 Jenkinsfile [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 6 22:05 LICENSE [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 1001 Oct 6 22:05 Makefile [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 6 22:05 OWNERS.md [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 8048 Oct 6 22:05 README.md [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 22:00 VERSION [2021-10-06T22:08:27.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 22:05 bin [2021-10-06T22:08:27.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:05 cmd [2021-10-06T22:08:27.854Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 6 22:07 coverage.out [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 6 22:05 go.mod [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 30244 Oct 6 22:05 go.sum [2021-10-06T22:08:27.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 22:05 internal [2021-10-06T22:08:27.854Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 6 22:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:08:28.235Z] + 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=42e90dd75818125de2014c769f9771e2ae4197be --label arch=arm64 --label version=0.0.0 . [2021-10-06T22:08:28.520Z] Sending build context to Docker daemon 5.533MB [2021-10-06T22:08:28.520Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-06T22:08:28.520Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-06T22:08:28.520Z] ---> c8ef9e6d055d [2021-10-06T22:08:28.520Z] Step 3/23 : ARG MAKE='make build' [2021-10-06T22:08:28.806Z] ---> Running in 78221173a534 [2021-10-06T22:08:29.427Z] Removing intermediate container 78221173a534 [2021-10-06T22:08:29.427Z] ---> f1b6b736542e [2021-10-06T22:08:29.427Z] Step 4/23 : WORKDIR /device-gpio [2021-10-06T22:08:29.427Z] ---> Running in 6a91d7b8bded [2021-10-06T22:08:30.045Z] Removing intermediate container 6a91d7b8bded [2021-10-06T22:08:30.046Z] ---> a8fe68dea20f [2021-10-06T22:08:30.046Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:08:30.046Z] ---> Running in 8827d0b7a607 [2021-10-06T22:08:30.330Z] Removing intermediate container 8827d0b7a607 [2021-10-06T22:08:30.330Z] ---> 4f619273562b [2021-10-06T22:08:30.330Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-06T22:08:30.657Z] ---> Running in 41676f193539 [2021-10-06T22:08:32.784Z] Removing intermediate container 41676f193539 [2021-10-06T22:08:32.784Z] ---> b930ec9e8f9b [2021-10-06T22:08:32.784Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-10-06T22:08:33.086Z] ---> Running in ed2903f1b87a [2021-10-06T22:08:34.105Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-06T22:08:35.564Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-06T22:08:35.853Z] OK: 218 MiB in 52 packages [2021-10-06T22:08:36.863Z] Removing intermediate container ed2903f1b87a [2021-10-06T22:08:36.863Z] ---> bc5e58e26495 [2021-10-06T22:08:36.863Z] Step 8/23 : COPY . . [2021-10-06T22:08:38.338Z] ---> 78b26420205b [2021-10-06T22:08:38.338Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-06T22:08:38.338Z] ---> Running in f6ed6e0c9fde [2021-10-06T22:08:40.366Z] Removing intermediate container f6ed6e0c9fde [2021-10-06T22:08:40.366Z] ---> 44b3e08a94be [2021-10-06T22:08:40.366Z] Step 10/23 : RUN ${MAKE} [2021-10-06T22:08:40.649Z] ---> Running in d0ab75a10e59 [2021-10-06T22:08:42.130Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -o cmd/device-gpio ./cmd [2021-10-06T22:09:14.688Z] Removing intermediate container d0ab75a10e59 [2021-10-06T22:09:14.688Z] ---> 98a0c56721ea [2021-10-06T22:09:14.688Z] Step 11/23 : FROM alpine:3.14 [2021-10-06T22:09:14.688Z] 3.14: Pulling from library/alpine [2021-10-06T22:09:14.688Z] 552d1f2373af: Pulling fs layer [2021-10-06T22:09:14.688Z] 552d1f2373af: Verifying Checksum [2021-10-06T22:09:14.688Z] 552d1f2373af: Download complete [2021-10-06T22:09:14.688Z] 552d1f2373af: Pull complete [2021-10-06T22:09:14.688Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-06T22:09:14.688Z] Status: Downloaded newer image for alpine:3.14 [2021-10-06T22:09:14.688Z] ---> bb3de5531c18 [2021-10-06T22:09:14.688Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-06T22:09:14.688Z] ---> Running in 3bdfd2e11e0a [2021-10-06T22:09:14.688Z] Removing intermediate container 3bdfd2e11e0a [2021-10-06T22:09:14.688Z] ---> c7564cef3eb9 [2021-10-06T22:09:14.688Z] Step 13/23 : ENV APP_PORT=49994 [2021-10-06T22:09:14.688Z] ---> Running in b1ec5f0e184e [2021-10-06T22:09:14.688Z] Removing intermediate container b1ec5f0e184e [2021-10-06T22:09:14.688Z] ---> 281254777ecb [2021-10-06T22:09:14.688Z] Step 14/23 : EXPOSE $APP_PORT [2021-10-06T22:09:14.688Z] ---> Running in 98ffcb84d185 [2021-10-06T22:09:14.688Z] Removing intermediate container 98ffcb84d185 [2021-10-06T22:09:14.688Z] ---> 673a8582492d [2021-10-06T22:09:14.688Z] Step 15/23 : WORKDIR / [2021-10-06T22:09:14.688Z] ---> Running in 8a5c8df45788 [2021-10-06T22:09:14.688Z] Removing intermediate container 8a5c8df45788 [2021-10-06T22:09:14.688Z] ---> a1097f2f5040 [2021-10-06T22:09:14.688Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-10-06T22:09:15.305Z] ---> aa76db5dd4b4 [2021-10-06T22:09:15.305Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-10-06T22:09:16.317Z] ---> 085a60c09d70 [2021-10-06T22:09:16.317Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-10-06T22:09:17.808Z] ---> 3d7c3a9efb25 [2021-10-06T22:09:17.808Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-10-06T22:09:17.808Z] ---> Running in 2567219fd717 [2021-10-06T22:09:18.091Z] Removing intermediate container 2567219fd717 [2021-10-06T22:09:18.091Z] ---> 29ae8a262346 [2021-10-06T22:09:18.091Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-06T22:09:18.374Z] ---> Running in 64f1be42c23b [2021-10-06T22:09:18.659Z] Removing intermediate container 64f1be42c23b [2021-10-06T22:09:18.659Z] ---> 3ea01f8588ab [2021-10-06T22:09:18.659Z] Step 21/23 : LABEL arch=arm64 [2021-10-06T22:09:18.963Z] ---> Running in aa40a5316484 [2021-10-06T22:09:19.246Z] Removing intermediate container aa40a5316484 [2021-10-06T22:09:19.246Z] ---> e5982ef961b1 [2021-10-06T22:09:19.246Z] Step 22/23 : LABEL git_sha=42e90dd75818125de2014c769f9771e2ae4197be [2021-10-06T22:09:19.531Z] ---> Running in 4eed210f3be7 [2021-10-06T22:09:19.814Z] Removing intermediate container 4eed210f3be7 [2021-10-06T22:09:19.814Z] ---> 01dd896f779b [2021-10-06T22:09:19.814Z] Step 23/23 : LABEL version=0.0.0 [2021-10-06T22:09:20.101Z] ---> Running in 7bfb2cd8b588 [2021-10-06T22:09:20.382Z] Removing intermediate container 7bfb2cd8b588 [2021-10-06T22:09:20.382Z] ---> 4ae0efcad5bb [2021-10-06T22:09:20.382Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-06T22:09:20.382Z] Successfully built 4ae0efcad5bb [2021-10-06T22:09:20.382Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:09:21.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T22:09:21.407Z] [2021-10-06T22:09:21.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:09:21.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T22:09:22.064Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-06T22:09:22.064Z] 448f6bf000e3: Pulling fs layer [2021-10-06T22:09:22.064Z] f757da607395: Pulling fs layer [2021-10-06T22:09:22.064Z] 05883995daec: Pulling fs layer [2021-10-06T22:09:22.064Z] 8603b9c90790: Pulling fs layer [2021-10-06T22:09:22.064Z] 1560dd03e051: Pulling fs layer [2021-10-06T22:09:22.064Z] 27f5ce0e4adf: Pulling fs layer [2021-10-06T22:09:22.064Z] c2d8d7efcc4b: Pulling fs layer [2021-10-06T22:09:22.064Z] 1560dd03e051: Waiting [2021-10-06T22:09:22.064Z] 27f5ce0e4adf: Waiting [2021-10-06T22:09:22.064Z] c2d8d7efcc4b: Waiting [2021-10-06T22:09:22.064Z] 8603b9c90790: Waiting [2021-10-06T22:09:22.353Z] f757da607395: Verifying Checksum [2021-10-06T22:09:22.353Z] f757da607395: Download complete [2021-10-06T22:09:22.353Z] 8603b9c90790: Verifying Checksum [2021-10-06T22:09:22.353Z] 8603b9c90790: Download complete [2021-10-06T22:09:22.635Z] 05883995daec: Verifying Checksum [2021-10-06T22:09:22.635Z] 05883995daec: Download complete [2021-10-06T22:09:22.635Z] 27f5ce0e4adf: Verifying Checksum [2021-10-06T22:09:22.635Z] 27f5ce0e4adf: Download complete [2021-10-06T22:09:22.635Z] 1560dd03e051: Verifying Checksum [2021-10-06T22:09:22.635Z] 1560dd03e051: Download complete [2021-10-06T22:09:22.635Z] 448f6bf000e3: Verifying Checksum [2021-10-06T22:09:22.635Z] 448f6bf000e3: Download complete [2021-10-06T22:09:26.095Z] c2d8d7efcc4b: Verifying Checksum [2021-10-06T22:09:26.095Z] c2d8d7efcc4b: Download complete [2021-10-06T22:09:26.095Z] 448f6bf000e3: Pull complete [2021-10-06T22:09:26.379Z] f757da607395: Pull complete [2021-10-06T22:09:27.842Z] 05883995daec: Pull complete [2021-10-06T22:09:28.122Z] 8603b9c90790: Pull complete [2021-10-06T22:09:29.135Z] 1560dd03e051: Pull complete [2021-10-06T22:09:29.420Z] 27f5ce0e4adf: Pull complete [2021-10-06T22:09:44.672Z] c2d8d7efcc4b: Pull complete [2021-10-06T22:09:44.672Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-06T22:09:44.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T22:09:44.672Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-06T22:09:44.972Z] prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2021-10-06T22:09:45.093Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-06T22:09:49.269Z] $ docker top 449ec1978513067f74c2bd48fdf28015db41273d929bf17e501af68218042e86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:09:50.316Z] ---> job-cost.sh [2021-10-06T22:09:50.317Z] lf-activate-venv: SKIPPING [2021-10-06T22:09:50.317Z] INFO: No Stack... [2021-10-06T22:09:50.928Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-06T22:09:51.210Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T22:09:51.918Z] + cat /w/workspace/device-gpio/2/archives/cost.csv [2021-10-06T22:09:51.919Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T22:09:52.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [2021-10-06T22:09:52.010Z] Resource [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] did not exist. Created. [2021-10-06T22:09:52.010Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T22:09:52.750Z] /w/workspace/device-gpio/2@tmp/durable-8f83c638/script.sh: 1: /w/workspace/device-gpio/2@tmp/durable-8f83c638/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-06T22:09:53.467Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-06T22:09:53.507Z] Warning: overwriting stash ‘stack-cost’ [2021-10-06T22:09:53.549Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T22:09:53.558Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-12-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T22:09:53.594Z] $ docker stop --time=1 449ec1978513067f74c2bd48fdf28015db41273d929bf17e501af68218042e86 [2021-10-06T22:09:55.209Z] $ docker rm -f 449ec1978513067f74c2bd48fdf28015db41273d929bf17e501af68218042e86 [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-10-06T22:09:56.252Z] provisioning config files... [2021-10-06T22:09:56.267Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-12@tmp/config8130920136954110030tmp [Pipeline] { [Pipeline] sh [2021-10-06T22:09:56.601Z] + set +x [2021-10-06T22:09:56.601Z] + curl -s https://codecov.io/bash [2021-10-06T22:09:56.601Z] + bash -s -- [2021-10-06T22:09:56.601Z] [2021-10-06T22:09:56.601Z] _____ _ [2021-10-06T22:09:56.601Z] / ____| | | [2021-10-06T22:09:56.601Z] | | ___ __| | ___ ___ _____ __ [2021-10-06T22:09:56.601Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-06T22:09:56.601Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-06T22:09:56.601Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-06T22:09:56.601Z] Bash-1.0.6 [2021-10-06T22:09:56.601Z] [2021-10-06T22:09:56.601Z] [2021-10-06T22:09:56.601Z] ==> git version 2.24.4 found [2021-10-06T22:09:56.601Z] ==> 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-10-06T22:09:56.601Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-06T22:09:56.601Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-06T22:09:56.601Z] ==> Jenkins CI detected. [2021-10-06T22:09:56.601Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-12 [2021-10-06T22:09:56.601Z] project root: . [2021-10-06T22:09:56.601Z] --> token set from env [2021-10-06T22:09:56.601Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-06T22:09:56.601Z] ==> Running gcov in . (disable via -X gcov) [2021-10-06T22:09:56.871Z] ==> Python coveragepy not found [2021-10-06T22:09:56.871Z] ==> Searching for coverage reports in: [2021-10-06T22:09:56.871Z] + . [2021-10-06T22:09:56.871Z] -> Found 1 reports [2021-10-06T22:09:56.871Z] ==> Detecting git/mercurial file structure [2021-10-06T22:09:56.871Z] ==> Reading reports [2021-10-06T22:09:56.871Z] + ./coverage.out bytes=10 [2021-10-06T22:09:56.871Z] ==> Appending adjustments [2021-10-06T22:09:56.871Z] https://docs.codecov.io/docs/fixing-reports [2021-10-06T22:09:56.871Z] + Found adjustments [2021-10-06T22:09:56.871Z] ==> Gzipping contents [2021-10-06T22:09:56.871Z] 4.0K /tmp/codecov.gRUqCj.gz [2021-10-06T22:09:56.871Z] ==> Uploading reports [2021-10-06T22:09:56.871Z] url: https://codecov.io [2021-10-06T22:09:56.871Z] query: branch=PR-12&commit=42e90dd75818125de2014c769f9771e2ae4197be&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-12%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=12&job=&cmd_args= [2021-10-06T22:09:56.871Z] -> Pinging Codecov [2021-10-06T22:09:56.871Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-12&commit=42e90dd75818125de2014c769f9771e2ae4197be&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-12%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=12&job=&cmd_args= [2021-10-06T22:09:57.139Z] -> Uploading to [2021-10-06T22:09:57.139Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-06/3EC07B1A8CA8AF9BCAA0BB9F0134797F/42e90dd75818125de2014c769f9771e2ae4197be/a574db20-b00a-4128-a2f9-5638cf4e277a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211006T220957Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=370bdb4821642030596519b71802bb41c2b501bc2c698a625e5eff88620b2bea [2021-10-06T22:09:57.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-06T22:09:57.139Z] Dload Upload Total Spent Left Speed [2021-10-06T22:09:57.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 570 0 0 100 570 0 1652 --:--:-- --:--:-- --:--:-- 1652 100 570 0 0 100 570 0 1652 --:--:-- --:--:-- --:--:-- 1652 [2021-10-06T22:09:57.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/42e90dd75818125de2014c769f9771e2ae4197be [Pipeline] } [2021-10-06T22:09:57.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-06T22:09:59.551Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_PR-12/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:09:59.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:00.467Z] ---> package-listing.sh [2021-10-06T22:10:00.467Z] ++ facter osfamily [2021-10-06T22:10:00.467Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-06T22:10:00.739Z] + OS_FAMILY=redhat [2021-10-06T22:10:00.739Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-12 [2021-10-06T22:10:00.739Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-06T22:10:00.739Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-06T22:10:00.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-06T22:10:00.739Z] + PACKAGES=/tmp/packages_start.txt [2021-10-06T22:10:00.739Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-12 ']' [2021-10-06T22:10:00.739Z] + PACKAGES=/tmp/packages_end.txt [2021-10-06T22:10:00.739Z] + case "${OS_FAMILY}" in [2021-10-06T22:10:00.739Z] + rpm -qa [2021-10-06T22:10:00.739Z] + sort [2021-10-06T22:10:01.323Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-06T22:10:01.323Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-06T22:10:01.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-06T22:10:01.323Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-12 ']' [2021-10-06T22:10:01.323Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-12/archives/ [2021-10-06T22:10:01.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-12/archives/ [Pipeline] echo [2021-10-06T22:10:01.339Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-12/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-06T22:10:01.641Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:10:02.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:10:02.242Z] [2021-10-06T22:10:02.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T22:10:02.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:10:02.572Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T22:10:02.572Z] b4d181a07f80: Pulling fs layer [2021-10-06T22:10:02.572Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T22:10:02.572Z] ed53099fbce6: Pulling fs layer [2021-10-06T22:10:02.572Z] dc539afda2c1: Pulling fs layer [2021-10-06T22:10:02.572Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T22:10:02.572Z] 9065ff56babe: Pulling fs layer [2021-10-06T22:10:02.572Z] d287ab97295c: Pulling fs layer [2021-10-06T22:10:02.572Z] dc539afda2c1: Waiting [2021-10-06T22:10:02.572Z] 77bc0d833cb6: Waiting [2021-10-06T22:10:02.572Z] 9065ff56babe: Waiting [2021-10-06T22:10:02.572Z] d287ab97295c: Waiting [2021-10-06T22:10:02.838Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T22:10:02.838Z] a1111a8f2ec3: Download complete [2021-10-06T22:10:02.838Z] dc539afda2c1: Verifying Checksum [2021-10-06T22:10:02.838Z] dc539afda2c1: Download complete [2021-10-06T22:10:03.116Z] ed53099fbce6: Verifying Checksum [2021-10-06T22:10:03.116Z] ed53099fbce6: Download complete [2021-10-06T22:10:03.116Z] 9065ff56babe: Verifying Checksum [2021-10-06T22:10:03.116Z] 9065ff56babe: Download complete [2021-10-06T22:10:03.116Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T22:10:03.116Z] 77bc0d833cb6: Download complete [2021-10-06T22:10:03.116Z] b4d181a07f80: Verifying Checksum [2021-10-06T22:10:03.116Z] b4d181a07f80: Download complete [2021-10-06T22:10:04.546Z] d287ab97295c: Verifying Checksum [2021-10-06T22:10:04.546Z] d287ab97295c: Download complete [2021-10-06T22:10:04.546Z] b4d181a07f80: Pull complete [2021-10-06T22:10:04.950Z] a1111a8f2ec3: Pull complete [2021-10-06T22:10:05.594Z] ed53099fbce6: Pull complete [2021-10-06T22:10:05.594Z] dc539afda2c1: Pull complete [2021-10-06T22:10:05.862Z] 77bc0d833cb6: Pull complete [2021-10-06T22:10:06.135Z] 9065ff56babe: Pull complete [2021-10-06T22:10:10.417Z] d287ab97295c: Pull complete [2021-10-06T22:10:10.417Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T22:10:10.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T22:10:10.417Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T22:10:10.509Z] prd-centos7-docker-4c-2g-335 does not seem to be running inside a container [2021-10-06T22:10:10.560Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-12/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-12 -v /w/workspace/edgexfoundry_device-gpio_PR-12:/w/workspace/edgexfoundry_device-gpio_PR-12:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-12@tmp:/w/workspace/edgexfoundry_device-gpio_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T22:10:13.086Z] $ docker top 8ac918700a566bc4d5dd1fbd22c1f42866ae3b294f819e897243a899c1546779 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T22:10:13.490Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-06T22:10:13.799Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-06T22:10:14.107Z] + ls /var/log/sa-host [2021-10-06T22:10:14.107Z] + sadf -c /var/log/sa-host/sa06 [2021-10-06T22:10:14.107Z] file_magic: OK [2021-10-06T22:10:14.107Z] HZ: Using current value: 100 [2021-10-06T22:10:14.107Z] file_header: OK [2021-10-06T22:10:14.107Z] 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-10-06T22:10:14.107Z] Statistics: [2021-10-06T22:10:14.107Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T22:10:14.107Z] File successfully converted to sysstat format version 12.0.3 [2021-10-06T22:10:14.107Z] + sadf -c /var/log/sa-host/sa30 [2021-10-06T22:10:14.107Z] file_magic: OK [2021-10-06T22:10:14.107Z] HZ: Using current value: 100 [2021-10-06T22:10:14.107Z] file_header: OK [2021-10-06T22:10:14.107Z] 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-10-06T22:10:14.107Z] Statistics: [2021-10-06T22:10:14.107Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T22:10:14.107Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T22:10:14.687Z] provisioning config files... [2021-10-06T22:10:14.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-12@tmp/config3690727756766116244tmp [Pipeline] { [Pipeline] echo [2021-10-06T22:10:14.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:15.039Z] ---> create-netrc.sh [Pipeline] } [2021-10-06T22:10:15.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:15.490Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-06T22:10:15.506Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:15.841Z] ---> sudo-logs.sh [2021-10-06T22:10:15.841Z] Archiving 'sudo' log.. [2021-10-06T22:10:15.841Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-335.novalocal: Name or service not known [2021-10-06T22:10:15.841Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-335.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-06T22:10:15.878Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:16.182Z] ---> job-cost.sh [2021-10-06T22:10:16.182Z] lf-activate-venv: SKIPPING [2021-10-06T22:10:16.182Z] DEBUG: total: 0.10999999940395355 [2021-10-06T22:10:16.182Z] INFO: Retrieving Stack Cost... [2021-10-06T22:10:16.767Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T22:10:17.033Z] INFO: Archiving Costs [Pipeline] echo [2021-10-06T22:10:17.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T22:10:17.371Z] ---> logs-deploy.sh [2021-10-06T22:10:17.371Z] lf-activate-venv: SKIPPING [2021-10-06T22:10:17.371Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-12/2 [2021-10-06T22:10:17.372Z] INFO: archiving workspace using pattern(s): [2021-10-06T22:10:17.961Z] Archives upload complete. [2021-10-06T22:10:18.228Z] INFO: archiving logs to Nexus