Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc2975e542a944f4e8f45132f2113a92bb59edd1 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-ssh5384591540670951620.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-ssh3747719826282497254.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/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1524452748013427820.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-ssh6985370349867248262.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/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh994974802323928167.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-2228 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub Avoid second fetch Checking out Revision dc2975e542a944f4e8f45132f2113a92bb59edd1 (main) [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-gpio_main@tmp/jenkins-gitclient-ssh7809230985019558105.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 core.sparsecheckout # timeout=10 > git checkout -f dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 Commit message: "Merge pull request #12 from ernestojeda/main" > git rev-list --no-walk c0b25ded3b16f4d1cd26b5c8d8a963f533f6da71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-07T01:48:01.349Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-07T01:48:01.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-07T01:48:01.486Z] ========================================================= [2021-10-07T01:48:01.486Z] EdgeX Global Pipelines Version Info [2021-10-07T01:48:01.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-07T01:48:02.811Z] ------------------- [2021-10-07T01:48:02.811Z] stable info: [2021-10-07T01:48:02.811Z] ------------------- [2021-10-07T01:48:02.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-07T01:48:02.811Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T01:48:02.811Z] Message: update stable to v1.0.207 [2021-10-07T01:48:03.778Z] ------------------- [2021-10-07T01:48:03.778Z] experimental info: [2021-10-07T01:48:03.778Z] ------------------- [2021-10-07T01:48:03.778Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-07T01:48:03.778Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T01:48:03.778Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T01:48:03.918Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2021-10-07T01:48:03.943Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2021-10-07T01:48:03.965Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-07T01:48:03.988Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-07T01:48:04.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-07T01:48:04.033Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-07T01:48:04.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-07T01:48:04.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-07T01:48:04.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-07T01:48:04.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-07T01:48:04.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-07T01:48:04.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2021-10-07T01:48:04.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-07T01:48:04.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-07T01:48:04.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T01:48:04.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T01:48:04.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T01:48:04.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T01:48:04.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-07T01:48:04.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-07T01:48:04.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-07T01:48:04.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-07T01:48:04.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-07T01:48:04.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-07T01:48:04.500Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-07T01:48:04.524Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-07T01:48:04.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-07T01:48:04.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-07T01:48:04.598Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-07T01:48:04.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] echo [2021-10-07T01:48:04.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc2975e [Pipeline] echo [2021-10-07T01:48:04.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T01:48:04.742Z] provisioning config files... [2021-10-07T01:48:04.765Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4030104053745302956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T01:48:05.120Z] ---> docker-login.sh [2021-10-07T01:48:05.120Z] nexus3.edgexfoundry.org:10001 [2021-10-07T01:48:05.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:48:05.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:48:05.389Z] Configure a credential helper to remove this warning. See [2021-10-07T01:48:05.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:48:05.389Z] [2021-10-07T01:48:05.389Z] Login Succeeded [2021-10-07T01:48:05.389Z] nexus3.edgexfoundry.org:10002 [2021-10-07T01:48:05.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:48:05.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:48:05.657Z] Configure a credential helper to remove this warning. See [2021-10-07T01:48:05.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:48:05.657Z] [2021-10-07T01:48:05.657Z] Login Succeeded [2021-10-07T01:48:05.657Z] nexus3.edgexfoundry.org:10003 [2021-10-07T01:48:05.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:48:05.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:48:05.657Z] Configure a credential helper to remove this warning. See [2021-10-07T01:48:05.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:48:05.657Z] [2021-10-07T01:48:05.657Z] Login Succeeded [2021-10-07T01:48:05.657Z] nexus3.edgexfoundry.org:10004 [2021-10-07T01:48:05.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:48:05.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:48:05.924Z] Configure a credential helper to remove this warning. See [2021-10-07T01:48:05.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:48:05.924Z] [2021-10-07T01:48:05.924Z] Login Succeeded [2021-10-07T01:48:05.924Z] docker.io [2021-10-07T01:48:05.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:48:06.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:48:06.201Z] Configure a credential helper to remove this warning. See [2021-10-07T01:48:06.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:48:06.201Z] [2021-10-07T01:48:06.201Z] Login Succeeded [2021-10-07T01:48:06.201Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T01:48:06.215Z] 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-07T01:48:06.801Z] + git log --format=format:%s -1 dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] echo [2021-10-07T01:48:06.855Z] GIT_COMMIT: dc2975e542a944f4e8f45132f2113a92bb59edd1, Commit Message: Merge pull request #12 from ernestojeda/main [Pipeline] echo [2021-10-07T01:48:06.867Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:48:07.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T01:48:07.488Z] [2021-10-07T01:48:07.489Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:48:08.051Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T01:48:08.051Z] latest: Pulling from edgex-devops/git-semver [2021-10-07T01:48:08.051Z] 31603596830f: Pulling fs layer [2021-10-07T01:48:08.051Z] 04fac38145f0: Pulling fs layer [2021-10-07T01:48:08.051Z] 701f6daf10bf: Pulling fs layer [2021-10-07T01:48:08.051Z] 24f72da36158: Pulling fs layer [2021-10-07T01:48:08.051Z] 24f72da36158: Waiting [2021-10-07T01:48:13.417Z] 04fac38145f0: Download complete [2021-10-07T01:48:13.417Z] 31603596830f: Verifying Checksum [2021-10-07T01:48:13.417Z] 31603596830f: Download complete [2021-10-07T01:48:13.417Z] 24f72da36158: Verifying Checksum [2021-10-07T01:48:13.417Z] 24f72da36158: Download complete [2021-10-07T01:48:13.417Z] 701f6daf10bf: Verifying Checksum [2021-10-07T01:48:13.417Z] 701f6daf10bf: Download complete [2021-10-07T01:48:13.417Z] 31603596830f: Pull complete [2021-10-07T01:48:13.417Z] 04fac38145f0: Pull complete [2021-10-07T01:48:14.398Z] 701f6daf10bf: Pull complete [2021-10-07T01:48:14.398Z] 24f72da36158: Pull complete [2021-10-07T01:48:14.398Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-07T01:48:14.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T01:48:14.399Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-07T01:48:14.495Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T01:48:14.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T01:48:15.240Z] $ docker top 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T01:48:15.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T01:48:15.372Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T01:48:15.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T01:48:15.518Z] $ docker exec 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 ssh-agent [2021-10-07T01:48:15.636Z] SSH_AUTH_SOCK=/tmp/ssh-8tfqi67h7UEL/agent.14 [2021-10-07T01:48:15.636Z] SSH_AGENT_PID=20 [2021-10-07T01:48:15.650Z] Running ssh-add (command line suppressed) [2021-10-07T01:48:15.748Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_532739825890827466.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_532739825890827466.key) [2021-10-07T01:48:15.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T01:48:16.085Z] + git tag --points-at HEAD [Pipeline] } [2021-10-07T01:48:16.105Z] $ docker exec --env ******** --env ******** 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 ssh-agent -k [2021-10-07T01:48:16.198Z] unset SSH_AUTH_SOCK; [2021-10-07T01:48:16.199Z] unset SSH_AGENT_PID; [2021-10-07T01:48:16.199Z] echo Agent pid 20 killed; [2021-10-07T01:48:16.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-07T01:48:16.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T01:48:16.262Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T01:48:16.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T01:48:16.375Z] $ docker exec 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 ssh-agent [2021-10-07T01:48:16.492Z] SSH_AUTH_SOCK=/tmp/ssh-wfLHkBuTRcv3/agent.52 [2021-10-07T01:48:16.492Z] SSH_AGENT_PID=59 [2021-10-07T01:48:16.501Z] Running ssh-add (command line suppressed) [2021-10-07T01:48:16.600Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3237809098882099035.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3237809098882099035.key) [2021-10-07T01:48:16.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T01:48:16.974Z] + git semver init [2021-10-07T01:48:16.974Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T01:48:16.974Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-10-07T01:48:16.974Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-10-07T01:48:16.974Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T01:48:16.974Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T01:48:16.974Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T01:48:16.974Z] # $SEMVER_BRANCH = main [2021-10-07T01:48:16.974Z] # $SEMVER_TEMP = /tmp/semver-620084013 [2021-10-07T01:48:16.974Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2021-10-07T01:48:17.933Z] # '/tmp/semver-620084013' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2021-10-07T01:48:17.933Z] # -> Force: false [2021-10-07T01:48:17.933Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2021-10-07T01:48:17.947Z] $ docker exec --env ******** --env ******** 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 ssh-agent -k [2021-10-07T01:48:18.057Z] unset SSH_AUTH_SOCK; [2021-10-07T01:48:18.057Z] unset SSH_AGENT_PID; [2021-10-07T01:48:18.057Z] echo Agent pid 59 killed; [2021-10-07T01:48:18.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T01:48:18.428Z] + git semver [Pipeline] } [2021-10-07T01:48:18.446Z] $ docker stop --time=1 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 [2021-10-07T01:48:19.710Z] $ docker rm -f 03d0f53378b8c6bf7893263f584883591abd788e33af81ad0c0bc68983dbe981 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T01:48:20.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-07T01:48:20.895Z] Stashed 1 file(s) [Pipeline] echo [2021-10-07T01:48:20.899Z] [edgeXSemver]: initialized semver on version 1.0.1-dev.5 [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-07T01:48:36.127Z] Still waiting to schedule task [2021-10-07T01:48:36.128Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-07T01:48:36.129Z] Still waiting to schedule task [2021-10-07T01:48:36.130Z] ‘prd-centos7-docker-4c-2g-285’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-07T01:48:36.130Z] ‘prd-centos7-docker-4c-2g-336’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-07T01:48:36.130Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2227’ is offline [2021-10-07T01:51:04.929Z] Running on prd-centos7-docker-4c-2g-2230 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-10-07T01:51:04.949Z] Running in /w/workspace/device-gpio/8 [Pipeline] { [Pipeline] checkout [2021-10-07T01:51:05.312Z] The recommended git tool is: git [2021-10-07T01:51:08.420Z] using credential edgex-jenkins-ssh [2021-10-07T01:51:08.438Z] Cloning the remote Git repository [2021-10-07T01:51:08.005Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-07T01:51:08.088Z] > git init /w/workspace/device-gpio/8 # timeout=10 [2021-10-07T01:51:08.135Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-07T01:51:08.135Z] > git --version # timeout=10 [2021-10-07T01:51:08.145Z] > git --version # 'git version 2.24.4' [2021-10-07T01:51:08.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T01:51:08.175Z] [INFO] Currently running in a labeled security context [2021-10-07T01:51:08.175Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T01:51:08.175Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-gpio/8@tmp/jenkins-gitclient-ssh1041165919022010491.key [2021-10-07T01:51:08.196Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T01:51:10.372Z] Avoid second fetch [2021-10-07T01:51:10.372Z] Checking out Revision dc2975e542a944f4e8f45132f2113a92bb59edd1 (main) [2021-10-07T01:51:09.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-07T01:51:10.003Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T01:51:10.026Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T01:51:10.039Z] > git checkout -f dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 [2021-10-07T01:51:13.955Z] Commit message: "Merge pull request #12 from ernestojeda/main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T01:51:14.285Z] provisioning config files... [2021-10-07T01:51:14.305Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config4934441595482317267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T01:51:14.785Z] ---> docker-login.sh [2021-10-07T01:51:14.785Z] nexus3.edgexfoundry.org:10001 [2021-10-07T01:51:14.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:51:15.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:51:15.061Z] Configure a credential helper to remove this warning. See [2021-10-07T01:51:15.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:51:15.061Z] [2021-10-07T01:51:15.061Z] Login Succeeded [2021-10-07T01:51:15.061Z] nexus3.edgexfoundry.org:10002 [2021-10-07T01:51:15.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:51:15.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:51:15.062Z] Configure a credential helper to remove this warning. See [2021-10-07T01:51:15.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:51:15.062Z] [2021-10-07T01:51:15.062Z] Login Succeeded [2021-10-07T01:51:15.062Z] nexus3.edgexfoundry.org:10003 [2021-10-07T01:51:15.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:51:15.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:51:15.333Z] Configure a credential helper to remove this warning. See [2021-10-07T01:51:15.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:51:15.333Z] [2021-10-07T01:51:15.333Z] Login Succeeded [2021-10-07T01:51:15.333Z] nexus3.edgexfoundry.org:10004 [2021-10-07T01:51:15.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:51:15.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:51:15.333Z] Configure a credential helper to remove this warning. See [2021-10-07T01:51:15.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:51:15.333Z] [2021-10-07T01:51:15.333Z] Login Succeeded [2021-10-07T01:51:15.333Z] docker.io [2021-10-07T01:51:15.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:51:15.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:51:15.867Z] Configure a credential helper to remove this warning. See [2021-10-07T01:51:15.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:51:15.867Z] [2021-10-07T01:51:15.867Z] Login Succeeded [2021-10-07T01:51:15.867Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T01:51:15.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T01:51:16.331Z] ========================================================= [2021-10-07T01:51:16.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-07T01:51:16.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:51:16.677Z] + 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-07T01:51:16.677Z] Sending build context to Docker daemon 5.512MB [2021-10-07T01:51:16.677Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T01:51:16.677Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-07T01:51:17.158Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-07T01:51:17.158Z] 4e9f2cdf4387: Pulling fs layer [2021-10-07T01:51:17.158Z] 57d31006c564: Pulling fs layer [2021-10-07T01:51:17.158Z] bd5ccded8296: Pulling fs layer [2021-10-07T01:51:17.158Z] 304dd3a0f381: Pulling fs layer [2021-10-07T01:51:17.158Z] d37cda54a23b: Pulling fs layer [2021-10-07T01:51:17.158Z] bae75c0f2455: Pulling fs layer [2021-10-07T01:51:17.158Z] 806579b3d29a: Pulling fs layer [2021-10-07T01:51:17.158Z] c77eb801bf70: Pulling fs layer [2021-10-07T01:51:17.158Z] 6d0567d44e1a: Pulling fs layer [2021-10-07T01:51:17.158Z] 304dd3a0f381: Waiting [2021-10-07T01:51:17.158Z] d37cda54a23b: Waiting [2021-10-07T01:51:17.158Z] bae75c0f2455: Waiting [2021-10-07T01:51:17.158Z] 806579b3d29a: Waiting [2021-10-07T01:51:17.158Z] c77eb801bf70: Waiting [2021-10-07T01:51:17.158Z] 6d0567d44e1a: Waiting [2021-10-07T01:51:17.158Z] bd5ccded8296: Verifying Checksum [2021-10-07T01:51:17.158Z] bd5ccded8296: Download complete [2021-10-07T01:51:17.158Z] 57d31006c564: Download complete [2021-10-07T01:51:17.158Z] d37cda54a23b: Verifying Checksum [2021-10-07T01:51:17.158Z] d37cda54a23b: Download complete [2021-10-07T01:51:17.158Z] bae75c0f2455: Verifying Checksum [2021-10-07T01:51:17.158Z] bae75c0f2455: Download complete [2021-10-07T01:51:17.158Z] 4e9f2cdf4387: Verifying Checksum [2021-10-07T01:51:17.158Z] 4e9f2cdf4387: Download complete [2021-10-07T01:51:17.426Z] 4e9f2cdf4387: Pull complete [2021-10-07T01:51:17.426Z] 806579b3d29a: Verifying Checksum [2021-10-07T01:51:17.426Z] 806579b3d29a: Download complete [2021-10-07T01:51:17.426Z] 57d31006c564: Pull complete [2021-10-07T01:51:17.426Z] bd5ccded8296: Pull complete [2021-10-07T01:51:18.025Z] c77eb801bf70: Verifying Checksum [2021-10-07T01:51:18.025Z] c77eb801bf70: Download complete [2021-10-07T01:51:18.616Z] 304dd3a0f381: Verifying Checksum [2021-10-07T01:51:18.616Z] 304dd3a0f381: Download complete [2021-10-07T01:51:18.883Z] 6d0567d44e1a: Verifying Checksum [2021-10-07T01:51:18.883Z] 6d0567d44e1a: Download complete [2021-10-07T01:51:22.304Z] 304dd3a0f381: Pull complete [2021-10-07T01:51:22.579Z] d37cda54a23b: Pull complete [2021-10-07T01:51:22.579Z] bae75c0f2455: Pull complete [2021-10-07T01:51:22.579Z] 806579b3d29a: Pull complete [2021-10-07T01:51:22.853Z] c77eb801bf70: Pull complete [2021-10-07T01:51:25.462Z] 6d0567d44e1a: Pull complete [2021-10-07T01:51:25.462Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-07T01:51:25.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-07T01:51:25.462Z] ---> e839a31ac9d1 [2021-10-07T01:51:25.462Z] Step 3/10 : ARG MAKE='make build' [2021-10-07T01:51:27.415Z] ---> Running in 10d1e4fa53a1 [2021-10-07T01:51:27.415Z] Removing intermediate container 10d1e4fa53a1 [2021-10-07T01:51:27.415Z] ---> 1dcbbf2c3ce6 [2021-10-07T01:51:27.415Z] Step 4/10 : WORKDIR /device-gpio [2021-10-07T01:51:27.415Z] ---> Running in bfed648b6e53 [2021-10-07T01:51:27.415Z] Removing intermediate container bfed648b6e53 [2021-10-07T01:51:27.415Z] ---> 1ceda8924af2 [2021-10-07T01:51:27.415Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T01:51:27.682Z] ---> Running in 870fdc816b57 [2021-10-07T01:51:27.682Z] Removing intermediate container 870fdc816b57 [2021-10-07T01:51:27.682Z] ---> 133c5af78797 [2021-10-07T01:51:27.682Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T01:51:27.682Z] ---> Running in 51b9fd229a66 [2021-10-07T01:51:28.334Z] Removing intermediate container 51b9fd229a66 [2021-10-07T01:51:28.334Z] ---> 45d01e6caaf8 [2021-10-07T01:51:28.334Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-10-07T01:51:28.334Z] ---> Running in d4b7b74b22bb [2021-10-07T01:51:28.601Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T01:51:29.571Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T01:51:29.839Z] OK: 219 MiB in 52 packages [2021-10-07T01:51:29.839Z] Removing intermediate container d4b7b74b22bb [2021-10-07T01:51:29.839Z] ---> 3e34b0382fe0 [2021-10-07T01:51:29.839Z] Step 8/10 : COPY . . [2021-10-07T01:51:30.112Z] ---> 960e8bb5e87d [2021-10-07T01:51:30.112Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T01:51:30.382Z] ---> Running in 32ffef349251 [2021-10-07T01:51:57.288Z] Removing intermediate container 32ffef349251 [2021-10-07T01:51:57.288Z] ---> d83829033136 [2021-10-07T01:51:57.288Z] Step 10/10 : RUN ${MAKE} [2021-10-07T01:51:57.288Z] ---> Running in 082c1e4a5fda [2021-10-07T01:51:57.288Z] noop [2021-10-07T01:51:57.288Z] Removing intermediate container 082c1e4a5fda [2021-10-07T01:51:57.288Z] ---> de919071511f [2021-10-07T01:51:57.288Z] Successfully built de919071511f [2021-10-07T01:51:57.288Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:51:57.609Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T01:51:57.610Z] . [Pipeline] withDockerContainer [2021-10-07T01:51:57.707Z] prd-centos7-docker-4c-2g-2230 does not seem to be running inside a container [2021-10-07T01:51:57.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 ******** ci-base-image-x86_64 cat [2021-10-07T01:51:58.158Z] $ docker top 69d9d7c6984d0f11179c39cbcfc892e7c348647a5072215443c8e0d249d5b060 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T01:51:58.560Z] + go version [2021-10-07T01:51:58.560Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-07T01:51:58.575Z] $ docker stop --time=1 69d9d7c6984d0f11179c39cbcfc892e7c348647a5072215443c8e0d249d5b060 [2021-10-07T01:51:59.775Z] $ docker rm -f 69d9d7c6984d0f11179c39cbcfc892e7c348647a5072215443c8e0d249d5b060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:00.380Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T01:52:00.380Z] . [Pipeline] withDockerContainer [2021-10-07T01:52:00.931Z] prd-centos7-docker-4c-2g-2230 does not seem to be running inside a container [2021-10-07T01:52:01.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@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 ******** ci-base-image-x86_64 cat [2021-10-07T01:52:01.548Z] $ docker top 140801a505cf6df636be13262d7e624108e82261b1261e1da5fe7248798c50c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T01:52:01.973Z] + make test [2021-10-07T01:52:01.973Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-07T01:52:02.241Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-10-07T01:52:17.272Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-10-07T01:52:17.272Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-10-07T01:52:17.272Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-07T01:52:22.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T01:52:22.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T01:52:22.677Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T01:52:22.692Z] $ docker stop --time=1 140801a505cf6df636be13262d7e624108e82261b1261e1da5fe7248798c50c4 [2021-10-07T01:52:24.130Z] $ docker rm -f 140801a505cf6df636be13262d7e624108e82261b1261e1da5fe7248798c50c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T01:52:24.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T01:52:24.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-07T01:52:26.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T01:52:27.118Z] + ls -al . [2021-10-07T01:52:27.118Z] total 108 [2021-10-07T01:52:27.118Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 7 01:52 . [2021-10-07T01:52:27.118Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 7 01:51 .. [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 5451 Oct 7 01:51 Attribution.txt [2021-10-07T01:52:27.118Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 7 01:51 bin [2021-10-07T01:52:27.118Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 7 01:51 cmd [2021-10-07T01:52:27.118Z] -rw-r--r--. 1 jenkins jenkins 10 Oct 7 01:52 coverage.out [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 1557 Oct 7 01:51 Dockerfile [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 120 Oct 7 01:51 .dockerignore [2021-10-07T01:52:27.118Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 7 01:51 .git [2021-10-07T01:52:27.118Z] drwxrwxr-x. 2 jenkins jenkins 81 Oct 7 01:51 .github [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 343 Oct 7 01:51 .gitignore [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 379 Oct 7 01:51 go.mod [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 30244 Oct 7 01:51 go.sum [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 7 01:51 GOVERNANCE.md [2021-10-07T01:52:27.118Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 7 01:51 internal [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 657 Oct 7 01:51 Jenkinsfile [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 7 01:51 LICENSE [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 1001 Oct 7 01:51 Makefile [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 617 Oct 7 01:51 OWNERS.md [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 8048 Oct 7 01:51 README.md [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 7 01:48 VERSION [2021-10-07T01:52:27.118Z] -rw-rw-r--. 1 jenkins jenkins 209 Oct 7 01:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:27.447Z] + 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=dc2975e542a944f4e8f45132f2113a92bb59edd1 --label arch=amd64 --label version=1.0.1-dev.5 . [2021-10-07T01:52:27.447Z] Sending build context to Docker daemon 5.513MB [2021-10-07T01:52:27.447Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T01:52:27.447Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-07T01:52:27.447Z] ---> de919071511f [2021-10-07T01:52:27.447Z] Step 3/23 : ARG MAKE='make build' [2021-10-07T01:52:27.447Z] ---> Running in 3094c7f6945a [2021-10-07T01:52:27.717Z] Removing intermediate container 3094c7f6945a [2021-10-07T01:52:27.717Z] ---> 099cb6c3d96f [2021-10-07T01:52:27.717Z] Step 4/23 : WORKDIR /device-gpio [2021-10-07T01:52:27.717Z] ---> Running in 5879cf8791be [2021-10-07T01:52:27.717Z] Removing intermediate container 5879cf8791be [2021-10-07T01:52:27.717Z] ---> 6237c15b3d08 [2021-10-07T01:52:27.717Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T01:52:27.717Z] ---> Running in 2ede2ede34f9 [2021-10-07T01:52:27.717Z] Removing intermediate container 2ede2ede34f9 [2021-10-07T01:52:27.717Z] ---> d9d5d7ffd9ed [2021-10-07T01:52:27.717Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T01:52:27.717Z] ---> Running in 6f1b1cfbd204 [2021-10-07T01:52:28.302Z] Removing intermediate container 6f1b1cfbd204 [2021-10-07T01:52:28.302Z] ---> 070dfa95e80e [2021-10-07T01:52:28.302Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-10-07T01:52:28.302Z] ---> Running in bc4f4793b8e5 [2021-10-07T01:52:28.567Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T01:52:29.530Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T01:52:29.798Z] OK: 219 MiB in 52 packages [2021-10-07T01:52:29.798Z] Removing intermediate container bc4f4793b8e5 [2021-10-07T01:52:29.798Z] ---> cad97d85e87d [2021-10-07T01:52:29.798Z] Step 8/23 : COPY . . [2021-10-07T01:52:30.075Z] ---> ed434d1c1235 [2021-10-07T01:52:30.075Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T01:52:30.075Z] ---> Running in c0b9ec3c07be [2021-10-07T01:52:30.676Z] Removing intermediate container c0b9ec3c07be [2021-10-07T01:52:30.676Z] ---> c4447028ccbc [2021-10-07T01:52:30.676Z] Step 10/23 : RUN ${MAKE} [2021-10-07T01:52:30.676Z] ---> Running in 986cbb920b6b [2021-10-07T01:52:30.948Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.5" -o cmd/device-gpio ./cmd [2021-10-07T01:52:41.096Z] Removing intermediate container 986cbb920b6b [2021-10-07T01:52:41.096Z] ---> 1ece8353a656 [2021-10-07T01:52:41.096Z] Step 11/23 : FROM alpine:3.14 [2021-10-07T01:52:41.365Z] 3.14: Pulling from library/alpine [2021-10-07T01:52:41.641Z] a0d0a0d46f8b: Pulling fs layer [2021-10-07T01:52:41.641Z] a0d0a0d46f8b: Download complete [2021-10-07T01:52:41.910Z] a0d0a0d46f8b: Pull complete [2021-10-07T01:52:41.910Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-07T01:52:41.910Z] Status: Downloaded newer image for alpine:3.14 [2021-10-07T01:52:41.910Z] ---> 14119a10abf4 [2021-10-07T01:52:41.910Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T01:52:41.910Z] ---> Running in e95b969bd68e [2021-10-07T01:52:41.910Z] Removing intermediate container e95b969bd68e [2021-10-07T01:52:41.910Z] ---> 0db2271f3663 [2021-10-07T01:52:41.910Z] Step 13/23 : ENV APP_PORT=49994 [2021-10-07T01:52:42.183Z] ---> Running in e71e7c3646e0 [2021-10-07T01:52:42.183Z] Removing intermediate container e71e7c3646e0 [2021-10-07T01:52:42.183Z] ---> 615685f49414 [2021-10-07T01:52:42.183Z] Step 14/23 : EXPOSE $APP_PORT [2021-10-07T01:52:42.183Z] ---> Running in 04b8d60a6832 [2021-10-07T01:52:42.183Z] Removing intermediate container 04b8d60a6832 [2021-10-07T01:52:42.183Z] ---> da1a2dae8cb9 [2021-10-07T01:52:42.183Z] Step 15/23 : WORKDIR / [2021-10-07T01:52:42.183Z] ---> Running in 1f137ee122de [2021-10-07T01:52:42.183Z] Removing intermediate container 1f137ee122de [2021-10-07T01:52:42.183Z] ---> d004e3cafad7 [2021-10-07T01:52:42.183Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-10-07T01:52:42.449Z] ---> 22fef65be953 [2021-10-07T01:52:42.449Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-10-07T01:52:42.449Z] ---> 58188909c89d [2021-10-07T01:52:42.449Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-10-07T01:52:43.030Z] ---> 4811ae3785da [2021-10-07T01:52:43.030Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-10-07T01:52:43.030Z] ---> Running in eda1ce16c8fc [2021-10-07T01:52:43.030Z] Removing intermediate container eda1ce16c8fc [2021-10-07T01:52:43.030Z] ---> e3474ac023d9 [2021-10-07T01:52:43.030Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-07T01:52:43.030Z] ---> Running in 60919fa9a70a [2021-10-07T01:52:43.030Z] Removing intermediate container 60919fa9a70a [2021-10-07T01:52:43.030Z] ---> 7ac465eb584e [2021-10-07T01:52:43.030Z] Step 21/23 : LABEL arch=amd64 [2021-10-07T01:52:43.030Z] ---> Running in 4234e04275e1 [2021-10-07T01:52:43.301Z] Removing intermediate container 4234e04275e1 [2021-10-07T01:52:43.301Z] ---> 6339d406e966 [2021-10-07T01:52:43.301Z] Step 22/23 : LABEL git_sha=dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T01:52:43.301Z] ---> Running in bc525b9d4030 [2021-10-07T01:52:43.301Z] Removing intermediate container bc525b9d4030 [2021-10-07T01:52:43.301Z] ---> e7fdc4ee02ae [2021-10-07T01:52:43.301Z] Step 23/23 : LABEL version=1.0.1-dev.5 [2021-10-07T01:52:43.301Z] ---> Running in 29c1b713187d [2021-10-07T01:52:43.301Z] Removing intermediate container 29c1b713187d [2021-10-07T01:52:43.301Z] ---> 1f4f6ffc14a7 [2021-10-07T01:52:43.301Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-07T01:52:43.569Z] Successfully built 1f4f6ffc14a7 [2021-10-07T01:52:43.569Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T01:52:43.820Z] provisioning config files... [2021-10-07T01:52:43.842Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config5418667617968447283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T01:52:44.191Z] ---> docker-login.sh [2021-10-07T01:52:44.191Z] nexus3.edgexfoundry.org:10001 [2021-10-07T01:52:44.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:52:44.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:52:44.191Z] Configure a credential helper to remove this warning. See [2021-10-07T01:52:44.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:52:44.191Z] [2021-10-07T01:52:44.191Z] Login Succeeded [2021-10-07T01:52:44.191Z] nexus3.edgexfoundry.org:10002 [2021-10-07T01:52:44.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:52:44.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:52:44.458Z] Configure a credential helper to remove this warning. See [2021-10-07T01:52:44.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:52:44.458Z] [2021-10-07T01:52:44.458Z] Login Succeeded [2021-10-07T01:52:44.458Z] nexus3.edgexfoundry.org:10003 [2021-10-07T01:52:44.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:52:44.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:52:44.458Z] Configure a credential helper to remove this warning. See [2021-10-07T01:52:44.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:52:44.458Z] [2021-10-07T01:52:44.458Z] Login Succeeded [2021-10-07T01:52:44.458Z] nexus3.edgexfoundry.org:10004 [2021-10-07T01:52:44.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:52:44.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:52:44.728Z] Configure a credential helper to remove this warning. See [2021-10-07T01:52:44.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:52:44.728Z] [2021-10-07T01:52:44.728Z] Login Succeeded [2021-10-07T01:52:44.728Z] docker.io [2021-10-07T01:52:44.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T01:52:44.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T01:52:44.995Z] Configure a credential helper to remove this warning. See [2021-10-07T01:52:44.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T01:52:44.995Z] [2021-10-07T01:52:44.995Z] Login Succeeded [2021-10-07T01:52:44.995Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T01:52:45.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T01:52:45.091Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2021-10-07T01:52:45.091Z] dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T01:52:45.091Z] latest [2021-10-07T01:52:45.091Z] 1.0.1-dev.5 [2021-10-07T01:52:45.091Z] dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T01:52:45.091Z] main [2021-10-07T01:52:45.091Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:45.465Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:45.782Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T01:52:45.782Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-10-07T01:52:45.782Z] af0844d11dfd: Preparing [2021-10-07T01:52:45.782Z] a3eb73e33648: Preparing [2021-10-07T01:52:45.782Z] ff0b02cea658: Preparing [2021-10-07T01:52:45.782Z] e2eb06d8af82: Preparing [2021-10-07T01:52:45.782Z] e2eb06d8af82: Layer already exists [2021-10-07T01:52:46.056Z] a3eb73e33648: Pushed [2021-10-07T01:52:46.056Z] ff0b02cea658: Pushed [2021-10-07T01:52:47.465Z] af0844d11dfd: Pushed [2021-10-07T01:52:47.465Z] dc2975e542a944f4e8f45132f2113a92bb59edd1: digest: sha256:c3d858fb3cd4eae576e2f1e6ba6b3c388df3d1379fe8a273df0529f03224eee0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:47.796Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:48.169Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-10-07T01:52:48.169Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-10-07T01:52:48.169Z] af0844d11dfd: Preparing [2021-10-07T01:52:48.169Z] a3eb73e33648: Preparing [2021-10-07T01:52:48.169Z] ff0b02cea658: Preparing [2021-10-07T01:52:48.169Z] e2eb06d8af82: Preparing [2021-10-07T01:52:48.169Z] a3eb73e33648: Layer already exists [2021-10-07T01:52:48.169Z] ff0b02cea658: Layer already exists [2021-10-07T01:52:48.169Z] e2eb06d8af82: Layer already exists [2021-10-07T01:52:48.169Z] af0844d11dfd: Layer already exists [2021-10-07T01:52:48.169Z] latest: digest: sha256:c3d858fb3cd4eae576e2f1e6ba6b3c388df3d1379fe8a273df0529f03224eee0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:48.492Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:48.814Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.5 [2021-10-07T01:52:48.814Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-10-07T01:52:48.814Z] af0844d11dfd: Preparing [2021-10-07T01:52:48.814Z] a3eb73e33648: Preparing [2021-10-07T01:52:48.814Z] ff0b02cea658: Preparing [2021-10-07T01:52:48.814Z] e2eb06d8af82: Preparing [2021-10-07T01:52:48.814Z] af0844d11dfd: Layer already exists [2021-10-07T01:52:48.814Z] a3eb73e33648: Layer already exists [2021-10-07T01:52:48.814Z] ff0b02cea658: Layer already exists [2021-10-07T01:52:48.814Z] e2eb06d8af82: Layer already exists [2021-10-07T01:52:48.814Z] 1.0.1-dev.5: digest: sha256:c3d858fb3cd4eae576e2f1e6ba6b3c388df3d1379fe8a273df0529f03224eee0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:49.141Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:49.459Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T01:52:49.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-10-07T01:52:49.459Z] af0844d11dfd: Preparing [2021-10-07T01:52:49.459Z] a3eb73e33648: Preparing [2021-10-07T01:52:49.459Z] ff0b02cea658: Preparing [2021-10-07T01:52:49.459Z] e2eb06d8af82: Preparing [2021-10-07T01:52:49.459Z] a3eb73e33648: Layer already exists [2021-10-07T01:52:49.459Z] ff0b02cea658: Layer already exists [2021-10-07T01:52:49.459Z] e2eb06d8af82: Layer already exists [2021-10-07T01:52:49.459Z] af0844d11dfd: Layer already exists [2021-10-07T01:52:49.459Z] dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5: digest: sha256:c3d858fb3cd4eae576e2f1e6ba6b3c388df3d1379fe8a273df0529f03224eee0 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:49.798Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:50.120Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2021-10-07T01:52:50.120Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2021-10-07T01:52:50.120Z] af0844d11dfd: Preparing [2021-10-07T01:52:50.120Z] a3eb73e33648: Preparing [2021-10-07T01:52:50.120Z] ff0b02cea658: Preparing [2021-10-07T01:52:50.120Z] e2eb06d8af82: Preparing [2021-10-07T01:52:50.120Z] a3eb73e33648: Layer already exists [2021-10-07T01:52:50.120Z] ff0b02cea658: Layer already exists [2021-10-07T01:52:50.120Z] af0844d11dfd: Layer already exists [2021-10-07T01:52:50.120Z] e2eb06d8af82: Layer already exists [2021-10-07T01:52:50.120Z] main: digest: sha256:c3d858fb3cd4eae576e2f1e6ba6b3c388df3d1379fe8a273df0529f03224eee0 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T01:52:50.186Z] ===================================================== [Pipeline] echo [2021-10-07T01:52:50.202Z] taggedImages: [2021-10-07T01:52:50.202Z] - nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T01:52:50.202Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2021-10-07T01:52:50.202Z] - nexus3.edgexfoundry.org:10004/device-gpio:1.0.1-dev.5 [2021-10-07T01:52:50.202Z] - nexus3.edgexfoundry.org:10004/device-gpio:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T01:52:50.202Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:50.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T01:52:50.828Z] [2021-10-07T01:52:50.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T01:52:51.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T01:52:51.165Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T01:52:51.165Z] b4d181a07f80: Pulling fs layer [2021-10-07T01:52:51.165Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T01:52:51.165Z] ed53099fbce6: Pulling fs layer [2021-10-07T01:52:51.165Z] dc539afda2c1: Pulling fs layer [2021-10-07T01:52:51.165Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T01:52:51.165Z] 9065ff56babe: Pulling fs layer [2021-10-07T01:52:51.165Z] d287ab97295c: Pulling fs layer [2021-10-07T01:52:51.165Z] 77bc0d833cb6: Waiting [2021-10-07T01:52:51.165Z] 9065ff56babe: Waiting [2021-10-07T01:52:51.165Z] d287ab97295c: Waiting [2021-10-07T01:52:51.165Z] dc539afda2c1: Waiting [2021-10-07T01:52:51.436Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T01:52:51.436Z] a1111a8f2ec3: Download complete [2021-10-07T01:52:51.436Z] dc539afda2c1: Verifying Checksum [2021-10-07T01:52:51.436Z] dc539afda2c1: Download complete [2021-10-07T01:52:51.436Z] ed53099fbce6: Verifying Checksum [2021-10-07T01:52:51.436Z] ed53099fbce6: Download complete [2021-10-07T01:52:51.701Z] b4d181a07f80: Verifying Checksum [2021-10-07T01:52:51.701Z] b4d181a07f80: Download complete [2021-10-07T01:52:51.701Z] 9065ff56babe: Verifying Checksum [2021-10-07T01:52:51.701Z] 9065ff56babe: Download complete [2021-10-07T01:52:51.701Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T01:52:51.701Z] 77bc0d833cb6: Download complete [2021-10-07T01:52:52.660Z] d287ab97295c: Verifying Checksum [2021-10-07T01:52:52.660Z] d287ab97295c: Download complete [2021-10-07T01:52:52.931Z] b4d181a07f80: Pull complete [2021-10-07T01:52:53.198Z] a1111a8f2ec3: Pull complete [2021-10-07T01:52:53.785Z] ed53099fbce6: Pull complete [2021-10-07T01:52:53.785Z] dc539afda2c1: Pull complete [2021-10-07T01:52:54.055Z] 77bc0d833cb6: Pull complete [2021-10-07T01:52:54.055Z] 9065ff56babe: Pull complete [2021-10-07T01:52:59.437Z] d287ab97295c: Pull complete [2021-10-07T01:52:59.437Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T01:52:59.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T01:52:59.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T01:52:59.522Z] prd-centos7-docker-4c-2g-2230 does not seem to be running inside a container [2021-10-07T01:52:59.585Z] $ 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/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T01:53:02.113Z] $ docker top 98e49cd55e4cc5c733a1908493efc392e3ec8e404945db162e1cbf4e886af358 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T01:53:02.622Z] ---> job-cost.sh [2021-10-07T01:53:02.622Z] lf-activate-venv: SKIPPING [2021-10-07T01:53:02.622Z] INFO: No Stack... [2021-10-07T01:53:10.822Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T01:53:11.405Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T01:53:11.724Z] + cat /w/workspace/device-gpio/8/archives/cost.csv [2021-10-07T01:53:11.724Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T01:53:11.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [2021-10-07T01:53:11.790Z] Resource [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] did not exist. Created. [2021-10-07T01:53:11.790Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T01:53:12.125Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-07T01:53:12.165Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T01:53:12.176Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T01:53:12.202Z] $ docker stop --time=1 98e49cd55e4cc5c733a1908493efc392e3ec8e404945db162e1cbf4e886af358 [2021-10-07T01:53:13.333Z] $ docker rm -f 98e49cd55e4cc5c733a1908493efc392e3ec8e404945db162e1cbf4e886af358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-07T02:01:08.462Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2237 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2021-10-07T02:01:08.496Z] Running in /w/workspace/device-gpio/8 [Pipeline] { [Pipeline] checkout [2021-10-07T02:01:08.751Z] The recommended git tool is: git [2021-10-07T02:01:15.888Z] using credential edgex-jenkins-ssh [2021-10-07T02:01:15.910Z] Cloning the remote Git repository [2021-10-07T02:01:15.963Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2021-10-07T02:01:16.098Z] > git init /w/workspace/device-gpio/8 # timeout=10 [2021-10-07T02:01:16.212Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2021-10-07T02:01:16.213Z] > git --version # timeout=10 [2021-10-07T02:01:16.230Z] > git --version # 'git version 2.17.1' [2021-10-07T02:01:16.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T02:01:16.323Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:01:17.794Z] Avoid second fetch [2021-10-07T02:01:17.794Z] Checking out Revision dc2975e542a944f4e8f45132f2113a92bb59edd1 (main) [2021-10-07T02:01:17.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2021-10-07T02:01:17.772Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:01:18.032Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T02:01:18.047Z] > git checkout -f dc2975e542a944f4e8f45132f2113a92bb59edd1 # timeout=10 [2021-10-07T02:01:22.524Z] Commit message: "Merge pull request #12 from ernestojeda/main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:01:23.123Z] provisioning config files... [2021-10-07T02:01:23.163Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config8975917010845352285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:01:23.809Z] ---> docker-login.sh [2021-10-07T02:01:23.809Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:01:25.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:01:26.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:01:26.127Z] Configure a credential helper to remove this warning. See [2021-10-07T02:01:26.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:01:26.127Z] [2021-10-07T02:01:26.127Z] Login Succeeded [2021-10-07T02:01:26.127Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:01:26.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:01:26.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:01:26.702Z] Configure a credential helper to remove this warning. See [2021-10-07T02:01:26.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:01:26.702Z] [2021-10-07T02:01:26.702Z] Login Succeeded [2021-10-07T02:01:26.702Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:01:26.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:01:27.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:01:27.279Z] Configure a credential helper to remove this warning. See [2021-10-07T02:01:27.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:01:27.279Z] [2021-10-07T02:01:27.279Z] Login Succeeded [2021-10-07T02:01:27.279Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:01:27.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:01:27.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:01:27.919Z] Configure a credential helper to remove this warning. See [2021-10-07T02:01:27.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:01:27.919Z] [2021-10-07T02:01:27.919Z] Login Succeeded [2021-10-07T02:01:27.919Z] docker.io [2021-10-07T02:01:28.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:01:28.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:01:28.819Z] Configure a credential helper to remove this warning. See [2021-10-07T02:01:28.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:01:28.819Z] [2021-10-07T02:01:28.819Z] Login Succeeded [2021-10-07T02:01:28.819Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:01:29.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T02:01:29.523Z] ========================================================= [2021-10-07T02:01:29.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-07T02:01:29.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:01:29.934Z] + 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-07T02:01:30.230Z] Sending build context to Docker daemon 5.511MB [2021-10-07T02:01:30.515Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:01:30.515Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-07T02:01:30.823Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-07T02:01:30.823Z] bbf911997326: Pulling fs layer [2021-10-07T02:01:30.823Z] 58ec367f63d7: Pulling fs layer [2021-10-07T02:01:30.823Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-07T02:01:30.823Z] fc5181fea5dc: Pulling fs layer [2021-10-07T02:01:30.823Z] 9c418107303f: Pulling fs layer [2021-10-07T02:01:30.823Z] 284eca6f2348: Pulling fs layer [2021-10-07T02:01:30.823Z] 842844d905b1: Pulling fs layer [2021-10-07T02:01:30.823Z] 901a3a57568e: Pulling fs layer [2021-10-07T02:01:30.823Z] 842844d905b1: Waiting [2021-10-07T02:01:30.823Z] 284eca6f2348: Waiting [2021-10-07T02:01:30.823Z] fc5181fea5dc: Waiting [2021-10-07T02:01:30.823Z] 901a3a57568e: Waiting [2021-10-07T02:01:30.823Z] 9c418107303f: Waiting [2021-10-07T02:01:30.823Z] 1b4a6ffa7d45: Download complete [2021-10-07T02:01:30.823Z] 58ec367f63d7: Download complete [2021-10-07T02:01:30.823Z] 9c418107303f: Download complete [2021-10-07T02:01:30.823Z] 284eca6f2348: Download complete [2021-10-07T02:01:30.823Z] 842844d905b1: Download complete [2021-10-07T02:01:30.823Z] bbf911997326: Verifying Checksum [2021-10-07T02:01:30.823Z] bbf911997326: Download complete [2021-10-07T02:01:31.854Z] bbf911997326: Pull complete [2021-10-07T02:01:32.139Z] 58ec367f63d7: Pull complete [2021-10-07T02:01:32.767Z] 1b4a6ffa7d45: Pull complete [2021-10-07T02:01:35.509Z] 901a3a57568e: Verifying Checksum [2021-10-07T02:01:35.509Z] 901a3a57568e: Download complete [2021-10-07T02:01:35.509Z] fc5181fea5dc: Verifying Checksum [2021-10-07T02:01:35.509Z] fc5181fea5dc: Download complete [2021-10-07T02:01:45.835Z] fc5181fea5dc: Pull complete [2021-10-07T02:01:45.836Z] 9c418107303f: Pull complete [2021-10-07T02:01:45.836Z] 284eca6f2348: Pull complete [2021-10-07T02:01:46.122Z] 842844d905b1: Pull complete [2021-10-07T02:01:51.871Z] 901a3a57568e: Pull complete [2021-10-07T02:01:51.871Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-07T02:01:51.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-07T02:01:51.871Z] ---> 72ade6ffb461 [2021-10-07T02:01:51.871Z] Step 3/10 : ARG MAKE='make build' [2021-10-07T02:01:57.429Z] ---> Running in f59567061376 [2021-10-07T02:01:58.045Z] Removing intermediate container f59567061376 [2021-10-07T02:01:58.045Z] ---> 82016562cbe5 [2021-10-07T02:01:58.045Z] Step 4/10 : WORKDIR /device-gpio [2021-10-07T02:01:58.045Z] ---> Running in bcab47b6c572 [2021-10-07T02:01:58.664Z] Removing intermediate container bcab47b6c572 [2021-10-07T02:01:58.665Z] ---> c200889ab725 [2021-10-07T02:01:58.665Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T02:01:58.665Z] ---> Running in 3e0b9ea08ddb [2021-10-07T02:01:59.281Z] Removing intermediate container 3e0b9ea08ddb [2021-10-07T02:01:59.281Z] ---> c1c165c9a853 [2021-10-07T02:01:59.281Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:01:59.565Z] ---> Running in af26e5410af1 [2021-10-07T02:02:02.285Z] Removing intermediate container af26e5410af1 [2021-10-07T02:02:02.285Z] ---> 8d142a2c881a [2021-10-07T02:02:02.285Z] Step 7/10 : RUN apk add --update --no-cache make git [2021-10-07T02:02:02.285Z] ---> Running in c8a5edd05860 [2021-10-07T02:02:03.768Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T02:02:04.395Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T02:02:05.437Z] OK: 218 MiB in 52 packages [2021-10-07T02:02:06.450Z] Removing intermediate container c8a5edd05860 [2021-10-07T02:02:06.450Z] ---> 31bab72b9524 [2021-10-07T02:02:06.450Z] Step 8/10 : COPY . . [2021-10-07T02:02:07.466Z] ---> bd9b391c5448 [2021-10-07T02:02:07.466Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:02:07.748Z] ---> Running in cda8c0af0cdb [2021-10-07T02:03:04.773Z] Removing intermediate container cda8c0af0cdb [2021-10-07T02:03:04.773Z] ---> 849f9e916471 [2021-10-07T02:03:04.773Z] Step 10/10 : RUN ${MAKE} [2021-10-07T02:03:04.773Z] ---> Running in a002b9eac0ef [2021-10-07T02:03:04.773Z] noop [2021-10-07T02:03:04.773Z] Removing intermediate container a002b9eac0ef [2021-10-07T02:03:04.773Z] ---> 72ff307ae373 [2021-10-07T02:03:04.773Z] Successfully built 72ff307ae373 [2021-10-07T02:03:04.773Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:03:05.199Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T02:03:05.199Z] . [Pipeline] withDockerContainer [2021-10-07T02:03:05.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-2237 does not seem to be running inside a container [2021-10-07T02:03:05.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-07T02:03:07.270Z] $ docker top 423a7dc0940656a7bbe9e5cad3a44e06a9c0b7b60a98ffb5bb0213b9251af650 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T02:03:08.306Z] + go version [2021-10-07T02:03:08.306Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-07T02:03:08.337Z] $ docker stop --time=1 423a7dc0940656a7bbe9e5cad3a44e06a9c0b7b60a98ffb5bb0213b9251af650 [2021-10-07T02:03:10.200Z] $ docker rm -f 423a7dc0940656a7bbe9e5cad3a44e06a9c0b7b60a98ffb5bb0213b9251af650 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:03:11.177Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T02:03:11.177Z] . [Pipeline] withDockerContainer [2021-10-07T02:03:11.486Z] prd-ubuntu18.04-docker-arm64-4c-16g-2237 does not seem to be running inside a container [2021-10-07T02:03:11.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-07T02:03:13.253Z] $ docker top c6e6783a3aa7cff5cf3b4150145bab963ec3f2fe371aeb55645ee517beb88bbe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T02:03:14.333Z] + make test [2021-10-07T02:03:14.333Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-07T02:03:15.351Z] ? github.com/edgexfoundry/device-gpio [no test files] [2021-10-07T02:03:54.632Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2021-10-07T02:03:54.632Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2021-10-07T02:03:54.632Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-10-07T02:04:16.985Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T02:04:16.985Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T02:04:16.985Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T02:04:17.642Z] $ docker stop --time=1 c6e6783a3aa7cff5cf3b4150145bab963ec3f2fe371aeb55645ee517beb88bbe [2021-10-07T02:04:19.567Z] $ docker rm -f c6e6783a3aa7cff5cf3b4150145bab963ec3f2fe371aeb55645ee517beb88bbe [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T02:04:20.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T02:04:20.465Z] Warning: overwriting stash ‘coverage-report’ [2021-10-07T02:04:21.085Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-07T02:04:21.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T02:04:22.071Z] + ls -al . [2021-10-07T02:04:22.071Z] total 132 [2021-10-07T02:04:22.071Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 7 02:04 . [2021-10-07T02:04:22.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 02:01 .. [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 7 02:01 .dockerignore [2021-10-07T02:04:22.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 02:01 .git [2021-10-07T02:04:22.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:01 .github [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 343 Oct 7 02:01 .gitignore [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 5451 Oct 7 02:01 Attribution.txt [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 1557 Oct 7 02:01 Dockerfile [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 02:01 GOVERNANCE.md [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 7 02:01 Jenkinsfile [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 02:01 LICENSE [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 1001 Oct 7 02:01 Makefile [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 7 02:01 OWNERS.md [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 8048 Oct 7 02:01 README.md [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 7 01:48 VERSION [2021-10-07T02:04:22.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:01 bin [2021-10-07T02:04:22.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 02:01 cmd [2021-10-07T02:04:22.071Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 7 02:03 coverage.out [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 379 Oct 7 02:01 go.mod [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 30244 Oct 7 02:01 go.sum [2021-10-07T02:04:22.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 02:01 internal [2021-10-07T02:04:22.071Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 7 02:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:04:22.479Z] + 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=dc2975e542a944f4e8f45132f2113a92bb59edd1 --label arch=arm64 --label version=1.0.1-dev.5 . [2021-10-07T02:04:22.766Z] Sending build context to Docker daemon 5.512MB [2021-10-07T02:04:23.050Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:04:23.050Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-07T02:04:23.050Z] ---> 72ff307ae373 [2021-10-07T02:04:23.050Z] Step 3/23 : ARG MAKE='make build' [2021-10-07T02:04:23.333Z] ---> Running in 0cabeb816b25 [2021-10-07T02:04:23.614Z] Removing intermediate container 0cabeb816b25 [2021-10-07T02:04:23.614Z] ---> 047155cc7367 [2021-10-07T02:04:23.614Z] Step 4/23 : WORKDIR /device-gpio [2021-10-07T02:04:23.899Z] ---> Running in a8d1251f90bf [2021-10-07T02:04:24.394Z] Removing intermediate container a8d1251f90bf [2021-10-07T02:04:24.394Z] ---> 789241b00ae7 [2021-10-07T02:04:24.394Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T02:04:24.394Z] ---> Running in f0dfc75202d1 [2021-10-07T02:04:25.014Z] Removing intermediate container f0dfc75202d1 [2021-10-07T02:04:25.014Z] ---> ef7a383800a9 [2021-10-07T02:04:25.014Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:04:25.014Z] ---> Running in bc3cc60b26b2 [2021-10-07T02:04:27.706Z] Removing intermediate container bc3cc60b26b2 [2021-10-07T02:04:27.706Z] ---> 4f5b5d83a607 [2021-10-07T02:04:27.706Z] Step 7/23 : RUN apk add --update --no-cache make git [2021-10-07T02:04:27.706Z] ---> Running in a918957c13b8 [2021-10-07T02:04:28.719Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T02:04:29.729Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T02:04:30.353Z] OK: 218 MiB in 52 packages [2021-10-07T02:04:31.369Z] Removing intermediate container a918957c13b8 [2021-10-07T02:04:31.369Z] ---> 1240b02c2a65 [2021-10-07T02:04:31.369Z] Step 8/23 : COPY . . [2021-10-07T02:04:32.382Z] ---> 7867c01992e5 [2021-10-07T02:04:32.382Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:04:32.667Z] ---> Running in eb65563daea6 [2021-10-07T02:04:35.371Z] Removing intermediate container eb65563daea6 [2021-10-07T02:04:35.371Z] ---> 82a0583756c0 [2021-10-07T02:04:35.371Z] Step 10/23 : RUN ${MAKE} [2021-10-07T02:04:35.371Z] ---> Running in 4e6c36bf691e [2021-10-07T02:04:36.387Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-gpio.Version=1.0.1-dev.5" -o cmd/device-gpio ./cmd [2021-10-07T02:05:09.175Z] Removing intermediate container 4e6c36bf691e [2021-10-07T02:05:09.175Z] ---> fb266d846ba4 [2021-10-07T02:05:09.175Z] Step 11/23 : FROM alpine:3.14 [2021-10-07T02:05:09.175Z] 3.14: Pulling from library/alpine [2021-10-07T02:05:09.175Z] 552d1f2373af: Pulling fs layer [2021-10-07T02:05:09.175Z] 552d1f2373af: Download complete [2021-10-07T02:05:09.175Z] 552d1f2373af: Pull complete [2021-10-07T02:05:09.176Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-07T02:05:09.176Z] Status: Downloaded newer image for alpine:3.14 [2021-10-07T02:05:09.176Z] ---> bb3de5531c18 [2021-10-07T02:05:09.176Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2021-10-07T02:05:09.176Z] ---> Running in b783d8b10238 [2021-10-07T02:05:09.176Z] Removing intermediate container b783d8b10238 [2021-10-07T02:05:09.176Z] ---> 0b64830d8ae4 [2021-10-07T02:05:09.176Z] Step 13/23 : ENV APP_PORT=49994 [2021-10-07T02:05:09.176Z] ---> Running in 1d1ead21880a [2021-10-07T02:05:09.176Z] Removing intermediate container 1d1ead21880a [2021-10-07T02:05:09.176Z] ---> 5ba6af6f9630 [2021-10-07T02:05:09.176Z] Step 14/23 : EXPOSE $APP_PORT [2021-10-07T02:05:09.176Z] ---> Running in 4b69d43c700d [2021-10-07T02:05:09.498Z] Removing intermediate container 4b69d43c700d [2021-10-07T02:05:09.498Z] ---> 27e2e06413c8 [2021-10-07T02:05:09.498Z] Step 15/23 : WORKDIR / [2021-10-07T02:05:09.498Z] ---> Running in bef9591c9135 [2021-10-07T02:05:10.198Z] Removing intermediate container bef9591c9135 [2021-10-07T02:05:10.198Z] ---> 323ac419b81b [2021-10-07T02:05:10.198Z] Step 16/23 : COPY --from=builder /device-gpio/LICENSE / [2021-10-07T02:05:10.864Z] ---> d9ac01824067 [2021-10-07T02:05:10.864Z] Step 17/23 : COPY --from=builder /device-gpio/Attribution.txt / [2021-10-07T02:05:11.885Z] ---> 8fbf3816c1d3 [2021-10-07T02:05:11.885Z] Step 18/23 : COPY --from=builder /device-gpio/cmd/ / [2021-10-07T02:05:13.367Z] ---> 96e64291525f [2021-10-07T02:05:13.367Z] Step 19/23 : ENTRYPOINT ["/device-gpio"] [2021-10-07T02:05:13.367Z] ---> Running in 3214440700d5 [2021-10-07T02:05:13.653Z] Removing intermediate container 3214440700d5 [2021-10-07T02:05:13.653Z] ---> de3abbb4206e [2021-10-07T02:05:13.653Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-07T02:05:13.653Z] ---> Running in 18786c19d8ad [2021-10-07T02:05:14.277Z] Removing intermediate container 18786c19d8ad [2021-10-07T02:05:14.277Z] ---> 4f977abe286e [2021-10-07T02:05:14.277Z] Step 21/23 : LABEL arch=arm64 [2021-10-07T02:05:14.277Z] ---> Running in 5f3da90bb807 [2021-10-07T02:05:14.897Z] Removing intermediate container 5f3da90bb807 [2021-10-07T02:05:14.897Z] ---> 53b2cf2bd067 [2021-10-07T02:05:14.897Z] Step 22/23 : LABEL git_sha=dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T02:05:14.897Z] ---> Running in 368fb5ea8ad5 [2021-10-07T02:05:15.514Z] Removing intermediate container 368fb5ea8ad5 [2021-10-07T02:05:15.514Z] ---> f386872b60f4 [2021-10-07T02:05:15.514Z] Step 23/23 : LABEL version=1.0.1-dev.5 [2021-10-07T02:05:15.514Z] ---> Running in f836f8c1c030 [2021-10-07T02:05:16.012Z] Removing intermediate container f836f8c1c030 [2021-10-07T02:05:16.012Z] ---> 6eb5d109b401 [2021-10-07T02:05:16.012Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-07T02:05:16.012Z] Successfully built 6eb5d109b401 [2021-10-07T02:05:16.012Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:05:16.315Z] provisioning config files... [2021-10-07T02:05:16.346Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/8@tmp/config8467605877890759135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:05:17.002Z] ---> docker-login.sh [2021-10-07T02:05:17.002Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:05:17.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:05:17.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:05:17.293Z] Configure a credential helper to remove this warning. See [2021-10-07T02:05:17.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:05:17.293Z] [2021-10-07T02:05:17.293Z] Login Succeeded [2021-10-07T02:05:17.293Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:05:17.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:05:17.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:05:17.871Z] Configure a credential helper to remove this warning. See [2021-10-07T02:05:17.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:05:17.871Z] [2021-10-07T02:05:17.871Z] Login Succeeded [2021-10-07T02:05:17.871Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:05:18.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:05:18.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:05:18.444Z] Configure a credential helper to remove this warning. See [2021-10-07T02:05:18.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:05:18.444Z] [2021-10-07T02:05:18.444Z] Login Succeeded [2021-10-07T02:05:18.444Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:05:19.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:05:19.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:05:19.073Z] Configure a credential helper to remove this warning. See [2021-10-07T02:05:19.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:05:19.073Z] [2021-10-07T02:05:19.073Z] Login Succeeded [2021-10-07T02:05:19.073Z] docker.io [2021-10-07T02:05:19.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:05:19.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:05:19.975Z] Configure a credential helper to remove this warning. See [2021-10-07T02:05:19.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:05:19.975Z] [2021-10-07T02:05:19.975Z] Login Succeeded [2021-10-07T02:05:19.975Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:05:20.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:05:20.069Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2021-10-07T02:05:20.069Z] dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T02:05:20.069Z] latest [2021-10-07T02:05:20.069Z] 1.0.1-dev.5 [2021-10-07T02:05:20.069Z] dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T02:05:20.069Z] main [2021-10-07T02:05:20.069Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:20.492Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:20.893Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T02:05:20.893Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-10-07T02:05:20.893Z] e6bd121cc59c: Preparing [2021-10-07T02:05:20.893Z] 137ebc3d059e: Preparing [2021-10-07T02:05:20.893Z] b3031d5f3602: Preparing [2021-10-07T02:05:20.893Z] ee420dfed78a: Preparing [2021-10-07T02:05:21.178Z] ee420dfed78a: Layer already exists [2021-10-07T02:05:21.179Z] b3031d5f3602: Pushed [2021-10-07T02:05:21.179Z] 137ebc3d059e: Pushed [2021-10-07T02:05:23.868Z] e6bd121cc59c: Pushed [2021-10-07T02:05:23.868Z] dc2975e542a944f4e8f45132f2113a92bb59edd1: digest: sha256:1bbc5944539518b0d7aee5c89c917dcadb29cbc1e2c27ac020368dd03fdb4e10 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:24.262Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:24.641Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-10-07T02:05:24.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-10-07T02:05:24.641Z] e6bd121cc59c: Preparing [2021-10-07T02:05:24.641Z] 137ebc3d059e: Preparing [2021-10-07T02:05:24.641Z] b3031d5f3602: Preparing [2021-10-07T02:05:24.641Z] ee420dfed78a: Preparing [2021-10-07T02:05:24.924Z] b3031d5f3602: Layer already exists [2021-10-07T02:05:24.924Z] 137ebc3d059e: Layer already exists [2021-10-07T02:05:24.924Z] ee420dfed78a: Layer already exists [2021-10-07T02:05:24.924Z] e6bd121cc59c: Layer already exists [2021-10-07T02:05:24.924Z] latest: digest: sha256:1bbc5944539518b0d7aee5c89c917dcadb29cbc1e2c27ac020368dd03fdb4e10 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:25.324Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:25.713Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.5 [2021-10-07T02:05:25.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-10-07T02:05:25.713Z] e6bd121cc59c: Preparing [2021-10-07T02:05:25.713Z] 137ebc3d059e: Preparing [2021-10-07T02:05:25.713Z] b3031d5f3602: Preparing [2021-10-07T02:05:25.713Z] ee420dfed78a: Preparing [2021-10-07T02:05:25.713Z] e6bd121cc59c: Layer already exists [2021-10-07T02:05:25.713Z] 137ebc3d059e: Layer already exists [2021-10-07T02:05:25.995Z] b3031d5f3602: Layer already exists [2021-10-07T02:05:25.995Z] ee420dfed78a: Layer already exists [2021-10-07T02:05:27.477Z] 1.0.1-dev.5: digest: sha256:1bbc5944539518b0d7aee5c89c917dcadb29cbc1e2c27ac020368dd03fdb4e10 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:27.867Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:28.252Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T02:05:28.252Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-10-07T02:05:28.252Z] e6bd121cc59c: Preparing [2021-10-07T02:05:28.252Z] 137ebc3d059e: Preparing [2021-10-07T02:05:28.252Z] b3031d5f3602: Preparing [2021-10-07T02:05:28.252Z] ee420dfed78a: Preparing [2021-10-07T02:05:28.532Z] b3031d5f3602: Layer already exists [2021-10-07T02:05:28.532Z] e6bd121cc59c: Layer already exists [2021-10-07T02:05:28.532Z] 137ebc3d059e: Layer already exists [2021-10-07T02:05:29.531Z] ee420dfed78a: Layer already exists [2021-10-07T02:05:29.531Z] dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5: digest: sha256:1bbc5944539518b0d7aee5c89c917dcadb29cbc1e2c27ac020368dd03fdb4e10 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:29.937Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:30.322Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2021-10-07T02:05:30.322Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2021-10-07T02:05:30.322Z] e6bd121cc59c: Preparing [2021-10-07T02:05:30.322Z] 137ebc3d059e: Preparing [2021-10-07T02:05:30.322Z] b3031d5f3602: Preparing [2021-10-07T02:05:30.322Z] ee420dfed78a: Preparing [2021-10-07T02:05:30.603Z] ee420dfed78a: Layer already exists [2021-10-07T02:05:30.603Z] e6bd121cc59c: Layer already exists [2021-10-07T02:05:30.603Z] b3031d5f3602: Layer already exists [2021-10-07T02:05:30.603Z] 137ebc3d059e: Layer already exists [2021-10-07T02:05:30.603Z] main: digest: sha256:1bbc5944539518b0d7aee5c89c917dcadb29cbc1e2c27ac020368dd03fdb4e10 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:05:30.675Z] ===================================================== [Pipeline] echo [2021-10-07T02:05:30.690Z] taggedImages: [2021-10-07T02:05:30.690Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1 [2021-10-07T02:05:30.690Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2021-10-07T02:05:30.690Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1.0.1-dev.5 [2021-10-07T02:05:30.690Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:dc2975e542a944f4e8f45132f2113a92bb59edd1-1.0.1-dev.5 [2021-10-07T02:05:30.690Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:31.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:05:31.290Z] [2021-10-07T02:05:31.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:05:31.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:05:31.978Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-07T02:05:31.978Z] 448f6bf000e3: Pulling fs layer [2021-10-07T02:05:31.978Z] f757da607395: Pulling fs layer [2021-10-07T02:05:31.978Z] 05883995daec: Pulling fs layer [2021-10-07T02:05:31.978Z] 8603b9c90790: Pulling fs layer [2021-10-07T02:05:31.978Z] 1560dd03e051: Pulling fs layer [2021-10-07T02:05:31.978Z] 27f5ce0e4adf: Pulling fs layer [2021-10-07T02:05:31.978Z] c2d8d7efcc4b: Pulling fs layer [2021-10-07T02:05:31.978Z] 8603b9c90790: Waiting [2021-10-07T02:05:31.978Z] 1560dd03e051: Waiting [2021-10-07T02:05:31.978Z] 27f5ce0e4adf: Waiting [2021-10-07T02:05:31.978Z] c2d8d7efcc4b: Waiting [2021-10-07T02:05:32.271Z] f757da607395: Verifying Checksum [2021-10-07T02:05:32.271Z] f757da607395: Download complete [2021-10-07T02:05:32.271Z] 8603b9c90790: Verifying Checksum [2021-10-07T02:05:32.271Z] 8603b9c90790: Download complete [2021-10-07T02:05:32.889Z] 1560dd03e051: Verifying Checksum [2021-10-07T02:05:32.889Z] 1560dd03e051: Download complete [2021-10-07T02:05:32.889Z] 27f5ce0e4adf: Download complete [2021-10-07T02:05:33.173Z] 05883995daec: Verifying Checksum [2021-10-07T02:05:33.173Z] 05883995daec: Download complete [2021-10-07T02:05:33.801Z] 448f6bf000e3: Download complete [2021-10-07T02:05:37.269Z] 448f6bf000e3: Pull complete [2021-10-07T02:05:37.553Z] f757da607395: Pull complete [2021-10-07T02:05:37.847Z] c2d8d7efcc4b: Verifying Checksum [2021-10-07T02:05:37.847Z] c2d8d7efcc4b: Download complete [2021-10-07T02:05:38.865Z] 05883995daec: Pull complete [2021-10-07T02:05:39.180Z] 8603b9c90790: Pull complete [2021-10-07T02:05:40.194Z] 1560dd03e051: Pull complete [2021-10-07T02:05:40.478Z] 27f5ce0e4adf: Pull complete [2021-10-07T02:05:55.769Z] c2d8d7efcc4b: Pull complete [2021-10-07T02:05:55.769Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-07T02:05:55.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:05:55.769Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-07T02:05:56.067Z] prd-ubuntu18.04-docker-arm64-4c-16g-2237 does not seem to be running inside a container [2021-10-07T02:05:56.198Z] $ 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/8 -v /w/workspace/device-gpio/8:/w/workspace/device-gpio/8:rw,z -v /w/workspace/device-gpio/8@tmp:/w/workspace/device-gpio/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-07T02:06:01.040Z] $ docker top 9dad4d71859e386f484fd59e7e05b51661698d9676085d6f37e83840ba143177 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:06:02.072Z] ---> job-cost.sh [2021-10-07T02:06:02.072Z] lf-activate-venv: SKIPPING [2021-10-07T02:06:02.072Z] INFO: No Stack... [2021-10-07T02:06:05.518Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-07T02:06:05.518Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T02:06:06.238Z] + cut -d, -f6 [2021-10-07T02:06:06.238Z] + cat /w/workspace/device-gpio/8/archives/cost.csv [Pipeline] lock [2021-10-07T02:06:06.378Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [2021-10-07T02:06:06.386Z] Resource [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] did not exist. Created. [2021-10-07T02:06:06.386Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T02:06:07.151Z] /w/workspace/device-gpio/8@tmp/durable-f73b4a4b/script.sh: 1: /w/workspace/device-gpio/8@tmp/durable-f73b4a4b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-07T02:06:07.902Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-07T02:06:07.974Z] Warning: overwriting stash ‘stack-cost’ [2021-10-07T02:06:08.025Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T02:06:08.036Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-8-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T02:06:08.061Z] $ docker stop --time=1 9dad4d71859e386f484fd59e7e05b51661698d9676085d6f37e83840ba143177 [2021-10-07T02:06:09.756Z] $ docker rm -f 9dad4d71859e386f484fd59e7e05b51661698d9676085d6f37e83840ba143177 [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-07T02:06:10.758Z] provisioning config files... [2021-10-07T02:06:10.779Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config585981680547582778tmp [Pipeline] { [Pipeline] sh [2021-10-07T02:06:11.123Z] + set +x [2021-10-07T02:06:11.123Z] + bash -s -- [2021-10-07T02:06:11.123Z] + curl -s https://codecov.io/bash [2021-10-07T02:06:11.123Z] [2021-10-07T02:06:11.123Z] _____ _ [2021-10-07T02:06:11.123Z] / ____| | | [2021-10-07T02:06:11.123Z] | | ___ __| | ___ ___ _____ __ [2021-10-07T02:06:11.123Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-07T02:06:11.123Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-07T02:06:11.123Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-07T02:06:11.123Z] Bash-1.0.6 [2021-10-07T02:06:11.123Z] [2021-10-07T02:06:11.123Z] [2021-10-07T02:06:11.123Z] ==> git version 2.24.4 found [2021-10-07T02:06:11.123Z] ==> 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-07T02:06:11.123Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-07T02:06:11.123Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-07T02:06:11.123Z] ==> Jenkins CI detected. [2021-10-07T02:06:11.123Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2021-10-07T02:06:11.123Z] project root: . [2021-10-07T02:06:11.123Z] --> token set from env [2021-10-07T02:06:11.123Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-07T02:06:11.392Z] ==> Running gcov in . (disable via -X gcov) [2021-10-07T02:06:11.392Z] ==> Python coveragepy not found [2021-10-07T02:06:11.392Z] ==> Searching for coverage reports in: [2021-10-07T02:06:11.392Z] + . [2021-10-07T02:06:11.392Z] -> Found 1 reports [2021-10-07T02:06:11.392Z] ==> Detecting git/mercurial file structure [2021-10-07T02:06:11.392Z] ==> Reading reports [2021-10-07T02:06:11.392Z] + ./coverage.out bytes=10 [2021-10-07T02:06:11.392Z] ==> Appending adjustments [2021-10-07T02:06:11.392Z] https://docs.codecov.io/docs/fixing-reports [2021-10-07T02:06:11.392Z] + Found adjustments [2021-10-07T02:06:11.392Z] ==> Gzipping contents [2021-10-07T02:06:11.392Z] 4.0K /tmp/codecov.8HYpds.gz [2021-10-07T02:06:11.392Z] ==> Uploading reports [2021-10-07T02:06:11.392Z] url: https://codecov.io [2021-10-07T02:06:11.392Z] query: branch=main&commit=dc2975e542a944f4e8f45132f2113a92bb59edd1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-07T02:06:11.392Z] -> Pinging Codecov [2021-10-07T02:06:11.392Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=dc2975e542a944f4e8f45132f2113a92bb59edd1&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-07T02:06:11.977Z] -> Uploading to [2021-10-07T02:06:11.977Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-07/3EC07B1A8CA8AF9BCAA0BB9F0134797F/dc2975e542a944f4e8f45132f2113a92bb59edd1/24b9b295-822e-4d5f-87ca-7e804a3024bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211007T020611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e83dd9bceb23c6413c5d426d93b7d4d2cc2db584d6fd294a0133ae42691c66a8 [2021-10-07T02:06:11.977Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-07T02:06:11.977Z] Dload Upload Total Spent Left Speed [2021-10-07T02:06:12.243Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 570 0 0 100 570 0 1736 --:--:-- --:--:-- --:--:-- 1743 [2021-10-07T02:06:12.243Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] } [2021-10-07T02:06:12.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-07T02:06:12.555Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-07T02:06:12.574Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:12.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:06:12.897Z] [2021-10-07T02:06:12.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:13.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:06:13.253Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-07T02:06:13.253Z] 188c0c94c7c5: Pulling fs layer [2021-10-07T02:06:13.253Z] 0ef7d3d256c8: Pulling fs layer [2021-10-07T02:06:13.253Z] de9db76c5a1d: Pulling fs layer [2021-10-07T02:06:13.253Z] 0eba1c9be4d2: Pulling fs layer [2021-10-07T02:06:13.253Z] 0d57e429df01: Pulling fs layer [2021-10-07T02:06:13.253Z] 4e4be7b47b0d: Pulling fs layer [2021-10-07T02:06:13.253Z] e1f770b5df2f: Pulling fs layer [2021-10-07T02:06:13.253Z] 85a0685a4137: Pulling fs layer [2021-10-07T02:06:13.253Z] 0d57e429df01: Waiting [2021-10-07T02:06:13.253Z] 4e4be7b47b0d: Waiting [2021-10-07T02:06:13.253Z] e1f770b5df2f: Waiting [2021-10-07T02:06:13.253Z] 85a0685a4137: Waiting [2021-10-07T02:06:13.253Z] 0eba1c9be4d2: Waiting [2021-10-07T02:06:13.253Z] de9db76c5a1d: Verifying Checksum [2021-10-07T02:06:13.253Z] de9db76c5a1d: Download complete [2021-10-07T02:06:13.253Z] 0ef7d3d256c8: Verifying Checksum [2021-10-07T02:06:13.253Z] 0ef7d3d256c8: Download complete [2021-10-07T02:06:13.530Z] 0d57e429df01: Verifying Checksum [2021-10-07T02:06:13.530Z] 0d57e429df01: Download complete [2021-10-07T02:06:13.530Z] 4e4be7b47b0d: Verifying Checksum [2021-10-07T02:06:13.530Z] 4e4be7b47b0d: Download complete [2021-10-07T02:06:13.530Z] 188c0c94c7c5: Verifying Checksum [2021-10-07T02:06:13.530Z] 188c0c94c7c5: Download complete [2021-10-07T02:06:13.530Z] 188c0c94c7c5: Pull complete [2021-10-07T02:06:13.804Z] 0ef7d3d256c8: Pull complete [2021-10-07T02:06:13.804Z] de9db76c5a1d: Pull complete [2021-10-07T02:06:14.072Z] 0eba1c9be4d2: Verifying Checksum [2021-10-07T02:06:14.072Z] 0eba1c9be4d2: Download complete [2021-10-07T02:06:14.683Z] e1f770b5df2f: Verifying Checksum [2021-10-07T02:06:14.683Z] e1f770b5df2f: Download complete [2021-10-07T02:06:14.970Z] 85a0685a4137: Verifying Checksum [2021-10-07T02:06:14.970Z] 85a0685a4137: Download complete [2021-10-07T02:06:18.337Z] 0eba1c9be4d2: Pull complete [2021-10-07T02:06:18.337Z] 0d57e429df01: Pull complete [2021-10-07T02:06:18.608Z] 4e4be7b47b0d: Pull complete [2021-10-07T02:06:19.398Z] e1f770b5df2f: Pull complete [2021-10-07T02:06:25.004Z] 85a0685a4137: Pull complete [2021-10-07T02:06:25.004Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-07T02:06:25.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:06:25.004Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-07T02:06:25.098Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:06:25.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-07T02:06:25.907Z] $ docker top b37b69a3fc0a743fdeb2e3f4ee5a06de3093ddd7ddc4f75107470323cfa17a88 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-07T02:06:26.023Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-07T02:06:26.342Z] + set -o pipefail [2021-10-07T02:06:26.342Z] + snyk monitor '--org=edgex-jenkins' [2021-10-07T02:06:31.714Z] [2021-10-07T02:06:31.714Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2021-10-07T02:06:31.714Z] [2021-10-07T02:06:31.714Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/3009586e-8698-4c44-8a43-0ddef6c6d816 [2021-10-07T02:06:31.714Z] [2021-10-07T02:06:31.714Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-07T02:06:31.714Z] [2021-10-07T02:06:32.297Z] [2021-10-07T02:06:32.297Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-07T02:06:32.297Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-07T02:06:32.317Z] $ docker stop --time=1 b37b69a3fc0a743fdeb2e3f4ee5a06de3093ddd7ddc4f75107470323cfa17a88 [2021-10-07T02:06:33.944Z] $ docker rm -f b37b69a3fc0a743fdeb2e3f4ee5a06de3093ddd7ddc4f75107470323cfa17a88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T02:06:35.051Z] + git log --format=format:%s -1 dc2975e542a944f4e8f45132f2113a92bb59edd1 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:35.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:06:35.381Z] . [Pipeline] withDockerContainer [2021-10-07T02:06:35.473Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:06:35.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T02:06:35.902Z] $ docker top 88b94b22616d808883bf5837a57c935f630a9d6ef78cce669d65e565c95123ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T02:06:36.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T02:06:36.040Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T02:06:36.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T02:06:36.169Z] $ docker exec 88b94b22616d808883bf5837a57c935f630a9d6ef78cce669d65e565c95123ec ssh-agent [2021-10-07T02:06:36.282Z] SSH_AUTH_SOCK=/tmp/ssh-itwbGkPeu3mf/agent.14 [2021-10-07T02:06:36.282Z] SSH_AGENT_PID=21 [2021-10-07T02:06:36.290Z] Running ssh-add (command line suppressed) [2021-10-07T02:06:36.383Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3039011379690646560.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3039011379690646560.key) [2021-10-07T02:06:36.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T02:06:36.742Z] + git semver tag [2021-10-07T02:06:36.742Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T02:06:36.742Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-10-07T02:06:36.742Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-10-07T02:06:36.742Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T02:06:36.742Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T02:06:36.742Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T02:06:36.742Z] # $SEMVER_BRANCH = main [2021-10-07T02:06:36.742Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2021-10-07T02:06:36.742Z] # dc2975e542a944f4e8f45132f2113a92bb59edd1 HEAD [2021-10-07T02:06:36.742Z] # -> Force: false [2021-10-07T02:06:36.742Z] # 52d1dfa6c6c1bba69fc380333e13ae774e2a1259 refs/tags/v1.0.1-dev.5 [Pipeline] } [2021-10-07T02:06:36.758Z] $ docker exec --env ******** --env ******** 88b94b22616d808883bf5837a57c935f630a9d6ef78cce669d65e565c95123ec ssh-agent -k [2021-10-07T02:06:36.845Z] unset SSH_AUTH_SOCK; [2021-10-07T02:06:36.845Z] unset SSH_AGENT_PID; [2021-10-07T02:06:36.845Z] echo Agent pid 21 killed; [2021-10-07T02:06:37.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T02:06:37.364Z] + git semver [Pipeline] } [2021-10-07T02:06:37.385Z] $ docker stop --time=1 88b94b22616d808883bf5837a57c935f630a9d6ef78cce669d65e565c95123ec [2021-10-07T02:06:38.580Z] $ docker rm -f 88b94b22616d808883bf5837a57c935f630a9d6ef78cce669d65e565c95123ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:39.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-07T02:06:39.277Z] [2021-10-07T02:06:39.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:39.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-07T02:06:39.616Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-07T02:06:39.616Z] ab5ef0e58194: Pulling fs layer [2021-10-07T02:06:39.616Z] 9712f1f96733: Pulling fs layer [2021-10-07T02:06:39.616Z] 63f879dbbcfc: Pulling fs layer [2021-10-07T02:06:39.616Z] 0d9ebad4ef96: Pulling fs layer [2021-10-07T02:06:39.616Z] e9a5061849ea: Pulling fs layer [2021-10-07T02:06:39.616Z] d747dcd14b5f: Pulling fs layer [2021-10-07T02:06:39.616Z] 2de7ff778b66: Pulling fs layer [2021-10-07T02:06:39.616Z] e9a5061849ea: Waiting [2021-10-07T02:06:39.616Z] d747dcd14b5f: Waiting [2021-10-07T02:06:39.616Z] 2de7ff778b66: Waiting [2021-10-07T02:06:39.616Z] 0d9ebad4ef96: Waiting [2021-10-07T02:06:39.616Z] 9712f1f96733: Verifying Checksum [2021-10-07T02:06:39.616Z] 9712f1f96733: Download complete [2021-10-07T02:06:40.586Z] ab5ef0e58194: Verifying Checksum [2021-10-07T02:06:40.586Z] ab5ef0e58194: Download complete [2021-10-07T02:06:40.856Z] e9a5061849ea: Verifying Checksum [2021-10-07T02:06:40.856Z] e9a5061849ea: Download complete [2021-10-07T02:06:40.856Z] d747dcd14b5f: Verifying Checksum [2021-10-07T02:06:40.856Z] d747dcd14b5f: Download complete [2021-10-07T02:06:40.856Z] 63f879dbbcfc: Verifying Checksum [2021-10-07T02:06:40.856Z] 63f879dbbcfc: Download complete [2021-10-07T02:06:41.125Z] 2de7ff778b66: Verifying Checksum [2021-10-07T02:06:41.125Z] 2de7ff778b66: Download complete [2021-10-07T02:06:41.400Z] 0d9ebad4ef96: Verifying Checksum [2021-10-07T02:06:41.400Z] 0d9ebad4ef96: Download complete [2021-10-07T02:06:44.024Z] ab5ef0e58194: Pull complete [2021-10-07T02:06:44.024Z] 9712f1f96733: Pull complete [2021-10-07T02:06:44.615Z] 63f879dbbcfc: Pull complete [2021-10-07T02:06:48.914Z] 0d9ebad4ef96: Pull complete [2021-10-07T02:06:48.914Z] e9a5061849ea: Pull complete [2021-10-07T02:06:48.914Z] d747dcd14b5f: Pull complete [2021-10-07T02:06:50.093Z] 2de7ff778b66: Pull complete [2021-10-07T02:06:50.093Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-07T02:06:50.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-07T02:06:50.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-07T02:06:50.187Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:06:50.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-07T02:06:53.245Z] $ docker top a86d8683d013e7ea39097cced453d5e4c26ecb68a1cb1d22f2e332829886782d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:06:53.393Z] provisioning config files... [2021-10-07T02:06:53.408Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7906815323504685079tmp [2021-10-07T02:06:53.429Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config159979080971443914tmp [2021-10-07T02:06:53.450Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config784573629489402138tmp [Pipeline] { [Pipeline] echo [2021-10-07T02:06:53.478Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:06:53.790Z] ---> sigul-configuration.sh [2021-10-07T02:06:53.790Z] gpg: directory `/root/.gnupg' created [2021-10-07T02:06:53.790Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-07T02:06:53.790Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-07T02:06:53.790Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-07T02:06:53.790Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-07T02:06:53.790Z] gpg: CAST5 encrypted data [2021-10-07T02:06:53.790Z] gpg: encrypted with 1 passphrase [2021-10-07T02:06:53.790Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-07T02:06:54.105Z] + mkdir /home/jenkins [2021-10-07T02:06:54.105Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-07T02:06:54.422Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-07T02:06:54.438Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:06:54.747Z] ---> sigul-install.sh [2021-10-07T02:06:54.747Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-07T02:06:55.065Z] + git tag --list [2021-10-07T02:06:55.065Z] v0.0.0 [2021-10-07T02:06:55.065Z] v1.0.0 [2021-10-07T02:06:55.065Z] v1.0.1-dev.1 [2021-10-07T02:06:55.065Z] v1.0.1-dev.2 [2021-10-07T02:06:55.065Z] v1.0.1-dev.3 [2021-10-07T02:06:55.065Z] v1.0.1-dev.4 [2021-10-07T02:06:55.065Z] v1.0.1-dev.5 [Pipeline] sh [2021-10-07T02:06:55.383Z] + lftools sign git-tag v1.0.1-dev.5 [2021-10-07T02:06:55.966Z] Signing Git tag with Sigul... [2021-10-07T02:06:55.966Z] Signing v1.0.1-dev.5 [Pipeline] echo [2021-10-07T02:06:56.946Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:06:57.265Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-07T02:06:57.280Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-07T02:06:57.314Z] $ docker stop --time=1 a86d8683d013e7ea39097cced453d5e4c26ecb68a1cb1d22f2e332829886782d [2021-10-07T02:06:58.522Z] $ docker rm -f a86d8683d013e7ea39097cced453d5e4c26ecb68a1cb1d22f2e332829886782d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:06:59.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:06:59.260Z] . [Pipeline] withDockerContainer [2021-10-07T02:06:59.350Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:06:59.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T02:06:59.796Z] $ docker top 2848be932005b0125cf15e9abe53ec43a614d3ee1b70ba6da8e992eb13631444 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T02:06:59.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T02:06:59.967Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T02:07:00.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T02:07:00.109Z] $ docker exec 2848be932005b0125cf15e9abe53ec43a614d3ee1b70ba6da8e992eb13631444 ssh-agent [2021-10-07T02:07:00.222Z] SSH_AUTH_SOCK=/tmp/ssh-T9OLApSIPfuL/agent.14 [2021-10-07T02:07:00.222Z] SSH_AGENT_PID=21 [2021-10-07T02:07:00.231Z] Running ssh-add (command line suppressed) [2021-10-07T02:07:00.336Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2028241745242167917.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2028241745242167917.key) [2021-10-07T02:07:00.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T02:07:00.683Z] + git semver bump pre [2021-10-07T02:07:00.683Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T02:07:00.683Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-10-07T02:07:00.683Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-10-07T02:07:00.683Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T02:07:00.684Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T02:07:00.684Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T02:07:00.684Z] # $SEMVER_BRANCH = main [2021-10-07T02:07:00.684Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2021-10-07T02:07:00.684Z] 1.0.1-dev.6 [Pipeline] } [2021-10-07T02:07:00.699Z] $ docker exec --env ******** --env ******** 2848be932005b0125cf15e9abe53ec43a614d3ee1b70ba6da8e992eb13631444 ssh-agent -k [2021-10-07T02:07:00.803Z] unset SSH_AUTH_SOCK; [2021-10-07T02:07:00.804Z] unset SSH_AGENT_PID; [2021-10-07T02:07:00.804Z] echo Agent pid 21 killed; [2021-10-07T02:07:00.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T02:07:01.177Z] + git semver [Pipeline] } [2021-10-07T02:07:01.198Z] $ docker stop --time=1 2848be932005b0125cf15e9abe53ec43a614d3ee1b70ba6da8e992eb13631444 [2021-10-07T02:07:02.438Z] $ docker rm -f 2848be932005b0125cf15e9abe53ec43a614d3ee1b70ba6da8e992eb13631444 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:07:02.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:07:02.853Z] . [Pipeline] withDockerContainer [2021-10-07T02:07:02.940Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:07:03.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T02:07:03.696Z] $ docker top 940bd53e9a725fab10f8df593439781ca5fcfc9db56351b7ca094032c1cc51bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T02:07:03.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T02:07:03.902Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T02:07:04.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T02:07:04.030Z] $ docker exec 940bd53e9a725fab10f8df593439781ca5fcfc9db56351b7ca094032c1cc51bb ssh-agent [2021-10-07T02:07:04.138Z] SSH_AUTH_SOCK=/tmp/ssh-ZwHjbCwk1KBX/agent.14 [2021-10-07T02:07:04.138Z] SSH_AGENT_PID=21 [2021-10-07T02:07:04.147Z] Running ssh-add (command line suppressed) [2021-10-07T02:07:04.243Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3427307635063731016.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3427307635063731016.key) [2021-10-07T02:07:04.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T02:07:04.578Z] + git semver push [2021-10-07T02:07:04.578Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T02:07:04.578Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2021-10-07T02:07:04.578Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2021-10-07T02:07:04.578Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T02:07:04.578Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T02:07:04.578Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T02:07:04.578Z] # $SEMVER_BRANCH = main [2021-10-07T02:07:04.578Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2021-10-07T02:07:06.014Z] $ docker exec --env ******** --env ******** 940bd53e9a725fab10f8df593439781ca5fcfc9db56351b7ca094032c1cc51bb ssh-agent -k [2021-10-07T02:07:06.112Z] unset SSH_AUTH_SOCK; [2021-10-07T02:07:06.112Z] unset SSH_AGENT_PID; [2021-10-07T02:07:06.112Z] echo Agent pid 21 killed; [2021-10-07T02:07:06.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T02:07:06.500Z] + git semver [Pipeline] } [2021-10-07T02:07:06.523Z] $ docker stop --time=1 940bd53e9a725fab10f8df593439781ca5fcfc9db56351b7ca094032c1cc51bb [2021-10-07T02:07:07.712Z] $ docker rm -f 940bd53e9a725fab10f8df593439781ca5fcfc9db56351b7ca094032c1cc51bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-07T02:07:08.864Z] + '[' -d /w/workspace/edgexfoundry_device-gpio_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:09.201Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:09.791Z] ---> package-listing.sh [2021-10-07T02:07:09.791Z] ++ facter osfamily [2021-10-07T02:07:09.791Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-07T02:07:10.057Z] + OS_FAMILY=redhat [2021-10-07T02:07:10.057Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2021-10-07T02:07:10.057Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-07T02:07:10.057Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-07T02:07:10.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-07T02:07:10.057Z] + PACKAGES=/tmp/packages_start.txt [2021-10-07T02:07:10.057Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-10-07T02:07:10.057Z] + PACKAGES=/tmp/packages_end.txt [2021-10-07T02:07:10.057Z] + case "${OS_FAMILY}" in [2021-10-07T02:07:10.057Z] + rpm -qa [2021-10-07T02:07:10.057Z] + sort [2021-10-07T02:07:10.849Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-07T02:07:10.849Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-07T02:07:10.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-07T02:07:10.849Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2021-10-07T02:07:10.849Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2021-10-07T02:07:10.849Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2021-10-07T02:07:10.868Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-07T02:07:11.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:07:11.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:07:11.752Z] [2021-10-07T02:07:11.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:07:12.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:07:12.080Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T02:07:12.080Z] b4d181a07f80: Pulling fs layer [2021-10-07T02:07:12.080Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T02:07:12.080Z] ed53099fbce6: Pulling fs layer [2021-10-07T02:07:12.080Z] dc539afda2c1: Pulling fs layer [2021-10-07T02:07:12.080Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T02:07:12.080Z] 9065ff56babe: Pulling fs layer [2021-10-07T02:07:12.080Z] d287ab97295c: Pulling fs layer [2021-10-07T02:07:12.080Z] 77bc0d833cb6: Waiting [2021-10-07T02:07:12.080Z] 9065ff56babe: Waiting [2021-10-07T02:07:12.080Z] d287ab97295c: Waiting [2021-10-07T02:07:12.080Z] dc539afda2c1: Waiting [2021-10-07T02:07:12.347Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T02:07:12.347Z] a1111a8f2ec3: Download complete [2021-10-07T02:07:12.347Z] dc539afda2c1: Verifying Checksum [2021-10-07T02:07:12.347Z] dc539afda2c1: Download complete [2021-10-07T02:07:12.615Z] ed53099fbce6: Verifying Checksum [2021-10-07T02:07:12.615Z] ed53099fbce6: Download complete [2021-10-07T02:07:12.615Z] 9065ff56babe: Verifying Checksum [2021-10-07T02:07:12.615Z] 9065ff56babe: Download complete [2021-10-07T02:07:12.615Z] b4d181a07f80: Verifying Checksum [2021-10-07T02:07:12.615Z] b4d181a07f80: Download complete [2021-10-07T02:07:12.615Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T02:07:12.615Z] 77bc0d833cb6: Download complete [2021-10-07T02:07:13.587Z] d287ab97295c: Verifying Checksum [2021-10-07T02:07:13.587Z] d287ab97295c: Download complete [2021-10-07T02:07:14.172Z] b4d181a07f80: Pull complete [2021-10-07T02:07:14.172Z] a1111a8f2ec3: Pull complete [2021-10-07T02:07:14.760Z] ed53099fbce6: Pull complete [2021-10-07T02:07:15.029Z] dc539afda2c1: Pull complete [2021-10-07T02:07:15.305Z] 77bc0d833cb6: Pull complete [2021-10-07T02:07:15.305Z] 9065ff56babe: Pull complete [2021-10-07T02:07:20.665Z] d287ab97295c: Pull complete [2021-10-07T02:07:20.665Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T02:07:20.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:07:20.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T02:07:20.962Z] prd-centos7-docker-4c-2g-2228 does not seem to be running inside a container [2021-10-07T02:07:21.024Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T02:07:23.464Z] $ docker top b03b90d7a353d1fd258dade11c1a816ae741ccf42d2ce2154d3c1963f41c5aff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T02:07:23.860Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-07T02:07:24.170Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-07T02:07:24.484Z] + ls /var/log/sa-host [2021-10-07T02:07:24.485Z] + sadf -c /var/log/sa-host/sa07 [2021-10-07T02:07:24.485Z] file_magic: OK [2021-10-07T02:07:24.485Z] HZ: Using current value: 100 [2021-10-07T02:07:24.485Z] file_header: OK [2021-10-07T02:07:24.485Z] 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-07T02:07:24.485Z] Statistics: [2021-10-07T02:07:24.485Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T02:07:24.485Z] File successfully converted to sysstat format version 12.0.3 [2021-10-07T02:07:24.485Z] + sadf -c /var/log/sa-host/sa30 [2021-10-07T02:07:24.485Z] file_magic: OK [2021-10-07T02:07:24.485Z] HZ: Using current value: 100 [2021-10-07T02:07:24.485Z] file_header: OK [2021-10-07T02:07:24.485Z] 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-07T02:07:24.485Z] Statistics: [2021-10-07T02:07:24.485Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T02:07:24.485Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:07:25.075Z] provisioning config files... [2021-10-07T02:07:25.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config134226223709887868tmp [Pipeline] { [Pipeline] echo [2021-10-07T02:07:25.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:25.634Z] ---> create-netrc.sh [Pipeline] } [2021-10-07T02:07:25.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:26.088Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-07T02:07:26.102Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:26.408Z] ---> sudo-logs.sh [2021-10-07T02:07:26.408Z] Archiving 'sudo' log.. [2021-10-07T02:07:26.408Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2228.novalocal: Name or service not known [2021-10-07T02:07:26.408Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2228.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-07T02:07:26.447Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:26.761Z] ---> job-cost.sh [2021-10-07T02:07:26.761Z] lf-activate-venv: SKIPPING [2021-10-07T02:07:26.761Z] DEBUG: total: 0.10999999940395355 [2021-10-07T02:07:26.761Z] INFO: Retrieving Stack Cost... [2021-10-07T02:07:27.032Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T02:07:27.613Z] INFO: Archiving Costs [Pipeline] echo [2021-10-07T02:07:27.631Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:07:27.946Z] ---> logs-deploy.sh [2021-10-07T02:07:27.946Z] lf-activate-venv: SKIPPING [2021-10-07T02:07:27.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/8 [2021-10-07T02:07:27.946Z] INFO: archiving workspace using pattern(s): [2021-10-07T02:07:28.530Z] Archives upload complete. [2021-10-07T02:07:28.797Z] INFO: archiving logs to Nexus