Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 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-ssh2687961065824844213.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3385365321016588263.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/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-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh950113749405993617.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh7352726522775965460.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-rest-go/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-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4162526519935288811.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-977’ Running on prd-centos7-docker-4c-2g-980 in /w/workspace/edgexfoundry_device-rest-go_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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh5103038680218040096.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 Commit message: "Merge pull request #146 from MonicaisHer/update-snap-package" > git rev-list --no-walk 7759c41568adf15208c0dd5cadcdb8f87895acd8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T15:06:43.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T15:06:43.735Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T15:06:43.752Z] ========================================================= [2021-11-17T15:06:43.752Z] EdgeX Global Pipelines Version Info [2021-11-17T15:06:43.752Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:06:44.876Z] ------------------- [2021-11-17T15:06:44.876Z] stable info: [2021-11-17T15:06:44.876Z] ------------------- [2021-11-17T15:06:44.876Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T15:06:44.876Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:06:44.876Z] Message: update stable to v1.0.215 [2021-11-17T15:06:45.448Z] ------------------- [2021-11-17T15:06:45.448Z] experimental info: [2021-11-17T15:06:45.448Z] ------------------- [2021-11-17T15:06:45.448Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T15:06:45.448Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:06:45.448Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T15:06:45.525Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-17T15:06:45.537Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-17T15:06:45.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T15:06:45.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T15:06:45.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T15:06:45.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T15:06:45.592Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T15:06:45.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T15:06:45.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T15:06:45.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T15:06:45.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T15:06:45.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-17T15:06:45.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T15:06:45.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T15:06:45.676Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:06:45.686Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:06:45.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:06:45.708Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:06:45.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T15:06:45.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-17T15:06:45.740Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T15:06:45.752Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T15:06:45.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T15:06:45.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T15:06:45.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T15:06:45.794Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T15:06:45.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-17T15:06:45.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-17T15:06:45.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-17T15:06:45.836Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] echo [2021-11-17T15:06:45.846Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77c54d9 [Pipeline] echo [2021-11-17T15:06:45.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:06:45.884Z] provisioning config files... [2021-11-17T15:06:45.897Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6183698833093271546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:06:46.234Z] ---> docker-login.sh [2021-11-17T15:06:46.234Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:06:46.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:06:46.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:06:46.498Z] Configure a credential helper to remove this warning. See [2021-11-17T15:06:46.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:06:46.498Z] [2021-11-17T15:06:46.498Z] Login Succeeded [2021-11-17T15:06:46.498Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:06:46.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:06:46.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:06:46.498Z] Configure a credential helper to remove this warning. See [2021-11-17T15:06:46.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:06:46.498Z] [2021-11-17T15:06:46.498Z] Login Succeeded [2021-11-17T15:06:46.498Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:06:46.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:06:46.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:06:46.761Z] Configure a credential helper to remove this warning. See [2021-11-17T15:06:46.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:06:46.761Z] [2021-11-17T15:06:46.761Z] Login Succeeded [2021-11-17T15:06:46.761Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:06:46.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:06:46.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:06:46.761Z] Configure a credential helper to remove this warning. See [2021-11-17T15:06:46.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:06:46.761Z] [2021-11-17T15:06:46.761Z] Login Succeeded [2021-11-17T15:06:46.761Z] docker.io [2021-11-17T15:06:46.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:06:47.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:06:47.341Z] Configure a credential helper to remove this warning. See [2021-11-17T15:06:47.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:06:47.341Z] [2021-11-17T15:06:47.341Z] Login Succeeded [2021-11-17T15:06:47.341Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:06:47.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T15:06:47.778Z] + git rev-list -1 --merges 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7~1..77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] echo [2021-11-17T15:06:47.819Z] -----------> git rev-list -1 --merges 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7~1..77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:06:47.819Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [false] [Pipeline] sh [2021-11-17T15:06:48.113Z] + git log --format=format:%s -1 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] echo [2021-11-17T15:06:48.129Z] ========================================================= [2021-11-17T15:06:48.129Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T15:06:48.129Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:06:48.459Z] + git log --format=format:%s -1 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] echo [2021-11-17T15:06:48.472Z] [semverPrep] GIT_COMMIT: 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7, Commit Message: Merge pull request #146 from MonicaisHer/update-snap-package [Pipeline] echo [2021-11-17T15:06:48.479Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:06:48.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:06:48.901Z] [2021-11-17T15:06:48.901Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:06:49.216Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:06:49.216Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T15:06:49.216Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:06:49.216Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T15:06:49.216Z] 4c7163046ea9: Pulling fs layer [2021-11-17T15:06:49.216Z] 0c2d73faf560: Pulling fs layer [2021-11-17T15:06:49.216Z] 0c2d73faf560: Waiting [2021-11-17T15:06:49.216Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T15:06:49.216Z] 3e5f54012d9b: Download complete [2021-11-17T15:06:49.216Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:06:49.216Z] a0d0a0d46f8b: Download complete [2021-11-17T15:06:49.216Z] 4c7163046ea9: Verifying Checksum [2021-11-17T15:06:49.216Z] 4c7163046ea9: Download complete [2021-11-17T15:06:49.216Z] 0c2d73faf560: Verifying Checksum [2021-11-17T15:06:49.216Z] 0c2d73faf560: Download complete [2021-11-17T15:06:49.483Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:06:49.483Z] 3e5f54012d9b: Pull complete [2021-11-17T15:06:49.755Z] 4c7163046ea9: Pull complete [2021-11-17T15:06:50.021Z] 0c2d73faf560: Pull complete [2021-11-17T15:06:50.021Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T15:06:50.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:06:50.021Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T15:06:50.092Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:06:50.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:06:50.630Z] $ docker top 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:06:50.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:06:50.797Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:06:50.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:06:50.833Z] $ docker exec 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 ssh-agent [2021-11-17T15:06:51.013Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbCaiPk/agent.15 [2021-11-17T15:06:51.013Z] SSH_AGENT_PID=21 [2021-11-17T15:06:51.022Z] Running ssh-add (command line suppressed) [2021-11-17T15:06:51.079Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3223198675306341845.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3223198675306341845.key) [2021-11-17T15:06:51.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:06:51.430Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T15:06:51.428Z] $ docker exec --env ******** --env ******** 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 ssh-agent -k [2021-11-17T15:06:51.533Z] unset SSH_AUTH_SOCK; [2021-11-17T15:06:51.533Z] unset SSH_AGENT_PID; [2021-11-17T15:06:51.533Z] echo Agent pid 21 killed; [2021-11-17T15:06:51.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T15:06:51.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:06:51.576Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:06:51.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:06:51.702Z] $ docker exec 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 ssh-agent [2021-11-17T15:06:51.811Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhGOEaG/agent.55 [2021-11-17T15:06:51.811Z] SSH_AGENT_PID=61 [2021-11-17T15:06:51.817Z] Running ssh-add (command line suppressed) [2021-11-17T15:06:51.919Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2607053334656676221.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2607053334656676221.key) [2021-11-17T15:06:51.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:06:52.243Z] + git semver init [2021-11-17T15:06:52.243Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:06:52.243Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-17T15:06:52.243Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:06:52.243Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:06:52.243Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:06:52.243Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:06:52.243Z] # $SEMVER_BRANCH = main [2021-11-17T15:06:52.243Z] # $SEMVER_TEMP = /tmp/semver-070757781 [2021-11-17T15:06:52.243Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-17T15:06:52.243Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T15:06:52.243Z] # git init /tmp/semver-070757781 [2021-11-17T15:06:52.243Z] # '/tmp/semver-070757781' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-11-17T15:06:52.243Z] # -> Force: false [2021-11-17T15:06:52.243Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-17T15:06:52.252Z] $ docker exec --env ******** --env ******** 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 ssh-agent -k [2021-11-17T15:06:52.379Z] unset SSH_AUTH_SOCK; [2021-11-17T15:06:52.380Z] unset SSH_AGENT_PID; [2021-11-17T15:06:52.380Z] echo Agent pid 61 killed; [2021-11-17T15:06:52.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:06:52.704Z] + git semver [Pipeline] } [2021-11-17T15:06:52.718Z] $ docker stop --time=1 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 [2021-11-17T15:06:53.891Z] $ docker rm -f 6c71a2094cf9a7adf4ccd2acf88a94d41609fb1527bf0018d3a631f69164e041 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:06:54.244Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T15:06:54.460Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T15:06:54.464Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-17T15:07:09.602Z] Still waiting to schedule task [2021-11-17T15:07:09.602Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T15:07:09.604Z] Still waiting to schedule task [2021-11-17T15:07:09.604Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-978’ [2021-11-17T15:08:46.533Z] Running on prd-centos7-docker-4c-2g-981 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:08:46.544Z] Running in /w/workspace/device-rest-go/20 [Pipeline] { [Pipeline] checkout [2021-11-17T15:08:46.643Z] The recommended git tool is: git [2021-11-17T15:08:48.615Z] using credential edgex-jenkins-ssh [2021-11-17T15:08:48.631Z] Cloning the remote Git repository [2021-11-17T15:08:48.377Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T15:08:48.441Z] > git init /w/workspace/device-rest-go/20 # timeout=10 [2021-11-17T15:08:48.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T15:08:48.470Z] > git --version # timeout=10 [2021-11-17T15:08:48.480Z] > git --version # 'git version 2.24.4' [2021-11-17T15:08:48.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:08:48.506Z] [INFO] Currently running in a labeled security context [2021-11-17T15:08:48.506Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T15:08:48.506Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/20@tmp/jenkins-gitclient-ssh2306105220993193914.key [2021-11-17T15:08:48.517Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:08:52.182Z] Avoid second fetch [2021-11-17T15:08:52.183Z] Checking out Revision 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 (main) [2021-11-17T15:08:51.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T15:08:51.903Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:08:51.919Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:08:51.925Z] > git checkout -f 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [2021-11-17T15:08:55.774Z] Commit message: "Merge pull request #146 from MonicaisHer/update-snap-package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:08:56.169Z] provisioning config files... [2021-11-17T15:08:56.187Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config7083094367920447297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:08:56.598Z] ---> docker-login.sh [2021-11-17T15:08:56.599Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:08:56.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:08:56.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:08:56.864Z] Configure a credential helper to remove this warning. See [2021-11-17T15:08:56.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:08:56.864Z] [2021-11-17T15:08:56.864Z] Login Succeeded [2021-11-17T15:08:56.864Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:08:56.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:08:56.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:08:56.864Z] Configure a credential helper to remove this warning. See [2021-11-17T15:08:56.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:08:56.864Z] [2021-11-17T15:08:56.864Z] Login Succeeded [2021-11-17T15:08:56.864Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:08:56.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:08:57.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:08:57.128Z] Configure a credential helper to remove this warning. See [2021-11-17T15:08:57.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:08:57.128Z] [2021-11-17T15:08:57.128Z] Login Succeeded [2021-11-17T15:08:57.128Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:08:57.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:08:57.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:08:57.128Z] Configure a credential helper to remove this warning. See [2021-11-17T15:08:57.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:08:57.128Z] [2021-11-17T15:08:57.128Z] Login Succeeded [2021-11-17T15:08:57.128Z] docker.io [2021-11-17T15:08:57.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:08:57.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:08:57.702Z] Configure a credential helper to remove this warning. See [2021-11-17T15:08:57.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:08:57.702Z] [2021-11-17T15:08:57.702Z] Login Succeeded [2021-11-17T15:08:57.702Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:08:57.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:08:57.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:08:57.884Z] ========================================================= [2021-11-17T15:08:57.884Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T15:08:57.884Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:08:58.188Z] + 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-11-17T15:08:58.188Z] Sending build context to Docker daemon 121.9kB [2021-11-17T15:08:58.188Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:08:58.188Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:08:58.188Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T15:08:58.188Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:08:58.188Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T15:08:58.188Z] b8b176561691: Pulling fs layer [2021-11-17T15:08:58.188Z] 4527c011a84f: Pulling fs layer [2021-11-17T15:08:58.188Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T15:08:58.188Z] e0aca202a116: Pulling fs layer [2021-11-17T15:08:58.188Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T15:08:58.188Z] 34cad66bf833: Pulling fs layer [2021-11-17T15:08:58.188Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T15:08:58.188Z] e0aca202a116: Waiting [2021-11-17T15:08:58.188Z] 3a43be97a3b4: Waiting [2021-11-17T15:08:58.188Z] 34cad66bf833: Waiting [2021-11-17T15:08:58.188Z] b4e3c513aaa6: Waiting [2021-11-17T15:08:58.188Z] 4527c011a84f: Waiting [2021-11-17T15:08:58.188Z] 5d74067f8e1e: Waiting [2021-11-17T15:08:58.188Z] b8b176561691: Verifying Checksum [2021-11-17T15:08:58.188Z] b8b176561691: Download complete [2021-11-17T15:08:58.188Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T15:08:58.188Z] 31adcdaf11c8: Download complete [2021-11-17T15:08:58.188Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T15:08:58.188Z] 5d74067f8e1e: Download complete [2021-11-17T15:08:58.188Z] e0aca202a116: Verifying Checksum [2021-11-17T15:08:58.188Z] e0aca202a116: Download complete [2021-11-17T15:08:58.188Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T15:08:58.188Z] 3a43be97a3b4: Download complete [2021-11-17T15:08:58.188Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:08:58.188Z] a0d0a0d46f8b: Download complete [2021-11-17T15:08:58.455Z] 34cad66bf833: Verifying Checksum [2021-11-17T15:08:58.455Z] 34cad66bf833: Download complete [2021-11-17T15:08:58.726Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:08:58.994Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T15:08:58.994Z] b4e3c513aaa6: Download complete [2021-11-17T15:08:58.994Z] 4527c011a84f: Verifying Checksum [2021-11-17T15:08:58.994Z] 4527c011a84f: Download complete [2021-11-17T15:08:58.994Z] 31adcdaf11c8: Pull complete [2021-11-17T15:08:58.994Z] b8b176561691: Pull complete [2021-11-17T15:09:03.251Z] 4527c011a84f: Pull complete [2021-11-17T15:09:03.251Z] 5d74067f8e1e: Pull complete [2021-11-17T15:09:03.251Z] e0aca202a116: Pull complete [2021-11-17T15:09:03.524Z] 3a43be97a3b4: Pull complete [2021-11-17T15:09:03.524Z] 34cad66bf833: Pull complete [2021-11-17T15:09:06.099Z] b4e3c513aaa6: Pull complete [2021-11-17T15:09:06.099Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T15:09:06.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T15:09:06.099Z] ---> 9f6097aaca64 [2021-11-17T15:09:06.099Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T15:09:08.031Z] ---> Running in 7bec2877ccb1 [2021-11-17T15:09:08.031Z] Removing intermediate container 7bec2877ccb1 [2021-11-17T15:09:08.031Z] ---> 61ef4918efc0 [2021-11-17T15:09:08.031Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:09:08.031Z] ---> Running in eea00db18c83 [2021-11-17T15:09:08.031Z] Removing intermediate container eea00db18c83 [2021-11-17T15:09:08.031Z] ---> f2fa3992a683 [2021-11-17T15:09:08.031Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:09:08.031Z] ---> Running in aaed05d27c75 [2021-11-17T15:09:08.031Z] Removing intermediate container aaed05d27c75 [2021-11-17T15:09:08.031Z] ---> b8557d86df7f [2021-11-17T15:09:08.031Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:09:08.031Z] ---> Running in 08d1d5c6932d [2021-11-17T15:09:08.608Z] Removing intermediate container 08d1d5c6932d [2021-11-17T15:09:08.608Z] ---> 4d4205117b9b [2021-11-17T15:09:08.608Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:09:08.608Z] ---> Running in 296ab36ab372 [2021-11-17T15:09:09.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:09:09.758Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:09:10.331Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:09:10.331Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:09:10.331Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:09:10.331Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:09:10.597Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:09:10.597Z] OK: 224 MiB in 56 packages [2021-11-17T15:09:10.864Z] Removing intermediate container 296ab36ab372 [2021-11-17T15:09:10.864Z] ---> 62be9af07a3e [2021-11-17T15:09:10.864Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T15:09:10.864Z] ---> Running in 2c342b21ae6b [2021-11-17T15:09:10.864Z] Removing intermediate container 2c342b21ae6b [2021-11-17T15:09:10.864Z] ---> 4609ac66feaf [2021-11-17T15:09:10.864Z] Step 9/11 : COPY . . [2021-11-17T15:09:11.126Z] ---> 95e614f11563 [2021-11-17T15:09:11.126Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:09:11.126Z] ---> Running in 027ed0b57490 [2021-11-17T15:09:43.300Z] Removing intermediate container 027ed0b57490 [2021-11-17T15:09:43.300Z] ---> 823a41a38167 [2021-11-17T15:09:43.300Z] Step 11/11 : RUN $MAKE [2021-11-17T15:09:43.300Z] ---> Running in 9cb3dbd2ff1d [2021-11-17T15:09:43.300Z] noop [2021-11-17T15:09:43.300Z] Removing intermediate container 9cb3dbd2ff1d [2021-11-17T15:09:43.300Z] ---> 9da44472f70b [2021-11-17T15:09:43.300Z] Successfully built 9da44472f70b [2021-11-17T15:09:43.300Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:09:43.608Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:09:43.608Z] . [Pipeline] withDockerContainer [2021-11-17T15:09:43.676Z] prd-centos7-docker-4c-2g-981 does not seem to be running inside a container [2021-11-17T15:09:43.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:09:44.088Z] $ docker top 677703722a839e49791cbed562e28a0aa127940a3ac9abf6c12035b4b2f01759 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:09:44.455Z] + go version [2021-11-17T15:09:44.456Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T15:09:44.466Z] $ docker stop --time=1 677703722a839e49791cbed562e28a0aa127940a3ac9abf6c12035b4b2f01759 [2021-11-17T15:09:45.661Z] $ docker rm -f 677703722a839e49791cbed562e28a0aa127940a3ac9abf6c12035b4b2f01759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:09:46.188Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:09:46.189Z] . [Pipeline] withDockerContainer [2021-11-17T15:09:46.253Z] prd-centos7-docker-4c-2g-981 does not seem to be running inside a container [2021-11-17T15:09:46.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:09:46.619Z] $ docker top 1c92d8c4ed645a4a593f33e3eec62ba6cee5202230e19ae837509de4861bb737 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:09:46.998Z] + make test [2021-11-17T15:09:46.998Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T15:09:47.578Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T15:10:05.835Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T15:10:05.835Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 56.0% of statements [2021-11-17T15:10:05.835Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:10:11.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:10:11.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:10:11.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:10:11.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:10:11.200Z] $ docker stop --time=1 1c92d8c4ed645a4a593f33e3eec62ba6cee5202230e19ae837509de4861bb737 [2021-11-17T15:10:12.642Z] $ docker rm -f 1c92d8c4ed645a4a593f33e3eec62ba6cee5202230e19ae837509de4861bb737 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:10:13.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:10:13.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T15:10:13.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:10:14.275Z] + ls -al . [2021-11-17T15:10:14.275Z] total 148 [2021-11-17T15:10:14.275Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 17 15:10 . [2021-11-17T15:10:14.275Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 15:08 .. [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 17 15:08 Attribution.txt [2021-11-17T15:10:14.275Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 17 15:08 bin [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 17 15:08 CHANGELOG.md [2021-11-17T15:10:14.275Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 15:08 cmd [2021-11-17T15:10:14.275Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 17 15:10 coverage.out [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 17 15:08 Dockerfile [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 17 15:08 .dockerignore [2021-11-17T15:10:14.275Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 17 15:08 driver [2021-11-17T15:10:14.275Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 15:08 .git [2021-11-17T15:10:14.275Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 15:08 .github [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 15:08 .gitignore [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 17 15:08 go.mod [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 17 15:08 go.sum [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 15:08 GOVERNANCE.md [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 17 15:08 Jenkinsfile [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 15:08 LICENSE [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 17 15:08 Makefile [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 15:08 OWNERS.md [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 8246 Nov 17 15:08 README.md [2021-11-17T15:10:14.275Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 17 15:08 snap [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 15:06 VERSION [2021-11-17T15:10:14.275Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 17 15:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:14.584Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 --label arch=amd64 --label version=0.0.0 . [2021-11-17T15:10:14.584Z] Sending build context to Docker daemon 131.6kB [2021-11-17T15:10:14.584Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:10:14.584Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T15:10:14.584Z] ---> 9da44472f70b [2021-11-17T15:10:14.584Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T15:10:14.584Z] ---> Running in 0037789da50e [2021-11-17T15:10:14.584Z] Removing intermediate container 0037789da50e [2021-11-17T15:10:14.584Z] ---> bcace15c146e [2021-11-17T15:10:14.584Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:10:14.584Z] ---> Running in a6ab9985a31d [2021-11-17T15:10:14.845Z] Removing intermediate container a6ab9985a31d [2021-11-17T15:10:14.845Z] ---> dfa07eb06b7c [2021-11-17T15:10:14.845Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:10:14.845Z] ---> Running in 819a2bf11366 [2021-11-17T15:10:14.845Z] Removing intermediate container 819a2bf11366 [2021-11-17T15:10:14.845Z] ---> abb088b3acd9 [2021-11-17T15:10:14.845Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:10:14.845Z] ---> Running in 76c984c9b060 [2021-11-17T15:10:15.423Z] Removing intermediate container 76c984c9b060 [2021-11-17T15:10:15.423Z] ---> 48a7addf0cc0 [2021-11-17T15:10:15.423Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:10:15.423Z] ---> Running in b282677711fe [2021-11-17T15:10:15.685Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:10:16.627Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:10:16.893Z] OK: 224 MiB in 56 packages [2021-11-17T15:10:17.154Z] Removing intermediate container b282677711fe [2021-11-17T15:10:17.154Z] ---> 29b3ec3e7c6e [2021-11-17T15:10:17.154Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T15:10:17.154Z] ---> Running in dba492dbaefb [2021-11-17T15:10:17.154Z] Removing intermediate container dba492dbaefb [2021-11-17T15:10:17.154Z] ---> 09b5b1565183 [2021-11-17T15:10:17.154Z] Step 9/24 : COPY . . [2021-11-17T15:10:17.414Z] ---> 2d902a6a1f96 [2021-11-17T15:10:17.414Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:10:17.414Z] ---> Running in 153facd242c0 [2021-11-17T15:10:17.989Z] Removing intermediate container 153facd242c0 [2021-11-17T15:10:17.989Z] ---> c0490a74a1ae [2021-11-17T15:10:17.989Z] Step 11/24 : RUN $MAKE [2021-11-17T15:10:17.989Z] ---> Running in 1b54d55737ea [2021-11-17T15:10:18.249Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-17T15:10:30.562Z] Removing intermediate container 1b54d55737ea [2021-11-17T15:10:30.562Z] ---> 1053b8ab2fee [2021-11-17T15:10:30.562Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T15:10:30.562Z] 3.14: Pulling from library/alpine [2021-11-17T15:10:30.562Z] 97518928ae5f: Pulling fs layer [2021-11-17T15:10:30.821Z] 97518928ae5f: Verifying Checksum [2021-11-17T15:10:30.822Z] 97518928ae5f: Download complete [2021-11-17T15:10:31.084Z] 97518928ae5f: Pull complete [2021-11-17T15:10:31.084Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:10:31.084Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:10:31.084Z] ---> 0a97eee8041e [2021-11-17T15:10:31.084Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T15:10:31.084Z] ---> Running in 8fd1a7de80e8 [2021-11-17T15:10:31.084Z] Removing intermediate container 8fd1a7de80e8 [2021-11-17T15:10:31.084Z] ---> 9a944fdbd708 [2021-11-17T15:10:31.084Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T15:10:31.084Z] ---> Running in bc3a13e94760 [2021-11-17T15:10:31.346Z] Removing intermediate container bc3a13e94760 [2021-11-17T15:10:31.346Z] ---> 8954888e0159 [2021-11-17T15:10:31.346Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:10:31.346Z] ---> Running in 74514c64297a [2021-11-17T15:10:31.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:10:31.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:10:31.877Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:10:31.877Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:10:31.877Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:10:31.877Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:10:31.877Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:10:31.877Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:10:31.877Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:10:31.877Z] OK: 8 MiB in 20 packages [2021-11-17T15:10:32.137Z] Removing intermediate container 74514c64297a [2021-11-17T15:10:32.137Z] ---> a8681dab1759 [2021-11-17T15:10:32.137Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T15:10:32.397Z] ---> 332c8b369852 [2021-11-17T15:10:32.397Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T15:10:32.664Z] ---> 2458a8b2448b [2021-11-17T15:10:32.664Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T15:10:32.664Z] ---> f02c1512edad [2021-11-17T15:10:32.664Z] Step 19/24 : EXPOSE 59986 [2021-11-17T15:10:32.664Z] ---> Running in 92267a487978 [2021-11-17T15:10:32.929Z] Removing intermediate container 92267a487978 [2021-11-17T15:10:32.929Z] ---> 16885182d1f5 [2021-11-17T15:10:32.929Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T15:10:32.929Z] ---> Running in c5c1db3fd10d [2021-11-17T15:10:32.929Z] Removing intermediate container c5c1db3fd10d [2021-11-17T15:10:32.929Z] ---> 823cff91b07e [2021-11-17T15:10:32.929Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T15:10:32.929Z] ---> Running in 197b1bc5e714 [2021-11-17T15:10:33.196Z] Removing intermediate container 197b1bc5e714 [2021-11-17T15:10:33.196Z] ---> f0ba73ddb44e [2021-11-17T15:10:33.196Z] Step 22/24 : LABEL arch=amd64 [2021-11-17T15:10:33.196Z] ---> Running in 5b1db312b0c1 [2021-11-17T15:10:33.196Z] Removing intermediate container 5b1db312b0c1 [2021-11-17T15:10:33.196Z] ---> 7b23c3d54a3b [2021-11-17T15:10:33.196Z] Step 23/24 : LABEL git_sha=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:10:33.196Z] ---> Running in a47860806532 [2021-11-17T15:10:33.455Z] Removing intermediate container a47860806532 [2021-11-17T15:10:33.455Z] ---> 6f2d03c305f6 [2021-11-17T15:10:33.455Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T15:10:33.455Z] ---> Running in ff8eb6318417 [2021-11-17T15:10:33.455Z] Removing intermediate container ff8eb6318417 [2021-11-17T15:10:33.455Z] ---> 0b498f76585b [2021-11-17T15:10:33.455Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:10:33.455Z] Successfully built 0b498f76585b [2021-11-17T15:10:33.455Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:10:33.692Z] provisioning config files... [2021-11-17T15:10:33.701Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config1402496168482752785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:10:34.017Z] ---> docker-login.sh [2021-11-17T15:10:34.017Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:10:34.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:10:34.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:10:34.017Z] Configure a credential helper to remove this warning. See [2021-11-17T15:10:34.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:10:34.017Z] [2021-11-17T15:10:34.017Z] Login Succeeded [2021-11-17T15:10:34.017Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:10:34.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:10:34.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:10:34.017Z] Configure a credential helper to remove this warning. See [2021-11-17T15:10:34.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:10:34.017Z] [2021-11-17T15:10:34.017Z] Login Succeeded [2021-11-17T15:10:34.017Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:10:34.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:10:34.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:10:34.278Z] Configure a credential helper to remove this warning. See [2021-11-17T15:10:34.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:10:34.278Z] [2021-11-17T15:10:34.278Z] Login Succeeded [2021-11-17T15:10:34.278Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:10:34.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:10:34.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:10:34.278Z] Configure a credential helper to remove this warning. See [2021-11-17T15:10:34.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:10:34.278Z] [2021-11-17T15:10:34.278Z] Login Succeeded [2021-11-17T15:10:34.278Z] docker.io [2021-11-17T15:10:34.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:10:34.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:10:34.800Z] Configure a credential helper to remove this warning. See [2021-11-17T15:10:34.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:10:34.800Z] [2021-11-17T15:10:34.800Z] Login Succeeded [2021-11-17T15:10:34.800Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:10:34.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:10:34.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:10:34.866Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-11-17T15:10:34.866Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:10:34.866Z] latest [2021-11-17T15:10:34.866Z] 0.0.0 [2021-11-17T15:10:34.866Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:10:34.866Z] main [2021-11-17T15:10:34.866Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:35.188Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:35.486Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:10:35.486Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-17T15:10:35.486Z] d10060c3b19c: Preparing [2021-11-17T15:10:35.486Z] 400a5091af17: Preparing [2021-11-17T15:10:35.486Z] 2ec6b934ead8: Preparing [2021-11-17T15:10:35.486Z] b11a82ec6811: Preparing [2021-11-17T15:10:35.486Z] 1a058d5342cc: Preparing [2021-11-17T15:10:35.486Z] 1a058d5342cc: Layer already exists [2021-11-17T15:10:35.752Z] d10060c3b19c: Pushed [2021-11-17T15:10:35.752Z] 400a5091af17: Pushed [2021-11-17T15:10:35.752Z] b11a82ec6811: Pushed [2021-11-17T15:10:36.686Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-983 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:10:36.698Z] Running in /w/workspace/device-rest-go/20 [Pipeline] { [2021-11-17T15:10:36.705Z] 2ec6b934ead8: Pushed [Pipeline] checkout [2021-11-17T15:10:36.899Z] The recommended git tool is: git [2021-11-17T15:10:36.965Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7: digest: sha256:33d659b9ca0e4547884280cb9debe51b965b88753334999c25606e1a83d716d3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:37.266Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:37.565Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-17T15:10:37.565Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-17T15:10:37.565Z] d10060c3b19c: Preparing [2021-11-17T15:10:37.565Z] 400a5091af17: Preparing [2021-11-17T15:10:37.565Z] 2ec6b934ead8: Preparing [2021-11-17T15:10:37.565Z] b11a82ec6811: Preparing [2021-11-17T15:10:37.565Z] 1a058d5342cc: Preparing [2021-11-17T15:10:37.565Z] 1a058d5342cc: Layer already exists [2021-11-17T15:10:37.565Z] d10060c3b19c: Layer already exists [2021-11-17T15:10:37.565Z] 400a5091af17: Layer already exists [2021-11-17T15:10:37.565Z] b11a82ec6811: Layer already exists [2021-11-17T15:10:37.565Z] 2ec6b934ead8: Layer already exists [2021-11-17T15:10:37.565Z] latest: digest: sha256:33d659b9ca0e4547884280cb9debe51b965b88753334999c25606e1a83d716d3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:37.865Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:38.168Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:0.0.0 [2021-11-17T15:10:38.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-17T15:10:38.168Z] d10060c3b19c: Preparing [2021-11-17T15:10:38.168Z] 400a5091af17: Preparing [2021-11-17T15:10:38.168Z] 2ec6b934ead8: Preparing [2021-11-17T15:10:38.168Z] b11a82ec6811: Preparing [2021-11-17T15:10:38.168Z] 1a058d5342cc: Preparing [2021-11-17T15:10:38.168Z] 1a058d5342cc: Layer already exists [2021-11-17T15:10:38.168Z] b11a82ec6811: Layer already exists [2021-11-17T15:10:38.168Z] 2ec6b934ead8: Layer already exists [2021-11-17T15:10:38.168Z] 400a5091af17: Layer already exists [2021-11-17T15:10:38.168Z] d10060c3b19c: Layer already exists [2021-11-17T15:10:38.168Z] 0.0.0: digest: sha256:33d659b9ca0e4547884280cb9debe51b965b88753334999c25606e1a83d716d3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:38.467Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:38.769Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:10:38.769Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-17T15:10:38.769Z] d10060c3b19c: Preparing [2021-11-17T15:10:38.769Z] 400a5091af17: Preparing [2021-11-17T15:10:38.769Z] 2ec6b934ead8: Preparing [2021-11-17T15:10:38.769Z] b11a82ec6811: Preparing [2021-11-17T15:10:38.769Z] 1a058d5342cc: Preparing [2021-11-17T15:10:38.769Z] 1a058d5342cc: Layer already exists [2021-11-17T15:10:38.769Z] 2ec6b934ead8: Layer already exists [2021-11-17T15:10:38.769Z] b11a82ec6811: Layer already exists [2021-11-17T15:10:38.769Z] 400a5091af17: Layer already exists [2021-11-17T15:10:38.769Z] d10060c3b19c: Layer already exists [2021-11-17T15:10:38.769Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0: digest: sha256:33d659b9ca0e4547884280cb9debe51b965b88753334999c25606e1a83d716d3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:39.081Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:39.378Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-11-17T15:10:39.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-17T15:10:39.378Z] d10060c3b19c: Preparing [2021-11-17T15:10:39.378Z] 400a5091af17: Preparing [2021-11-17T15:10:39.378Z] 2ec6b934ead8: Preparing [2021-11-17T15:10:39.378Z] b11a82ec6811: Preparing [2021-11-17T15:10:39.378Z] 1a058d5342cc: Preparing [2021-11-17T15:10:39.378Z] b11a82ec6811: Layer already exists [2021-11-17T15:10:39.378Z] 400a5091af17: Layer already exists [2021-11-17T15:10:39.378Z] 1a058d5342cc: Layer already exists [2021-11-17T15:10:39.378Z] 2ec6b934ead8: Layer already exists [2021-11-17T15:10:39.378Z] d10060c3b19c: Layer already exists [2021-11-17T15:10:39.378Z] main: digest: sha256:33d659b9ca0e4547884280cb9debe51b965b88753334999c25606e1a83d716d3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:10:39.413Z] ===================================================== [Pipeline] echo [2021-11-17T15:10:39.419Z] taggedImages: [2021-11-17T15:10:39.419Z] - nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:10:39.419Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-17T15:10:39.419Z] - nexus3.edgexfoundry.org:10004/device-rest:0.0.0 [2021-11-17T15:10:39.419Z] - nexus3.edgexfoundry.org:10004/device-rest:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:10:39.419Z] - nexus3.edgexfoundry.org:10004/device-rest: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-11-17T15:10:39.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:10:39.904Z] [2021-11-17T15:10:39.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:10:40.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:10:40.202Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:10:40.202Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:10:40.202Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:10:40.202Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:10:40.202Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:10:40.202Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:10:40.202Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:10:40.202Z] d287ab97295c: Pulling fs layer [2021-11-17T15:10:40.202Z] 77bc0d833cb6: Waiting [2021-11-17T15:10:40.202Z] 9065ff56babe: Waiting [2021-11-17T15:10:40.202Z] d287ab97295c: Waiting [2021-11-17T15:10:40.202Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:10:40.202Z] a1111a8f2ec3: Download complete [2021-11-17T15:10:40.202Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:10:40.202Z] dc539afda2c1: Download complete [2021-11-17T15:10:40.202Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:10:40.202Z] ed53099fbce6: Download complete [2021-11-17T15:10:40.465Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:10:40.465Z] 9065ff56babe: Download complete [2021-11-17T15:10:40.465Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:10:40.465Z] 77bc0d833cb6: Download complete [2021-11-17T15:10:40.465Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:10:40.465Z] b4d181a07f80: Download complete [2021-11-17T15:10:41.046Z] d287ab97295c: Verifying Checksum [2021-11-17T15:10:41.046Z] d287ab97295c: Download complete [2021-11-17T15:10:42.006Z] b4d181a07f80: Pull complete [2021-11-17T15:10:42.006Z] a1111a8f2ec3: Pull complete [2021-11-17T15:10:42.584Z] ed53099fbce6: Pull complete [2021-11-17T15:10:42.584Z] dc539afda2c1: Pull complete [2021-11-17T15:10:42.846Z] 77bc0d833cb6: Pull complete [2021-11-17T15:10:42.846Z] 9065ff56babe: Pull complete [2021-11-17T15:10:43.067Z] using credential edgex-jenkins-ssh [2021-11-17T15:10:43.088Z] Cloning the remote Git repository [2021-11-17T15:10:43.130Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T15:10:43.229Z] > git init /w/workspace/device-rest-go/20 # timeout=10 [2021-11-17T15:10:43.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-17T15:10:43.310Z] > git --version # timeout=10 [2021-11-17T15:10:43.332Z] > git --version # 'git version 2.17.1' [2021-11-17T15:10:43.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:10:43.431Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:10:45.225Z] Avoid second fetch [2021-11-17T15:10:45.226Z] Checking out Revision 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 (main) [2021-11-17T15:10:45.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-17T15:10:45.197Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:10:45.245Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:10:45.267Z] > git checkout -f 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 # timeout=10 [2021-11-17T15:10:48.222Z] d287ab97295c: Pull complete [2021-11-17T15:10:48.222Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:10:48.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:10:48.222Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:10:48.281Z] prd-centos7-docker-4c-2g-981 does not seem to be running inside a container [2021-11-17T15:10:48.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:10:49.594Z] Commit message: "Merge pull request #146 from MonicaisHer/update-snap-package" [2021-11-17T15:10:49.949Z] [2021-11-17T15:10:49.949Z] GitHub has been notified of this commit’s build result [2021-11-17T15:10:49.949Z] [2021-11-17T15:10:51.213Z] $ docker top d0efb5d45e875b14a51d68e2f95f66c67fe76b8219fbdc17fbd5b9b4fe84824e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:10:51.653Z] ---> job-cost.sh [2021-11-17T15:10:51.653Z] lf-activate-venv: SKIPPING [2021-11-17T15:10:51.653Z] INFO: No Stack... [2021-11-17T15:10:51.911Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:10:52.023Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T15:10:52.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:10:52.023Z] Dload Upload Total Spent Left Speed [2021-11-17T15:10:52.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 67565 0 --:--:-- --:--:-- --:--:-- 67565 [Pipeline] sh [2021-11-17T15:10:52.172Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:10:52.433Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T15:10:52.464Z] + cat /w/workspace/device-rest-go/20/archives/cost.csv [2021-11-17T15:10:52.464Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T15:10:52.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [2021-11-17T15:10:52.531Z] Resource [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] did not exist. Created. [2021-11-17T15:10:52.531Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:10:52.774Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T15:10:52.774Z] + sudo tee /etc/docker/daemon.new [2021-11-17T15:10:52.774Z] { [2021-11-17T15:10:52.774Z] "registry-mirrors": [ [2021-11-17T15:10:52.774Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T15:10:52.774Z] ], [2021-11-17T15:10:52.774Z] "bip": "10.250.0.254/24", [2021-11-17T15:10:52.774Z] "hosts": [ [2021-11-17T15:10:52.774Z] "tcp://0.0.0.0:5555", [2021-11-17T15:10:52.774Z] "unix:///var/run/docker.sock" [2021-11-17T15:10:52.774Z] ], [2021-11-17T15:10:52.774Z] "mtu": 1458, [2021-11-17T15:10:52.774Z] "selinux-enabled": true, [2021-11-17T15:10:52.774Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T15:10:52.774Z] } [Pipeline] sh [2021-11-17T15:10:52.834Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T15:10:52.897Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:10:52.904Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:10:52.923Z] $ docker stop --time=1 d0efb5d45e875b14a51d68e2f95f66c67fe76b8219fbdc17fbd5b9b4fe84824e [2021-11-17T15:10:53.137Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2021-11-17T15:10:54.050Z] $ docker rm -f d0efb5d45e875b14a51d68e2f95f66c67fe76b8219fbdc17fbd5b9b4fe84824e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T15:10:54.421Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:11:12.790Z] provisioning config files... [2021-11-17T15:11:12.813Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config2048981709856893960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:11:13.173Z] ---> docker-login.sh [2021-11-17T15:11:13.173Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:11:13.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:14.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:14.039Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:14.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:14.039Z] [2021-11-17T15:11:14.039Z] Login Succeeded [2021-11-17T15:11:14.039Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:11:14.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:14.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:14.642Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:14.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:14.642Z] [2021-11-17T15:11:14.642Z] Login Succeeded [2021-11-17T15:11:14.642Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:11:14.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:15.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:15.199Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:15.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:15.199Z] [2021-11-17T15:11:15.199Z] Login Succeeded [2021-11-17T15:11:15.199Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:11:15.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:15.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:15.472Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:15.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:15.472Z] [2021-11-17T15:11:15.472Z] Login Succeeded [2021-11-17T15:11:15.472Z] docker.io [2021-11-17T15:11:16.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:16.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:16.338Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:16.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:16.338Z] [2021-11-17T15:11:16.338Z] Login Succeeded [2021-11-17T15:11:16.338Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:11:16.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:11:16.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:11:16.669Z] ========================================================= [2021-11-17T15:11:16.669Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T15:11:16.669Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:11:17.015Z] + 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-11-17T15:11:17.015Z] Sending build context to Docker daemon 121.9kB [2021-11-17T15:11:17.286Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:11:17.286Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:11:17.558Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T15:11:17.558Z] 552d1f2373af: Pulling fs layer [2021-11-17T15:11:17.558Z] ea3f2d53f512: Pulling fs layer [2021-11-17T15:11:17.558Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T15:11:17.558Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T15:11:17.558Z] 72dc09318566: Pulling fs layer [2021-11-17T15:11:17.558Z] f4f7b4309257: Pulling fs layer [2021-11-17T15:11:17.558Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T15:11:17.558Z] b78e95d17946: Pulling fs layer [2021-11-17T15:11:17.558Z] 7a9cfe048b4a: Waiting [2021-11-17T15:11:17.558Z] 72dc09318566: Waiting [2021-11-17T15:11:17.558Z] f4f7b4309257: Waiting [2021-11-17T15:11:17.558Z] 0ac9a79272e3: Waiting [2021-11-17T15:11:17.558Z] b78e95d17946: Waiting [2021-11-17T15:11:17.558Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T15:11:17.558Z] 9e70ebbbe112: Download complete [2021-11-17T15:11:17.558Z] ea3f2d53f512: Verifying Checksum [2021-11-17T15:11:17.558Z] ea3f2d53f512: Download complete [2021-11-17T15:11:17.558Z] 72dc09318566: Verifying Checksum [2021-11-17T15:11:17.558Z] 72dc09318566: Download complete [2021-11-17T15:11:17.558Z] f4f7b4309257: Download complete [2021-11-17T15:11:17.558Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T15:11:17.558Z] 0ac9a79272e3: Download complete [2021-11-17T15:11:17.558Z] 552d1f2373af: Verifying Checksum [2021-11-17T15:11:17.558Z] 552d1f2373af: Download complete [2021-11-17T15:11:18.567Z] 552d1f2373af: Pull complete [2021-11-17T15:11:19.180Z] ea3f2d53f512: Pull complete [2021-11-17T15:11:19.462Z] 9e70ebbbe112: Pull complete [2021-11-17T15:11:19.462Z] b78e95d17946: Verifying Checksum [2021-11-17T15:11:19.462Z] b78e95d17946: Download complete [2021-11-17T15:11:20.060Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T15:11:20.060Z] 7a9cfe048b4a: Download complete [2021-11-17T15:11:32.457Z] 7a9cfe048b4a: Pull complete [2021-11-17T15:11:32.457Z] 72dc09318566: Pull complete [2021-11-17T15:11:32.457Z] f4f7b4309257: Pull complete [2021-11-17T15:11:32.457Z] 0ac9a79272e3: Pull complete [2021-11-17T15:11:37.875Z] b78e95d17946: Pull complete [2021-11-17T15:11:37.875Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T15:11:37.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T15:11:37.875Z] ---> 8b459fc5aaf0 [2021-11-17T15:11:37.875Z] Step 3/11 : ARG MAKE='make build' [2021-11-17T15:11:39.318Z] ---> Running in 34daec7f22e4 [2021-11-17T15:11:39.594Z] Removing intermediate container 34daec7f22e4 [2021-11-17T15:11:39.594Z] ---> 85f16e06a426 [2021-11-17T15:11:39.594Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:11:39.879Z] ---> Running in 3f7d5f290169 [2021-11-17T15:11:40.174Z] Removing intermediate container 3f7d5f290169 [2021-11-17T15:11:40.174Z] ---> 1cd994e76f00 [2021-11-17T15:11:40.174Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:11:40.449Z] ---> Running in 4e9e90e43391 [2021-11-17T15:11:40.722Z] Removing intermediate container 4e9e90e43391 [2021-11-17T15:11:40.722Z] ---> 462fa770f9a5 [2021-11-17T15:11:40.722Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:11:40.996Z] ---> Running in 3ac1670a09c7 [2021-11-17T15:11:42.972Z] Removing intermediate container 3ac1670a09c7 [2021-11-17T15:11:42.972Z] ---> 836b707f41d9 [2021-11-17T15:11:42.972Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:11:43.247Z] ---> Running in a01fd33d460a [2021-11-17T15:11:44.222Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:11:45.197Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:11:46.183Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:11:46.183Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:11:46.183Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:11:46.461Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:11:46.461Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:11:46.461Z] OK: 223 MiB in 56 packages [2021-11-17T15:11:47.898Z] Removing intermediate container a01fd33d460a [2021-11-17T15:11:47.898Z] ---> 31e88b5f19b5 [2021-11-17T15:11:47.898Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-17T15:11:47.898Z] ---> Running in dc600c975c3d [2021-11-17T15:11:48.173Z] Removing intermediate container dc600c975c3d [2021-11-17T15:11:48.173Z] ---> c8af7e62e07b [2021-11-17T15:11:48.173Z] Step 9/11 : COPY . . [2021-11-17T15:11:49.172Z] ---> 2ce607f4cca3 [2021-11-17T15:11:49.172Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:11:49.172Z] ---> Running in c036ec7e084c [2021-11-17T15:13:10.971Z] Removing intermediate container c036ec7e084c [2021-11-17T15:13:10.971Z] ---> 17006398ada2 [2021-11-17T15:13:10.971Z] Step 11/11 : RUN $MAKE [2021-11-17T15:13:10.971Z] ---> Running in ae427ff590a2 [2021-11-17T15:13:10.971Z] noop [2021-11-17T15:13:10.971Z] Removing intermediate container ae427ff590a2 [2021-11-17T15:13:10.971Z] ---> 0c4e721a4eec [2021-11-17T15:13:10.971Z] Successfully built 0c4e721a4eec [2021-11-17T15:13:10.971Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:11.316Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:13:11.316Z] . [Pipeline] withDockerContainer [2021-11-17T15:13:11.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-983 does not seem to be running inside a container [2021-11-17T15:13:11.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@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-11-17T15:13:13.129Z] $ docker top e2dc56d3a5ec73f6439f43cdf5df8b89e415d93e04e2d4f7fb62ab85fc2bbcee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:13:14.078Z] + go version [2021-11-17T15:13:14.078Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T15:13:14.101Z] $ docker stop --time=1 e2dc56d3a5ec73f6439f43cdf5df8b89e415d93e04e2d4f7fb62ab85fc2bbcee [2021-11-17T15:13:15.816Z] $ docker rm -f e2dc56d3a5ec73f6439f43cdf5df8b89e415d93e04e2d4f7fb62ab85fc2bbcee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:16.566Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:13:16.566Z] . [Pipeline] withDockerContainer [2021-11-17T15:13:16.822Z] prd-ubuntu18.04-docker-arm64-4c-16g-983 does not seem to be running inside a container [2021-11-17T15:13:16.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@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-11-17T15:13:18.429Z] $ docker top aa6e833790114d763df5a211af6bf19343e11cef5f1ef1330066859d1710cd9d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:13:19.418Z] + make test [2021-11-17T15:13:19.418Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-17T15:13:20.858Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-17T15:14:17.435Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-17T15:14:17.435Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements [2021-11-17T15:14:17.435Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:14:44.242Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:14:44.242Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:14:44.242Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:14:45.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:14:45.253Z] $ docker stop --time=1 aa6e833790114d763df5a211af6bf19343e11cef5f1ef1330066859d1710cd9d [2021-11-17T15:14:47.059Z] $ docker rm -f aa6e833790114d763df5a211af6bf19343e11cef5f1ef1330066859d1710cd9d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:14:47.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:14:47.964Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T15:14:48.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:14:49.149Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:14:49.492Z] + ls -al . [2021-11-17T15:14:49.492Z] total 176 [2021-11-17T15:14:49.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 15:14 . [2021-11-17T15:14:49.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 15:10 .. [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 17 15:10 .dockerignore [2021-11-17T15:14:49.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 15:10 .git [2021-11-17T15:14:49.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:10 .github [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 15:10 .gitignore [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 17 15:10 Attribution.txt [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 17 15:10 CHANGELOG.md [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 17 15:10 Dockerfile [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 15:10 GOVERNANCE.md [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 17 15:10 Jenkinsfile [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 15:10 LICENSE [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 17 15:10 Makefile [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 15:10 OWNERS.md [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 8246 Nov 17 15:10 README.md [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 15:06 VERSION [2021-11-17T15:14:49.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:10 bin [2021-11-17T15:14:49.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:10 cmd [2021-11-17T15:14:49.492Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 17 15:14 coverage.out [2021-11-17T15:14:49.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:10 driver [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 17 15:10 go.mod [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 17 15:10 go.sum [2021-11-17T15:14:49.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:10 snap [2021-11-17T15:14:49.492Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 17 15:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:14:49.852Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 --label arch=arm64 --label version=0.0.0 . [2021-11-17T15:14:49.852Z] Sending build context to Docker daemon 131.6kB [2021-11-17T15:14:50.129Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:14:50.129Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-17T15:14:50.129Z] ---> 0c4e721a4eec [2021-11-17T15:14:50.129Z] Step 3/24 : ARG MAKE='make build' [2021-11-17T15:14:50.405Z] ---> Running in a83f5b2eaf94 [2021-11-17T15:14:50.681Z] Removing intermediate container a83f5b2eaf94 [2021-11-17T15:14:50.681Z] ---> 3d0b2ace5ae2 [2021-11-17T15:14:50.681Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:14:50.956Z] ---> Running in 67a215f2698d [2021-11-17T15:14:51.231Z] Removing intermediate container 67a215f2698d [2021-11-17T15:14:51.231Z] ---> 648dff683dc0 [2021-11-17T15:14:51.231Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:14:51.509Z] ---> Running in 881bb10d83a2 [2021-11-17T15:14:51.784Z] Removing intermediate container 881bb10d83a2 [2021-11-17T15:14:51.784Z] ---> 794924a26557 [2021-11-17T15:14:51.784Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:14:52.068Z] ---> Running in 9524d2497af3 [2021-11-17T15:14:54.057Z] Removing intermediate container 9524d2497af3 [2021-11-17T15:14:54.057Z] ---> e38c45ccb407 [2021-11-17T15:14:54.057Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:14:54.057Z] ---> Running in 4a92c7e3216b [2021-11-17T15:14:55.044Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:14:56.051Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:14:57.047Z] OK: 223 MiB in 56 packages [2021-11-17T15:14:57.649Z] Removing intermediate container 4a92c7e3216b [2021-11-17T15:14:57.649Z] ---> 12baf88f642f [2021-11-17T15:14:57.649Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-17T15:14:57.925Z] ---> Running in 8bdc64529eb8 [2021-11-17T15:14:58.201Z] Removing intermediate container 8bdc64529eb8 [2021-11-17T15:14:58.201Z] ---> d91b0832b007 [2021-11-17T15:14:58.201Z] Step 9/24 : COPY . . [2021-11-17T15:14:59.247Z] ---> 21cfe3e9cc38 [2021-11-17T15:14:59.247Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:14:59.247Z] ---> Running in 2c87102b020b [2021-11-17T15:15:01.970Z] Removing intermediate container 2c87102b020b [2021-11-17T15:15:01.970Z] ---> b460de3b1889 [2021-11-17T15:15:01.970Z] Step 11/24 : RUN $MAKE [2021-11-17T15:15:01.970Z] ---> Running in 7e03163973c8 [2021-11-17T15:15:02.959Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-17T15:15:42.042Z] Removing intermediate container 7e03163973c8 [2021-11-17T15:15:42.042Z] ---> b6ed971f91ef [2021-11-17T15:15:42.042Z] Step 12/24 : FROM alpine:3.14 [2021-11-17T15:15:42.638Z] 3.14: Pulling from library/alpine [2021-11-17T15:15:42.910Z] be307f383ecc: Pulling fs layer [2021-11-17T15:15:43.189Z] be307f383ecc: Verifying Checksum [2021-11-17T15:15:43.189Z] be307f383ecc: Download complete [2021-11-17T15:15:43.802Z] be307f383ecc: Pull complete [2021-11-17T15:15:43.802Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:15:43.802Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:15:43.802Z] ---> 5b8b7b635229 [2021-11-17T15:15:43.802Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-17T15:15:44.076Z] ---> Running in 7f33a9cd85ae [2021-11-17T15:15:44.360Z] Removing intermediate container 7f33a9cd85ae [2021-11-17T15:15:44.360Z] ---> 3cce0bdcc5ba [2021-11-17T15:15:44.360Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-17T15:15:44.639Z] ---> Running in bd61c39e1c9b [2021-11-17T15:15:44.917Z] Removing intermediate container bd61c39e1c9b [2021-11-17T15:15:44.917Z] ---> 76175048bc11 [2021-11-17T15:15:44.917Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:15:45.195Z] ---> Running in 6b953087de2e [2021-11-17T15:15:46.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:15:46.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:15:47.438Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:15:47.438Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:15:47.438Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:15:47.438Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:15:47.438Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:15:47.438Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:15:47.438Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:15:47.438Z] OK: 8 MiB in 20 packages [2021-11-17T15:15:48.426Z] Removing intermediate container 6b953087de2e [2021-11-17T15:15:48.426Z] ---> 37ad45e1102f [2021-11-17T15:15:48.426Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-17T15:15:49.861Z] ---> b2bc369a11fa [2021-11-17T15:15:49.861Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-17T15:15:50.464Z] ---> dd7735e6b7bd [2021-11-17T15:15:50.464Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-17T15:15:51.067Z] ---> 43d403ca39ad [2021-11-17T15:15:51.067Z] Step 19/24 : EXPOSE 59986 [2021-11-17T15:15:51.340Z] ---> Running in cc147f8c7e7e [2021-11-17T15:15:51.613Z] Removing intermediate container cc147f8c7e7e [2021-11-17T15:15:51.613Z] ---> 3b4d46c45590 [2021-11-17T15:15:51.613Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-17T15:15:51.887Z] ---> Running in a6a33fc874ea [2021-11-17T15:15:52.160Z] Removing intermediate container a6a33fc874ea [2021-11-17T15:15:52.160Z] ---> 8a7252364a1d [2021-11-17T15:15:52.160Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-17T15:15:52.435Z] ---> Running in 01d65a8d0dbd [2021-11-17T15:15:52.709Z] Removing intermediate container 01d65a8d0dbd [2021-11-17T15:15:52.710Z] ---> 55ed8de86029 [2021-11-17T15:15:52.710Z] Step 22/24 : LABEL arch=arm64 [2021-11-17T15:15:52.710Z] ---> Running in 3898994dd0a8 [2021-11-17T15:15:53.307Z] Removing intermediate container 3898994dd0a8 [2021-11-17T15:15:53.307Z] ---> 6b0741a45816 [2021-11-17T15:15:53.307Z] Step 23/24 : LABEL git_sha=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:15:53.307Z] ---> Running in 8946ec7f6577 [2021-11-17T15:15:53.902Z] Removing intermediate container 8946ec7f6577 [2021-11-17T15:15:53.902Z] ---> fba68a69263c [2021-11-17T15:15:53.902Z] Step 24/24 : LABEL version=0.0.0 [2021-11-17T15:15:53.902Z] ---> Running in 17e22fbe5f7d [2021-11-17T15:15:54.499Z] Removing intermediate container 17e22fbe5f7d [2021-11-17T15:15:54.499Z] ---> 63599073b562 [2021-11-17T15:15:54.499Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:15:54.499Z] Successfully built 63599073b562 [2021-11-17T15:15:54.499Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:15:54.699Z] provisioning config files... [2021-11-17T15:15:54.720Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/20@tmp/config1939514592421671142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:15:55.076Z] ---> docker-login.sh [2021-11-17T15:15:55.076Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:15:55.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:15:55.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:15:55.623Z] Configure a credential helper to remove this warning. See [2021-11-17T15:15:55.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:15:55.623Z] [2021-11-17T15:15:55.623Z] Login Succeeded [2021-11-17T15:15:55.623Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:15:55.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:15:56.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:15:56.173Z] Configure a credential helper to remove this warning. See [2021-11-17T15:15:56.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:15:56.173Z] [2021-11-17T15:15:56.173Z] Login Succeeded [2021-11-17T15:15:56.173Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:15:56.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:15:56.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:15:56.769Z] Configure a credential helper to remove this warning. See [2021-11-17T15:15:56.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:15:56.769Z] [2021-11-17T15:15:56.769Z] Login Succeeded [2021-11-17T15:15:56.769Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:15:57.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:15:57.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:15:57.366Z] Configure a credential helper to remove this warning. See [2021-11-17T15:15:57.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:15:57.366Z] [2021-11-17T15:15:57.366Z] Login Succeeded [2021-11-17T15:15:57.366Z] docker.io [2021-11-17T15:15:57.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:15:58.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:15:58.558Z] Configure a credential helper to remove this warning. See [2021-11-17T15:15:58.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:15:58.558Z] [2021-11-17T15:15:58.558Z] Login Succeeded [2021-11-17T15:15:58.558Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:15:58.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:15:58.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:15:58.621Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-11-17T15:15:58.621Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:15:58.621Z] latest [2021-11-17T15:15:58.621Z] 0.0.0 [2021-11-17T15:15:58.621Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:15:58.621Z] main [2021-11-17T15:15:58.621Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:15:58.966Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:15:59.314Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:15:59.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-17T15:15:59.314Z] e7a60ff701b1: Preparing [2021-11-17T15:15:59.314Z] aced65ec3497: Preparing [2021-11-17T15:15:59.314Z] d68e94168ef7: Preparing [2021-11-17T15:15:59.314Z] f1dbf23e961d: Preparing [2021-11-17T15:15:59.314Z] 62170e181a92: Preparing [2021-11-17T15:15:59.587Z] 62170e181a92: Layer already exists [2021-11-17T15:15:59.587Z] aced65ec3497: Pushed [2021-11-17T15:15:59.587Z] e7a60ff701b1: Pushed [2021-11-17T15:16:00.182Z] f1dbf23e961d: Pushed [2021-11-17T15:16:02.796Z] d68e94168ef7: Pushed [2021-11-17T15:16:02.796Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7: digest: sha256:ee2a19397fee2d2142668081abe7498eff0898a8dbb9571382ff670e84f5afc8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:03.138Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:03.478Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-17T15:16:03.478Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-17T15:16:03.478Z] e7a60ff701b1: Preparing [2021-11-17T15:16:03.478Z] aced65ec3497: Preparing [2021-11-17T15:16:03.478Z] d68e94168ef7: Preparing [2021-11-17T15:16:03.478Z] f1dbf23e961d: Preparing [2021-11-17T15:16:03.478Z] 62170e181a92: Preparing [2021-11-17T15:16:03.478Z] e7a60ff701b1: Layer already exists [2021-11-17T15:16:03.478Z] f1dbf23e961d: Layer already exists [2021-11-17T15:16:03.478Z] 62170e181a92: Layer already exists [2021-11-17T15:16:03.478Z] aced65ec3497: Layer already exists [2021-11-17T15:16:03.478Z] d68e94168ef7: Layer already exists [2021-11-17T15:16:03.750Z] latest: digest: sha256:ee2a19397fee2d2142668081abe7498eff0898a8dbb9571382ff670e84f5afc8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:04.094Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:04.431Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0.0.0 [2021-11-17T15:16:04.431Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-17T15:16:04.431Z] e7a60ff701b1: Preparing [2021-11-17T15:16:04.431Z] aced65ec3497: Preparing [2021-11-17T15:16:04.431Z] d68e94168ef7: Preparing [2021-11-17T15:16:04.431Z] f1dbf23e961d: Preparing [2021-11-17T15:16:04.431Z] 62170e181a92: Preparing [2021-11-17T15:16:04.431Z] e7a60ff701b1: Layer already exists [2021-11-17T15:16:04.431Z] aced65ec3497: Layer already exists [2021-11-17T15:16:04.431Z] d68e94168ef7: Layer already exists [2021-11-17T15:16:04.431Z] 62170e181a92: Layer already exists [2021-11-17T15:16:04.431Z] f1dbf23e961d: Layer already exists [2021-11-17T15:16:04.703Z] 0.0.0: digest: sha256:ee2a19397fee2d2142668081abe7498eff0898a8dbb9571382ff670e84f5afc8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:05.048Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:05.391Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:16:05.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-17T15:16:05.391Z] e7a60ff701b1: Preparing [2021-11-17T15:16:05.391Z] aced65ec3497: Preparing [2021-11-17T15:16:05.391Z] d68e94168ef7: Preparing [2021-11-17T15:16:05.391Z] f1dbf23e961d: Preparing [2021-11-17T15:16:05.391Z] 62170e181a92: Preparing [2021-11-17T15:16:05.662Z] f1dbf23e961d: Layer already exists [2021-11-17T15:16:05.662Z] aced65ec3497: Layer already exists [2021-11-17T15:16:05.662Z] 62170e181a92: Layer already exists [2021-11-17T15:16:05.662Z] e7a60ff701b1: Layer already exists [2021-11-17T15:16:05.662Z] d68e94168ef7: Layer already exists [2021-11-17T15:16:05.662Z] 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0: digest: sha256:ee2a19397fee2d2142668081abe7498eff0898a8dbb9571382ff670e84f5afc8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:06.005Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:06.341Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-11-17T15:16:06.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-17T15:16:06.341Z] e7a60ff701b1: Preparing [2021-11-17T15:16:06.341Z] aced65ec3497: Preparing [2021-11-17T15:16:06.341Z] d68e94168ef7: Preparing [2021-11-17T15:16:06.341Z] f1dbf23e961d: Preparing [2021-11-17T15:16:06.341Z] 62170e181a92: Preparing [2021-11-17T15:16:06.341Z] 62170e181a92: Layer already exists [2021-11-17T15:16:06.341Z] d68e94168ef7: Layer already exists [2021-11-17T15:16:06.341Z] aced65ec3497: Layer already exists [2021-11-17T15:16:06.341Z] f1dbf23e961d: Layer already exists [2021-11-17T15:16:06.341Z] e7a60ff701b1: Layer already exists [2021-11-17T15:16:06.615Z] main: digest: sha256:ee2a19397fee2d2142668081abe7498eff0898a8dbb9571382ff670e84f5afc8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:16:06.680Z] ===================================================== [Pipeline] echo [2021-11-17T15:16:06.686Z] taggedImages: [2021-11-17T15:16:06.686Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [2021-11-17T15:16:06.686Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-17T15:16:06.686Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:0.0.0 [2021-11-17T15:16:06.686Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7-0.0.0 [2021-11-17T15:16:06.686Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:07.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:16:07.373Z] [2021-11-17T15:16:07.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:07.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:16:07.997Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T15:16:07.997Z] 448f6bf000e3: Pulling fs layer [2021-11-17T15:16:07.997Z] f757da607395: Pulling fs layer [2021-11-17T15:16:07.997Z] 05883995daec: Pulling fs layer [2021-11-17T15:16:07.997Z] 8603b9c90790: Pulling fs layer [2021-11-17T15:16:07.997Z] 1560dd03e051: Pulling fs layer [2021-11-17T15:16:07.997Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T15:16:07.997Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T15:16:07.997Z] 1560dd03e051: Waiting [2021-11-17T15:16:07.997Z] 27f5ce0e4adf: Waiting [2021-11-17T15:16:07.997Z] c2d8d7efcc4b: Waiting [2021-11-17T15:16:07.997Z] 8603b9c90790: Waiting [2021-11-17T15:16:07.997Z] f757da607395: Verifying Checksum [2021-11-17T15:16:07.997Z] f757da607395: Download complete [2021-11-17T15:16:07.997Z] 8603b9c90790: Verifying Checksum [2021-11-17T15:16:07.997Z] 8603b9c90790: Download complete [2021-11-17T15:16:08.275Z] 1560dd03e051: Verifying Checksum [2021-11-17T15:16:08.275Z] 1560dd03e051: Download complete [2021-11-17T15:16:08.275Z] 27f5ce0e4adf: Download complete [2021-11-17T15:16:08.275Z] 05883995daec: Verifying Checksum [2021-11-17T15:16:08.275Z] 05883995daec: Download complete [2021-11-17T15:16:08.547Z] 448f6bf000e3: Verifying Checksum [2021-11-17T15:16:08.547Z] 448f6bf000e3: Download complete [2021-11-17T15:16:11.192Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T15:16:11.192Z] c2d8d7efcc4b: Download complete [2021-11-17T15:16:12.174Z] 448f6bf000e3: Pull complete [2021-11-17T15:16:12.768Z] f757da607395: Pull complete [2021-11-17T15:16:14.197Z] 05883995daec: Pull complete [2021-11-17T15:16:14.788Z] 8603b9c90790: Pull complete [2021-11-17T15:16:15.767Z] 1560dd03e051: Pull complete [2021-11-17T15:16:16.040Z] 27f5ce0e4adf: Pull complete [2021-11-17T15:16:31.224Z] c2d8d7efcc4b: Pull complete [2021-11-17T15:16:31.224Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T15:16:31.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:16:31.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T15:16:31.481Z] prd-ubuntu18.04-docker-arm64-4c-16g-983 does not seem to be running inside a container [2021-11-17T15:16:31.556Z] $ 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-rest-go/20 -v /w/workspace/device-rest-go/20:/w/workspace/device-rest-go/20:rw,z -v /w/workspace/device-rest-go/20@tmp:/w/workspace/device-rest-go/20@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-11-17T15:16:34.453Z] $ docker top e2f491a15cf4589a4409fa0516951bf1c0b27847d960467f0897c2a640a3a436 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:16:35.412Z] ---> job-cost.sh [2021-11-17T15:16:35.412Z] lf-activate-venv: SKIPPING [2021-11-17T15:16:35.412Z] INFO: No Stack... [2021-11-17T15:16:35.683Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T15:16:35.952Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:16:36.610Z] + cat /w/workspace/device-rest-go/20/archives/cost.csv [2021-11-17T15:16:36.610Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T15:16:36.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [2021-11-17T15:16:36.677Z] Resource [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] did not exist. Created. [2021-11-17T15:16:36.677Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:16:37.349Z] /w/workspace/device-rest-go/20@tmp/durable-0d9d1206/script.sh: 1: /w/workspace/device-rest-go/20@tmp/durable-0d9d1206/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T15:16:38.006Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T15:16:38.027Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T15:16:38.068Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:16:38.074Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:16:38.078Z] $ docker stop --time=1 e2f491a15cf4589a4409fa0516951bf1c0b27847d960467f0897c2a640a3a436 [2021-11-17T15:16:39.645Z] $ docker rm -f e2f491a15cf4589a4409fa0516951bf1c0b27847d960467f0897c2a640a3a436 [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-11-17T15:16:40.379Z] provisioning config files... [2021-11-17T15:16:40.388Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5220246925042857667tmp [Pipeline] { [Pipeline] sh [2021-11-17T15:16:40.700Z] + set +x [2021-11-17T15:16:40.700Z] + bash -s -- [2021-11-17T15:16:40.700Z] + curl -s https://codecov.io/bash [2021-11-17T15:16:40.700Z] [2021-11-17T15:16:40.700Z] _____ _ [2021-11-17T15:16:40.700Z] / ____| | | [2021-11-17T15:16:40.700Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T15:16:40.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T15:16:40.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T15:16:40.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T15:16:40.700Z] Bash-1.0.6 [2021-11-17T15:16:40.700Z] [2021-11-17T15:16:40.700Z] [2021-11-17T15:16:40.700Z] ==> git version 2.24.4 found [2021-11-17T15:16:40.700Z] ==> 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-11-17T15:16:40.700Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T15:16:40.700Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T15:16:40.700Z] ==> Jenkins CI detected. [2021-11-17T15:16:40.700Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:16:40.700Z] project root: . [2021-11-17T15:16:40.700Z] --> token set from env [2021-11-17T15:16:40.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T15:16:40.700Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T15:16:40.700Z] ==> Python coveragepy not found [2021-11-17T15:16:40.700Z] ==> Searching for coverage reports in: [2021-11-17T15:16:40.700Z] + . [2021-11-17T15:16:40.700Z] -> Found 1 reports [2021-11-17T15:16:40.700Z] ==> Detecting git/mercurial file structure [2021-11-17T15:16:40.700Z] ==> Reading reports [2021-11-17T15:16:40.700Z] + ./coverage.out bytes=9215 [2021-11-17T15:16:40.700Z] ==> Appending adjustments [2021-11-17T15:16:40.700Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T15:16:40.961Z] + Found adjustments [2021-11-17T15:16:40.961Z] ==> Gzipping contents [2021-11-17T15:16:40.961Z] 4.0K /tmp/codecov.m4v7Qt.gz [2021-11-17T15:16:40.961Z] ==> Uploading reports [2021-11-17T15:16:40.961Z] url: https://codecov.io [2021-11-17T15:16:40.961Z] query: branch=main&commit=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:16:40.961Z] -> Pinging Codecov [2021-11-17T15:16:40.961Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:16:41.221Z] -> Uploading to [2021-11-17T15:16:41.221Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/4E5D53B4F1F92C436F7061BF334D961C/77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7/044ee3ce-75e6-42ab-ab27-750679e4a4cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T151641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18beb638acb05b8884dce5ca4a800bddd34112e72f840566f7e3bfb86da6e97a [2021-11-17T15:16:41.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:16:41.221Z] Dload Upload Total Spent Left Speed [2021-11-17T15:16:41.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5475 --:--:-- --:--:-- --:--:-- 5469 100 1805 0 0 100 1805 0 5473 --:--:-- --:--:-- --:--:-- 5469 [2021-11-17T15:16:41.481Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] } [2021-11-17T15:16:41.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-17T15:16:41.681Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-17T15:16:41.692Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:41.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:16:41.980Z] [2021-11-17T15:16:41.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:42.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:16:42.290Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-17T15:16:42.290Z] 188c0c94c7c5: Pulling fs layer [2021-11-17T15:16:42.290Z] 0ef7d3d256c8: Pulling fs layer [2021-11-17T15:16:42.290Z] de9db76c5a1d: Pulling fs layer [2021-11-17T15:16:42.290Z] 0eba1c9be4d2: Pulling fs layer [2021-11-17T15:16:42.290Z] 0d57e429df01: Pulling fs layer [2021-11-17T15:16:42.290Z] 4e4be7b47b0d: Pulling fs layer [2021-11-17T15:16:42.290Z] e1f770b5df2f: Pulling fs layer [2021-11-17T15:16:42.290Z] 85a0685a4137: Pulling fs layer [2021-11-17T15:16:42.290Z] 0eba1c9be4d2: Waiting [2021-11-17T15:16:42.290Z] 0d57e429df01: Waiting [2021-11-17T15:16:42.290Z] 4e4be7b47b0d: Waiting [2021-11-17T15:16:42.290Z] e1f770b5df2f: Waiting [2021-11-17T15:16:42.290Z] 85a0685a4137: Waiting [2021-11-17T15:16:42.290Z] de9db76c5a1d: Verifying Checksum [2021-11-17T15:16:42.290Z] de9db76c5a1d: Download complete [2021-11-17T15:16:42.290Z] 0ef7d3d256c8: Verifying Checksum [2021-11-17T15:16:42.290Z] 0ef7d3d256c8: Download complete [2021-11-17T15:16:42.290Z] 0d57e429df01: Verifying Checksum [2021-11-17T15:16:42.290Z] 0d57e429df01: Download complete [2021-11-17T15:16:42.290Z] 188c0c94c7c5: Verifying Checksum [2021-11-17T15:16:42.290Z] 188c0c94c7c5: Download complete [2021-11-17T15:16:42.290Z] 4e4be7b47b0d: Verifying Checksum [2021-11-17T15:16:42.290Z] 4e4be7b47b0d: Download complete [2021-11-17T15:16:42.559Z] e1f770b5df2f: Verifying Checksum [2021-11-17T15:16:42.559Z] e1f770b5df2f: Download complete [2021-11-17T15:16:42.559Z] 188c0c94c7c5: Pull complete [2021-11-17T15:16:43.137Z] 0eba1c9be4d2: Verifying Checksum [2021-11-17T15:16:43.137Z] 0eba1c9be4d2: Download complete [2021-11-17T15:16:43.137Z] 0ef7d3d256c8: Pull complete [2021-11-17T15:16:43.137Z] de9db76c5a1d: Pull complete [2021-11-17T15:16:43.137Z] 85a0685a4137: Verifying Checksum [2021-11-17T15:16:43.137Z] 85a0685a4137: Download complete [2021-11-17T15:16:47.406Z] 0eba1c9be4d2: Pull complete [2021-11-17T15:16:47.406Z] 0d57e429df01: Pull complete [2021-11-17T15:16:47.406Z] 4e4be7b47b0d: Pull complete [2021-11-17T15:16:47.979Z] e1f770b5df2f: Pull complete [2021-11-17T15:16:52.211Z] 85a0685a4137: Pull complete [2021-11-17T15:16:52.212Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-17T15:16:52.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:16:52.212Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-17T15:16:52.274Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:16:52.316Z] $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-17T15:16:54.526Z] $ docker top f93edb4ac1d38c3e43a89d6585a8ed2d39ea32c6746f9b6f5dcd60f2a9e646ba -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-17T15:16:54.600Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-17T15:16:54.887Z] + set -o pipefail [2021-11-17T15:16:54.887Z] + snyk monitor '--org=edgex-jenkins' [2021-11-17T15:17:00.182Z] [2021-11-17T15:17:00.182Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-11-17T15:17:00.182Z] [2021-11-17T15:17:00.182Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/b76bf122-54a3-4674-8d1f-05edfdaf0be9 [2021-11-17T15:17:00.182Z] [2021-11-17T15:17:00.182Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-17T15:17:00.182Z] [2021-11-17T15:17:00.182Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-17T15:17:00.182Z] [2021-11-17T15:17:00.182Z] [Pipeline] } [2021-11-17T15:17:00.193Z] $ docker stop --time=1 f93edb4ac1d38c3e43a89d6585a8ed2d39ea32c6746f9b6f5dcd60f2a9e646ba [2021-11-17T15:17:02.269Z] $ docker rm -f f93edb4ac1d38c3e43a89d6585a8ed2d39ea32c6746f9b6f5dcd60f2a9e646ba [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-11-17T15:17:03.198Z] + git log --format=format:%s -1 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:03.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:17:03.502Z] . [Pipeline] withDockerContainer [2021-11-17T15:17:03.575Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:17:03.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:17:03.979Z] $ docker top c5dafc5ee6995c158eebfd2ec26c308c0f69b0f30f511636f021bf60581d7130 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:17:04.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:17:04.072Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:17:04.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:17:04.174Z] $ docker exec c5dafc5ee6995c158eebfd2ec26c308c0f69b0f30f511636f021bf60581d7130 ssh-agent [2021-11-17T15:17:04.278Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmNnjOI/agent.14 [2021-11-17T15:17:04.278Z] SSH_AGENT_PID=21 [2021-11-17T15:17:04.284Z] Running ssh-add (command line suppressed) [2021-11-17T15:17:04.387Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7162545474798066036.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7162545474798066036.key) [2021-11-17T15:17:04.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:17:04.689Z] + git semver tag [2021-11-17T15:17:04.689Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:17:04.689Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-17T15:17:04.689Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:17:04.689Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:17:04.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:17:04.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:17:04.689Z] # $SEMVER_BRANCH = main [2021-11-17T15:17:04.689Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-17T15:17:04.689Z] # 77c54d90ea9ffa20807a89ffbcf7c43d1538b8a7 HEAD [2021-11-17T15:17:04.689Z] # -> Force: false [2021-11-17T15:17:04.689Z] # bc5ee7145bb6559b54532a12b3b99c59d2088fd4 refs/tags/v0.0.0 [Pipeline] } [2021-11-17T15:17:04.698Z] $ docker exec --env ******** --env ******** c5dafc5ee6995c158eebfd2ec26c308c0f69b0f30f511636f021bf60581d7130 ssh-agent -k [2021-11-17T15:17:04.795Z] unset SSH_AUTH_SOCK; [2021-11-17T15:17:04.795Z] unset SSH_AGENT_PID; [2021-11-17T15:17:04.795Z] echo Agent pid 21 killed; [2021-11-17T15:17:04.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:17:05.112Z] + git semver [Pipeline] } [2021-11-17T15:17:05.125Z] $ docker stop --time=1 c5dafc5ee6995c158eebfd2ec26c308c0f69b0f30f511636f021bf60581d7130 [2021-11-17T15:17:06.298Z] $ docker rm -f c5dafc5ee6995c158eebfd2ec26c308c0f69b0f30f511636f021bf60581d7130 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:06.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:17:06.684Z] [2021-11-17T15:17:06.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:07.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:17:07.001Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-17T15:17:07.001Z] ab5ef0e58194: Pulling fs layer [2021-11-17T15:17:07.001Z] 9712f1f96733: Pulling fs layer [2021-11-17T15:17:07.001Z] 63f879dbbcfc: Pulling fs layer [2021-11-17T15:17:07.001Z] 0d9ebad4ef96: Pulling fs layer [2021-11-17T15:17:07.001Z] e9a5061849ea: Pulling fs layer [2021-11-17T15:17:07.001Z] d747dcd14b5f: Pulling fs layer [2021-11-17T15:17:07.001Z] 2de7ff778b66: Pulling fs layer [2021-11-17T15:17:07.001Z] 0d9ebad4ef96: Waiting [2021-11-17T15:17:07.001Z] e9a5061849ea: Waiting [2021-11-17T15:17:07.001Z] d747dcd14b5f: Waiting [2021-11-17T15:17:07.001Z] 2de7ff778b66: Waiting [2021-11-17T15:17:07.001Z] 9712f1f96733: Verifying Checksum [2021-11-17T15:17:07.001Z] 9712f1f96733: Download complete [2021-11-17T15:17:07.279Z] 63f879dbbcfc: Verifying Checksum [2021-11-17T15:17:07.279Z] 63f879dbbcfc: Download complete [2021-11-17T15:17:07.557Z] 0d9ebad4ef96: Verifying Checksum [2021-11-17T15:17:07.557Z] 0d9ebad4ef96: Download complete [2021-11-17T15:17:07.557Z] d747dcd14b5f: Verifying Checksum [2021-11-17T15:17:07.557Z] d747dcd14b5f: Download complete [2021-11-17T15:17:07.557Z] e9a5061849ea: Verifying Checksum [2021-11-17T15:17:07.557Z] e9a5061849ea: Download complete [2021-11-17T15:17:07.557Z] ab5ef0e58194: Verifying Checksum [2021-11-17T15:17:07.557Z] ab5ef0e58194: Download complete [2021-11-17T15:17:07.557Z] 2de7ff778b66: Verifying Checksum [2021-11-17T15:17:07.557Z] 2de7ff778b66: Download complete [2021-11-17T15:17:10.891Z] ab5ef0e58194: Pull complete [2021-11-17T15:17:10.891Z] 9712f1f96733: Pull complete [2021-11-17T15:17:11.461Z] 63f879dbbcfc: Pull complete [2021-11-17T15:17:15.677Z] 0d9ebad4ef96: Pull complete [2021-11-17T15:17:15.677Z] e9a5061849ea: Pull complete [2021-11-17T15:17:15.938Z] d747dcd14b5f: Pull complete [2021-11-17T15:17:16.888Z] 2de7ff778b66: Pull complete [2021-11-17T15:17:17.150Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-17T15:17:17.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:17:17.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-17T15:17:17.221Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:17:17.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-17T15:17:21.009Z] $ docker top 94f77d0ebd7e63886f2aec919a8f74dad1c58bcba324d68df5ec18de9d324a31 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:17:21.089Z] provisioning config files... [2021-11-17T15:17:21.096Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1380283571604586145tmp [2021-11-17T15:17:21.111Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7492986795886607921tmp [2021-11-17T15:17:21.122Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4398452977484415417tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:17:21.133Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:21.415Z] ---> sigul-configuration.sh [2021-11-17T15:17:21.415Z] gpg: directory `/root/.gnupg' created [2021-11-17T15:17:21.415Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-17T15:17:21.415Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-17T15:17:21.415Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-17T15:17:21.415Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-17T15:17:21.415Z] gpg: CAST5 encrypted data [2021-11-17T15:17:21.415Z] gpg: encrypted with 1 passphrase [2021-11-17T15:17:21.415Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-17T15:17:21.710Z] + mkdir /home/jenkins [2021-11-17T15:17:21.710Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-17T15:17:22.008Z] + 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-11-17T15:17:22.017Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:22.303Z] ---> sigul-install.sh [2021-11-17T15:17:22.303Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-17T15:17:22.591Z] + git tag --list [2021-11-17T15:17:22.591Z] v0.0.0 [2021-11-17T15:17:22.591Z] v1.0.0 [2021-11-17T15:17:22.591Z] v1.1.0 [2021-11-17T15:17:22.591Z] v1.1.1 [2021-11-17T15:17:22.591Z] v1.1.2 [2021-11-17T15:17:22.591Z] v1.2.0 [2021-11-17T15:17:22.591Z] v1.2.1 [2021-11-17T15:17:22.591Z] v2.0.0 [2021-11-17T15:17:22.591Z] v2.0.1-dev.1 [2021-11-17T15:17:22.591Z] v2.0.1-dev.10 [2021-11-17T15:17:22.591Z] v2.0.1-dev.11 [2021-11-17T15:17:22.591Z] v2.0.1-dev.12 [2021-11-17T15:17:22.591Z] v2.0.1-dev.13 [2021-11-17T15:17:22.591Z] v2.0.1-dev.14 [2021-11-17T15:17:22.591Z] v2.0.1-dev.2 [2021-11-17T15:17:22.591Z] v2.0.1-dev.3 [2021-11-17T15:17:22.591Z] v2.0.1-dev.4 [2021-11-17T15:17:22.591Z] v2.0.1-dev.5 [2021-11-17T15:17:22.591Z] v2.0.1-dev.6 [2021-11-17T15:17:22.591Z] v2.0.1-dev.7 [2021-11-17T15:17:22.591Z] v2.0.1-dev.8 [2021-11-17T15:17:22.591Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-17T15:17:22.881Z] + lftools sign git-tag v0.0.0 [2021-11-17T15:17:23.453Z] Signing Git tag with Sigul... [2021-11-17T15:17:23.453Z] Signing v0.0.0 [Pipeline] echo [2021-11-17T15:17:24.403Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:24.720Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-17T15:17:24.727Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-17T15:17:24.742Z] $ docker stop --time=1 94f77d0ebd7e63886f2aec919a8f74dad1c58bcba324d68df5ec18de9d324a31 [2021-11-17T15:17:25.937Z] $ docker rm -f 94f77d0ebd7e63886f2aec919a8f74dad1c58bcba324d68df5ec18de9d324a31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:26.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:17:26.466Z] . [Pipeline] withDockerContainer [2021-11-17T15:17:26.526Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:17:26.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:17:26.904Z] $ docker top 5d4e6adfd18dc717a0da48a050d7778bbb57620e8021899b513bcbfdde07deb7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:17:26.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:17:26.990Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:17:27.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:17:27.090Z] $ docker exec 5d4e6adfd18dc717a0da48a050d7778bbb57620e8021899b513bcbfdde07deb7 ssh-agent [2021-11-17T15:17:27.184Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmkjAOJ/agent.14 [2021-11-17T15:17:27.184Z] SSH_AGENT_PID=20 [2021-11-17T15:17:27.189Z] Running ssh-add (command line suppressed) [2021-11-17T15:17:27.275Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7519411990969954893.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7519411990969954893.key) [2021-11-17T15:17:27.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:17:27.576Z] + git semver bump pre [2021-11-17T15:17:27.576Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:17:27.576Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-17T15:17:27.576Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:17:27.576Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:17:27.576Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:17:27.576Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:17:27.576Z] # $SEMVER_BRANCH = main [2021-11-17T15:17:27.576Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-17T15:17:27.576Z] 0.0.1-dev.1 [Pipeline] } [2021-11-17T15:17:27.585Z] $ docker exec --env ******** --env ******** 5d4e6adfd18dc717a0da48a050d7778bbb57620e8021899b513bcbfdde07deb7 ssh-agent -k [2021-11-17T15:17:27.666Z] unset SSH_AUTH_SOCK; [2021-11-17T15:17:27.666Z] unset SSH_AGENT_PID; [2021-11-17T15:17:27.666Z] echo Agent pid 20 killed; [2021-11-17T15:17:27.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:17:28.001Z] + git semver [Pipeline] } [2021-11-17T15:17:28.013Z] $ docker stop --time=1 5d4e6adfd18dc717a0da48a050d7778bbb57620e8021899b513bcbfdde07deb7 [2021-11-17T15:17:29.242Z] $ docker rm -f 5d4e6adfd18dc717a0da48a050d7778bbb57620e8021899b513bcbfdde07deb7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:29.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:17:29.756Z] . [Pipeline] withDockerContainer [2021-11-17T15:17:29.812Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:17:29.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:17:30.157Z] $ docker top 052b07319d3937f1edee20d5302d0042bbab2e9434c0c64270f29076353f45ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:17:30.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:17:30.239Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:17:30.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:17:30.333Z] $ docker exec 052b07319d3937f1edee20d5302d0042bbab2e9434c0c64270f29076353f45ec ssh-agent [2021-11-17T15:17:30.434Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgkjDgc/agent.13 [2021-11-17T15:17:30.434Z] SSH_AGENT_PID=19 [2021-11-17T15:17:30.439Z] Running ssh-add (command line suppressed) [2021-11-17T15:17:30.524Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6281957449049431448.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6281957449049431448.key) [2021-11-17T15:17:30.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:17:30.827Z] + git semver push [2021-11-17T15:17:30.827Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:17:30.827Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-17T15:17:30.827Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:17:30.827Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:17:30.827Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:17:30.827Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:17:30.827Z] # $SEMVER_BRANCH = main [2021-11-17T15:17:30.827Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-17T15:17:30.827Z] git-semver-push: ssh: handshake failed: knownhosts: key mismatch [Pipeline] } [2021-11-17T15:17:30.837Z] $ docker exec --env ******** --env ******** 052b07319d3937f1edee20d5302d0042bbab2e9434c0c64270f29076353f45ec ssh-agent -k [2021-11-17T15:17:30.921Z] unset SSH_AUTH_SOCK; [2021-11-17T15:17:30.921Z] unset SSH_AGENT_PID; [2021-11-17T15:17:30.921Z] echo Agent pid 19 killed; [2021-11-17T15:17:30.930Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-17T15:17:30.957Z] $ docker stop --time=1 052b07319d3937f1edee20d5302d0042bbab2e9434c0c64270f29076353f45ec [2021-11-17T15:17:32.151Z] $ docker rm -f 052b07319d3937f1edee20d5302d0042bbab2e9434c0c64270f29076353f45ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-17T15:17:33.031Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:33.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:33.885Z] ---> package-listing.sh [2021-11-17T15:17:33.885Z] ++ facter osfamily [2021-11-17T15:17:33.885Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T15:17:34.148Z] + OS_FAMILY=redhat [2021-11-17T15:17:34.148Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-11-17T15:17:34.148Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T15:17:34.148Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T15:17:34.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T15:17:34.148Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T15:17:34.148Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-17T15:17:34.148Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T15:17:34.148Z] + case "${OS_FAMILY}" in [2021-11-17T15:17:34.148Z] + rpm -qa [2021-11-17T15:17:34.148Z] + sort [2021-11-17T15:17:34.717Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T15:17:34.717Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T15:17:34.718Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T15:17:34.718Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-17T15:17:34.718Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-11-17T15:17:34.718Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-11-17T15:17:34.729Z] 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-17T15:17:35.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:35.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:17:35.566Z] [2021-11-17T15:17:35.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:35.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:17:35.862Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:17:35.862Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:17:35.862Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:17:35.862Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:17:35.862Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:17:35.862Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:17:35.862Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:17:35.862Z] d287ab97295c: Pulling fs layer [2021-11-17T15:17:35.862Z] dc539afda2c1: Waiting [2021-11-17T15:17:35.862Z] 77bc0d833cb6: Waiting [2021-11-17T15:17:35.862Z] 9065ff56babe: Waiting [2021-11-17T15:17:35.862Z] d287ab97295c: Waiting [2021-11-17T15:17:35.862Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:17:35.862Z] a1111a8f2ec3: Download complete [2021-11-17T15:17:35.862Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:17:35.862Z] dc539afda2c1: Download complete [2021-11-17T15:17:36.123Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:17:36.123Z] ed53099fbce6: Download complete [2021-11-17T15:17:36.123Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:17:36.123Z] 9065ff56babe: Download complete [2021-11-17T15:17:36.123Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:17:36.123Z] 77bc0d833cb6: Download complete [2021-11-17T15:17:36.123Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:17:36.123Z] b4d181a07f80: Download complete [2021-11-17T15:17:36.701Z] d287ab97295c: Verifying Checksum [2021-11-17T15:17:36.701Z] d287ab97295c: Download complete [2021-11-17T15:17:37.647Z] b4d181a07f80: Pull complete [2021-11-17T15:17:37.647Z] a1111a8f2ec3: Pull complete [2021-11-17T15:17:38.230Z] ed53099fbce6: Pull complete [2021-11-17T15:17:38.230Z] dc539afda2c1: Pull complete [2021-11-17T15:17:38.806Z] 77bc0d833cb6: Pull complete [2021-11-17T15:17:38.806Z] 9065ff56babe: Pull complete [2021-11-17T15:17:44.134Z] d287ab97295c: Pull complete [2021-11-17T15:17:44.134Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:17:44.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:17:44.134Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:17:44.195Z] prd-centos7-docker-4c-2g-980 does not seem to be running inside a container [2021-11-17T15:17:44.228Z] $ 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-rest-go_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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:17:46.674Z] $ docker top a7b2b00993a3944a242d20233de67531dca7dc31052bf01cecf7e3c33b1c8818 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:17:47.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T15:17:47.319Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T15:17:47.610Z] + ls /var/log/sa-host [2021-11-17T15:17:47.610Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T15:17:47.610Z] file_magic: OK [2021-11-17T15:17:47.610Z] HZ: Using current value: 100 [2021-11-17T15:17:47.610Z] file_header: OK [2021-11-17T15:17:47.610Z] 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-11-17T15:17:47.610Z] Statistics: [2021-11-17T15:17:47.610Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:17:47.610Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T15:17:47.610Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T15:17:47.610Z] file_magic: OK [2021-11-17T15:17:47.610Z] HZ: Using current value: 100 [2021-11-17T15:17:47.610Z] file_header: OK [2021-11-17T15:17:47.610Z] 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-11-17T15:17:47.610Z] Statistics: [2021-11-17T15:17:47.610Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:17:47.610Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:17:47.689Z] provisioning config files... [2021-11-17T15:17:47.699Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7423738761731563655tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:17:47.713Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:48.002Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T15:17:48.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:48.337Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T15:17:48.345Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:48.624Z] ---> sudo-logs.sh [2021-11-17T15:17:48.624Z] Archiving 'sudo' log.. [2021-11-17T15:17:48.624Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-980.novalocal: Name or service not known [2021-11-17T15:17:48.624Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-980.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T15:17:48.642Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:48.928Z] ---> job-cost.sh [2021-11-17T15:17:48.928Z] lf-activate-venv: SKIPPING [2021-11-17T15:17:48.928Z] DEBUG: total: 0.10999999940395355 [2021-11-17T15:17:48.928Z] INFO: Retrieving Stack Cost... [2021-11-17T15:17:49.188Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:17:49.447Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T15:17:49.460Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:49.750Z] ---> logs-deploy.sh [2021-11-17T15:17:49.750Z] lf-activate-venv: SKIPPING [2021-11-17T15:17:49.750Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/20 [2021-11-17T15:17:49.750Z] INFO: archiving workspace using pattern(s): [2021-11-17T15:17:50.320Z] Archives upload complete. [2021-11-17T15:17:50.583Z] INFO: archiving logs to Nexus