Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c 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-ssh102395024844837081.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh6457316309788765148.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh1881436605474226657.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh3972066114522412724.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-ssh8711766009954378518.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 ‘prd-centos7-blackbox-4c-2g-13499’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-13748’ is offline ‘prd-centos7-docker-4c-2g-13750’ is offline ‘prd-centos7-docker-4c-2g-13759’ is offline ‘prd-ubuntu18.04-docker-8c-8g-13755’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-13749’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13760 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-ssh7894206094209454696.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 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c (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 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 Commit message: "Merge pull request #141 from lenny-intel/sdk" > git rev-list --no-walk 0dbcdd9e1503573a6358a2219750091d278c1a40 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T21:24:04.229Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T21:24:04.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T21:24:04.282Z] ========================================================= [2021-11-01T21:24:04.282Z] EdgeX Global Pipelines Version Info [2021-11-01T21:24:04.282Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:24:05.448Z] ------------------- [2021-11-01T21:24:05.448Z] stable info: [2021-11-01T21:24:05.448Z] ------------------- [2021-11-01T21:24:05.448Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T21:24:05.448Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:24:05.448Z] Message: update stable to v1.0.211 [2021-11-01T21:24:06.020Z] ------------------- [2021-11-01T21:24:06.020Z] experimental info: [2021-11-01T21:24:06.020Z] ------------------- [2021-11-01T21:24:06.020Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T21:24:06.020Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T21:24:06.020Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T21:24:06.099Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-01T21:24:06.111Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-01T21:24:06.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T21:24:06.132Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T21:24:06.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T21:24:06.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T21:24:06.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T21:24:06.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-01T21:24:06.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T21:24:06.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T21:24:06.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T21:24:06.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-01T21:24:06.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T21:24:06.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T21:24:06.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:24:06.240Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T21:24:06.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:24:06.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T21:24:06.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T21:24:06.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T21:24:06.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-01T21:24:06.294Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-01T21:24:06.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T21:24:06.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T21:24:06.316Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T21:24:06.327Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T21:24:06.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T21:24:06.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T21:24:06.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T21:24:06.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] echo [2021-11-01T21:24:06.387Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ac6fc9 [Pipeline] echo [2021-11-01T21:24:06.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:24:06.436Z] provisioning config files... [2021-11-01T21:24:06.451Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1353354684326308072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:24:06.768Z] ---> docker-login.sh [2021-11-01T21:24:06.768Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:24:06.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:24:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:24:07.030Z] Configure a credential helper to remove this warning. See [2021-11-01T21:24:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:24:07.030Z] [2021-11-01T21:24:07.030Z] Login Succeeded [2021-11-01T21:24:07.030Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:24:07.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:24:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:24:07.030Z] Configure a credential helper to remove this warning. See [2021-11-01T21:24:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:24:07.030Z] [2021-11-01T21:24:07.030Z] Login Succeeded [2021-11-01T21:24:07.030Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:24:07.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:24:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:24:07.030Z] Configure a credential helper to remove this warning. See [2021-11-01T21:24:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:24:07.030Z] [2021-11-01T21:24:07.030Z] Login Succeeded [2021-11-01T21:24:07.030Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:24:07.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:24:07.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:24:07.290Z] Configure a credential helper to remove this warning. See [2021-11-01T21:24:07.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:24:07.290Z] [2021-11-01T21:24:07.290Z] Login Succeeded [2021-11-01T21:24:07.290Z] docker.io [2021-11-01T21:24:07.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:24:07.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:24:07.550Z] Configure a credential helper to remove this warning. See [2021-11-01T21:24:07.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:24:07.550Z] [2021-11-01T21:24:07.550Z] Login Succeeded [2021-11-01T21:24:07.550Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:24:07.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T21:24:07.982Z] + git rev-list -1 --merges 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c~1..4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] echo [2021-11-01T21:24:08.016Z] -----------> git rev-list -1 --merges 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c~1..4ac6fc9b5edf904ed0b684cea51ffa3833345a1c 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:24:08.016Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [false] [Pipeline] sh [2021-11-01T21:24:08.311Z] + git log --format=format:%s -1 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] echo [2021-11-01T21:24:08.325Z] ========================================================= [2021-11-01T21:24:08.325Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T21:24:08.325Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:24:08.651Z] + git log --format=format:%s -1 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] echo [2021-11-01T21:24:08.664Z] [semverPrep] GIT_COMMIT: 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c, Commit Message: Merge pull request #141 from lenny-intel/sdk [Pipeline] echo [2021-11-01T21:24:08.673Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:24:09.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:24:09.144Z] [2021-11-01T21:24:09.144Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:24:09.454Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:24:09.454Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T21:24:09.454Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:24:09.454Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T21:24:09.454Z] 4c7163046ea9: Pulling fs layer [2021-11-01T21:24:09.454Z] 0c2d73faf560: Pulling fs layer [2021-11-01T21:24:09.454Z] 0c2d73faf560: Waiting [2021-11-01T21:24:09.454Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T21:24:09.454Z] 3e5f54012d9b: Download complete [2021-11-01T21:24:09.454Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:24:09.454Z] a0d0a0d46f8b: Download complete [2021-11-01T21:24:09.454Z] 0c2d73faf560: Verifying Checksum [2021-11-01T21:24:09.454Z] 0c2d73faf560: Download complete [2021-11-01T21:24:09.454Z] 4c7163046ea9: Verifying Checksum [2021-11-01T21:24:09.454Z] 4c7163046ea9: Download complete [2021-11-01T21:24:09.723Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:24:09.723Z] 3e5f54012d9b: Pull complete [2021-11-01T21:24:09.985Z] 4c7163046ea9: Pull complete [2021-11-01T21:24:10.255Z] 0c2d73faf560: Pull complete [2021-11-01T21:24:10.255Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T21:24:10.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:24:10.255Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T21:24:10.329Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:24:10.289Z] $ 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-01T21:24:10.877Z] $ docker top a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:24:11.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:24:11.009Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:24:11.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:24:11.091Z] $ docker exec a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 ssh-agent [2021-11-01T21:24:11.197Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDeclpP/agent.14 [2021-11-01T21:24:11.197Z] SSH_AGENT_PID=20 [2021-11-01T21:24:11.204Z] Running ssh-add (command line suppressed) [2021-11-01T21:24:11.303Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5909314480711070621.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5909314480711070621.key) [2021-11-01T21:24:11.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:24:11.620Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T21:24:11.636Z] $ docker exec --env ******** --env ******** a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 ssh-agent -k [2021-11-01T21:24:11.720Z] unset SSH_AUTH_SOCK; [2021-11-01T21:24:11.720Z] unset SSH_AGENT_PID; [2021-11-01T21:24:11.720Z] echo Agent pid 20 killed; [2021-11-01T21:24:11.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T21:24:11.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:24:11.752Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:24:11.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:24:11.852Z] $ docker exec a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 ssh-agent [2021-11-01T21:24:11.949Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPnFjnD/agent.53 [2021-11-01T21:24:11.949Z] SSH_AGENT_PID=60 [2021-11-01T21:24:11.954Z] Running ssh-add (command line suppressed) [2021-11-01T21:24:12.057Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7192574611878107581.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7192574611878107581.key) [2021-11-01T21:24:12.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:24:12.370Z] + git semver init [2021-11-01T21:24:12.371Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:24:12.371Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T21:24:12.371Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:24:12.371Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:24:12.371Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:24:12.371Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:24:12.371Z] # $SEMVER_BRANCH = main [2021-11-01T21:24:12.371Z] # $SEMVER_TEMP = /tmp/semver-450844926 [2021-11-01T21:24:12.371Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-01T21:24:13.313Z] # '/tmp/semver-450844926' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-11-01T21:24:13.313Z] # -> Force: false [2021-11-01T21:24:13.313Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-01T21:24:13.323Z] $ docker exec --env ******** --env ******** a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 ssh-agent -k [2021-11-01T21:24:13.403Z] unset SSH_AUTH_SOCK; [2021-11-01T21:24:13.403Z] unset SSH_AGENT_PID; [2021-11-01T21:24:13.403Z] echo Agent pid 60 killed; [2021-11-01T21:24:13.413Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:24:13.723Z] + git semver [Pipeline] } [2021-11-01T21:24:13.741Z] $ docker stop --time=1 a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 [2021-11-01T21:24:14.968Z] $ docker rm -f a4177320e13ccc8a8aa8d0ece1f4d84b8c38b88c9febfd6333d47f4ee2832413 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:24:15.309Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T21:24:15.576Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T21:24:15.579Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.12 [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-01T21:24:30.714Z] Still waiting to schedule task [2021-11-01T21:24:30.715Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T21:24:30.717Z] Still waiting to schedule task [2021-11-01T21:24:30.717Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-01T21:27:22.100Z] Running on prd-centos7-docker-4c-2g-13763 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-01T21:27:22.113Z] Running in /w/workspace/device-rest-go/17 [Pipeline] { [Pipeline] checkout [2021-11-01T21:27:22.210Z] The recommended git tool is: git [2021-11-01T21:27:24.215Z] using credential edgex-jenkins-ssh [2021-11-01T21:27:24.225Z] Cloning the remote Git repository [2021-11-01T21:27:23.811Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T21:27:23.869Z] > git init /w/workspace/device-rest-go/17 # timeout=10 [2021-11-01T21:27:23.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T21:27:23.904Z] > git --version # timeout=10 [2021-11-01T21:27:23.912Z] > git --version # 'git version 2.24.4' [2021-11-01T21:27:23.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:27:23.940Z] [INFO] Currently running in a labeled security context [2021-11-01T21:27:23.944Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T21:27:23.944Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/17@tmp/jenkins-gitclient-ssh8045316646709485356.key [2021-11-01T21:27:23.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:27:25.284Z] Avoid second fetch [2021-11-01T21:27:25.285Z] Checking out Revision 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c (main) [2021-11-01T21:27:24.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-01T21:27:24.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:27:24.862Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:27:24.868Z] > git checkout -f 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 [2021-11-01T21:27:28.714Z] Commit message: "Merge pull request #141 from lenny-intel/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:27:29.045Z] provisioning config files... [2021-11-01T21:27:29.060Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/17@tmp/config3559101072560945902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:27:29.467Z] ---> docker-login.sh [2021-11-01T21:27:29.467Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:27:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:27:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:27:29.467Z] Configure a credential helper to remove this warning. See [2021-11-01T21:27:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:27:29.467Z] [2021-11-01T21:27:29.468Z] Login Succeeded [2021-11-01T21:27:29.729Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:27:29.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:27:29.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:27:29.729Z] Configure a credential helper to remove this warning. See [2021-11-01T21:27:29.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:27:29.729Z] [2021-11-01T21:27:29.729Z] Login Succeeded [2021-11-01T21:27:29.729Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:27:29.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:27:29.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:27:29.992Z] Configure a credential helper to remove this warning. See [2021-11-01T21:27:29.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:27:29.992Z] [2021-11-01T21:27:29.992Z] Login Succeeded [2021-11-01T21:27:29.992Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:27:29.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:27:29.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:27:29.992Z] Configure a credential helper to remove this warning. See [2021-11-01T21:27:29.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:27:29.992Z] [2021-11-01T21:27:29.992Z] Login Succeeded [2021-11-01T21:27:29.992Z] docker.io [2021-11-01T21:27:29.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:27:30.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:27:30.566Z] Configure a credential helper to remove this warning. See [2021-11-01T21:27:30.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:27:30.566Z] [2021-11-01T21:27:30.566Z] Login Succeeded [2021-11-01T21:27:30.566Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:27:30.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:27:30.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:27:30.740Z] ========================================================= [2021-11-01T21:27:30.740Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T21:27:30.740Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:27:31.047Z] + 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-01T21:27:31.047Z] Sending build context to Docker daemon 119.3kB [2021-11-01T21:27:31.047Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:27:31.047Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T21:27:31.047Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T21:27:31.047Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T21:27:31.047Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T21:27:31.047Z] b8b176561691: Pulling fs layer [2021-11-01T21:27:31.047Z] 4527c011a84f: Pulling fs layer [2021-11-01T21:27:31.047Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T21:27:31.047Z] e0aca202a116: Pulling fs layer [2021-11-01T21:27:31.047Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T21:27:31.047Z] 34cad66bf833: Pulling fs layer [2021-11-01T21:27:31.047Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T21:27:31.047Z] 4527c011a84f: Waiting [2021-11-01T21:27:31.047Z] 5d74067f8e1e: Waiting [2021-11-01T21:27:31.047Z] e0aca202a116: Waiting [2021-11-01T21:27:31.047Z] 3a43be97a3b4: Waiting [2021-11-01T21:27:31.047Z] 34cad66bf833: Waiting [2021-11-01T21:27:31.047Z] b4e3c513aaa6: Waiting [2021-11-01T21:27:31.047Z] b8b176561691: Verifying Checksum [2021-11-01T21:27:31.047Z] b8b176561691: Download complete [2021-11-01T21:27:31.047Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T21:27:31.047Z] 31adcdaf11c8: Download complete [2021-11-01T21:27:31.047Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T21:27:31.047Z] 5d74067f8e1e: Download complete [2021-11-01T21:27:31.047Z] e0aca202a116: Verifying Checksum [2021-11-01T21:27:31.047Z] e0aca202a116: Download complete [2021-11-01T21:27:31.328Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T21:27:31.328Z] a0d0a0d46f8b: Download complete [2021-11-01T21:27:31.328Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T21:27:31.328Z] 3a43be97a3b4: Download complete [2021-11-01T21:27:31.328Z] 34cad66bf833: Verifying Checksum [2021-11-01T21:27:31.328Z] 34cad66bf833: Download complete [2021-11-01T21:27:31.605Z] a0d0a0d46f8b: Pull complete [2021-11-01T21:27:31.876Z] 31adcdaf11c8: Pull complete [2021-11-01T21:27:31.876Z] 4527c011a84f: Verifying Checksum [2021-11-01T21:27:31.876Z] 4527c011a84f: Download complete [2021-11-01T21:27:31.876Z] b8b176561691: Pull complete [2021-11-01T21:27:32.139Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T21:27:32.139Z] b4e3c513aaa6: Download complete [2021-11-01T21:27:36.423Z] 4527c011a84f: Pull complete [2021-11-01T21:27:36.423Z] 5d74067f8e1e: Pull complete [2021-11-01T21:27:36.423Z] e0aca202a116: Pull complete [2021-11-01T21:27:36.423Z] 3a43be97a3b4: Pull complete [2021-11-01T21:27:36.423Z] 34cad66bf833: Pull complete [2021-11-01T21:27:38.998Z] b4e3c513aaa6: Pull complete [2021-11-01T21:27:38.998Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T21:27:38.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T21:27:38.998Z] ---> 9f6097aaca64 [2021-11-01T21:27:38.998Z] Step 3/11 : ARG MAKE='make build' [2021-11-01T21:27:40.930Z] ---> Running in bd5f7da9eeac [2021-11-01T21:27:40.930Z] Removing intermediate container bd5f7da9eeac [2021-11-01T21:27:40.930Z] ---> d8de32fc2929 [2021-11-01T21:27:40.930Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:27:40.930Z] ---> Running in 608ceee101b0 [2021-11-01T21:27:40.930Z] Removing intermediate container 608ceee101b0 [2021-11-01T21:27:40.930Z] ---> fefc6a9730a5 [2021-11-01T21:27:40.930Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:27:41.200Z] ---> Running in fdc371bd131b [2021-11-01T21:27:41.200Z] Removing intermediate container fdc371bd131b [2021-11-01T21:27:41.200Z] ---> e759103e733f [2021-11-01T21:27:41.200Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:27:41.200Z] ---> Running in d547b6cd2335 [2021-11-01T21:27:41.779Z] Removing intermediate container d547b6cd2335 [2021-11-01T21:27:41.779Z] ---> 6838f0ee8272 [2021-11-01T21:27:41.779Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:27:41.779Z] ---> Running in 6cf2e7453e04 [2021-11-01T21:27:42.043Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:27:42.992Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:27:43.254Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:27:43.254Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T21:27:43.518Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:27:43.518Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:27:43.518Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:27:43.518Z] OK: 224 MiB in 56 packages [2021-11-01T21:27:44.090Z] Removing intermediate container 6cf2e7453e04 [2021-11-01T21:27:44.090Z] ---> 143488bd0144 [2021-11-01T21:27:44.090Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-01T21:27:44.090Z] ---> Running in 07febe8caa14 [2021-11-01T21:27:44.090Z] Removing intermediate container 07febe8caa14 [2021-11-01T21:27:44.090Z] ---> 85045b0ec55b [2021-11-01T21:27:44.090Z] Step 9/11 : COPY . . [2021-11-01T21:27:44.090Z] ---> fb45110b6219 [2021-11-01T21:27:44.090Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:27:44.358Z] ---> Running in a2222ecadd96 [2021-11-01T21:27:51.408Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13762 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-11-01T21:27:51.419Z] Running in /w/workspace/device-rest-go/17 [Pipeline] { [Pipeline] checkout [2021-11-01T21:27:51.638Z] The recommended git tool is: git [2021-11-01T21:27:57.536Z] using credential edgex-jenkins-ssh [2021-11-01T21:27:57.553Z] Cloning the remote Git repository [2021-11-01T21:27:57.621Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T21:27:57.723Z] > git init /w/workspace/device-rest-go/17 # timeout=10 [2021-11-01T21:27:57.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-01T21:27:57.821Z] > git --version # timeout=10 [2021-11-01T21:27:57.847Z] > git --version # 'git version 2.17.1' [2021-11-01T21:27:57.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T21:27:57.948Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:27:59.590Z] Avoid second fetch [2021-11-01T21:27:59.590Z] Checking out Revision 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c (main) [2021-11-01T21:27:59.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-01T21:27:59.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T21:27:59.609Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T21:27:59.634Z] > git checkout -f 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 [2021-11-01T21:28:03.914Z] Commit message: "Merge pull request #141 from lenny-intel/sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:28:04.845Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T21:28:04.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:28:04.845Z] Dload Upload Total Spent Left Speed [2021-11-01T21:28:04.846Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2021-11-01T21:28:05.256Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T21:28:05.609Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2021-11-01T21:28:05.609Z] sudo tee /etc/docker/daemon.new [2021-11-01T21:28:05.609Z] { [2021-11-01T21:28:05.609Z] "registry-mirrors": [ [2021-11-01T21:28:05.609Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T21:28:05.609Z] ], [2021-11-01T21:28:05.609Z] "bip": "10.250.0.254/24", [2021-11-01T21:28:05.609Z] "hosts": [ [2021-11-01T21:28:05.609Z] "tcp://0.0.0.0:5555", [2021-11-01T21:28:05.609Z] "unix:///var/run/docker.sock" [2021-11-01T21:28:05.609Z] ], [2021-11-01T21:28:05.609Z] "mtu": 1458, [2021-11-01T21:28:05.609Z] "selinux-enabled": true, [2021-11-01T21:28:05.609Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T21:28:05.609Z] } [Pipeline] sh [2021-11-01T21:28:05.972Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T21:28:06.323Z] + sudo service docker restart [2021-11-01T21:28:16.574Z] Removing intermediate container a2222ecadd96 [2021-11-01T21:28:16.574Z] ---> bc927d65136b [2021-11-01T21:28:16.574Z] Step 11/11 : RUN $MAKE [2021-11-01T21:28:16.574Z] ---> Running in d5ef07b09283 [2021-11-01T21:28:16.574Z] noop [2021-11-01T21:28:16.574Z] Removing intermediate container d5ef07b09283 [2021-11-01T21:28:16.574Z] ---> 6dde61a1bc74 [2021-11-01T21:28:16.574Z] Successfully built 6dde61a1bc74 [2021-11-01T21:28:16.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:16.891Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:28:16.891Z] . [Pipeline] withDockerContainer [2021-11-01T21:28:16.960Z] prd-centos7-docker-4c-2g-13763 does not seem to be running inside a container [2021-11-01T21:28:17.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-01T21:28:17.358Z] $ docker top afc0edd5e310319dc19428be974107a7cbe128fc3fac99a6dbf3e54fff08fc53 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:28:17.732Z] + go version [2021-11-01T21:28:17.732Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T21:28:17.743Z] $ docker stop --time=1 afc0edd5e310319dc19428be974107a7cbe128fc3fac99a6dbf3e54fff08fc53 [2021-11-01T21:28:18.928Z] $ docker rm -f afc0edd5e310319dc19428be974107a7cbe128fc3fac99a6dbf3e54fff08fc53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:19.426Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T21:28:19.426Z] . [Pipeline] withDockerContainer [2021-11-01T21:28:19.500Z] prd-centos7-docker-4c-2g-13763 does not seem to be running inside a container [2021-11-01T21:28:19.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-01T21:28:19.907Z] $ docker top b766b1c991e6c15ee817a8e578288beb30bc26e9ec39b6f7aa5713d5b7d3d844 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:28:20.282Z] + make test [2021-11-01T21:28:20.282Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-01T21:28:20.870Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:28:24.692Z] provisioning config files... [2021-11-01T21:28:24.741Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/17@tmp/config8133150275745768870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:28:25.120Z] ---> docker-login.sh [2021-11-01T21:28:25.120Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:28:26.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:28:26.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:28:26.381Z] Configure a credential helper to remove this warning. See [2021-11-01T21:28:26.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:28:26.381Z] [2021-11-01T21:28:26.381Z] Login Succeeded [2021-11-01T21:28:26.381Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:28:26.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:28:26.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:28:26.980Z] Configure a credential helper to remove this warning. See [2021-11-01T21:28:26.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:28:26.980Z] [2021-11-01T21:28:26.980Z] Login Succeeded [2021-11-01T21:28:26.980Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:28:27.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:28:27.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:28:27.595Z] Configure a credential helper to remove this warning. See [2021-11-01T21:28:27.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:28:27.595Z] [2021-11-01T21:28:27.595Z] Login Succeeded [2021-11-01T21:28:27.595Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:28:28.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:28:28.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:28:28.473Z] Configure a credential helper to remove this warning. See [2021-11-01T21:28:28.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:28:28.473Z] [2021-11-01T21:28:28.473Z] Login Succeeded [2021-11-01T21:28:28.473Z] docker.io [2021-11-01T21:28:28.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:28:29.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:28:29.398Z] Configure a credential helper to remove this warning. See [2021-11-01T21:28:29.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:28:29.398Z] [2021-11-01T21:28:29.398Z] Login Succeeded [2021-11-01T21:28:29.398Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:28:29.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T21:28:29.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:28:29.827Z] ========================================================= [2021-11-01T21:28:29.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T21:28:29.827Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:30.175Z] + 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-01T21:28:30.176Z] Sending build context to Docker daemon 119.3kB [2021-11-01T21:28:30.809Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:28:30.809Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-01T21:28:30.809Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T21:28:30.809Z] 552d1f2373af: Pulling fs layer [2021-11-01T21:28:30.809Z] ea3f2d53f512: Pulling fs layer [2021-11-01T21:28:30.809Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T21:28:30.809Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T21:28:30.809Z] 72dc09318566: Pulling fs layer [2021-11-01T21:28:30.809Z] f4f7b4309257: Pulling fs layer [2021-11-01T21:28:30.809Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T21:28:30.809Z] b78e95d17946: Pulling fs layer [2021-11-01T21:28:30.809Z] f4f7b4309257: Waiting [2021-11-01T21:28:30.809Z] 0ac9a79272e3: Waiting [2021-11-01T21:28:30.809Z] b78e95d17946: Waiting [2021-11-01T21:28:30.809Z] 7a9cfe048b4a: Waiting [2021-11-01T21:28:30.809Z] 72dc09318566: Waiting [2021-11-01T21:28:30.809Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T21:28:30.809Z] 9e70ebbbe112: Download complete [2021-11-01T21:28:30.809Z] ea3f2d53f512: Verifying Checksum [2021-11-01T21:28:30.809Z] ea3f2d53f512: Download complete [2021-11-01T21:28:30.809Z] 72dc09318566: Verifying Checksum [2021-11-01T21:28:30.809Z] 72dc09318566: Download complete [2021-11-01T21:28:30.809Z] f4f7b4309257: Verifying Checksum [2021-11-01T21:28:30.809Z] f4f7b4309257: Download complete [2021-11-01T21:28:30.809Z] 552d1f2373af: Verifying Checksum [2021-11-01T21:28:30.809Z] 552d1f2373af: Download complete [2021-11-01T21:28:30.809Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T21:28:30.809Z] 0ac9a79272e3: Download complete [2021-11-01T21:28:31.802Z] 552d1f2373af: Pull complete [2021-11-01T21:28:32.406Z] ea3f2d53f512: Pull complete [2021-11-01T21:28:33.008Z] 9e70ebbbe112: Pull complete [2021-11-01T21:28:33.008Z] b78e95d17946: Download complete [2021-11-01T21:28:33.287Z] 7a9cfe048b4a: Download complete [2021-11-01T21:28:35.880Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-01T21:28:36.464Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 53.8% of statements [2021-11-01T21:28:36.464Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:28:43.454Z] 7a9cfe048b4a: Pull complete [2021-11-01T21:28:43.455Z] 72dc09318566: Pull complete [2021-11-01T21:28:43.731Z] f4f7b4309257: Pull complete [2021-11-01T21:28:44.010Z] 0ac9a79272e3: Pull complete [2021-11-01T21:28:44.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:28:44.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:28:44.685Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:28:44.696Z] $ docker stop --time=1 b766b1c991e6c15ee817a8e578288beb30bc26e9ec39b6f7aa5713d5b7d3d844 [2021-11-01T21:28:46.212Z] $ docker rm -f b766b1c991e6c15ee817a8e578288beb30bc26e9ec39b6f7aa5713d5b7d3d844 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:28:46.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:28:46.781Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T21:28:48.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:28:48.299Z] + ls -al . [2021-11-01T21:28:48.300Z] total 144 [2021-11-01T21:28:48.300Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 1 21:28 . [2021-11-01T21:28:48.300Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 21:27 .. [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 1 21:27 Attribution.txt [2021-11-01T21:28:48.300Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 21:27 bin [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 1 21:27 CHANGELOG.md [2021-11-01T21:28:48.300Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 21:27 cmd [2021-11-01T21:28:48.300Z] -rw-r--r--. 1 jenkins jenkins 8435 Nov 1 21:28 coverage.out [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 1 21:27 Dockerfile [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 1 21:27 .dockerignore [2021-11-01T21:28:48.300Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 1 21:27 driver [2021-11-01T21:28:48.300Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 21:27 .git [2021-11-01T21:28:48.300Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 21:27 .github [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 1 21:27 .gitignore [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 285 Nov 1 21:27 go.mod [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 49396 Nov 1 21:27 go.sum [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 21:27 GOVERNANCE.md [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 1 21:27 Jenkinsfile [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 21:27 LICENSE [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 1 21:27 Makefile [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 1 21:27 OWNERS.md [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 1 21:27 README.md [2021-11-01T21:28:48.300Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 21:27 snap [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 1 21:24 VERSION [2021-11-01T21:28:48.300Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 1 21:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:28:48.600Z] + 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=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c --label arch=amd64 --label version=2.0.1-dev.12 . [2021-11-01T21:28:48.601Z] Sending build context to Docker daemon 128.5kB [2021-11-01T21:28:48.601Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:28:48.601Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T21:28:48.601Z] ---> 6dde61a1bc74 [2021-11-01T21:28:48.601Z] Step 3/24 : ARG MAKE='make build' [2021-11-01T21:28:48.601Z] ---> Running in 5e4f33786180 [2021-11-01T21:28:48.601Z] Removing intermediate container 5e4f33786180 [2021-11-01T21:28:48.601Z] ---> d71084aa8fa1 [2021-11-01T21:28:48.601Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:28:48.601Z] ---> Running in 465935ea63e7 [2021-11-01T21:28:48.861Z] Removing intermediate container 465935ea63e7 [2021-11-01T21:28:48.862Z] ---> 615f8854bb55 [2021-11-01T21:28:48.862Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:28:48.862Z] ---> Running in 9ad4ebd6d9ff [2021-11-01T21:28:48.862Z] Removing intermediate container 9ad4ebd6d9ff [2021-11-01T21:28:48.862Z] ---> 6be79be8c863 [2021-11-01T21:28:48.862Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:28:48.862Z] ---> Running in 4b5e3f1a9c82 [2021-11-01T21:28:49.420Z] b78e95d17946: Pull complete [2021-11-01T21:28:49.420Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T21:28:49.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T21:28:49.420Z] ---> 8b459fc5aaf0 [2021-11-01T21:28:49.420Z] Step 3/11 : ARG MAKE='make build' [2021-11-01T21:28:49.431Z] Removing intermediate container 4b5e3f1a9c82 [2021-11-01T21:28:49.431Z] ---> ece32c260f5b [2021-11-01T21:28:49.431Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:28:49.431Z] ---> Running in 61441098fbda [2021-11-01T21:28:49.690Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:28:50.629Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:28:50.888Z] OK: 224 MiB in 56 packages [2021-11-01T21:28:51.148Z] Removing intermediate container 61441098fbda [2021-11-01T21:28:51.148Z] ---> d654d197d756 [2021-11-01T21:28:51.148Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-01T21:28:51.148Z] ---> Running in 161bff57f024 [2021-11-01T21:28:51.148Z] Removing intermediate container 161bff57f024 [2021-11-01T21:28:51.148Z] ---> a61cd616025b [2021-11-01T21:28:51.148Z] Step 9/24 : COPY . . [2021-11-01T21:28:51.420Z] ---> 2ef847194b5d [2021-11-01T21:28:51.420Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:28:51.420Z] ---> Running in 4e7385fa7514 [2021-11-01T21:28:51.996Z] Removing intermediate container 4e7385fa7514 [2021-11-01T21:28:51.996Z] ---> b53957596980 [2021-11-01T21:28:51.996Z] Step 11/24 : RUN $MAKE [2021-11-01T21:28:51.996Z] ---> Running in 53faf211353a [2021-11-01T21:28:52.255Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.12" -o cmd/device-rest ./cmd [2021-11-01T21:28:52.261Z] ---> Running in 42c512e5ffa6 [2021-11-01T21:28:52.535Z] Removing intermediate container 42c512e5ffa6 [2021-11-01T21:28:52.535Z] ---> f2435c2cc476 [2021-11-01T21:28:52.535Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:28:52.814Z] ---> Running in c8ebe5b62ddb [2021-11-01T21:28:53.088Z] Removing intermediate container c8ebe5b62ddb [2021-11-01T21:28:53.088Z] ---> 9bdc5535fddc [2021-11-01T21:28:53.088Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:28:53.364Z] ---> Running in a5c269386d97 [2021-11-01T21:28:53.962Z] Removing intermediate container a5c269386d97 [2021-11-01T21:28:53.962Z] ---> 31e4f3a20ad9 [2021-11-01T21:28:53.962Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:28:53.962Z] ---> Running in 00901bd52e29 [2021-11-01T21:28:56.586Z] Removing intermediate container 00901bd52e29 [2021-11-01T21:28:56.586Z] ---> 4b65b794bcf0 [2021-11-01T21:28:56.586Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:28:56.586Z] ---> Running in 139465bb4199 [2021-11-01T21:28:57.564Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:28:58.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:28:59.523Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-01T21:28:59.523Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-01T21:28:59.523Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-01T21:28:59.803Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-01T21:28:59.803Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:28:59.803Z] OK: 223 MiB in 56 packages [2021-11-01T21:29:01.255Z] Removing intermediate container 139465bb4199 [2021-11-01T21:29:01.255Z] ---> 7392cedb7acb [2021-11-01T21:29:01.255Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-01T21:29:01.255Z] ---> Running in 1c4d9df16aab [2021-11-01T21:29:01.853Z] Removing intermediate container 1c4d9df16aab [2021-11-01T21:29:01.853Z] ---> 28e4721f9dc9 [2021-11-01T21:29:01.853Z] Step 9/11 : COPY . . [2021-11-01T21:29:02.843Z] ---> 7c5796622c5a [2021-11-01T21:29:02.843Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:29:02.843Z] ---> Running in 0153d14af7f6 [2021-11-01T21:29:04.588Z] Removing intermediate container 53faf211353a [2021-11-01T21:29:04.588Z] ---> 1cc63184a7e8 [2021-11-01T21:29:04.588Z] Step 12/24 : FROM alpine:3.14 [2021-11-01T21:29:04.588Z] 3.14: Pulling from library/alpine [2021-11-01T21:29:04.588Z] a0d0a0d46f8b: Already exists [2021-11-01T21:29:04.588Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:29:04.588Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:29:04.588Z] ---> 14119a10abf4 [2021-11-01T21:29:04.588Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-01T21:29:04.588Z] ---> Running in dcc2dd75bdc2 [2021-11-01T21:29:04.588Z] Removing intermediate container dcc2dd75bdc2 [2021-11-01T21:29:04.588Z] ---> d74bc1cc0754 [2021-11-01T21:29:04.588Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-01T21:29:04.588Z] ---> Running in 2e785486edda [2021-11-01T21:29:04.588Z] Removing intermediate container 2e785486edda [2021-11-01T21:29:04.588Z] ---> c2dbe388f805 [2021-11-01T21:29:04.588Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:29:04.588Z] ---> Running in 3a7fdf8f07ae [2021-11-01T21:29:04.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T21:29:05.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T21:29:05.387Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:29:05.387Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:29:05.387Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:29:05.387Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:29:05.387Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:29:05.387Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:29:05.387Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:29:05.387Z] OK: 8 MiB in 20 packages [2021-11-01T21:29:05.648Z] Removing intermediate container 3a7fdf8f07ae [2021-11-01T21:29:05.648Z] ---> 2f261c303734 [2021-11-01T21:29:05.648Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-01T21:29:06.221Z] ---> ccb7e3a623ea [2021-11-01T21:29:06.221Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-01T21:29:06.221Z] ---> 29555f0a583f [2021-11-01T21:29:06.221Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-01T21:29:06.486Z] ---> 8382a5c219f7 [2021-11-01T21:29:06.486Z] Step 19/24 : EXPOSE 59986 [2021-11-01T21:29:06.486Z] ---> Running in 9cf325e888d9 [2021-11-01T21:29:06.751Z] Removing intermediate container 9cf325e888d9 [2021-11-01T21:29:06.751Z] ---> df66733444c0 [2021-11-01T21:29:06.751Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-01T21:29:06.751Z] ---> Running in e83ca11a43d4 [2021-11-01T21:29:06.751Z] Removing intermediate container e83ca11a43d4 [2021-11-01T21:29:06.751Z] ---> 8609c8f24d4c [2021-11-01T21:29:06.751Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-01T21:29:06.751Z] ---> Running in 4b83001528ba [2021-11-01T21:29:06.751Z] Removing intermediate container 4b83001528ba [2021-11-01T21:29:06.751Z] ---> df6ebdf5d48b [2021-11-01T21:29:06.751Z] Step 22/24 : LABEL arch=amd64 [2021-11-01T21:29:06.751Z] ---> Running in 99d9331771df [2021-11-01T21:29:07.015Z] Removing intermediate container 99d9331771df [2021-11-01T21:29:07.015Z] ---> 9430e15dabc9 [2021-11-01T21:29:07.015Z] Step 23/24 : LABEL git_sha=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:29:07.015Z] ---> Running in d115c867d466 [2021-11-01T21:29:07.015Z] Removing intermediate container d115c867d466 [2021-11-01T21:29:07.015Z] ---> 73c2fd0926fa [2021-11-01T21:29:07.015Z] Step 24/24 : LABEL version=2.0.1-dev.12 [2021-11-01T21:29:07.015Z] ---> Running in de197a624bea [2021-11-01T21:29:07.277Z] Removing intermediate container de197a624bea [2021-11-01T21:29:07.277Z] ---> 0de7d67c0bf9 [2021-11-01T21:29:07.277Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:29:07.277Z] Successfully built 0de7d67c0bf9 [2021-11-01T21:29:07.277Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:29:07.494Z] provisioning config files... [2021-11-01T21:29:07.515Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/17@tmp/config2657336574012033859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:29:07.872Z] ---> docker-login.sh [2021-11-01T21:29:07.872Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:29:07.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:29:07.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:29:07.872Z] Configure a credential helper to remove this warning. See [2021-11-01T21:29:07.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:29:07.873Z] [2021-11-01T21:29:07.873Z] Login Succeeded [2021-11-01T21:29:07.873Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:29:07.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:29:08.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:29:08.142Z] Configure a credential helper to remove this warning. See [2021-11-01T21:29:08.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:29:08.142Z] [2021-11-01T21:29:08.142Z] Login Succeeded [2021-11-01T21:29:08.142Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:29:08.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:29:08.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:29:08.142Z] Configure a credential helper to remove this warning. See [2021-11-01T21:29:08.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:29:08.142Z] [2021-11-01T21:29:08.142Z] Login Succeeded [2021-11-01T21:29:08.142Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:29:08.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:29:08.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:29:08.418Z] Configure a credential helper to remove this warning. See [2021-11-01T21:29:08.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:29:08.418Z] [2021-11-01T21:29:08.418Z] Login Succeeded [2021-11-01T21:29:08.418Z] docker.io [2021-11-01T21:29:08.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:29:08.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:29:08.706Z] Configure a credential helper to remove this warning. See [2021-11-01T21:29:08.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:29:08.706Z] [2021-11-01T21:29:08.706Z] Login Succeeded [2021-11-01T21:29:08.706Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:29:08.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:29:08.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:29:08.768Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-11-01T21:29:08.768Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:29:08.768Z] latest [2021-11-01T21:29:08.768Z] 2.0.1-dev.12 [2021-11-01T21:29:08.768Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:29:08.768Z] main [2021-11-01T21:29:08.768Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:09.096Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:09.415Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:29:09.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T21:29:09.415Z] 328c4b77c26e: Preparing [2021-11-01T21:29:09.415Z] 8b29d89159df: Preparing [2021-11-01T21:29:09.415Z] 9af39d6d58b5: Preparing [2021-11-01T21:29:09.415Z] 3534bb641c42: Preparing [2021-11-01T21:29:09.415Z] e2eb06d8af82: Preparing [2021-11-01T21:29:09.415Z] e2eb06d8af82: Layer already exists [2021-11-01T21:29:09.680Z] 8b29d89159df: Pushed [2021-11-01T21:29:09.680Z] 328c4b77c26e: Pushed [2021-11-01T21:29:09.680Z] 3534bb641c42: Pushed [2021-11-01T21:29:11.072Z] 9af39d6d58b5: Pushed [2021-11-01T21:29:11.072Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c: digest: sha256:ec9b68643223d387cecfcd5df62e1477b8659e98e37f07e2dd275da67f09e780 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:11.375Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:11.674Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-01T21:29:11.674Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T21:29:11.675Z] 328c4b77c26e: Preparing [2021-11-01T21:29:11.675Z] 8b29d89159df: Preparing [2021-11-01T21:29:11.675Z] 9af39d6d58b5: Preparing [2021-11-01T21:29:11.675Z] 3534bb641c42: Preparing [2021-11-01T21:29:11.675Z] e2eb06d8af82: Preparing [2021-11-01T21:29:11.675Z] e2eb06d8af82: Layer already exists [2021-11-01T21:29:11.675Z] 8b29d89159df: Layer already exists [2021-11-01T21:29:11.675Z] 9af39d6d58b5: Layer already exists [2021-11-01T21:29:11.675Z] 3534bb641c42: Layer already exists [2021-11-01T21:29:11.675Z] 328c4b77c26e: Layer already exists [2021-11-01T21:29:11.675Z] latest: digest: sha256:ec9b68643223d387cecfcd5df62e1477b8659e98e37f07e2dd275da67f09e780 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:11.975Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:12.266Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.12 [2021-11-01T21:29:12.266Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T21:29:12.266Z] 328c4b77c26e: Preparing [2021-11-01T21:29:12.266Z] 8b29d89159df: Preparing [2021-11-01T21:29:12.266Z] 9af39d6d58b5: Preparing [2021-11-01T21:29:12.266Z] 3534bb641c42: Preparing [2021-11-01T21:29:12.266Z] e2eb06d8af82: Preparing [2021-11-01T21:29:12.266Z] 9af39d6d58b5: Layer already exists [2021-11-01T21:29:12.266Z] 8b29d89159df: Layer already exists [2021-11-01T21:29:12.266Z] 3534bb641c42: Layer already exists [2021-11-01T21:29:12.266Z] e2eb06d8af82: Layer already exists [2021-11-01T21:29:12.266Z] 328c4b77c26e: Layer already exists [2021-11-01T21:29:12.266Z] 2.0.1-dev.12: digest: sha256:ec9b68643223d387cecfcd5df62e1477b8659e98e37f07e2dd275da67f09e780 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:12.561Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:12.856Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:29:12.856Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T21:29:12.856Z] 328c4b77c26e: Preparing [2021-11-01T21:29:12.856Z] 8b29d89159df: Preparing [2021-11-01T21:29:12.856Z] 9af39d6d58b5: Preparing [2021-11-01T21:29:12.856Z] 3534bb641c42: Preparing [2021-11-01T21:29:12.856Z] e2eb06d8af82: Preparing [2021-11-01T21:29:12.856Z] e2eb06d8af82: Layer already exists [2021-11-01T21:29:12.856Z] 9af39d6d58b5: Layer already exists [2021-11-01T21:29:12.856Z] 328c4b77c26e: Layer already exists [2021-11-01T21:29:12.856Z] 3534bb641c42: Layer already exists [2021-11-01T21:29:12.856Z] 8b29d89159df: Layer already exists [2021-11-01T21:29:12.856Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12: digest: sha256:ec9b68643223d387cecfcd5df62e1477b8659e98e37f07e2dd275da67f09e780 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:13.160Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:13.459Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-11-01T21:29:13.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-11-01T21:29:13.459Z] 328c4b77c26e: Preparing [2021-11-01T21:29:13.459Z] 8b29d89159df: Preparing [2021-11-01T21:29:13.459Z] 9af39d6d58b5: Preparing [2021-11-01T21:29:13.459Z] 3534bb641c42: Preparing [2021-11-01T21:29:13.459Z] e2eb06d8af82: Preparing [2021-11-01T21:29:13.459Z] 8b29d89159df: Layer already exists [2021-11-01T21:29:13.459Z] e2eb06d8af82: Layer already exists [2021-11-01T21:29:13.459Z] 328c4b77c26e: Layer already exists [2021-11-01T21:29:13.459Z] 9af39d6d58b5: Layer already exists [2021-11-01T21:29:13.459Z] 3534bb641c42: Layer already exists [2021-11-01T21:29:13.459Z] main: digest: sha256:ec9b68643223d387cecfcd5df62e1477b8659e98e37f07e2dd275da67f09e780 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:29:13.491Z] ===================================================== [Pipeline] echo [2021-11-01T21:29:13.497Z] taggedImages: [2021-11-01T21:29:13.497Z] - nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:29:13.497Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-11-01T21:29:13.497Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.12 [2021-11-01T21:29:13.497Z] - nexus3.edgexfoundry.org:10004/device-rest:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:29:13.497Z] - 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-01T21:29:13.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:29:13.990Z] [2021-11-01T21:29:13.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:29:14.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:29:14.293Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:29:14.293Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:29:14.293Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:29:14.293Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:29:14.293Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:29:14.293Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:29:14.293Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:29:14.293Z] d287ab97295c: Pulling fs layer [2021-11-01T21:29:14.293Z] dc539afda2c1: Waiting [2021-11-01T21:29:14.293Z] 77bc0d833cb6: Waiting [2021-11-01T21:29:14.293Z] 9065ff56babe: Waiting [2021-11-01T21:29:14.293Z] d287ab97295c: Waiting [2021-11-01T21:29:14.293Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:29:14.293Z] a1111a8f2ec3: Download complete [2021-11-01T21:29:14.293Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:29:14.293Z] dc539afda2c1: Download complete [2021-11-01T21:29:14.558Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:29:14.558Z] ed53099fbce6: Download complete [2021-11-01T21:29:14.558Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:29:14.558Z] 77bc0d833cb6: Download complete [2021-11-01T21:29:14.558Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:29:14.558Z] 9065ff56babe: Download complete [2021-11-01T21:29:14.558Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:29:14.558Z] b4d181a07f80: Download complete [2021-11-01T21:29:15.134Z] d287ab97295c: Verifying Checksum [2021-11-01T21:29:15.134Z] d287ab97295c: Download complete [2021-11-01T21:29:16.087Z] b4d181a07f80: Pull complete [2021-11-01T21:29:16.087Z] a1111a8f2ec3: Pull complete [2021-11-01T21:29:16.662Z] ed53099fbce6: Pull complete [2021-11-01T21:29:16.662Z] dc539afda2c1: Pull complete [2021-11-01T21:29:16.924Z] 77bc0d833cb6: Pull complete [2021-11-01T21:29:16.924Z] 9065ff56babe: Pull complete [2021-11-01T21:29:22.295Z] d287ab97295c: Pull complete [2021-11-01T21:29:22.295Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:29:22.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:29:22.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:29:22.367Z] prd-centos7-docker-4c-2g-13763 does not seem to be running inside a container [2021-11-01T21:29:22.401Z] $ 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/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@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-01T21:29:24.990Z] $ docker top acbb05c7114f94dc0ba3e0de02b6577bc64952baadb9258b5f9e73c58dc6e99c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:29:25.367Z] ---> job-cost.sh [2021-11-01T21:29:25.367Z] lf-activate-venv: SKIPPING [2021-11-01T21:29:25.367Z] INFO: No Stack... [2021-11-01T21:29:25.629Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:29:26.201Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:29:26.495Z] + cat /w/workspace/device-rest-go/17/archives/cost.csv [2021-11-01T21:29:26.495Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:29:26.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [2021-11-01T21:29:26.530Z] Resource [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] did not exist. Created. [2021-11-01T21:29:26.530Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:29:26.838Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T21:29:26.868Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:29:26.874Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:29:26.888Z] $ docker stop --time=1 acbb05c7114f94dc0ba3e0de02b6577bc64952baadb9258b5f9e73c58dc6e99c [2021-11-01T21:29:28.034Z] $ docker rm -f acbb05c7114f94dc0ba3e0de02b6577bc64952baadb9258b5f9e73c58dc6e99c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T21:30:24.649Z] Removing intermediate container 0153d14af7f6 [2021-11-01T21:30:24.649Z] ---> 81d171209517 [2021-11-01T21:30:24.649Z] Step 11/11 : RUN $MAKE [2021-11-01T21:30:24.649Z] ---> Running in 5e655d7abd1c [2021-11-01T21:30:24.649Z] noop [2021-11-01T21:30:24.649Z] Removing intermediate container 5e655d7abd1c [2021-11-01T21:30:24.649Z] ---> 7bb62e0e5636 [2021-11-01T21:30:24.649Z] Successfully built 7bb62e0e5636 [2021-11-01T21:30:24.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:30:24.993Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:30:24.993Z] . [Pipeline] withDockerContainer [2021-11-01T21:30:25.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-13762 does not seem to be running inside a container [2021-11-01T21:30:25.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-01T21:30:26.966Z] $ docker top 1ea1f199c0d8ddcea141abbc7cecb6987d7bb4a576115e9c4a347e4ca0d97546 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:30:27.964Z] + go version [2021-11-01T21:30:27.964Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T21:30:27.980Z] $ docker stop --time=1 1ea1f199c0d8ddcea141abbc7cecb6987d7bb4a576115e9c4a347e4ca0d97546 [2021-11-01T21:30:29.798Z] $ docker rm -f 1ea1f199c0d8ddcea141abbc7cecb6987d7bb4a576115e9c4a347e4ca0d97546 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:30:30.715Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T21:30:30.715Z] . [Pipeline] withDockerContainer [2021-11-01T21:30:30.985Z] prd-ubuntu18.04-docker-arm64-4c-16g-13762 does not seem to be running inside a container [2021-11-01T21:30:31.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-01T21:30:32.679Z] $ docker top e1f20f5971bb4ea2a9314a0a79a09223035c1e602e96f39be71c3b655417634e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T21:30:33.669Z] + make test [2021-11-01T21:30:33.669Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-01T21:30:35.109Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-01T21:31:31.714Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-01T21:31:31.714Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 53.8% of statements [2021-11-01T21:31:31.714Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-01T21:31:58.535Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T21:31:58.535Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T21:31:58.535Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T21:31:59.521Z] $ docker stop --time=1 e1f20f5971bb4ea2a9314a0a79a09223035c1e602e96f39be71c3b655417634e [2021-11-01T21:32:01.373Z] $ docker rm -f e1f20f5971bb4ea2a9314a0a79a09223035c1e602e96f39be71c3b655417634e [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T21:32:02.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T21:32:02.304Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T21:32:02.812Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T21:32:03.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T21:32:03.582Z] + ls -al . [2021-11-01T21:32:03.582Z] total 172 [2021-11-01T21:32:03.582Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:31 . [2021-11-01T21:32:03.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:27 .. [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 21:27 .dockerignore [2021-11-01T21:32:03.582Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 21:28 .git [2021-11-01T21:32:03.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:27 .github [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 1 21:27 .gitignore [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 1 21:27 Attribution.txt [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 1 21:27 CHANGELOG.md [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 1 21:27 Dockerfile [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 21:27 GOVERNANCE.md [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 21:27 Jenkinsfile [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 21:27 LICENSE [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 1 21:27 Makefile [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 21:27 OWNERS.md [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 1 21:27 README.md [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 21:24 VERSION [2021-11-01T21:32:03.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:27 bin [2021-11-01T21:32:03.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 21:27 cmd [2021-11-01T21:32:03.582Z] -rw-r--r-- 1 jenkins jenkins 8435 Nov 1 21:31 coverage.out [2021-11-01T21:32:03.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 21:27 driver [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 285 Nov 1 21:27 go.mod [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 49396 Nov 1 21:27 go.sum [2021-11-01T21:32:03.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 21:27 snap [2021-11-01T21:32:03.582Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 21:27 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:32:03.945Z] + 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=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c --label arch=arm64 --label version=2.0.1-dev.12 . [2021-11-01T21:32:03.945Z] Sending build context to Docker daemon 128.5kB [2021-11-01T21:32:04.219Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T21:32:04.219Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T21:32:04.219Z] ---> 7bb62e0e5636 [2021-11-01T21:32:04.219Z] Step 3/24 : ARG MAKE='make build' [2021-11-01T21:32:04.491Z] ---> Running in b7f6dc6d7939 [2021-11-01T21:32:05.087Z] Removing intermediate container b7f6dc6d7939 [2021-11-01T21:32:05.087Z] ---> 60d3481f9b3b [2021-11-01T21:32:05.087Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-01T21:32:05.087Z] ---> Running in 8b790d90dd05 [2021-11-01T21:32:05.682Z] Removing intermediate container 8b790d90dd05 [2021-11-01T21:32:05.682Z] ---> 93281dda0489 [2021-11-01T21:32:05.682Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-01T21:32:05.682Z] ---> Running in 63c7062ff668 [2021-11-01T21:32:06.278Z] Removing intermediate container 63c7062ff668 [2021-11-01T21:32:06.278Z] ---> 7396c05c12ba [2021-11-01T21:32:06.278Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:32:06.278Z] ---> Running in 46fd9afbd350 [2021-11-01T21:32:08.264Z] Removing intermediate container 46fd9afbd350 [2021-11-01T21:32:08.264Z] ---> 4781d23a34bd [2021-11-01T21:32:08.264Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-01T21:32:08.539Z] ---> Running in 10b8523f1e6f [2021-11-01T21:32:09.523Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:32:10.496Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:32:11.474Z] OK: 223 MiB in 56 packages [2021-11-01T21:32:12.448Z] Removing intermediate container 10b8523f1e6f [2021-11-01T21:32:12.448Z] ---> 6b7d73e660d4 [2021-11-01T21:32:12.448Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-01T21:32:12.448Z] ---> Running in 3b54041e3d7f [2021-11-01T21:32:13.040Z] Removing intermediate container 3b54041e3d7f [2021-11-01T21:32:13.040Z] ---> 73bb6cb0e95f [2021-11-01T21:32:13.040Z] Step 9/24 : COPY . . [2021-11-01T21:32:14.019Z] ---> 6b6141e1985d [2021-11-01T21:32:14.019Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T21:32:14.019Z] ---> Running in 13a122f67a90 [2021-11-01T21:32:16.651Z] Removing intermediate container 13a122f67a90 [2021-11-01T21:32:16.651Z] ---> 3eeb3fe54716 [2021-11-01T21:32:16.651Z] Step 11/24 : RUN $MAKE [2021-11-01T21:32:16.651Z] ---> Running in a963daa33638 [2021-11-01T21:32:17.712Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.12" -o cmd/device-rest ./cmd [2021-11-01T21:32:56.851Z] Removing intermediate container a963daa33638 [2021-11-01T21:32:56.851Z] ---> 38cd2bb2d4fb [2021-11-01T21:32:56.851Z] Step 12/24 : FROM alpine:3.14 [2021-11-01T21:32:56.851Z] 3.14: Pulling from library/alpine [2021-11-01T21:32:56.851Z] 552d1f2373af: Already exists [2021-11-01T21:32:56.851Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:32:56.851Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:32:56.851Z] ---> bb3de5531c18 [2021-11-01T21:32:56.851Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-01T21:32:56.851Z] ---> Running in 6de47bc0c2fc [2021-11-01T21:32:56.851Z] Removing intermediate container 6de47bc0c2fc [2021-11-01T21:32:56.851Z] ---> bb84ddbde68a [2021-11-01T21:32:56.851Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-01T21:32:56.851Z] ---> Running in c2aa50e7185c [2021-11-01T21:32:56.851Z] Removing intermediate container c2aa50e7185c [2021-11-01T21:32:56.851Z] ---> d3994a02f105 [2021-11-01T21:32:56.851Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-01T21:32:56.851Z] ---> Running in ed74187a4e35 [2021-11-01T21:32:56.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:32:57.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:32:57.718Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-01T21:32:57.718Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:32:57.718Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-01T21:32:57.718Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:32:57.718Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-01T21:32:57.997Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-01T21:32:57.997Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:32:57.997Z] OK: 8 MiB in 20 packages [2021-11-01T21:32:58.978Z] Removing intermediate container ed74187a4e35 [2021-11-01T21:32:58.978Z] ---> 35019b412725 [2021-11-01T21:32:58.978Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-01T21:33:00.410Z] ---> b182b644963b [2021-11-01T21:33:00.410Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-01T21:33:01.009Z] ---> a88399654358 [2021-11-01T21:33:01.009Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-01T21:33:01.986Z] ---> 67e8b0a82279 [2021-11-01T21:33:01.986Z] Step 19/24 : EXPOSE 59986 [2021-11-01T21:33:01.986Z] ---> Running in 906e898a712b [2021-11-01T21:33:02.257Z] Removing intermediate container 906e898a712b [2021-11-01T21:33:02.257Z] ---> 94e3eb1c0436 [2021-11-01T21:33:02.258Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-01T21:33:02.530Z] ---> Running in c4629ab6ad49 [2021-11-01T21:33:02.803Z] Removing intermediate container c4629ab6ad49 [2021-11-01T21:33:02.803Z] ---> 80ff3b3d4170 [2021-11-01T21:33:02.803Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-01T21:33:03.076Z] ---> Running in e6e3f9207ea5 [2021-11-01T21:33:03.347Z] Removing intermediate container e6e3f9207ea5 [2021-11-01T21:33:03.347Z] ---> 700ea510a9c9 [2021-11-01T21:33:03.347Z] Step 22/24 : LABEL arch=arm64 [2021-11-01T21:33:03.619Z] ---> Running in 90f7245e3565 [2021-11-01T21:33:03.892Z] Removing intermediate container 90f7245e3565 [2021-11-01T21:33:03.892Z] ---> d7b3432411cb [2021-11-01T21:33:03.892Z] Step 23/24 : LABEL git_sha=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:33:04.166Z] ---> Running in 2dd9d7467473 [2021-11-01T21:33:04.439Z] Removing intermediate container 2dd9d7467473 [2021-11-01T21:33:04.439Z] ---> bf5d759d5c46 [2021-11-01T21:33:04.439Z] Step 24/24 : LABEL version=2.0.1-dev.12 [2021-11-01T21:33:04.710Z] ---> Running in fe0a1db2c2eb [2021-11-01T21:33:04.981Z] Removing intermediate container fe0a1db2c2eb [2021-11-01T21:33:04.981Z] ---> e5032a2a9b1f [2021-11-01T21:33:04.981Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:33:04.981Z] Successfully built e5032a2a9b1f [2021-11-01T21:33:04.981Z] 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-01T21:33:05.412Z] provisioning config files... [2021-11-01T21:33:05.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/17@tmp/config7035995544892024961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:33:05.778Z] ---> docker-login.sh [2021-11-01T21:33:05.778Z] nexus3.edgexfoundry.org:10001 [2021-11-01T21:33:06.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:06.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:06.325Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:06.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:06.325Z] [2021-11-01T21:33:06.325Z] Login Succeeded [2021-11-01T21:33:06.325Z] nexus3.edgexfoundry.org:10002 [2021-11-01T21:33:06.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:06.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:06.871Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:06.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:06.871Z] [2021-11-01T21:33:06.871Z] Login Succeeded [2021-11-01T21:33:06.871Z] nexus3.edgexfoundry.org:10003 [2021-11-01T21:33:07.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:07.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:07.414Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:07.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:07.414Z] [2021-11-01T21:33:07.414Z] Login Succeeded [2021-11-01T21:33:07.414Z] nexus3.edgexfoundry.org:10004 [2021-11-01T21:33:08.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:08.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:08.006Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:08.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:08.006Z] [2021-11-01T21:33:08.006Z] Login Succeeded [2021-11-01T21:33:08.006Z] docker.io [2021-11-01T21:33:08.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T21:33:08.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T21:33:08.869Z] Configure a credential helper to remove this warning. See [2021-11-01T21:33:08.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T21:33:08.869Z] [2021-11-01T21:33:08.869Z] Login Succeeded [2021-11-01T21:33:08.869Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T21:33:08.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:33:08.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T21:33:08.935Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-11-01T21:33:08.935Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:33:08.935Z] latest [2021-11-01T21:33:08.935Z] 2.0.1-dev.12 [2021-11-01T21:33:08.935Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:33:08.935Z] main [2021-11-01T21:33:08.935Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:09.286Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:09.630Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:33:09.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T21:33:09.630Z] e47c4a31fed5: Preparing [2021-11-01T21:33:09.630Z] 32820642fe67: Preparing [2021-11-01T21:33:09.630Z] 5b0a0b76035b: Preparing [2021-11-01T21:33:09.630Z] c6d266a581f3: Preparing [2021-11-01T21:33:09.630Z] ee420dfed78a: Preparing [2021-11-01T21:33:09.902Z] ee420dfed78a: Layer already exists [2021-11-01T21:33:09.902Z] 32820642fe67: Pushed [2021-11-01T21:33:09.902Z] e47c4a31fed5: Pushed [2021-11-01T21:33:10.494Z] c6d266a581f3: Pushed [2021-11-01T21:33:12.462Z] 5b0a0b76035b: Pushed [2021-11-01T21:33:12.732Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c: digest: sha256:ac633bdd465acc20ac12bf9604f5a00ca52246dd48853207350cfdcbc067d95d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:13.077Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:13.422Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-01T21:33:13.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T21:33:13.423Z] e47c4a31fed5: Preparing [2021-11-01T21:33:13.423Z] 32820642fe67: Preparing [2021-11-01T21:33:13.423Z] 5b0a0b76035b: Preparing [2021-11-01T21:33:13.423Z] c6d266a581f3: Preparing [2021-11-01T21:33:13.423Z] ee420dfed78a: Preparing [2021-11-01T21:33:13.694Z] e47c4a31fed5: Layer already exists [2021-11-01T21:33:13.694Z] c6d266a581f3: Layer already exists [2021-11-01T21:33:13.694Z] 5b0a0b76035b: Layer already exists [2021-11-01T21:33:13.694Z] 32820642fe67: Layer already exists [2021-11-01T21:33:13.694Z] ee420dfed78a: Layer already exists [2021-11-01T21:33:13.694Z] latest: digest: sha256:ac633bdd465acc20ac12bf9604f5a00ca52246dd48853207350cfdcbc067d95d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:14.030Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:14.366Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.12 [2021-11-01T21:33:14.366Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T21:33:14.366Z] e47c4a31fed5: Preparing [2021-11-01T21:33:14.366Z] 32820642fe67: Preparing [2021-11-01T21:33:14.366Z] 5b0a0b76035b: Preparing [2021-11-01T21:33:14.366Z] c6d266a581f3: Preparing [2021-11-01T21:33:14.366Z] ee420dfed78a: Preparing [2021-11-01T21:33:14.645Z] 32820642fe67: Layer already exists [2021-11-01T21:33:14.645Z] e47c4a31fed5: Layer already exists [2021-11-01T21:33:14.645Z] ee420dfed78a: Layer already exists [2021-11-01T21:33:14.645Z] 5b0a0b76035b: Layer already exists [2021-11-01T21:33:14.645Z] c6d266a581f3: Layer already exists [2021-11-01T21:33:14.645Z] 2.0.1-dev.12: digest: sha256:ac633bdd465acc20ac12bf9604f5a00ca52246dd48853207350cfdcbc067d95d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:14.988Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:15.329Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:33:15.329Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T21:33:15.329Z] e47c4a31fed5: Preparing [2021-11-01T21:33:15.329Z] 32820642fe67: Preparing [2021-11-01T21:33:15.329Z] 5b0a0b76035b: Preparing [2021-11-01T21:33:15.329Z] c6d266a581f3: Preparing [2021-11-01T21:33:15.329Z] ee420dfed78a: Preparing [2021-11-01T21:33:15.602Z] e47c4a31fed5: Layer already exists [2021-11-01T21:33:15.602Z] ee420dfed78a: Layer already exists [2021-11-01T21:33:15.602Z] 32820642fe67: Layer already exists [2021-11-01T21:33:15.602Z] 5b0a0b76035b: Layer already exists [2021-11-01T21:33:15.602Z] c6d266a581f3: Layer already exists [2021-11-01T21:33:15.602Z] 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12: digest: sha256:ac633bdd465acc20ac12bf9604f5a00ca52246dd48853207350cfdcbc067d95d size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:15.945Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:16.284Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-11-01T21:33:16.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-11-01T21:33:16.284Z] e47c4a31fed5: Preparing [2021-11-01T21:33:16.284Z] 32820642fe67: Preparing [2021-11-01T21:33:16.284Z] 5b0a0b76035b: Preparing [2021-11-01T21:33:16.284Z] c6d266a581f3: Preparing [2021-11-01T21:33:16.284Z] ee420dfed78a: Preparing [2021-11-01T21:33:16.558Z] 5b0a0b76035b: Layer already exists [2021-11-01T21:33:16.558Z] c6d266a581f3: Layer already exists [2021-11-01T21:33:16.558Z] ee420dfed78a: Layer already exists [2021-11-01T21:33:16.558Z] 32820642fe67: Layer already exists [2021-11-01T21:33:16.558Z] e47c4a31fed5: Layer already exists [2021-11-01T21:33:16.558Z] main: digest: sha256:ac633bdd465acc20ac12bf9604f5a00ca52246dd48853207350cfdcbc067d95d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-01T21:33:16.601Z] ===================================================== [Pipeline] echo [2021-11-01T21:33:16.608Z] taggedImages: [2021-11-01T21:33:16.608Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [2021-11-01T21:33:16.608Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-11-01T21:33:16.608Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.12 [2021-11-01T21:33:16.608Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4ac6fc9b5edf904ed0b684cea51ffa3833345a1c-2.0.1-dev.12 [2021-11-01T21:33:16.608Z] - 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-01T21:33:17.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:33:17.344Z] [2021-11-01T21:33:17.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:17.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:33:17.968Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T21:33:17.968Z] 448f6bf000e3: Pulling fs layer [2021-11-01T21:33:17.968Z] f757da607395: Pulling fs layer [2021-11-01T21:33:17.968Z] 05883995daec: Pulling fs layer [2021-11-01T21:33:17.968Z] 8603b9c90790: Pulling fs layer [2021-11-01T21:33:17.968Z] 1560dd03e051: Pulling fs layer [2021-11-01T21:33:17.968Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T21:33:17.968Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T21:33:17.968Z] 8603b9c90790: Waiting [2021-11-01T21:33:17.968Z] 1560dd03e051: Waiting [2021-11-01T21:33:17.968Z] 27f5ce0e4adf: Waiting [2021-11-01T21:33:17.968Z] c2d8d7efcc4b: Waiting [2021-11-01T21:33:17.968Z] f757da607395: Verifying Checksum [2021-11-01T21:33:17.968Z] f757da607395: Download complete [2021-11-01T21:33:17.968Z] 8603b9c90790: Verifying Checksum [2021-11-01T21:33:17.968Z] 8603b9c90790: Download complete [2021-11-01T21:33:18.240Z] 1560dd03e051: Verifying Checksum [2021-11-01T21:33:18.240Z] 1560dd03e051: Download complete [2021-11-01T21:33:18.240Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T21:33:18.240Z] 27f5ce0e4adf: Download complete [2021-11-01T21:33:18.240Z] 05883995daec: Verifying Checksum [2021-11-01T21:33:18.240Z] 05883995daec: Download complete [2021-11-01T21:33:18.512Z] 448f6bf000e3: Verifying Checksum [2021-11-01T21:33:18.512Z] 448f6bf000e3: Download complete [2021-11-01T21:33:21.133Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T21:33:21.133Z] c2d8d7efcc4b: Download complete [2021-11-01T21:33:21.726Z] 448f6bf000e3: Pull complete [2021-11-01T21:33:22.325Z] f757da607395: Pull complete [2021-11-01T21:33:23.753Z] 05883995daec: Pull complete [2021-11-01T21:33:24.344Z] 8603b9c90790: Pull complete [2021-11-01T21:33:24.938Z] 1560dd03e051: Pull complete [2021-11-01T21:33:25.538Z] 27f5ce0e4adf: Pull complete [2021-11-01T21:33:40.601Z] c2d8d7efcc4b: Pull complete [2021-11-01T21:33:40.601Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T21:33:40.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:33:40.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T21:33:40.856Z] prd-ubuntu18.04-docker-arm64-4c-16g-13762 does not seem to be running inside a container [2021-11-01T21:33:40.937Z] $ 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/17 -v /w/workspace/device-rest-go/17:/w/workspace/device-rest-go/17:rw,z -v /w/workspace/device-rest-go/17@tmp:/w/workspace/device-rest-go/17@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:arm64 cat [2021-11-01T21:33:43.972Z] $ docker top dae0edbdcd6b990fdb8e27dbd425e076d1b2152d24e913b3e914457906de8c1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:33:45.016Z] ---> job-cost.sh [2021-11-01T21:33:45.016Z] lf-activate-venv: SKIPPING [2021-11-01T21:33:45.016Z] INFO: No Stack... [2021-11-01T21:33:45.287Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T21:33:45.896Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:33:46.554Z] + cat /w/workspace/device-rest-go/17/archives/cost.csv [2021-11-01T21:33:46.554Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:33:46.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [2021-11-01T21:33:46.617Z] Resource [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] did not exist. Created. [2021-11-01T21:33:46.617Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:33:47.287Z] /w/workspace/device-rest-go/17@tmp/durable-3adb9d99/script.sh: 1: /w/workspace/device-rest-go/17@tmp/durable-3adb9d99/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T21:33:47.949Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T21:33:47.975Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T21:33:48.018Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:33:48.026Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:33:48.028Z] $ docker stop --time=1 dae0edbdcd6b990fdb8e27dbd425e076d1b2152d24e913b3e914457906de8c1b [2021-11-01T21:33:49.612Z] $ docker rm -f dae0edbdcd6b990fdb8e27dbd425e076d1b2152d24e913b3e914457906de8c1b [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-01T21:33:50.264Z] provisioning config files... [2021-11-01T21:33:50.272Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8271163474311241427tmp [Pipeline] { [Pipeline] sh [2021-11-01T21:33:50.568Z] + set +x [2021-11-01T21:33:50.568Z] + curl -s https://codecov.io/bash [2021-11-01T21:33:50.568Z] + bash -s -- [2021-11-01T21:33:50.568Z] [2021-11-01T21:33:50.568Z] _____ _ [2021-11-01T21:33:50.568Z] / ____| | | [2021-11-01T21:33:50.568Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T21:33:50.568Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T21:33:50.568Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T21:33:50.568Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T21:33:50.568Z] Bash-1.0.6 [2021-11-01T21:33:50.568Z] [2021-11-01T21:33:50.568Z] [2021-11-01T21:33:50.568Z] ==> git version 2.24.4 found [2021-11-01T21:33:50.568Z] ==> 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-01T21:33:50.568Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T21:33:50.568Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T21:33:50.568Z] ==> Jenkins CI detected. [2021-11-01T21:33:50.568Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:33:50.568Z] project root: . [2021-11-01T21:33:50.568Z] --> token set from env [2021-11-01T21:33:50.568Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T21:33:50.568Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T21:33:50.568Z] ==> Python coveragepy not found [2021-11-01T21:33:50.568Z] ==> Searching for coverage reports in: [2021-11-01T21:33:50.568Z] + . [2021-11-01T21:33:50.568Z] -> Found 1 reports [2021-11-01T21:33:50.568Z] ==> Detecting git/mercurial file structure [2021-11-01T21:33:50.568Z] ==> Reading reports [2021-11-01T21:33:50.568Z] + ./coverage.out bytes=8435 [2021-11-01T21:33:50.568Z] ==> Appending adjustments [2021-11-01T21:33:50.568Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T21:33:50.831Z] + Found adjustments [2021-11-01T21:33:50.831Z] ==> Gzipping contents [2021-11-01T21:33:50.831Z] 4.0K /tmp/codecov.vzBNPA.gz [2021-11-01T21:33:50.831Z] ==> Uploading reports [2021-11-01T21:33:50.831Z] url: https://codecov.io [2021-11-01T21:33:50.832Z] query: branch=main&commit=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:33:50.832Z] -> Pinging Codecov [2021-11-01T21:33:50.832Z] 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=4ac6fc9b5edf904ed0b684cea51ffa3833345a1c&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:33:51.093Z] -> Uploading to [2021-11-01T21:33:51.093Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/4E5D53B4F1F92C436F7061BF334D961C/4ac6fc9b5edf904ed0b684cea51ffa3833345a1c/9bd97bcf-c3ad-45a5-9f2b-24f17eaf9082.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T213351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20ddfc5c6f4ee7da696af7808b12320e00016f207a5f765315e0792a573d63eb [2021-11-01T21:33:51.093Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:33:51.093Z] Dload Upload Total Spent Left Speed [2021-11-01T21:33:51.352Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 6315 --:--:-- --:--:-- --:--:-- 6330 [2021-11-01T21:33:51.352Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] } [2021-11-01T21:33:51.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T21:33:51.756Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T21:33:51.768Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:52.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:33:52.068Z] [2021-11-01T21:33:52.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:33:52.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:33:52.372Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T21:33:52.372Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T21:33:52.372Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T21:33:52.372Z] de9db76c5a1d: Pulling fs layer [2021-11-01T21:33:52.372Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T21:33:52.372Z] 0d57e429df01: Pulling fs layer [2021-11-01T21:33:52.372Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T21:33:52.372Z] e1f770b5df2f: Pulling fs layer [2021-11-01T21:33:52.372Z] 85a0685a4137: Pulling fs layer [2021-11-01T21:33:52.372Z] 0eba1c9be4d2: Waiting [2021-11-01T21:33:52.372Z] 0d57e429df01: Waiting [2021-11-01T21:33:52.372Z] 4e4be7b47b0d: Waiting [2021-11-01T21:33:52.372Z] e1f770b5df2f: Waiting [2021-11-01T21:33:52.372Z] 85a0685a4137: Waiting [2021-11-01T21:33:52.372Z] de9db76c5a1d: Verifying Checksum [2021-11-01T21:33:52.372Z] de9db76c5a1d: Download complete [2021-11-01T21:33:52.372Z] 0ef7d3d256c8: Verifying Checksum [2021-11-01T21:33:52.372Z] 0ef7d3d256c8: Download complete [2021-11-01T21:33:52.372Z] 0d57e429df01: Verifying Checksum [2021-11-01T21:33:52.372Z] 0d57e429df01: Download complete [2021-11-01T21:33:52.372Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T21:33:52.372Z] 4e4be7b47b0d: Download complete [2021-11-01T21:33:52.372Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T21:33:52.372Z] 188c0c94c7c5: Download complete [2021-11-01T21:33:52.644Z] e1f770b5df2f: Verifying Checksum [2021-11-01T21:33:52.644Z] e1f770b5df2f: Download complete [2021-11-01T21:33:52.915Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T21:33:52.915Z] 0eba1c9be4d2: Download complete [2021-11-01T21:33:52.915Z] 188c0c94c7c5: Pull complete [2021-11-01T21:33:53.186Z] 0ef7d3d256c8: Pull complete [2021-11-01T21:33:53.186Z] 85a0685a4137: Verifying Checksum [2021-11-01T21:33:53.186Z] 85a0685a4137: Download complete [2021-11-01T21:33:53.186Z] de9db76c5a1d: Pull complete [2021-11-01T21:33:56.547Z] 0eba1c9be4d2: Pull complete [2021-11-01T21:33:56.547Z] 0d57e429df01: Pull complete [2021-11-01T21:33:56.819Z] 4e4be7b47b0d: Pull complete [2021-11-01T21:33:57.080Z] e1f770b5df2f: Pull complete [2021-11-01T21:34:00.400Z] 85a0685a4137: Pull complete [2021-11-01T21:34:00.400Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T21:34:00.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:34:00.400Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T21:34:00.466Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:00.515Z] $ 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-01T21:34:02.737Z] $ docker top 5fe30d716cf03e3cf104bd9a7df48ace734fe66779a18bf9288d5b068ee9b109 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T21:34:02.805Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T21:34:03.094Z] + set -o pipefail [2021-11-01T21:34:03.094Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T21:34:07.333Z] [2021-11-01T21:34:07.333Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-11-01T21:34:07.333Z] [2021-11-01T21:34:07.333Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/2d227a65-e551-46bd-9cf4-b96e1f076024 [2021-11-01T21:34:07.333Z] [2021-11-01T21:34:07.333Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-01T21:34:07.333Z] [2021-11-01T21:34:07.333Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T21:34:07.333Z] [2021-11-01T21:34:07.593Z] [Pipeline] } [2021-11-01T21:34:07.604Z] $ docker stop --time=1 5fe30d716cf03e3cf104bd9a7df48ace734fe66779a18bf9288d5b068ee9b109 [2021-11-01T21:34:09.490Z] $ docker rm -f 5fe30d716cf03e3cf104bd9a7df48ace734fe66779a18bf9288d5b068ee9b109 [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-01T21:34:10.356Z] + git log --format=format:%s -1 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:10.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:34:10.665Z] . [Pipeline] withDockerContainer [2021-11-01T21:34:10.730Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:10.763Z] $ 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-01T21:34:11.099Z] $ docker top 9ba23b93af067aa66e37bebd3f2bcd5abbd21bc5a7c093f51d6bde27f5c5fab1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:34:11.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:34:11.186Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:34:11.287Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:34:11.290Z] $ docker exec 9ba23b93af067aa66e37bebd3f2bcd5abbd21bc5a7c093f51d6bde27f5c5fab1 ssh-agent [2021-11-01T21:34:11.386Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhkdloE/agent.13 [2021-11-01T21:34:11.387Z] SSH_AGENT_PID=19 [2021-11-01T21:34:11.392Z] Running ssh-add (command line suppressed) [2021-11-01T21:34:11.500Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8522342372415326161.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8522342372415326161.key) [2021-11-01T21:34:11.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:34:11.807Z] + git semver tag [2021-11-01T21:34:11.807Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:34:11.807Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T21:34:11.807Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:34:11.807Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:34:11.807Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:34:11.807Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:34:11.807Z] # $SEMVER_BRANCH = main [2021-11-01T21:34:11.807Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-01T21:34:11.807Z] # 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c HEAD [2021-11-01T21:34:11.807Z] # -> Force: false [2021-11-01T21:34:11.807Z] # 2f9780db27f9a8afac763c025a93fcc93ab334b5 refs/tags/v2.0.1-dev.12 [Pipeline] } [2021-11-01T21:34:11.817Z] $ docker exec --env ******** --env ******** 9ba23b93af067aa66e37bebd3f2bcd5abbd21bc5a7c093f51d6bde27f5c5fab1 ssh-agent -k [2021-11-01T21:34:11.895Z] unset SSH_AUTH_SOCK; [2021-11-01T21:34:11.895Z] unset SSH_AGENT_PID; [2021-11-01T21:34:11.895Z] echo Agent pid 19 killed; [2021-11-01T21:34:11.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:34:12.207Z] + git semver [Pipeline] } [2021-11-01T21:34:12.220Z] $ docker stop --time=1 9ba23b93af067aa66e37bebd3f2bcd5abbd21bc5a7c093f51d6bde27f5c5fab1 [2021-11-01T21:34:13.396Z] $ docker rm -f 9ba23b93af067aa66e37bebd3f2bcd5abbd21bc5a7c093f51d6bde27f5c5fab1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:13.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:34:13.779Z] [2021-11-01T21:34:13.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:14.094Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:34:14.094Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T21:34:14.094Z] ab5ef0e58194: Pulling fs layer [2021-11-01T21:34:14.094Z] 9712f1f96733: Pulling fs layer [2021-11-01T21:34:14.094Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T21:34:14.094Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T21:34:14.094Z] e9a5061849ea: Pulling fs layer [2021-11-01T21:34:14.094Z] d747dcd14b5f: Pulling fs layer [2021-11-01T21:34:14.094Z] 2de7ff778b66: Pulling fs layer [2021-11-01T21:34:14.094Z] 0d9ebad4ef96: Waiting [2021-11-01T21:34:14.094Z] e9a5061849ea: Waiting [2021-11-01T21:34:14.094Z] d747dcd14b5f: Waiting [2021-11-01T21:34:14.094Z] 2de7ff778b66: Waiting [2021-11-01T21:34:14.094Z] 9712f1f96733: Verifying Checksum [2021-11-01T21:34:14.094Z] 9712f1f96733: Download complete [2021-11-01T21:34:14.363Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T21:34:14.363Z] 63f879dbbcfc: Download complete [2021-11-01T21:34:14.627Z] ab5ef0e58194: Verifying Checksum [2021-11-01T21:34:14.627Z] ab5ef0e58194: Download complete [2021-11-01T21:34:14.627Z] d747dcd14b5f: Verifying Checksum [2021-11-01T21:34:14.627Z] d747dcd14b5f: Download complete [2021-11-01T21:34:14.627Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T21:34:14.627Z] 0d9ebad4ef96: Download complete [2021-11-01T21:34:14.627Z] e9a5061849ea: Verifying Checksum [2021-11-01T21:34:14.627Z] e9a5061849ea: Download complete [2021-11-01T21:34:14.627Z] 2de7ff778b66: Verifying Checksum [2021-11-01T21:34:14.627Z] 2de7ff778b66: Download complete [2021-11-01T21:34:17.941Z] ab5ef0e58194: Pull complete [2021-11-01T21:34:17.941Z] 9712f1f96733: Pull complete [2021-11-01T21:34:18.523Z] 63f879dbbcfc: Pull complete [2021-11-01T21:34:22.790Z] 0d9ebad4ef96: Pull complete [2021-11-01T21:34:22.790Z] e9a5061849ea: Pull complete [2021-11-01T21:34:22.790Z] d747dcd14b5f: Pull complete [2021-11-01T21:34:23.739Z] 2de7ff778b66: Pull complete [2021-11-01T21:34:23.739Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T21:34:23.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:34:23.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T21:34:23.817Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:23.853Z] $ 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-01T21:34:26.865Z] $ docker top 72a0de24746102e92a31a173bce6f484818316c8c41545ab581b8dd907ec49c5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:34:26.932Z] provisioning config files... [2021-11-01T21:34:26.944Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5787583355503913934tmp [2021-11-01T21:34:26.965Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8454477550193651160tmp [2021-11-01T21:34:26.988Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config756491348669699337tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:34:27.006Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:27.293Z] ---> sigul-configuration.sh [2021-11-01T21:34:27.293Z] gpg: directory `/root/.gnupg' created [2021-11-01T21:34:27.293Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T21:34:27.293Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T21:34:27.293Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T21:34:27.293Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T21:34:27.293Z] gpg: CAST5 encrypted data [2021-11-01T21:34:27.293Z] gpg: encrypted with 1 passphrase [2021-11-01T21:34:27.293Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T21:34:27.579Z] + mkdir /home/jenkins [2021-11-01T21:34:27.579Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T21:34:27.866Z] + 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-01T21:34:27.874Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:28.170Z] ---> sigul-install.sh [2021-11-01T21:34:28.170Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T21:34:28.456Z] + git tag --list [2021-11-01T21:34:28.456Z] v1.0.0 [2021-11-01T21:34:28.456Z] v1.1.0 [2021-11-01T21:34:28.456Z] v1.1.1 [2021-11-01T21:34:28.456Z] v1.1.2 [2021-11-01T21:34:28.456Z] v1.2.0 [2021-11-01T21:34:28.456Z] v1.2.1 [2021-11-01T21:34:28.456Z] v2.0.0 [2021-11-01T21:34:28.456Z] v2.0.1-dev.1 [2021-11-01T21:34:28.456Z] v2.0.1-dev.10 [2021-11-01T21:34:28.456Z] v2.0.1-dev.11 [2021-11-01T21:34:28.456Z] v2.0.1-dev.12 [2021-11-01T21:34:28.456Z] v2.0.1-dev.2 [2021-11-01T21:34:28.456Z] v2.0.1-dev.3 [2021-11-01T21:34:28.456Z] v2.0.1-dev.4 [2021-11-01T21:34:28.456Z] v2.0.1-dev.5 [2021-11-01T21:34:28.456Z] v2.0.1-dev.6 [2021-11-01T21:34:28.456Z] v2.0.1-dev.7 [2021-11-01T21:34:28.456Z] v2.0.1-dev.8 [2021-11-01T21:34:28.456Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-01T21:34:28.751Z] + lftools sign git-tag v2.0.1-dev.12 [2021-11-01T21:34:29.318Z] Signing Git tag with Sigul... [2021-11-01T21:34:29.318Z] Signing v2.0.1-dev.12 [Pipeline] echo [2021-11-01T21:34:30.275Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:30.574Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T21:34:30.581Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T21:34:30.599Z] $ docker stop --time=1 72a0de24746102e92a31a173bce6f484818316c8c41545ab581b8dd907ec49c5 [2021-11-01T21:34:31.789Z] $ docker rm -f 72a0de24746102e92a31a173bce6f484818316c8c41545ab581b8dd907ec49c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:32.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:34:32.349Z] . [Pipeline] withDockerContainer [2021-11-01T21:34:32.417Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:32.451Z] $ 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-01T21:34:32.787Z] $ docker top b7c084d5ee92cf001f0383761600f8d66401c9e8eedc3c8450f9be08b4fd2f93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:34:32.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:34:32.872Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:34:32.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:34:32.974Z] $ docker exec b7c084d5ee92cf001f0383761600f8d66401c9e8eedc3c8450f9be08b4fd2f93 ssh-agent [2021-11-01T21:34:33.073Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjBOjlK/agent.13 [2021-11-01T21:34:33.073Z] SSH_AGENT_PID=20 [2021-11-01T21:34:33.078Z] Running ssh-add (command line suppressed) [2021-11-01T21:34:33.170Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6077818086856891560.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6077818086856891560.key) [2021-11-01T21:34:33.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:34:33.470Z] + git semver bump pre [2021-11-01T21:34:33.470Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:34:33.470Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T21:34:33.470Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:34:33.470Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:34:33.470Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:34:33.470Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:34:33.470Z] # $SEMVER_BRANCH = main [2021-11-01T21:34:33.470Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-11-01T21:34:33.470Z] 2.0.1-dev.13 [Pipeline] } [2021-11-01T21:34:33.478Z] $ docker exec --env ******** --env ******** b7c084d5ee92cf001f0383761600f8d66401c9e8eedc3c8450f9be08b4fd2f93 ssh-agent -k [2021-11-01T21:34:33.570Z] unset SSH_AUTH_SOCK; [2021-11-01T21:34:33.570Z] unset SSH_AGENT_PID; [2021-11-01T21:34:33.570Z] echo Agent pid 20 killed; [2021-11-01T21:34:33.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:34:33.893Z] + git semver [Pipeline] } [2021-11-01T21:34:33.907Z] $ docker stop --time=1 b7c084d5ee92cf001f0383761600f8d66401c9e8eedc3c8450f9be08b4fd2f93 [2021-11-01T21:34:35.086Z] $ docker rm -f b7c084d5ee92cf001f0383761600f8d66401c9e8eedc3c8450f9be08b4fd2f93 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:35.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:34:35.525Z] . [Pipeline] withDockerContainer [2021-11-01T21:34:35.768Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:35.805Z] $ 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-01T21:34:36.152Z] $ docker top 95e64eb009ef2721439bf14e965180644614f6d29a4129f08f077a28e9acefac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:34:36.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:34:36.242Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:34:36.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:34:36.348Z] $ docker exec 95e64eb009ef2721439bf14e965180644614f6d29a4129f08f077a28e9acefac ssh-agent [2021-11-01T21:34:36.447Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDHeLEF/agent.13 [2021-11-01T21:34:36.447Z] SSH_AGENT_PID=19 [2021-11-01T21:34:36.451Z] Running ssh-add (command line suppressed) [2021-11-01T21:34:36.536Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6647943778897013193.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6647943778897013193.key) [2021-11-01T21:34:36.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:34:36.846Z] + git semver push [2021-11-01T21:34:36.846Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:34:36.846Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-11-01T21:34:36.846Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:34:36.846Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:34:36.846Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:34:36.847Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:34:36.847Z] # $SEMVER_BRANCH = main [2021-11-01T21:34:36.847Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-11-01T21:34:38.233Z] $ docker exec --env ******** --env ******** 95e64eb009ef2721439bf14e965180644614f6d29a4129f08f077a28e9acefac ssh-agent -k [2021-11-01T21:34:38.315Z] unset SSH_AUTH_SOCK; [2021-11-01T21:34:38.316Z] unset SSH_AGENT_PID; [2021-11-01T21:34:38.316Z] echo Agent pid 19 killed; [2021-11-01T21:34:38.325Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:34:38.629Z] + git semver [Pipeline] } [2021-11-01T21:34:38.641Z] $ docker stop --time=1 95e64eb009ef2721439bf14e965180644614f6d29a4129f08f077a28e9acefac [2021-11-01T21:34:39.813Z] $ docker rm -f 95e64eb009ef2721439bf14e965180644614f6d29a4129f08f077a28e9acefac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-01T21:34:40.781Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:41.076Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:41.631Z] ---> package-listing.sh [2021-11-01T21:34:41.632Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T21:34:41.632Z] ++ facter osfamily [2021-11-01T21:34:41.898Z] + OS_FAMILY=redhat [2021-11-01T21:34:41.898Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-11-01T21:34:41.898Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T21:34:41.898Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T21:34:41.898Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T21:34:41.898Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T21:34:41.898Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-01T21:34:41.898Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T21:34:41.898Z] + case "${OS_FAMILY}" in [2021-11-01T21:34:41.898Z] + sort [2021-11-01T21:34:41.898Z] + rpm -qa [2021-11-01T21:34:42.468Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T21:34:42.468Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T21:34:42.468Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T21:34:42.468Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-11-01T21:34:42.468Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-11-01T21:34:42.468Z] + 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-01T21:34:42.479Z] 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-01T21:34:42.761Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:43.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:34:43.315Z] [2021-11-01T21:34:43.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:34:43.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:34:43.610Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:34:43.610Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:34:43.610Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:34:43.610Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:34:43.610Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:34:43.610Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:34:43.610Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:34:43.610Z] d287ab97295c: Pulling fs layer [2021-11-01T21:34:43.610Z] dc539afda2c1: Waiting [2021-11-01T21:34:43.610Z] 77bc0d833cb6: Waiting [2021-11-01T21:34:43.610Z] 9065ff56babe: Waiting [2021-11-01T21:34:43.610Z] d287ab97295c: Waiting [2021-11-01T21:34:43.610Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:34:43.610Z] a1111a8f2ec3: Download complete [2021-11-01T21:34:43.610Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:34:43.610Z] dc539afda2c1: Download complete [2021-11-01T21:34:43.610Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:34:43.610Z] ed53099fbce6: Download complete [2021-11-01T21:34:43.874Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:34:43.874Z] 9065ff56babe: Download complete [2021-11-01T21:34:43.874Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:34:43.874Z] 77bc0d833cb6: Download complete [2021-11-01T21:34:43.874Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:34:43.874Z] b4d181a07f80: Download complete [2021-11-01T21:34:44.445Z] d287ab97295c: Verifying Checksum [2021-11-01T21:34:44.445Z] d287ab97295c: Download complete [2021-11-01T21:34:45.389Z] b4d181a07f80: Pull complete [2021-11-01T21:34:45.389Z] a1111a8f2ec3: Pull complete [2021-11-01T21:34:45.979Z] ed53099fbce6: Pull complete [2021-11-01T21:34:45.979Z] dc539afda2c1: Pull complete [2021-11-01T21:34:46.241Z] 77bc0d833cb6: Pull complete [2021-11-01T21:34:46.241Z] 9065ff56babe: Pull complete [2021-11-01T21:34:51.554Z] d287ab97295c: Pull complete [2021-11-01T21:34:51.554Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:34:51.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:34:51.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:34:51.623Z] prd-centos7-docker-4c-2g-13760 does not seem to be running inside a container [2021-11-01T21:34:51.656Z] $ 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-01T21:34:54.051Z] $ docker top 365beaedab9fd94539b27b68563dfc1966883d618cb9bdc507bfd3d8944f8c2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:34:54.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T21:34:54.700Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T21:34:54.987Z] + ls /var/log/sa-host [2021-11-01T21:34:54.988Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T21:34:54.988Z] file_magic: OK [2021-11-01T21:34:54.988Z] HZ: Using current value: 100 [2021-11-01T21:34:54.988Z] file_header: OK [2021-11-01T21:34:54.988Z] 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-01T21:34:54.988Z] Statistics: [2021-11-01T21:34:54.988Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:34:54.988Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T21:34:54.988Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T21:34:54.988Z] file_magic: OK [2021-11-01T21:34:54.988Z] HZ: Using current value: 100 [2021-11-01T21:34:54.988Z] file_header: OK [2021-11-01T21:34:54.988Z] 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-01T21:34:54.988Z] Statistics: [2021-11-01T21:34:54.988Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:34:54.988Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:34:55.080Z] provisioning config files... [2021-11-01T21:34:55.092Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9103145323204473131tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:34:55.108Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:55.395Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T21:34:55.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:55.725Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T21:34:55.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:56.021Z] ---> sudo-logs.sh [2021-11-01T21:34:56.021Z] Archiving 'sudo' log.. [2021-11-01T21:34:56.021Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13760.novalocal: Name or service not known [2021-11-01T21:34:56.021Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13760.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T21:34:56.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:56.332Z] ---> job-cost.sh [2021-11-01T21:34:56.332Z] lf-activate-venv: SKIPPING [2021-11-01T21:34:56.332Z] DEBUG: total: 0.10999999940395355 [2021-11-01T21:34:56.332Z] INFO: Retrieving Stack Cost... [2021-11-01T21:34:56.594Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:34:56.853Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T21:34:56.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:34:57.151Z] ---> logs-deploy.sh [2021-11-01T21:34:57.151Z] lf-activate-venv: SKIPPING [2021-11-01T21:34:57.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/17 [2021-11-01T21:34:57.151Z] INFO: archiving workspace using pattern(s): [2021-11-01T21:34:57.723Z] Archives upload complete. [2021-11-01T21:34:57.983Z] INFO: archiving logs to Nexus