Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 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-ssh4419806248717856361.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh2470669150546883016.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 f1d79d91c36788821211008368c3015072ca53ca 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-ssh8382385613840637657.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh6140491466960519458.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-ssh1518843860742267756.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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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-docker-4c-2g-477’ is offline Running on prd-centos7-docker-4c-2g-604 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-ssh2636329621575426612.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 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (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 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 Commit message: "Merge pull request #137 from hahattan/issue-136" > git rev-list --no-walk dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T06:51:07.932Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T06:51:07.982Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T06:51:07.997Z] ========================================================= [2021-10-12T06:51:07.997Z] EdgeX Global Pipelines Version Info [2021-10-12T06:51:07.997Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:51:09.129Z] ------------------- [2021-10-12T06:51:09.129Z] stable info: [2021-10-12T06:51:09.129Z] ------------------- [2021-10-12T06:51:09.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T06:51:09.129Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T06:51:09.129Z] Message: update stable to v1.0.209 [2021-10-12T06:51:09.705Z] ------------------- [2021-10-12T06:51:09.705Z] experimental info: [2021-10-12T06:51:09.705Z] ------------------- [2021-10-12T06:51:09.705Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T06:51:09.705Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T06:51:09.705Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T06:51:09.781Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-12T06:51:09.794Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-12T06:51:09.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T06:51:09.815Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T06:51:09.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T06:51:09.837Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T06:51:09.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T06:51:09.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-12T06:51:09.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T06:51:09.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T06:51:09.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T06:51:09.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-12T06:51:09.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T06:51:09.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T06:51:09.927Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T06:51:09.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T06:51:09.953Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T06:51:09.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T06:51:09.974Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T06:51:09.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T06:51:09.994Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-12T06:51:10.004Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-12T06:51:10.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T06:51:10.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T06:51:10.035Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-12T06:51:10.045Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T06:51:10.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-12T06:51:10.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-12T06:51:10.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-12T06:51:10.094Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-12T06:51:10.103Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfe1eec [Pipeline] echo [2021-10-12T06:51:10.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:51:10.148Z] provisioning config files... [2021-10-12T06:51:10.163Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3554717031088330254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:51:10.475Z] ---> docker-login.sh [2021-10-12T06:51:10.475Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:51:10.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:51:10.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:51:10.739Z] Configure a credential helper to remove this warning. See [2021-10-12T06:51:10.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:51:10.739Z] [2021-10-12T06:51:10.739Z] Login Succeeded [2021-10-12T06:51:10.739Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:51:10.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:51:11.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:51:11.003Z] Configure a credential helper to remove this warning. See [2021-10-12T06:51:11.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:51:11.003Z] [2021-10-12T06:51:11.003Z] Login Succeeded [2021-10-12T06:51:11.003Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:51:11.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:51:11.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:51:11.003Z] Configure a credential helper to remove this warning. See [2021-10-12T06:51:11.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:51:11.003Z] [2021-10-12T06:51:11.003Z] Login Succeeded [2021-10-12T06:51:11.003Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:51:11.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:51:11.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:51:11.003Z] Configure a credential helper to remove this warning. See [2021-10-12T06:51:11.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:51:11.003Z] [2021-10-12T06:51:11.003Z] Login Succeeded [2021-10-12T06:51:11.003Z] docker.io [2021-10-12T06:51:11.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:51:11.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:51:11.527Z] Configure a credential helper to remove this warning. See [2021-10-12T06:51:11.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:51:11.527Z] [2021-10-12T06:51:11.527Z] Login Succeeded [2021-10-12T06:51:11.527Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:51:11.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T06:51:12.001Z] + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo [2021-10-12T06:51:12.042Z] GIT_COMMIT: dfe1eecf97bbb3fc78e576d46b1f52bb386bd406, Commit Message: Merge pull request #137 from hahattan/issue-136 [Pipeline] echo [2021-10-12T06:51:12.053Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:51:12.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:51:12.698Z] [2021-10-12T06:51:12.698Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:51:13.012Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:51:13.012Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T06:51:13.012Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T06:51:13.012Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T06:51:13.012Z] 4c7163046ea9: Pulling fs layer [2021-10-12T06:51:13.012Z] 0c2d73faf560: Pulling fs layer [2021-10-12T06:51:13.012Z] 0c2d73faf560: Waiting [2021-10-12T06:51:13.012Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T06:51:13.012Z] 3e5f54012d9b: Download complete [2021-10-12T06:51:13.012Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T06:51:13.012Z] a0d0a0d46f8b: Download complete [2021-10-12T06:51:13.012Z] 4c7163046ea9: Verifying Checksum [2021-10-12T06:51:13.012Z] 4c7163046ea9: Download complete [2021-10-12T06:51:13.012Z] 0c2d73faf560: Verifying Checksum [2021-10-12T06:51:13.012Z] 0c2d73faf560: Download complete [2021-10-12T06:51:13.279Z] a0d0a0d46f8b: Pull complete [2021-10-12T06:51:13.279Z] 3e5f54012d9b: Pull complete [2021-10-12T06:51:13.543Z] 4c7163046ea9: Pull complete [2021-10-12T06:51:13.804Z] 0c2d73faf560: Pull complete [2021-10-12T06:51:13.804Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T06:51:13.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:51:13.804Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T06:51:13.883Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T06:51:13.823Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T06:51:14.562Z] $ docker top ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T06:51:14.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T06:51:14.722Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T06:51:14.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T06:51:14.809Z] $ docker exec ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 ssh-agent [2021-10-12T06:51:14.960Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcGhcHp/agent.13 [2021-10-12T06:51:14.960Z] SSH_AGENT_PID=19 [2021-10-12T06:51:14.970Z] Running ssh-add (command line suppressed) [2021-10-12T06:51:15.060Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5066173553548381654.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5066173553548381654.key) [2021-10-12T06:51:15.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T06:51:15.383Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T06:51:15.400Z] $ docker exec --env ******** --env ******** ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 ssh-agent -k [2021-10-12T06:51:15.502Z] unset SSH_AUTH_SOCK; [2021-10-12T06:51:15.502Z] unset SSH_AGENT_PID; [2021-10-12T06:51:15.502Z] echo Agent pid 19 killed; [2021-10-12T06:51:15.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T06:51:15.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T06:51:15.531Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T06:51:15.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T06:51:15.654Z] $ docker exec ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 ssh-agent [2021-10-12T06:51:15.765Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbMaNLc/agent.55 [2021-10-12T06:51:15.765Z] SSH_AGENT_PID=62 [2021-10-12T06:51:15.773Z] Running ssh-add (command line suppressed) [2021-10-12T06:51:15.873Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8158649450117190752.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8158649450117190752.key) [2021-10-12T06:51:15.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T06:51:16.179Z] + git semver init [2021-10-12T06:51:16.179Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T06:51:16.179Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-12T06:51:16.179Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T06:51:16.179Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T06:51:16.179Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T06:51:16.179Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T06:51:16.179Z] # $SEMVER_BRANCH = main [2021-10-12T06:51:16.179Z] # $SEMVER_TEMP = /tmp/semver-346608196 [2021-10-12T06:51:16.179Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-12T06:51:17.153Z] # '/tmp/semver-346608196' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-12T06:51:17.153Z] # -> Force: false [2021-10-12T06:51:17.153Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-12T06:51:17.166Z] $ docker exec --env ******** --env ******** ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 ssh-agent -k [2021-10-12T06:51:17.261Z] unset SSH_AUTH_SOCK; [2021-10-12T06:51:17.262Z] unset SSH_AGENT_PID; [2021-10-12T06:51:17.262Z] echo Agent pid 62 killed; [2021-10-12T06:51:17.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T06:51:17.595Z] + git semver [Pipeline] } [2021-10-12T06:51:17.611Z] $ docker stop --time=1 ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 [2021-10-12T06:51:18.914Z] $ docker rm -f ca9b0055fddc79868551e00c76fd1d1d92b1e9b2861d1f5f06f7c42d099dc013 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:51:19.270Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T06:51:19.496Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T06:51:19.500Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-12T06:51:34.684Z] Still waiting to schedule task [2021-10-12T06:51:34.684Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T06:51:34.686Z] Still waiting to schedule task [2021-10-12T06:51:34.687Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-12T06:53:16.056Z] Running on prd-centos7-docker-4c-2g-607 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-12T06:53:16.068Z] Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout [2021-10-12T06:53:16.164Z] The recommended git tool is: git [2021-10-12T06:53:18.100Z] using credential edgex-jenkins-ssh [2021-10-12T06:53:18.112Z] Cloning the remote Git repository [2021-10-12T06:53:17.670Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:53:17.720Z] > git init /w/workspace/device-rest-go/14 # timeout=10 [2021-10-12T06:53:17.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:53:17.762Z] > git --version # timeout=10 [2021-10-12T06:53:17.768Z] > git --version # 'git version 2.24.4' [2021-10-12T06:53:17.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T06:53:17.803Z] [INFO] Currently running in a labeled security context [2021-10-12T06:53:17.803Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T06:53:17.803Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/14@tmp/jenkins-gitclient-ssh4578898567995479926.key [2021-10-12T06:53:17.829Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:53:19.140Z] Avoid second fetch [2021-10-12T06:53:19.141Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-12T06:53:18.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-12T06:53:18.664Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:53:18.688Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T06:53:18.697Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-12T06:53:22.761Z] Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:53:23.080Z] provisioning config files... [2021-10-12T06:53:23.091Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config9058954650169039210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:53:23.487Z] ---> docker-login.sh [2021-10-12T06:53:23.487Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:53:23.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:53:23.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:53:23.487Z] Configure a credential helper to remove this warning. See [2021-10-12T06:53:23.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:53:23.487Z] [2021-10-12T06:53:23.487Z] Login Succeeded [2021-10-12T06:53:23.487Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:53:23.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:53:23.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:53:23.751Z] Configure a credential helper to remove this warning. See [2021-10-12T06:53:23.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:53:23.751Z] [2021-10-12T06:53:23.751Z] Login Succeeded [2021-10-12T06:53:23.751Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:53:23.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:53:23.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:53:23.751Z] Configure a credential helper to remove this warning. See [2021-10-12T06:53:23.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:53:23.751Z] [2021-10-12T06:53:23.751Z] Login Succeeded [2021-10-12T06:53:23.751Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:53:23.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:53:24.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:53:24.011Z] Configure a credential helper to remove this warning. See [2021-10-12T06:53:24.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:53:24.011Z] [2021-10-12T06:53:24.011Z] Login Succeeded [2021-10-12T06:53:24.011Z] docker.io [2021-10-12T06:53:24.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:53:24.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:53:24.270Z] Configure a credential helper to remove this warning. See [2021-10-12T06:53:24.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:53:24.270Z] [2021-10-12T06:53:24.270Z] Login Succeeded [2021-10-12T06:53:24.270Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:53:24.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T06:53:24.424Z] ========================================================= [2021-10-12T06:53:24.424Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T06:53:24.424Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:53:24.733Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-12T06:53:24.733Z] Sending build context to Docker daemon 118.8kB [2021-10-12T06:53:24.734Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:53:24.734Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-12T06:53:24.734Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T06:53:24.734Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T06:53:24.734Z] 57d31006c564: Pulling fs layer [2021-10-12T06:53:24.734Z] bd5ccded8296: Pulling fs layer [2021-10-12T06:53:24.734Z] 304dd3a0f381: Pulling fs layer [2021-10-12T06:53:24.734Z] d37cda54a23b: Pulling fs layer [2021-10-12T06:53:24.734Z] bae75c0f2455: Pulling fs layer [2021-10-12T06:53:24.734Z] 806579b3d29a: Pulling fs layer [2021-10-12T06:53:24.734Z] c77eb801bf70: Pulling fs layer [2021-10-12T06:53:24.734Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T06:53:24.734Z] 304dd3a0f381: Waiting [2021-10-12T06:53:24.734Z] d37cda54a23b: Waiting [2021-10-12T06:53:24.734Z] 806579b3d29a: Waiting [2021-10-12T06:53:24.734Z] bae75c0f2455: Waiting [2021-10-12T06:53:24.734Z] c77eb801bf70: Waiting [2021-10-12T06:53:24.734Z] 6d0567d44e1a: Waiting [2021-10-12T06:53:24.734Z] bd5ccded8296: Verifying Checksum [2021-10-12T06:53:24.734Z] bd5ccded8296: Download complete [2021-10-12T06:53:24.734Z] 57d31006c564: Verifying Checksum [2021-10-12T06:53:24.734Z] 57d31006c564: Download complete [2021-10-12T06:53:24.734Z] d37cda54a23b: Verifying Checksum [2021-10-12T06:53:24.734Z] d37cda54a23b: Download complete [2021-10-12T06:53:24.734Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T06:53:24.734Z] 4e9f2cdf4387: Download complete [2021-10-12T06:53:24.734Z] bae75c0f2455: Verifying Checksum [2021-10-12T06:53:24.734Z] bae75c0f2455: Download complete [2021-10-12T06:53:24.734Z] 806579b3d29a: Verifying Checksum [2021-10-12T06:53:24.734Z] 806579b3d29a: Download complete [2021-10-12T06:53:25.015Z] c77eb801bf70: Verifying Checksum [2021-10-12T06:53:25.015Z] c77eb801bf70: Download complete [2021-10-12T06:53:25.015Z] 4e9f2cdf4387: Pull complete [2021-10-12T06:53:25.290Z] 57d31006c564: Pull complete [2021-10-12T06:53:25.290Z] bd5ccded8296: Pull complete [2021-10-12T06:53:25.553Z] 304dd3a0f381: Download complete [2021-10-12T06:53:25.553Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T06:53:25.553Z] 6d0567d44e1a: Download complete [2021-10-12T06:53:29.802Z] 304dd3a0f381: Pull complete [2021-10-12T06:53:29.802Z] d37cda54a23b: Pull complete [2021-10-12T06:53:29.802Z] bae75c0f2455: Pull complete [2021-10-12T06:53:29.802Z] 806579b3d29a: Pull complete [2021-10-12T06:53:29.802Z] c77eb801bf70: Pull complete [2021-10-12T06:53:31.726Z] 6d0567d44e1a: Pull complete [2021-10-12T06:53:31.726Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T06:53:31.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T06:53:31.726Z] ---> e839a31ac9d1 [2021-10-12T06:53:31.726Z] Step 3/11 : ARG MAKE='make build' [2021-10-12T06:53:35.934Z] ---> Running in 270e897bd9c3 [2021-10-12T06:53:35.934Z] Removing intermediate container 270e897bd9c3 [2021-10-12T06:53:35.934Z] ---> 468092973ba5 [2021-10-12T06:53:35.934Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:53:35.934Z] ---> Running in 521516f19457 [2021-10-12T06:53:35.934Z] Removing intermediate container 521516f19457 [2021-10-12T06:53:35.934Z] ---> 8eea2c0d87c3 [2021-10-12T06:53:35.934Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:53:35.934Z] ---> Running in b5c6b9fbbdb9 [2021-10-12T06:53:35.934Z] Removing intermediate container b5c6b9fbbdb9 [2021-10-12T06:53:35.934Z] ---> 8053d3bc5080 [2021-10-12T06:53:35.934Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:53:35.934Z] ---> Running in 208b4ff7d09c [2021-10-12T06:53:35.934Z] Removing intermediate container 208b4ff7d09c [2021-10-12T06:53:35.934Z] ---> 1d70c1e25cb6 [2021-10-12T06:53:35.934Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:53:35.934Z] ---> Running in a3a2f29f514e [2021-10-12T06:53:36.195Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:53:37.141Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:53:37.400Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-12T06:53:37.659Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-12T06:53:37.659Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-12T06:53:37.923Z] Executing busybox-1.32.1-r6.trigger [2021-10-12T06:53:37.923Z] OK: 223 MiB in 55 packages [2021-10-12T06:53:38.192Z] Removing intermediate container a3a2f29f514e [2021-10-12T06:53:38.192Z] ---> 556fb929779c [2021-10-12T06:53:38.192Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-12T06:53:38.192Z] ---> Running in 17dd0ea36a4f [2021-10-12T06:53:38.192Z] Removing intermediate container 17dd0ea36a4f [2021-10-12T06:53:38.192Z] ---> f14ae169d8cf [2021-10-12T06:53:38.192Z] Step 9/11 : COPY . . [2021-10-12T06:53:38.461Z] ---> ab24532bc0f1 [2021-10-12T06:53:38.461Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:53:38.461Z] ---> Running in aafc31f94db8 [2021-10-12T06:53:50.697Z] Removing intermediate container aafc31f94db8 [2021-10-12T06:53:50.697Z] ---> d460b6e0048b [2021-10-12T06:53:50.697Z] Step 11/11 : RUN $MAKE [2021-10-12T06:53:50.697Z] ---> Running in 850894caf8d7 [2021-10-12T06:53:50.697Z] noop [2021-10-12T06:53:50.697Z] Removing intermediate container 850894caf8d7 [2021-10-12T06:53:50.697Z] ---> 2f1a00788a7a [2021-10-12T06:53:50.697Z] Successfully built 2f1a00788a7a [2021-10-12T06:53:50.697Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:53:50.997Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T06:53:50.997Z] . [Pipeline] withDockerContainer [2021-10-12T06:53:51.078Z] prd-centos7-docker-4c-2g-607 does not seem to be running inside a container [2021-10-12T06:53:51.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T06:53:51.480Z] $ docker top ebd0715f423e7d2a5969564a7caedd15f662fa84c7a2afc34fcea6c79737e962 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T06:53:51.852Z] + go version [2021-10-12T06:53:51.852Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T06:53:51.868Z] $ docker stop --time=1 ebd0715f423e7d2a5969564a7caedd15f662fa84c7a2afc34fcea6c79737e962 [2021-10-12T06:53:53.044Z] $ docker rm -f ebd0715f423e7d2a5969564a7caedd15f662fa84c7a2afc34fcea6c79737e962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:53:53.671Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T06:53:53.671Z] . [Pipeline] withDockerContainer [2021-10-12T06:53:53.742Z] prd-centos7-docker-4c-2g-607 does not seem to be running inside a container [2021-10-12T06:53:53.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T06:53:54.100Z] $ docker top cf53b88e8b64863f26002f5ec453d04ecc9e6c2e871cb474b25171fa07ae7548 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T06:53:54.475Z] + make test [2021-10-12T06:53:54.475Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-12T06:53:54.736Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-12T06:54:09.723Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-12T06:54:10.676Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements [2021-10-12T06:54:10.676Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T06:54:18.851Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T06:54:18.851Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T06:54:18.851Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T06:54:18.866Z] $ docker stop --time=1 cf53b88e8b64863f26002f5ec453d04ecc9e6c2e871cb474b25171fa07ae7548 [2021-10-12T06:54:20.261Z] $ docker rm -f cf53b88e8b64863f26002f5ec453d04ecc9e6c2e871cb474b25171fa07ae7548 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:54:20.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T06:54:20.811Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-12T06:54:22.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T06:54:22.408Z] + ls -al . [2021-10-12T06:54:22.408Z] total 116 [2021-10-12T06:54:22.408Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 12 06:54 . [2021-10-12T06:54:22.408Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 06:53 .. [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 12 06:53 Attribution.txt [2021-10-12T06:54:22.408Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 06:53 bin [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 12 06:53 CHANGELOG.md [2021-10-12T06:54:22.408Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 12 06:53 cmd [2021-10-12T06:54:22.408Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 12 06:54 coverage.out [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 12 06:53 Dockerfile [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 12 06:53 .dockerignore [2021-10-12T06:54:22.408Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 12 06:53 driver [2021-10-12T06:54:22.408Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 12 06:53 .git [2021-10-12T06:54:22.408Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 12 06:53 .github [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 12 06:53 .gitignore [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 271 Oct 12 06:53 go.mod [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 20570 Oct 12 06:53 go.sum [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 06:53 GOVERNANCE.md [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 12 06:53 Jenkinsfile [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 12 06:53 LICENSE [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 12 06:53 Makefile [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 12 06:53 OWNERS.md [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 12 06:53 README.md [2021-10-12T06:54:22.408Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 06:53 snap [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 12 06:51 VERSION [2021-10-12T06:54:22.408Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 12 06:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:22.706Z] + 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=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-10-12T06:54:22.706Z] Sending build context to Docker daemon 128kB [2021-10-12T06:54:22.706Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:54:22.706Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T06:54:22.706Z] ---> 2f1a00788a7a [2021-10-12T06:54:22.706Z] Step 3/24 : ARG MAKE='make build' [2021-10-12T06:54:22.706Z] ---> Running in f4e181e67f79 [2021-10-12T06:54:22.706Z] Removing intermediate container f4e181e67f79 [2021-10-12T06:54:22.706Z] ---> 50a44d0149ee [2021-10-12T06:54:22.706Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:54:22.706Z] ---> Running in d938ff443f3f [2021-10-12T06:54:22.969Z] Removing intermediate container d938ff443f3f [2021-10-12T06:54:22.969Z] ---> bb698238ea18 [2021-10-12T06:54:22.969Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:54:22.969Z] ---> Running in 411510238d97 [2021-10-12T06:54:22.969Z] Removing intermediate container 411510238d97 [2021-10-12T06:54:22.969Z] ---> 102de43f9b90 [2021-10-12T06:54:22.969Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:54:22.969Z] ---> Running in b03fa7130963 [2021-10-12T06:54:23.551Z] Removing intermediate container b03fa7130963 [2021-10-12T06:54:23.551Z] ---> 4cc03b0dadc3 [2021-10-12T06:54:23.551Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:54:23.551Z] ---> Running in 085d93ad87fd [2021-10-12T06:54:23.812Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:54:24.757Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:54:24.757Z] OK: 223 MiB in 55 packages [2021-10-12T06:54:25.016Z] Removing intermediate container 085d93ad87fd [2021-10-12T06:54:25.016Z] ---> 7d1d730ce205 [2021-10-12T06:54:25.017Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-12T06:54:25.017Z] ---> Running in 969aa018c5c6 [2021-10-12T06:54:25.278Z] Removing intermediate container 969aa018c5c6 [2021-10-12T06:54:25.278Z] ---> 4f2499e3bef0 [2021-10-12T06:54:25.278Z] Step 9/24 : COPY . . [2021-10-12T06:54:25.278Z] ---> 5476d6fff52b [2021-10-12T06:54:25.278Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:54:25.278Z] ---> Running in 3d6a0f3a56ae [2021-10-12T06:54:25.849Z] Removing intermediate container 3d6a0f3a56ae [2021-10-12T06:54:25.849Z] ---> 296a882353e1 [2021-10-12T06:54:25.849Z] Step 11/24 : RUN $MAKE [2021-10-12T06:54:25.849Z] ---> Running in dc4205abe22f [2021-10-12T06:54:26.108Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-12T06:54:38.397Z] Removing intermediate container dc4205abe22f [2021-10-12T06:54:38.397Z] ---> 91f51c4acaa0 [2021-10-12T06:54:38.397Z] Step 12/24 : FROM alpine:3.14 [2021-10-12T06:54:38.397Z] 3.14: Pulling from library/alpine [2021-10-12T06:54:38.397Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T06:54:38.397Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T06:54:38.397Z] a0d0a0d46f8b: Download complete [2021-10-12T06:54:38.397Z] a0d0a0d46f8b: Pull complete [2021-10-12T06:54:38.397Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T06:54:38.397Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T06:54:38.397Z] ---> 14119a10abf4 [2021-10-12T06:54:38.397Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-12T06:54:38.397Z] ---> Running in c35561b0a5bd [2021-10-12T06:54:38.397Z] Removing intermediate container c35561b0a5bd [2021-10-12T06:54:38.397Z] ---> 249fb9bd961f [2021-10-12T06:54:38.397Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-12T06:54:38.397Z] ---> Running in e17ffe1272ed [2021-10-12T06:54:38.397Z] Removing intermediate container e17ffe1272ed [2021-10-12T06:54:38.397Z] ---> 95b64276cd65 [2021-10-12T06:54:38.397Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-12T06:54:38.397Z] ---> Running in e8bfdfd879d3 [2021-10-12T06:54:38.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-12T06:54:38.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-12T06:54:38.657Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-12T06:54:38.657Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T06:54:38.657Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-12T06:54:38.657Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T06:54:38.657Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-12T06:54:38.657Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-12T06:54:38.657Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T06:54:38.657Z] OK: 8 MiB in 20 packages [2021-10-12T06:54:38.920Z] Removing intermediate container e8bfdfd879d3 [2021-10-12T06:54:38.920Z] ---> aebcf4a8ab83 [2021-10-12T06:54:38.920Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-12T06:54:39.183Z] ---> 425aa5d406c1 [2021-10-12T06:54:39.183Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-12T06:54:39.442Z] ---> 35bc2c4153e3 [2021-10-12T06:54:39.442Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-12T06:54:39.442Z] ---> 12f4904dd9ff [2021-10-12T06:54:39.442Z] Step 19/24 : EXPOSE 59986 [2021-10-12T06:54:39.442Z] ---> Running in 75da259228bd [2021-10-12T06:54:39.705Z] Removing intermediate container 75da259228bd [2021-10-12T06:54:39.705Z] ---> ba3e667bb035 [2021-10-12T06:54:39.705Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-12T06:54:39.705Z] ---> Running in 7bcf3627e36d [2021-10-12T06:54:39.705Z] Removing intermediate container 7bcf3627e36d [2021-10-12T06:54:39.705Z] ---> 268146fb2c09 [2021-10-12T06:54:39.705Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-12T06:54:39.705Z] ---> Running in e0bbb002091e [2021-10-12T06:54:39.705Z] Removing intermediate container e0bbb002091e [2021-10-12T06:54:39.705Z] ---> c73d03150805 [2021-10-12T06:54:39.705Z] Step 22/24 : LABEL arch=amd64 [2021-10-12T06:54:39.705Z] ---> Running in 52a3bafae654 [2021-10-12T06:54:39.964Z] Removing intermediate container 52a3bafae654 [2021-10-12T06:54:39.964Z] ---> 2177b5f8aa5c [2021-10-12T06:54:39.964Z] Step 23/24 : LABEL git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:54:39.964Z] ---> Running in a0099f0b9640 [2021-10-12T06:54:39.964Z] Removing intermediate container a0099f0b9640 [2021-10-12T06:54:39.964Z] ---> 49047189673a [2021-10-12T06:54:39.964Z] Step 24/24 : LABEL version=2.0.1-dev.9 [2021-10-12T06:54:39.964Z] ---> Running in fe74a85ee395 [2021-10-12T06:54:39.964Z] Removing intermediate container fe74a85ee395 [2021-10-12T06:54:39.964Z] ---> 5b6b2241e61a [2021-10-12T06:54:39.964Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T06:54:39.964Z] Successfully built 5b6b2241e61a [2021-10-12T06:54:39.964Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:54:40.277Z] provisioning config files... [2021-10-12T06:54:40.288Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config1935284002729833773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:54:40.589Z] ---> docker-login.sh [2021-10-12T06:54:40.590Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:54:40.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:40.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:40.590Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:40.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:40.590Z] [2021-10-12T06:54:40.590Z] Login Succeeded [2021-10-12T06:54:40.590Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:54:40.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:40.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:40.590Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:40.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:40.590Z] [2021-10-12T06:54:40.590Z] Login Succeeded [2021-10-12T06:54:40.590Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:54:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:40.856Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:40.856Z] [2021-10-12T06:54:40.856Z] Login Succeeded [2021-10-12T06:54:40.856Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:54:40.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:40.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:40.856Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:40.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:40.856Z] [2021-10-12T06:54:40.856Z] Login Succeeded [2021-10-12T06:54:40.856Z] docker.io [2021-10-12T06:54:41.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:41.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:41.374Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:41.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:41.374Z] [2021-10-12T06:54:41.374Z] Login Succeeded [2021-10-12T06:54:41.374Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:54:41.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:54:41.418Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-10-12T06:54:41.418Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:54:41.418Z] latest [2021-10-12T06:54:41.418Z] 2.0.1-dev.9 [2021-10-12T06:54:41.418Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:54:41.418Z] main [2021-10-12T06:54:41.418Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:41.732Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:42.045Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:54:42.045Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:54:42.045Z] b35cebb75cb2: Preparing [2021-10-12T06:54:42.045Z] 7373c7f3260b: Preparing [2021-10-12T06:54:42.045Z] 477e26f0cfca: Preparing [2021-10-12T06:54:42.045Z] a5b96b755434: Preparing [2021-10-12T06:54:42.045Z] e2eb06d8af82: Preparing [2021-10-12T06:54:42.045Z] e2eb06d8af82: Layer already exists [2021-10-12T06:54:42.306Z] 7373c7f3260b: Pushed [2021-10-12T06:54:42.306Z] b35cebb75cb2: Pushed [2021-10-12T06:54:42.306Z] a5b96b755434: Pushed [2021-10-12T06:54:43.249Z] 477e26f0cfca: Pushed [2021-10-12T06:54:43.509Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406: digest: sha256:c01ebaae42905c38bcaa5f3fe4ee30da507659e6efca073fa8361c389bb05f31 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:43.801Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:44.105Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-12T06:54:44.105Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:54:44.105Z] b35cebb75cb2: Preparing [2021-10-12T06:54:44.105Z] 7373c7f3260b: Preparing [2021-10-12T06:54:44.105Z] 477e26f0cfca: Preparing [2021-10-12T06:54:44.105Z] a5b96b755434: Preparing [2021-10-12T06:54:44.105Z] e2eb06d8af82: Preparing [2021-10-12T06:54:44.105Z] 477e26f0cfca: Layer already exists [2021-10-12T06:54:44.105Z] e2eb06d8af82: Layer already exists [2021-10-12T06:54:44.105Z] a5b96b755434: Layer already exists [2021-10-12T06:54:44.105Z] 7373c7f3260b: Layer already exists [2021-10-12T06:54:44.105Z] b35cebb75cb2: Layer already exists [2021-10-12T06:54:44.105Z] latest: digest: sha256:c01ebaae42905c38bcaa5f3fe4ee30da507659e6efca073fa8361c389bb05f31 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:44.283Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-606 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-12T06:54:44.294Z] Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout [2021-10-12T06:54:44.408Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:44.494Z] The recommended git tool is: git [2021-10-12T06:54:44.705Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-12T06:54:44.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:54:44.705Z] b35cebb75cb2: Preparing [2021-10-12T06:54:44.705Z] 7373c7f3260b: Preparing [2021-10-12T06:54:44.705Z] 477e26f0cfca: Preparing [2021-10-12T06:54:44.705Z] a5b96b755434: Preparing [2021-10-12T06:54:44.705Z] e2eb06d8af82: Preparing [2021-10-12T06:54:44.705Z] e2eb06d8af82: Layer already exists [2021-10-12T06:54:44.705Z] 7373c7f3260b: Layer already exists [2021-10-12T06:54:44.705Z] 477e26f0cfca: Layer already exists [2021-10-12T06:54:44.705Z] a5b96b755434: Layer already exists [2021-10-12T06:54:44.705Z] b35cebb75cb2: Layer already exists [2021-10-12T06:54:44.705Z] 2.0.1-dev.9: digest: sha256:c01ebaae42905c38bcaa5f3fe4ee30da507659e6efca073fa8361c389bb05f31 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:45.006Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:45.296Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:54:45.296Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:54:45.296Z] b35cebb75cb2: Preparing [2021-10-12T06:54:45.296Z] 7373c7f3260b: Preparing [2021-10-12T06:54:45.296Z] 477e26f0cfca: Preparing [2021-10-12T06:54:45.296Z] a5b96b755434: Preparing [2021-10-12T06:54:45.296Z] e2eb06d8af82: Preparing [2021-10-12T06:54:45.296Z] b35cebb75cb2: Layer already exists [2021-10-12T06:54:45.296Z] e2eb06d8af82: Layer already exists [2021-10-12T06:54:45.296Z] 477e26f0cfca: Layer already exists [2021-10-12T06:54:45.296Z] a5b96b755434: Layer already exists [2021-10-12T06:54:45.296Z] 7373c7f3260b: Layer already exists [2021-10-12T06:54:45.296Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9: digest: sha256:c01ebaae42905c38bcaa5f3fe4ee30da507659e6efca073fa8361c389bb05f31 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:45.606Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:45.896Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-10-12T06:54:45.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-12T06:54:45.896Z] b35cebb75cb2: Preparing [2021-10-12T06:54:45.896Z] 7373c7f3260b: Preparing [2021-10-12T06:54:45.896Z] 477e26f0cfca: Preparing [2021-10-12T06:54:45.896Z] a5b96b755434: Preparing [2021-10-12T06:54:45.896Z] e2eb06d8af82: Preparing [2021-10-12T06:54:45.896Z] 477e26f0cfca: Layer already exists [2021-10-12T06:54:45.896Z] e2eb06d8af82: Layer already exists [2021-10-12T06:54:45.896Z] b35cebb75cb2: Layer already exists [2021-10-12T06:54:45.896Z] a5b96b755434: Layer already exists [2021-10-12T06:54:45.896Z] 7373c7f3260b: Layer already exists [2021-10-12T06:54:45.896Z] main: digest: sha256:c01ebaae42905c38bcaa5f3fe4ee30da507659e6efca073fa8361c389bb05f31 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:54:45.939Z] ===================================================== [Pipeline] echo [2021-10-12T06:54:45.947Z] taggedImages: [2021-10-12T06:54:45.947Z] - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:54:45.947Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-12T06:54:45.947Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-12T06:54:45.947Z] - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:54:45.947Z] - 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-10-12T06:54:46.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:54:46.456Z] [2021-10-12T06:54:46.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:54:46.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:54:46.757Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T06:54:46.757Z] b4d181a07f80: Pulling fs layer [2021-10-12T06:54:46.757Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T06:54:46.757Z] ed53099fbce6: Pulling fs layer [2021-10-12T06:54:46.757Z] dc539afda2c1: Pulling fs layer [2021-10-12T06:54:46.757Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T06:54:46.757Z] 9065ff56babe: Pulling fs layer [2021-10-12T06:54:46.757Z] d287ab97295c: Pulling fs layer [2021-10-12T06:54:46.757Z] dc539afda2c1: Waiting [2021-10-12T06:54:46.757Z] 77bc0d833cb6: Waiting [2021-10-12T06:54:46.757Z] 9065ff56babe: Waiting [2021-10-12T06:54:46.757Z] d287ab97295c: Waiting [2021-10-12T06:54:46.757Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T06:54:46.757Z] a1111a8f2ec3: Download complete [2021-10-12T06:54:46.757Z] dc539afda2c1: Verifying Checksum [2021-10-12T06:54:46.757Z] dc539afda2c1: Download complete [2021-10-12T06:54:46.757Z] ed53099fbce6: Verifying Checksum [2021-10-12T06:54:46.757Z] ed53099fbce6: Download complete [2021-10-12T06:54:47.018Z] 9065ff56babe: Verifying Checksum [2021-10-12T06:54:47.018Z] 9065ff56babe: Download complete [2021-10-12T06:54:47.018Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T06:54:47.018Z] 77bc0d833cb6: Download complete [2021-10-12T06:54:47.018Z] b4d181a07f80: Verifying Checksum [2021-10-12T06:54:47.018Z] b4d181a07f80: Download complete [2021-10-12T06:54:47.590Z] d287ab97295c: Verifying Checksum [2021-10-12T06:54:47.590Z] d287ab97295c: Download complete [2021-10-12T06:54:48.553Z] b4d181a07f80: Pull complete [2021-10-12T06:54:48.553Z] a1111a8f2ec3: Pull complete [2021-10-12T06:54:49.144Z] ed53099fbce6: Pull complete [2021-10-12T06:54:49.144Z] dc539afda2c1: Pull complete [2021-10-12T06:54:49.410Z] 77bc0d833cb6: Pull complete [2021-10-12T06:54:49.410Z] 9065ff56babe: Pull complete [2021-10-12T06:54:50.304Z] using credential edgex-jenkins-ssh [2021-10-12T06:54:50.323Z] Cloning the remote Git repository [2021-10-12T06:54:50.369Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:54:50.502Z] > git init /w/workspace/device-rest-go/14 # timeout=10 [2021-10-12T06:54:50.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-12T06:54:50.594Z] > git --version # timeout=10 [2021-10-12T06:54:50.611Z] > git --version # 'git version 2.17.1' [2021-10-12T06:54:50.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T06:54:50.694Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:54:52.556Z] Avoid second fetch [2021-10-12T06:54:52.556Z] Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) [2021-10-12T06:54:52.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-12T06:54:52.537Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T06:54:52.573Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T06:54:52.584Z] > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [2021-10-12T06:54:54.741Z] d287ab97295c: Pull complete [2021-10-12T06:54:54.741Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T06:54:54.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T06:54:54.741Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T06:54:54.804Z] prd-centos7-docker-4c-2g-607 does not seem to be running inside a container [2021-10-12T06:54:54.841Z] $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T06:54:56.712Z] $ docker top 5ef89bc9a4a3761f1810b812d52065289d885152307b374e25cf91ae6bb96cc1 -eo pid,comm [Pipeline] { [2021-10-12T06:54:56.871Z] Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:54:57.161Z] ---> job-cost.sh [2021-10-12T06:54:57.162Z] lf-activate-venv: SKIPPING [2021-10-12T06:54:57.162Z] INFO: No Stack... [2021-10-12T06:54:57.198Z] [2021-10-12T06:54:57.198Z] GitHub has been notified of this commit’s build result [2021-10-12T06:54:57.198Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T06:54:57.261Z] provisioning config files... [2021-10-12T06:54:57.289Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config2712574531284971729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:54:57.421Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T06:54:57.685Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T06:54:57.872Z] ---> docker-login.sh [2021-10-12T06:54:57.872Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:54:57.971Z] + cat /w/workspace/device-rest-go/14/archives/cost.csv [2021-10-12T06:54:57.971Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T06:54:57.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [2021-10-12T06:54:58.004Z] Resource [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] did not exist. Created. [2021-10-12T06:54:58.004Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T06:54:58.313Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T06:54:58.346Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T06:54:58.353Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T06:54:58.371Z] $ docker stop --time=1 5ef89bc9a4a3761f1810b812d52065289d885152307b374e25cf91ae6bb96cc1 [2021-10-12T06:54:58.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:59.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:59.473Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:59.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:59.473Z] [2021-10-12T06:54:59.473Z] Login Succeeded [2021-10-12T06:54:59.473Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:54:59.545Z] $ docker rm -f 5ef89bc9a4a3761f1810b812d52065289d885152307b374e25cf91ae6bb96cc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T06:54:59.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:54:59.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:54:59.876Z] Configure a credential helper to remove this warning. See [2021-10-12T06:54:59.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:54:59.876Z] [2021-10-12T06:54:59.876Z] Login Succeeded [2021-10-12T06:54:59.876Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:55:00.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:55:00.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:55:00.432Z] Configure a credential helper to remove this warning. See [2021-10-12T06:55:00.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:55:00.432Z] [2021-10-12T06:55:00.432Z] Login Succeeded [2021-10-12T06:55:00.432Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:55:00.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:55:00.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:55:00.713Z] Configure a credential helper to remove this warning. See [2021-10-12T06:55:00.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:55:00.713Z] [2021-10-12T06:55:00.713Z] Login Succeeded [2021-10-12T06:55:00.713Z] docker.io [2021-10-12T06:55:00.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:55:01.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:55:01.636Z] Configure a credential helper to remove this warning. See [2021-10-12T06:55:01.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:55:01.636Z] [2021-10-12T06:55:01.636Z] Login Succeeded [2021-10-12T06:55:01.636Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:55:01.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T06:55:02.105Z] ========================================================= [2021-10-12T06:55:02.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T06:55:02.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:55:02.462Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-12T06:55:02.462Z] Sending build context to Docker daemon 118.8kB [2021-10-12T06:55:02.742Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:55:02.742Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-12T06:55:03.022Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T06:55:03.022Z] bbf911997326: Pulling fs layer [2021-10-12T06:55:03.022Z] 58ec367f63d7: Pulling fs layer [2021-10-12T06:55:03.022Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T06:55:03.022Z] fc5181fea5dc: Pulling fs layer [2021-10-12T06:55:03.022Z] 9c418107303f: Pulling fs layer [2021-10-12T06:55:03.022Z] 284eca6f2348: Pulling fs layer [2021-10-12T06:55:03.022Z] 842844d905b1: Pulling fs layer [2021-10-12T06:55:03.022Z] 901a3a57568e: Pulling fs layer [2021-10-12T06:55:03.022Z] 284eca6f2348: Waiting [2021-10-12T06:55:03.022Z] 842844d905b1: Waiting [2021-10-12T06:55:03.022Z] fc5181fea5dc: Waiting [2021-10-12T06:55:03.022Z] 901a3a57568e: Waiting [2021-10-12T06:55:03.022Z] 9c418107303f: Waiting [2021-10-12T06:55:03.022Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-12T06:55:03.022Z] 1b4a6ffa7d45: Download complete [2021-10-12T06:55:03.023Z] 58ec367f63d7: Download complete [2021-10-12T06:55:03.023Z] 9c418107303f: Verifying Checksum [2021-10-12T06:55:03.023Z] 9c418107303f: Download complete [2021-10-12T06:55:03.023Z] 284eca6f2348: Verifying Checksum [2021-10-12T06:55:03.023Z] 284eca6f2348: Download complete [2021-10-12T06:55:03.023Z] 842844d905b1: Verifying Checksum [2021-10-12T06:55:03.023Z] 842844d905b1: Download complete [2021-10-12T06:55:03.303Z] bbf911997326: Verifying Checksum [2021-10-12T06:55:03.303Z] bbf911997326: Download complete [2021-10-12T06:55:03.923Z] bbf911997326: Pull complete [2021-10-12T06:55:04.535Z] 58ec367f63d7: Pull complete [2021-10-12T06:55:04.817Z] 1b4a6ffa7d45: Pull complete [2021-10-12T06:55:05.094Z] 901a3a57568e: Verifying Checksum [2021-10-12T06:55:05.094Z] 901a3a57568e: Download complete [2021-10-12T06:55:05.715Z] fc5181fea5dc: Verifying Checksum [2021-10-12T06:55:05.715Z] fc5181fea5dc: Download complete [2021-10-12T06:55:15.944Z] fc5181fea5dc: Pull complete [2021-10-12T06:55:16.226Z] 9c418107303f: Pull complete [2021-10-12T06:55:16.505Z] 284eca6f2348: Pull complete [2021-10-12T06:55:16.784Z] 842844d905b1: Pull complete [2021-10-12T06:55:23.546Z] 901a3a57568e: Pull complete [2021-10-12T06:55:23.546Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T06:55:23.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T06:55:23.546Z] ---> 72ade6ffb461 [2021-10-12T06:55:23.546Z] Step 3/11 : ARG MAKE='make build' [2021-10-12T06:55:26.187Z] ---> Running in 5949eb7bdff2 [2021-10-12T06:55:26.461Z] Removing intermediate container 5949eb7bdff2 [2021-10-12T06:55:26.461Z] ---> 686cd852487f [2021-10-12T06:55:26.461Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:55:26.736Z] ---> Running in bc16978348ab [2021-10-12T06:55:27.014Z] Removing intermediate container bc16978348ab [2021-10-12T06:55:27.014Z] ---> 39ab3641f084 [2021-10-12T06:55:27.014Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:55:27.295Z] ---> Running in 5b7a06bef945 [2021-10-12T06:55:27.569Z] Removing intermediate container 5b7a06bef945 [2021-10-12T06:55:27.569Z] ---> a0cc46e11013 [2021-10-12T06:55:27.569Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:55:27.843Z] ---> Running in 4151aa83d775 [2021-10-12T06:55:30.483Z] Removing intermediate container 4151aa83d775 [2021-10-12T06:55:30.483Z] ---> 8b6528830235 [2021-10-12T06:55:30.483Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:55:30.483Z] ---> Running in 8d73356febeb [2021-10-12T06:55:31.483Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:55:32.475Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:55:33.074Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-12T06:55:33.074Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-12T06:55:33.074Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-12T06:55:33.352Z] Executing busybox-1.32.1-r6.trigger [2021-10-12T06:55:33.352Z] OK: 222 MiB in 55 packages [2021-10-12T06:55:34.965Z] Removing intermediate container 8d73356febeb [2021-10-12T06:55:34.965Z] ---> d9bca2ba94b5 [2021-10-12T06:55:34.965Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-12T06:55:34.965Z] ---> Running in 231a8a2edc0d [2021-10-12T06:55:35.280Z] Removing intermediate container 231a8a2edc0d [2021-10-12T06:55:35.280Z] ---> 8ed96248af8d [2021-10-12T06:55:35.280Z] Step 9/11 : COPY . . [2021-10-12T06:55:36.292Z] ---> 08561a5a646b [2021-10-12T06:55:36.292Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:55:36.292Z] ---> Running in a560757e8939 [2021-10-12T06:56:03.143Z] Removing intermediate container a560757e8939 [2021-10-12T06:56:03.143Z] ---> c627289cf1e5 [2021-10-12T06:56:03.143Z] Step 11/11 : RUN $MAKE [2021-10-12T06:56:03.143Z] ---> Running in 8944cbc657ed [2021-10-12T06:56:03.143Z] noop [2021-10-12T06:56:03.143Z] Removing intermediate container 8944cbc657ed [2021-10-12T06:56:03.143Z] ---> 4c2e4a8975a4 [2021-10-12T06:56:03.143Z] Successfully built 4c2e4a8975a4 [2021-10-12T06:56:03.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:56:03.500Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T06:56:03.500Z] . [Pipeline] withDockerContainer [2021-10-12T06:56:03.732Z] prd-ubuntu18.04-docker-arm64-4c-16g-606 does not seem to be running inside a container [2021-10-12T06:56:03.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-12T06:56:05.378Z] $ docker top 044c86ea3b8616db58ba7c5e22e2d60fabce301c771f1ee0010a2b1f46920f2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T06:56:06.332Z] + go version [2021-10-12T06:56:06.332Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T06:56:06.360Z] $ docker stop --time=1 044c86ea3b8616db58ba7c5e22e2d60fabce301c771f1ee0010a2b1f46920f2b [2021-10-12T06:56:08.119Z] $ docker rm -f 044c86ea3b8616db58ba7c5e22e2d60fabce301c771f1ee0010a2b1f46920f2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:56:08.837Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T06:56:08.837Z] . [Pipeline] withDockerContainer [2021-10-12T06:56:09.065Z] prd-ubuntu18.04-docker-arm64-4c-16g-606 does not seem to be running inside a container [2021-10-12T06:56:09.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-12T06:56:10.578Z] $ docker top 8c4714fd5101666276aafb5429b34e58b75f43e1e34173a6a84f00187ab75ec4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T06:56:11.525Z] + make test [2021-10-12T06:56:11.525Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-12T06:56:12.519Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-12T06:57:09.238Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-12T06:57:09.238Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 53.8% of statements [2021-10-12T06:57:09.238Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-12T06:57:31.509Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T06:57:31.509Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T06:57:31.509Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T06:57:32.519Z] $ docker stop --time=1 8c4714fd5101666276aafb5429b34e58b75f43e1e34173a6a84f00187ab75ec4 [2021-10-12T06:57:34.418Z] $ docker rm -f 8c4714fd5101666276aafb5429b34e58b75f43e1e34173a6a84f00187ab75ec4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T06:57:35.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T06:57:35.256Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T06:57:35.808Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T06:57:36.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T06:57:36.665Z] + ls -al . [2021-10-12T06:57:36.665Z] total 144 [2021-10-12T06:57:36.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:57 . [2021-10-12T06:57:36.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:54 .. [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 06:54 .dockerignore [2021-10-12T06:57:36.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:54 .git [2021-10-12T06:57:36.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:54 .github [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 06:54 .gitignore [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 12 06:54 Attribution.txt [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 12 06:54 CHANGELOG.md [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 12 06:54 Dockerfile [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 06:54 GOVERNANCE.md [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 06:54 Jenkinsfile [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 06:54 LICENSE [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 12 06:54 Makefile [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 06:54 OWNERS.md [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 12 06:54 README.md [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 12 06:51 VERSION [2021-10-12T06:57:36.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:54 bin [2021-10-12T06:57:36.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 06:54 cmd [2021-10-12T06:57:36.665Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 12 06:57 coverage.out [2021-10-12T06:57:36.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:54 driver [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 271 Oct 12 06:54 go.mod [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 20570 Oct 12 06:54 go.sum [2021-10-12T06:57:36.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:54 snap [2021-10-12T06:57:36.665Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 06:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:57:37.023Z] + 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=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-10-12T06:57:37.023Z] Sending build context to Docker daemon 128kB [2021-10-12T06:57:37.302Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T06:57:37.302Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T06:57:37.302Z] ---> 4c2e4a8975a4 [2021-10-12T06:57:37.302Z] Step 3/24 : ARG MAKE='make build' [2021-10-12T06:57:37.578Z] ---> Running in 9c81f3ac7fef [2021-10-12T06:57:38.180Z] Removing intermediate container 9c81f3ac7fef [2021-10-12T06:57:38.180Z] ---> 929b2505b871 [2021-10-12T06:57:38.180Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-12T06:57:38.180Z] ---> Running in acc08c80d3dd [2021-10-12T06:57:38.457Z] Removing intermediate container acc08c80d3dd [2021-10-12T06:57:38.457Z] ---> a44a74603e84 [2021-10-12T06:57:38.457Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-12T06:57:38.737Z] ---> Running in 9b8d85076824 [2021-10-12T06:57:39.015Z] Removing intermediate container 9b8d85076824 [2021-10-12T06:57:39.015Z] ---> 02559c4f100d [2021-10-12T06:57:39.015Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T06:57:39.292Z] ---> Running in c137152c398f [2021-10-12T06:57:41.296Z] Removing intermediate container c137152c398f [2021-10-12T06:57:41.296Z] ---> fc651b96ee36 [2021-10-12T06:57:41.296Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-12T06:57:41.296Z] ---> Running in 6253f2e08165 [2021-10-12T06:57:42.762Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:57:43.361Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:57:44.350Z] OK: 222 MiB in 55 packages [2021-10-12T06:57:44.970Z] Removing intermediate container 6253f2e08165 [2021-10-12T06:57:44.970Z] ---> 09f54cff9d49 [2021-10-12T06:57:44.970Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-12T06:57:45.248Z] ---> Running in 4226e9789a95 [2021-10-12T06:57:45.850Z] Removing intermediate container 4226e9789a95 [2021-10-12T06:57:45.850Z] ---> e02ef047a3d1 [2021-10-12T06:57:45.850Z] Step 9/24 : COPY . . [2021-10-12T06:57:46.483Z] ---> 7214b565b5a5 [2021-10-12T06:57:46.483Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T06:57:46.840Z] ---> Running in e1c5922d6632 [2021-10-12T06:57:48.844Z] Removing intermediate container e1c5922d6632 [2021-10-12T06:57:48.844Z] ---> e42967ddd6ac [2021-10-12T06:57:48.844Z] Step 11/24 : RUN $MAKE [2021-10-12T06:57:49.127Z] ---> Running in b8d293154b1d [2021-10-12T06:57:50.129Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-12T06:58:29.247Z] Removing intermediate container b8d293154b1d [2021-10-12T06:58:29.247Z] ---> af10990f310c [2021-10-12T06:58:29.247Z] Step 12/24 : FROM alpine:3.14 [2021-10-12T06:58:29.247Z] 3.14: Pulling from library/alpine [2021-10-12T06:58:29.247Z] 552d1f2373af: Pulling fs layer [2021-10-12T06:58:29.247Z] 552d1f2373af: Verifying Checksum [2021-10-12T06:58:29.247Z] 552d1f2373af: Download complete [2021-10-12T06:58:29.247Z] 552d1f2373af: Pull complete [2021-10-12T06:58:29.247Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T06:58:29.247Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T06:58:29.247Z] ---> bb3de5531c18 [2021-10-12T06:58:29.247Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-12T06:58:29.247Z] ---> Running in 39e72a8772c6 [2021-10-12T06:58:29.247Z] Removing intermediate container 39e72a8772c6 [2021-10-12T06:58:29.247Z] ---> 06feb3bfd706 [2021-10-12T06:58:29.247Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-12T06:58:29.247Z] ---> Running in 03caef09e8e6 [2021-10-12T06:58:29.247Z] Removing intermediate container 03caef09e8e6 [2021-10-12T06:58:29.247Z] ---> dc76119c8402 [2021-10-12T06:58:29.247Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-12T06:58:29.247Z] ---> Running in fcb9e7b799ab [2021-10-12T06:58:29.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-12T06:58:29.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-12T06:58:29.849Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-12T06:58:29.849Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T06:58:29.849Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-12T06:58:29.849Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T06:58:29.849Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-12T06:58:30.124Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-12T06:58:30.124Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T06:58:30.124Z] OK: 8 MiB in 20 packages [2021-10-12T06:58:31.113Z] Removing intermediate container fcb9e7b799ab [2021-10-12T06:58:31.113Z] ---> 21b3a4a06855 [2021-10-12T06:58:31.113Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-12T06:58:32.558Z] ---> 3d6193485f81 [2021-10-12T06:58:32.558Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-12T06:58:33.160Z] ---> 11f546d7b62c [2021-10-12T06:58:33.160Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-12T06:58:33.761Z] ---> e8d8ef823e94 [2021-10-12T06:58:33.761Z] Step 19/24 : EXPOSE 59986 [2021-10-12T06:58:33.761Z] ---> Running in 66018f6a3fe9 [2021-10-12T06:58:34.360Z] Removing intermediate container 66018f6a3fe9 [2021-10-12T06:58:34.360Z] ---> b5740af650fd [2021-10-12T06:58:34.360Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-12T06:58:34.360Z] ---> Running in 2d087e9de4cc [2021-10-12T06:58:34.636Z] Removing intermediate container 2d087e9de4cc [2021-10-12T06:58:34.636Z] ---> 4e5f1656f4fb [2021-10-12T06:58:34.636Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-12T06:58:34.913Z] ---> Running in 2dd4ce00038b [2021-10-12T06:58:35.190Z] Removing intermediate container 2dd4ce00038b [2021-10-12T06:58:35.190Z] ---> 95bb531153e7 [2021-10-12T06:58:35.190Z] Step 22/24 : LABEL arch=arm64 [2021-10-12T06:58:35.475Z] ---> Running in d6b2791ca57e [2021-10-12T06:58:35.766Z] Removing intermediate container d6b2791ca57e [2021-10-12T06:58:35.766Z] ---> 94723faa468c [2021-10-12T06:58:35.766Z] Step 23/24 : LABEL git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:58:36.053Z] ---> Running in 277903214b70 [2021-10-12T06:58:36.330Z] Removing intermediate container 277903214b70 [2021-10-12T06:58:36.330Z] ---> dfe0075825b4 [2021-10-12T06:58:36.330Z] Step 24/24 : LABEL version=2.0.1-dev.9 [2021-10-12T06:58:36.609Z] ---> Running in 0f881101d027 [2021-10-12T06:58:37.212Z] Removing intermediate container 0f881101d027 [2021-10-12T06:58:37.212Z] ---> f877f90d88ad [2021-10-12T06:58:37.212Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T06:58:37.212Z] Successfully built f877f90d88ad [2021-10-12T06:58:37.212Z] 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-10-12T06:58:37.494Z] provisioning config files... [2021-10-12T06:58:37.520Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config323018816837583038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:58:37.900Z] ---> docker-login.sh [2021-10-12T06:58:37.900Z] nexus3.edgexfoundry.org:10001 [2021-10-12T06:58:38.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:58:38.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:58:38.455Z] Configure a credential helper to remove this warning. See [2021-10-12T06:58:38.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:58:38.455Z] [2021-10-12T06:58:38.455Z] Login Succeeded [2021-10-12T06:58:38.455Z] nexus3.edgexfoundry.org:10002 [2021-10-12T06:58:38.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:58:39.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:58:39.015Z] Configure a credential helper to remove this warning. See [2021-10-12T06:58:39.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:58:39.015Z] [2021-10-12T06:58:39.015Z] Login Succeeded [2021-10-12T06:58:39.015Z] nexus3.edgexfoundry.org:10003 [2021-10-12T06:58:39.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:58:39.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:58:39.571Z] Configure a credential helper to remove this warning. See [2021-10-12T06:58:39.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:58:39.571Z] [2021-10-12T06:58:39.571Z] Login Succeeded [2021-10-12T06:58:39.571Z] nexus3.edgexfoundry.org:10004 [2021-10-12T06:58:40.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:58:40.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:58:40.173Z] Configure a credential helper to remove this warning. See [2021-10-12T06:58:40.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:58:40.173Z] [2021-10-12T06:58:40.173Z] Login Succeeded [2021-10-12T06:58:40.173Z] docker.io [2021-10-12T06:58:40.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T06:58:41.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T06:58:41.053Z] Configure a credential helper to remove this warning. See [2021-10-12T06:58:41.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T06:58:41.053Z] [2021-10-12T06:58:41.053Z] Login Succeeded [2021-10-12T06:58:41.053Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T06:58:41.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:58:41.110Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-10-12T06:58:41.110Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:58:41.110Z] latest [2021-10-12T06:58:41.110Z] 2.0.1-dev.9 [2021-10-12T06:58:41.110Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:58:41.110Z] main [2021-10-12T06:58:41.110Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:41.478Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:41.843Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:58:41.843Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-12T06:58:41.843Z] 54ea29a90a65: Preparing [2021-10-12T06:58:41.843Z] 952a654c2424: Preparing [2021-10-12T06:58:41.843Z] 14e697d3c97f: Preparing [2021-10-12T06:58:41.843Z] 6c3c52b5936b: Preparing [2021-10-12T06:58:41.843Z] ee420dfed78a: Preparing [2021-10-12T06:58:42.126Z] ee420dfed78a: Layer already exists [2021-10-12T06:58:42.126Z] 952a654c2424: Pushed [2021-10-12T06:58:42.126Z] 54ea29a90a65: Pushed [2021-10-12T06:58:42.725Z] 6c3c52b5936b: Pushed [2021-10-12T06:58:44.715Z] 14e697d3c97f: Pushed [2021-10-12T06:58:44.991Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406: digest: sha256:04e79150df3824dbe0a7a0575f261a1a77883fd8555b76f534ff153bc533017c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:45.351Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:45.732Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-12T06:58:45.732Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-12T06:58:45.732Z] 54ea29a90a65: Preparing [2021-10-12T06:58:45.732Z] 952a654c2424: Preparing [2021-10-12T06:58:45.732Z] 14e697d3c97f: Preparing [2021-10-12T06:58:45.732Z] 6c3c52b5936b: Preparing [2021-10-12T06:58:45.732Z] ee420dfed78a: Preparing [2021-10-12T06:58:45.732Z] 14e697d3c97f: Layer already exists [2021-10-12T06:58:45.732Z] 54ea29a90a65: Layer already exists [2021-10-12T06:58:45.732Z] ee420dfed78a: Layer already exists [2021-10-12T06:58:45.732Z] 952a654c2424: Layer already exists [2021-10-12T06:58:45.732Z] 6c3c52b5936b: Layer already exists [2021-10-12T06:58:46.031Z] latest: digest: sha256:04e79150df3824dbe0a7a0575f261a1a77883fd8555b76f534ff153bc533017c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:46.409Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:46.784Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [2021-10-12T06:58:46.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-12T06:58:46.784Z] 54ea29a90a65: Preparing [2021-10-12T06:58:46.784Z] 952a654c2424: Preparing [2021-10-12T06:58:46.784Z] 14e697d3c97f: Preparing [2021-10-12T06:58:46.784Z] 6c3c52b5936b: Preparing [2021-10-12T06:58:46.784Z] ee420dfed78a: Preparing [2021-10-12T06:58:46.784Z] 952a654c2424: Layer already exists [2021-10-12T06:58:46.784Z] 14e697d3c97f: Layer already exists [2021-10-12T06:58:46.784Z] ee420dfed78a: Layer already exists [2021-10-12T06:58:46.784Z] 54ea29a90a65: Layer already exists [2021-10-12T06:58:46.784Z] 6c3c52b5936b: Layer already exists [2021-10-12T06:58:47.062Z] 2.0.1-dev.9: digest: sha256:04e79150df3824dbe0a7a0575f261a1a77883fd8555b76f534ff153bc533017c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:47.425Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:47.787Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:58:47.787Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-12T06:58:47.787Z] 54ea29a90a65: Preparing [2021-10-12T06:58:47.787Z] 952a654c2424: Preparing [2021-10-12T06:58:47.787Z] 14e697d3c97f: Preparing [2021-10-12T06:58:47.787Z] 6c3c52b5936b: Preparing [2021-10-12T06:58:47.787Z] ee420dfed78a: Preparing [2021-10-12T06:58:47.787Z] ee420dfed78a: Layer already exists [2021-10-12T06:58:47.787Z] 6c3c52b5936b: Layer already exists [2021-10-12T06:58:48.063Z] 54ea29a90a65: Layer already exists [2021-10-12T06:58:48.063Z] 952a654c2424: Layer already exists [2021-10-12T06:58:48.063Z] 14e697d3c97f: Layer already exists [2021-10-12T06:58:48.063Z] dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9: digest: sha256:04e79150df3824dbe0a7a0575f261a1a77883fd8555b76f534ff153bc533017c size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:48.423Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:48.775Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-10-12T06:58:48.775Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-12T06:58:48.775Z] 54ea29a90a65: Preparing [2021-10-12T06:58:48.775Z] 952a654c2424: Preparing [2021-10-12T06:58:48.775Z] 14e697d3c97f: Preparing [2021-10-12T06:58:48.775Z] 6c3c52b5936b: Preparing [2021-10-12T06:58:48.775Z] ee420dfed78a: Preparing [2021-10-12T06:58:48.775Z] 54ea29a90a65: Layer already exists [2021-10-12T06:58:48.775Z] 14e697d3c97f: Layer already exists [2021-10-12T06:58:48.775Z] 6c3c52b5936b: Layer already exists [2021-10-12T06:58:48.775Z] ee420dfed78a: Layer already exists [2021-10-12T06:58:48.775Z] 952a654c2424: Layer already exists [2021-10-12T06:58:49.050Z] main: digest: sha256:04e79150df3824dbe0a7a0575f261a1a77883fd8555b76f534ff153bc533017c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-12T06:58:49.096Z] ===================================================== [Pipeline] echo [2021-10-12T06:58:49.103Z] taggedImages: [2021-10-12T06:58:49.103Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [2021-10-12T06:58:49.103Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-12T06:58:49.103Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [2021-10-12T06:58:49.103Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [2021-10-12T06:58:49.103Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:49.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:58:49.528Z] [2021-10-12T06:58:49.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:58:49.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:58:50.165Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T06:58:50.165Z] 448f6bf000e3: Pulling fs layer [2021-10-12T06:58:50.165Z] f757da607395: Pulling fs layer [2021-10-12T06:58:50.165Z] 05883995daec: Pulling fs layer [2021-10-12T06:58:50.165Z] 8603b9c90790: Pulling fs layer [2021-10-12T06:58:50.165Z] 1560dd03e051: Pulling fs layer [2021-10-12T06:58:50.165Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T06:58:50.165Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T06:58:50.165Z] 1560dd03e051: Waiting [2021-10-12T06:58:50.165Z] 27f5ce0e4adf: Waiting [2021-10-12T06:58:50.165Z] c2d8d7efcc4b: Waiting [2021-10-12T06:58:50.165Z] 8603b9c90790: Waiting [2021-10-12T06:58:50.165Z] f757da607395: Verifying Checksum [2021-10-12T06:58:50.165Z] f757da607395: Download complete [2021-10-12T06:58:50.165Z] 8603b9c90790: Verifying Checksum [2021-10-12T06:58:50.165Z] 8603b9c90790: Download complete [2021-10-12T06:58:50.443Z] 05883995daec: Verifying Checksum [2021-10-12T06:58:50.443Z] 05883995daec: Download complete [2021-10-12T06:58:50.443Z] 1560dd03e051: Verifying Checksum [2021-10-12T06:58:50.443Z] 1560dd03e051: Download complete [2021-10-12T06:58:50.443Z] 27f5ce0e4adf: Download complete [2021-10-12T06:58:50.722Z] 448f6bf000e3: Verifying Checksum [2021-10-12T06:58:50.722Z] 448f6bf000e3: Download complete [2021-10-12T06:58:53.365Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T06:58:53.365Z] c2d8d7efcc4b: Download complete [2021-10-12T06:58:53.967Z] 448f6bf000e3: Pull complete [2021-10-12T06:58:54.569Z] f757da607395: Pull complete [2021-10-12T06:58:56.012Z] 05883995daec: Pull complete [2021-10-12T06:58:56.288Z] 8603b9c90790: Pull complete [2021-10-12T06:58:57.290Z] 1560dd03e051: Pull complete [2021-10-12T06:58:57.573Z] 27f5ce0e4adf: Pull complete [2021-10-12T06:59:12.707Z] c2d8d7efcc4b: Pull complete [2021-10-12T06:59:12.707Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T06:59:12.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T06:59:12.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T06:59:13.071Z] prd-ubuntu18.04-docker-arm64-4c-16g-606 does not seem to be running inside a container [2021-10-12T06:59:13.171Z] $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-12T06:59:17.081Z] $ docker top fc2bf4f96a18a915182f9780bfe75b6be89decafeb910cc6824b7108f037285e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T06:59:18.014Z] ---> job-cost.sh [2021-10-12T06:59:18.014Z] lf-activate-venv: SKIPPING [2021-10-12T06:59:18.014Z] INFO: No Stack... [2021-10-12T06:59:18.291Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T06:59:18.892Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T06:59:19.568Z] + cut -d, -f6 [2021-10-12T06:59:19.568Z] + cat /w/workspace/device-rest-go/14/archives/cost.csv [Pipeline] lock [2021-10-12T06:59:19.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [2021-10-12T06:59:19.643Z] Resource [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] did not exist. Created. [2021-10-12T06:59:19.643Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T06:59:20.336Z] /w/workspace/device-rest-go/14@tmp/durable-a9692d63/script.sh: 1: /w/workspace/device-rest-go/14@tmp/durable-a9692d63/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T06:59:21.021Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T06:59:21.052Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T06:59:21.093Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T06:59:21.105Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T06:59:21.124Z] $ docker stop --time=1 fc2bf4f96a18a915182f9780bfe75b6be89decafeb910cc6824b7108f037285e [2021-10-12T06:59:22.666Z] $ docker rm -f fc2bf4f96a18a915182f9780bfe75b6be89decafeb910cc6824b7108f037285e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-12T06:59:23.305Z] provisioning config files... [2021-10-12T06:59:23.318Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6070755214966294151tmp [Pipeline] { [Pipeline] sh [2021-10-12T06:59:23.622Z] + set +x [2021-10-12T06:59:23.622Z] + bash -s -- [2021-10-12T06:59:23.622Z] + curl -s https://codecov.io/bash [2021-10-12T06:59:23.622Z] [2021-10-12T06:59:23.622Z] _____ _ [2021-10-12T06:59:23.622Z] / ____| | | [2021-10-12T06:59:23.622Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T06:59:23.622Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T06:59:23.622Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T06:59:23.622Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T06:59:23.622Z] Bash-1.0.6 [2021-10-12T06:59:23.622Z] [2021-10-12T06:59:23.622Z] [2021-10-12T06:59:23.622Z] ==> git version 2.24.4 found [2021-10-12T06:59:23.622Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-12T06:59:23.622Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T06:59:23.622Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T06:59:23.622Z] ==> Jenkins CI detected. [2021-10-12T06:59:23.622Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T06:59:23.622Z] project root: . [2021-10-12T06:59:23.622Z] --> token set from env [2021-10-12T06:59:23.622Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T06:59:23.883Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T06:59:23.883Z] ==> Python coveragepy not found [2021-10-12T06:59:23.883Z] ==> Searching for coverage reports in: [2021-10-12T06:59:23.883Z] + . [2021-10-12T06:59:23.883Z] -> Found 1 reports [2021-10-12T06:59:23.883Z] ==> Detecting git/mercurial file structure [2021-10-12T06:59:23.883Z] ==> Reading reports [2021-10-12T06:59:23.883Z] + ./coverage.out bytes=8435 [2021-10-12T06:59:23.883Z] ==> Appending adjustments [2021-10-12T06:59:23.883Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T06:59:23.883Z] + Found adjustments [2021-10-12T06:59:23.883Z] ==> Gzipping contents [2021-10-12T06:59:23.883Z] 4.0K /tmp/codecov.NWsdsr.gz [2021-10-12T06:59:23.883Z] ==> Uploading reports [2021-10-12T06:59:23.883Z] url: https://codecov.io [2021-10-12T06:59:23.883Z] query: branch=main&commit=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T06:59:23.883Z] -> Pinging Codecov [2021-10-12T06:59:23.883Z] 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=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-12T06:59:24.160Z] -> Uploading to [2021-10-12T06:59:24.160Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-12/4E5D53B4F1F92C436F7061BF334D961C/dfe1eecf97bbb3fc78e576d46b1f52bb386bd406/8de48c22-9bfe-4043-8323-3b66b0e4a0ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T065924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d310859da44b3a7b66af24ea86ac7222154c743b58f8eef027de0b1d9629a9c [2021-10-12T06:59:24.160Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T06:59:24.160Z] Dload Upload Total Spent Left Speed [2021-10-12T06:59:24.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1755 0 0 100 1755 0 5154 --:--:-- --:--:-- --:--:-- 5146 100 1755 0 0 100 1755 0 5151 --:--:-- --:--:-- --:--:-- 5146 [2021-10-12T06:59:24.420Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] } [2021-10-12T06:59:24.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-12T06:59:24.764Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-12T06:59:24.776Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:59:25.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T06:59:25.091Z] [2021-10-12T06:59:25.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:59:25.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T06:59:25.411Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-12T06:59:25.411Z] 188c0c94c7c5: Pulling fs layer [2021-10-12T06:59:25.411Z] 0ef7d3d256c8: Pulling fs layer [2021-10-12T06:59:25.411Z] de9db76c5a1d: Pulling fs layer [2021-10-12T06:59:25.411Z] 0eba1c9be4d2: Pulling fs layer [2021-10-12T06:59:25.411Z] 0d57e429df01: Pulling fs layer [2021-10-12T06:59:25.411Z] 4e4be7b47b0d: Pulling fs layer [2021-10-12T06:59:25.411Z] e1f770b5df2f: Pulling fs layer [2021-10-12T06:59:25.411Z] 85a0685a4137: Pulling fs layer [2021-10-12T06:59:25.411Z] 0d57e429df01: Waiting [2021-10-12T06:59:25.411Z] 4e4be7b47b0d: Waiting [2021-10-12T06:59:25.411Z] e1f770b5df2f: Waiting [2021-10-12T06:59:25.411Z] 85a0685a4137: Waiting [2021-10-12T06:59:25.411Z] 0eba1c9be4d2: Waiting [2021-10-12T06:59:25.411Z] de9db76c5a1d: Verifying Checksum [2021-10-12T06:59:25.411Z] de9db76c5a1d: Download complete [2021-10-12T06:59:25.411Z] 0ef7d3d256c8: Download complete [2021-10-12T06:59:25.411Z] 0d57e429df01: Verifying Checksum [2021-10-12T06:59:25.411Z] 0d57e429df01: Download complete [2021-10-12T06:59:25.411Z] 4e4be7b47b0d: Verifying Checksum [2021-10-12T06:59:25.411Z] 4e4be7b47b0d: Download complete [2021-10-12T06:59:25.411Z] 188c0c94c7c5: Verifying Checksum [2021-10-12T06:59:25.411Z] 188c0c94c7c5: Download complete [2021-10-12T06:59:25.690Z] e1f770b5df2f: Verifying Checksum [2021-10-12T06:59:25.690Z] e1f770b5df2f: Download complete [2021-10-12T06:59:25.953Z] 188c0c94c7c5: Pull complete [2021-10-12T06:59:25.954Z] 0eba1c9be4d2: Verifying Checksum [2021-10-12T06:59:25.954Z] 0eba1c9be4d2: Download complete [2021-10-12T06:59:26.219Z] 0ef7d3d256c8: Pull complete [2021-10-12T06:59:26.219Z] 85a0685a4137: Verifying Checksum [2021-10-12T06:59:26.219Z] 85a0685a4137: Download complete [2021-10-12T06:59:26.219Z] de9db76c5a1d: Pull complete [2021-10-12T06:59:30.472Z] 0eba1c9be4d2: Pull complete [2021-10-12T06:59:30.742Z] 0d57e429df01: Pull complete [2021-10-12T06:59:30.742Z] 4e4be7b47b0d: Pull complete [2021-10-12T06:59:31.326Z] e1f770b5df2f: Pull complete [2021-10-12T06:59:35.585Z] 85a0685a4137: Pull complete [2021-10-12T06:59:35.585Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-12T06:59:35.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-12T06:59:35.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-12T06:59:35.659Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T06:59:35.698Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-12T06:59:37.846Z] $ docker top ebc6de9f2597c77c43d738a1d8c47e5b441f7711053c413fceb1958c0b9f7e14 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-12T06:59:37.929Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-12T06:59:38.220Z] + set -o pipefail [2021-10-12T06:59:38.220Z] + snyk monitor '--org=edgex-jenkins' [2021-10-12T06:59:42.472Z] [2021-10-12T06:59:42.472Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2021-10-12T06:59:42.472Z] [2021-10-12T06:59:42.472Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5f781ee1-6e5a-4044-b35a-4650a66e6292 [2021-10-12T06:59:42.472Z] [2021-10-12T06:59:42.472Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-12T06:59:42.472Z] [2021-10-12T06:59:42.472Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-12T06:59:42.472Z] [2021-10-12T06:59:42.734Z] [2021-10-12T06:59:42.734Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-12T06:59:42.734Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-12T06:59:42.747Z] $ docker stop --time=1 ebc6de9f2597c77c43d738a1d8c47e5b441f7711053c413fceb1958c0b9f7e14 [2021-10-12T06:59:44.646Z] $ docker rm -f ebc6de9f2597c77c43d738a1d8c47e5b441f7711053c413fceb1958c0b9f7e14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T06:59:45.474Z] + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:59:45.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T06:59:45.780Z] . [Pipeline] withDockerContainer [2021-10-12T06:59:45.849Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T06:59:45.883Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T06:59:46.265Z] $ docker top a15381e304be67284b74ac19ebf18517700345fd4e80701a1e338977e9aa679c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T06:59:46.362Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T06:59:46.362Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T06:59:46.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T06:59:46.498Z] $ docker exec a15381e304be67284b74ac19ebf18517700345fd4e80701a1e338977e9aa679c ssh-agent [2021-10-12T06:59:46.610Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdpJLDI/agent.13 [2021-10-12T06:59:46.610Z] SSH_AGENT_PID=20 [2021-10-12T06:59:46.616Z] Running ssh-add (command line suppressed) [2021-10-12T06:59:46.724Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4019243877048495692.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4019243877048495692.key) [2021-10-12T06:59:46.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T06:59:47.034Z] + git semver tag [2021-10-12T06:59:47.035Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T06:59:47.035Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-12T06:59:47.035Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T06:59:47.035Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T06:59:47.035Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T06:59:47.035Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T06:59:47.035Z] # $SEMVER_BRANCH = main [2021-10-12T06:59:47.035Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-12T06:59:47.035Z] # dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 HEAD [2021-10-12T06:59:47.035Z] # -> Force: false [2021-10-12T06:59:47.035Z] # 7e15230fd0550d591b45e7fc845f80dcfa6ec8f1 refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-10-12T06:59:47.046Z] $ docker exec --env ******** --env ******** a15381e304be67284b74ac19ebf18517700345fd4e80701a1e338977e9aa679c ssh-agent -k [2021-10-12T06:59:47.164Z] unset SSH_AUTH_SOCK; [2021-10-12T06:59:47.164Z] unset SSH_AGENT_PID; [2021-10-12T06:59:47.164Z] echo Agent pid 20 killed; [2021-10-12T06:59:47.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T06:59:47.494Z] + git semver [Pipeline] } [2021-10-12T06:59:47.511Z] $ docker stop --time=1 a15381e304be67284b74ac19ebf18517700345fd4e80701a1e338977e9aa679c [2021-10-12T06:59:48.712Z] $ docker rm -f a15381e304be67284b74ac19ebf18517700345fd4e80701a1e338977e9aa679c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:59:49.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T06:59:49.112Z] [2021-10-12T06:59:49.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-12T06:59:49.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T06:59:49.424Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-12T06:59:49.424Z] ab5ef0e58194: Pulling fs layer [2021-10-12T06:59:49.424Z] 9712f1f96733: Pulling fs layer [2021-10-12T06:59:49.424Z] 63f879dbbcfc: Pulling fs layer [2021-10-12T06:59:49.424Z] 0d9ebad4ef96: Pulling fs layer [2021-10-12T06:59:49.424Z] e9a5061849ea: Pulling fs layer [2021-10-12T06:59:49.424Z] d747dcd14b5f: Pulling fs layer [2021-10-12T06:59:49.424Z] 2de7ff778b66: Pulling fs layer [2021-10-12T06:59:49.424Z] e9a5061849ea: Waiting [2021-10-12T06:59:49.424Z] d747dcd14b5f: Waiting [2021-10-12T06:59:49.424Z] 2de7ff778b66: Waiting [2021-10-12T06:59:49.424Z] 0d9ebad4ef96: Waiting [2021-10-12T06:59:49.424Z] 9712f1f96733: Verifying Checksum [2021-10-12T06:59:49.424Z] 9712f1f96733: Download complete [2021-10-12T06:59:49.695Z] 63f879dbbcfc: Verifying Checksum [2021-10-12T06:59:49.695Z] 63f879dbbcfc: Download complete [2021-10-12T06:59:49.959Z] 0d9ebad4ef96: Verifying Checksum [2021-10-12T06:59:49.959Z] 0d9ebad4ef96: Download complete [2021-10-12T06:59:49.959Z] d747dcd14b5f: Verifying Checksum [2021-10-12T06:59:49.959Z] d747dcd14b5f: Download complete [2021-10-12T06:59:49.959Z] ab5ef0e58194: Verifying Checksum [2021-10-12T06:59:49.959Z] ab5ef0e58194: Download complete [2021-10-12T06:59:49.959Z] e9a5061849ea: Verifying Checksum [2021-10-12T06:59:49.959Z] e9a5061849ea: Download complete [2021-10-12T06:59:49.959Z] 2de7ff778b66: Verifying Checksum [2021-10-12T06:59:49.959Z] 2de7ff778b66: Download complete [2021-10-12T06:59:53.285Z] ab5ef0e58194: Pull complete [2021-10-12T06:59:53.285Z] 9712f1f96733: Pull complete [2021-10-12T06:59:53.874Z] 63f879dbbcfc: Pull complete [2021-10-12T06:59:58.104Z] 0d9ebad4ef96: Pull complete [2021-10-12T06:59:58.366Z] e9a5061849ea: Pull complete [2021-10-12T06:59:58.628Z] d747dcd14b5f: Pull complete [2021-10-12T07:00:00.027Z] 2de7ff778b66: Pull complete [2021-10-12T07:00:00.027Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-12T07:00:00.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-12T07:00:00.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-12T07:00:00.106Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T07:00:00.159Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-12T07:00:03.739Z] $ docker top 949210941af369ee0f78b66a12af757ba0e8004a9b47b5769a64fbd5c9770ac2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-12T07:00:03.844Z] provisioning config files... [2021-10-12T07:00:03.855Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3654607149205399923tmp [2021-10-12T07:00:03.870Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3887330340885670094tmp [2021-10-12T07:00:03.880Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1355227103504782177tmp [Pipeline] { [Pipeline] echo [2021-10-12T07:00:03.895Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:04.186Z] ---> sigul-configuration.sh [2021-10-12T07:00:04.186Z] gpg: directory `/root/.gnupg' created [2021-10-12T07:00:04.186Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-12T07:00:04.186Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-12T07:00:04.186Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-12T07:00:04.186Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-12T07:00:04.186Z] gpg: CAST5 encrypted data [2021-10-12T07:00:04.186Z] gpg: encrypted with 1 passphrase [2021-10-12T07:00:04.186Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-12T07:00:04.480Z] + mkdir /home/jenkins [2021-10-12T07:00:04.480Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-12T07:00:04.773Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-12T07:00:04.783Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:05.078Z] ---> sigul-install.sh [2021-10-12T07:00:05.078Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-12T07:00:05.385Z] + git tag --list [2021-10-12T07:00:05.385Z] v1.0.0 [2021-10-12T07:00:05.385Z] v1.1.0 [2021-10-12T07:00:05.385Z] v1.1.1 [2021-10-12T07:00:05.385Z] v1.1.2 [2021-10-12T07:00:05.385Z] v1.2.0 [2021-10-12T07:00:05.385Z] v1.2.1 [2021-10-12T07:00:05.385Z] v2.0.0 [2021-10-12T07:00:05.385Z] v2.0.1-dev.1 [2021-10-12T07:00:05.385Z] v2.0.1-dev.2 [2021-10-12T07:00:05.385Z] v2.0.1-dev.3 [2021-10-12T07:00:05.385Z] v2.0.1-dev.4 [2021-10-12T07:00:05.385Z] v2.0.1-dev.5 [2021-10-12T07:00:05.385Z] v2.0.1-dev.6 [2021-10-12T07:00:05.385Z] v2.0.1-dev.7 [2021-10-12T07:00:05.385Z] v2.0.1-dev.8 [2021-10-12T07:00:05.385Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-12T07:00:05.682Z] + lftools sign git-tag v2.0.1-dev.9 [2021-10-12T07:00:06.255Z] Signing Git tag with Sigul... [2021-10-12T07:00:06.255Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-10-12T07:00:07.207Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:07.501Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-12T07:00:07.509Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-12T07:00:07.529Z] $ docker stop --time=1 949210941af369ee0f78b66a12af757ba0e8004a9b47b5769a64fbd5c9770ac2 [2021-10-12T07:00:08.752Z] $ docker rm -f 949210941af369ee0f78b66a12af757ba0e8004a9b47b5769a64fbd5c9770ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-12T07:00:09.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T07:00:09.338Z] . [Pipeline] withDockerContainer [2021-10-12T07:00:09.411Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T07:00:09.452Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T07:00:09.833Z] $ docker top 95be452437e44ce6fe72c6adc7ae834aae9498f62c8630d806cd40131f3a6b96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T07:00:09.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T07:00:09.937Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T07:00:10.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T07:00:10.062Z] $ docker exec 95be452437e44ce6fe72c6adc7ae834aae9498f62c8630d806cd40131f3a6b96 ssh-agent [2021-10-12T07:00:10.177Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmNKPD/agent.12 [2021-10-12T07:00:10.177Z] SSH_AGENT_PID=18 [2021-10-12T07:00:10.182Z] Running ssh-add (command line suppressed) [2021-10-12T07:00:10.287Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_631139866296641619.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_631139866296641619.key) [2021-10-12T07:00:10.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T07:00:10.591Z] + git semver bump pre [2021-10-12T07:00:10.591Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T07:00:10.591Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-12T07:00:10.591Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T07:00:10.591Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T07:00:10.591Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T07:00:10.591Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T07:00:10.591Z] # $SEMVER_BRANCH = main [2021-10-12T07:00:10.591Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2021-10-12T07:00:10.591Z] 2.0.1-dev.10 [Pipeline] } [2021-10-12T07:00:10.603Z] $ docker exec --env ******** --env ******** 95be452437e44ce6fe72c6adc7ae834aae9498f62c8630d806cd40131f3a6b96 ssh-agent -k [2021-10-12T07:00:10.716Z] unset SSH_AUTH_SOCK; [2021-10-12T07:00:10.716Z] unset SSH_AGENT_PID; [2021-10-12T07:00:10.716Z] echo Agent pid 18 killed; [2021-10-12T07:00:10.724Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T07:00:11.034Z] + git semver [Pipeline] } [2021-10-12T07:00:11.053Z] $ docker stop --time=1 95be452437e44ce6fe72c6adc7ae834aae9498f62c8630d806cd40131f3a6b96 [2021-10-12T07:00:12.299Z] $ docker rm -f 95be452437e44ce6fe72c6adc7ae834aae9498f62c8630d806cd40131f3a6b96 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-12T07:00:12.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T07:00:12.670Z] . [Pipeline] withDockerContainer [2021-10-12T07:00:12.743Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T07:00:12.791Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T07:00:13.183Z] $ docker top 61ab7c403ec7a115826839e940ec933ccfa1efbe40f7f9c49870c23585b4997e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T07:00:13.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T07:00:13.286Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T07:00:13.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T07:00:13.427Z] $ docker exec 61ab7c403ec7a115826839e940ec933ccfa1efbe40f7f9c49870c23585b4997e ssh-agent [2021-10-12T07:00:13.539Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLlNJnb/agent.15 [2021-10-12T07:00:13.539Z] SSH_AGENT_PID=21 [2021-10-12T07:00:13.545Z] Running ssh-add (command line suppressed) [2021-10-12T07:00:13.657Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5369250369064088814.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5369250369064088814.key) [2021-10-12T07:00:13.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T07:00:13.966Z] + git semver push [2021-10-12T07:00:13.966Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T07:00:13.966Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-12T07:00:13.966Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T07:00:13.966Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T07:00:13.966Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T07:00:13.966Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T07:00:13.966Z] # $SEMVER_BRANCH = main [2021-10-12T07:00:13.966Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-12T07:00:15.892Z] $ docker exec --env ******** --env ******** 61ab7c403ec7a115826839e940ec933ccfa1efbe40f7f9c49870c23585b4997e ssh-agent -k [2021-10-12T07:00:15.994Z] unset SSH_AUTH_SOCK; [2021-10-12T07:00:15.994Z] unset SSH_AGENT_PID; [2021-10-12T07:00:15.994Z] echo Agent pid 21 killed; [2021-10-12T07:00:16.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T07:00:16.345Z] + git semver [Pipeline] } [2021-10-12T07:00:16.361Z] $ docker stop --time=1 61ab7c403ec7a115826839e940ec933ccfa1efbe40f7f9c49870c23585b4997e [2021-10-12T07:00:17.565Z] $ docker rm -f 61ab7c403ec7a115826839e940ec933ccfa1efbe40f7f9c49870c23585b4997e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-12T07:00:18.431Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:18.730Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:19.298Z] ---> package-listing.sh [2021-10-12T07:00:19.298Z] ++ facter osfamily [2021-10-12T07:00:19.298Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T07:00:19.562Z] + OS_FAMILY=redhat [2021-10-12T07:00:19.562Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-12T07:00:19.562Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T07:00:19.562Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T07:00:19.562Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T07:00:19.562Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T07:00:19.562Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-12T07:00:19.562Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T07:00:19.562Z] + case "${OS_FAMILY}" in [2021-10-12T07:00:19.562Z] + rpm -qa [2021-10-12T07:00:19.562Z] + sort [2021-10-12T07:00:20.135Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T07:00:20.135Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T07:00:20.135Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T07:00:20.135Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-12T07:00:20.135Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-12T07:00:20.135Z] + 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-10-12T07:00:20.146Z] 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-10-12T07:00:20.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T07:00:20.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T07:00:20.989Z] [2021-10-12T07:00:20.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T07:00:21.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T07:00:21.301Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T07:00:21.301Z] b4d181a07f80: Pulling fs layer [2021-10-12T07:00:21.301Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T07:00:21.301Z] ed53099fbce6: Pulling fs layer [2021-10-12T07:00:21.301Z] dc539afda2c1: Pulling fs layer [2021-10-12T07:00:21.301Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T07:00:21.301Z] 9065ff56babe: Pulling fs layer [2021-10-12T07:00:21.301Z] d287ab97295c: Pulling fs layer [2021-10-12T07:00:21.301Z] 77bc0d833cb6: Waiting [2021-10-12T07:00:21.301Z] 9065ff56babe: Waiting [2021-10-12T07:00:21.301Z] d287ab97295c: Waiting [2021-10-12T07:00:21.301Z] dc539afda2c1: Waiting [2021-10-12T07:00:21.301Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T07:00:21.301Z] a1111a8f2ec3: Download complete [2021-10-12T07:00:21.301Z] dc539afda2c1: Verifying Checksum [2021-10-12T07:00:21.301Z] dc539afda2c1: Download complete [2021-10-12T07:00:21.566Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T07:00:21.566Z] 77bc0d833cb6: Download complete [2021-10-12T07:00:21.566Z] ed53099fbce6: Verifying Checksum [2021-10-12T07:00:21.566Z] ed53099fbce6: Download complete [2021-10-12T07:00:21.566Z] 9065ff56babe: Verifying Checksum [2021-10-12T07:00:21.566Z] 9065ff56babe: Download complete [2021-10-12T07:00:21.566Z] b4d181a07f80: Verifying Checksum [2021-10-12T07:00:21.566Z] b4d181a07f80: Download complete [2021-10-12T07:00:22.152Z] d287ab97295c: Verifying Checksum [2021-10-12T07:00:22.152Z] d287ab97295c: Download complete [2021-10-12T07:00:23.109Z] b4d181a07f80: Pull complete [2021-10-12T07:00:23.380Z] a1111a8f2ec3: Pull complete [2021-10-12T07:00:23.960Z] ed53099fbce6: Pull complete [2021-10-12T07:00:23.960Z] dc539afda2c1: Pull complete [2021-10-12T07:00:24.237Z] 77bc0d833cb6: Pull complete [2021-10-12T07:00:24.504Z] 9065ff56babe: Pull complete [2021-10-12T07:00:29.873Z] d287ab97295c: Pull complete [2021-10-12T07:00:29.873Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T07:00:29.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T07:00:29.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T07:00:29.943Z] prd-centos7-docker-4c-2g-604 does not seem to be running inside a container [2021-10-12T07:00:29.978Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T07:00:32.094Z] $ docker top 86d617207f150bc4580ab1246f56383d391bf644d75a04afb9a8debfe997a798 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T07:00:32.460Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T07:00:32.750Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T07:00:33.037Z] + ls /var/log/sa-host [2021-10-12T07:00:33.037Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T07:00:33.037Z] file_magic: OK [2021-10-12T07:00:33.037Z] HZ: Using current value: 100 [2021-10-12T07:00:33.037Z] file_header: OK [2021-10-12T07:00:33.037Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-12T07:00:33.037Z] Statistics: [2021-10-12T07:00:33.037Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T07:00:33.037Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T07:00:33.037Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T07:00:33.037Z] file_magic: OK [2021-10-12T07:00:33.037Z] HZ: Using current value: 100 [2021-10-12T07:00:33.037Z] file_header: OK [2021-10-12T07:00:33.037Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-12T07:00:33.037Z] Statistics: [2021-10-12T07:00:33.037Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T07:00:33.037Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T07:00:33.266Z] provisioning config files... [2021-10-12T07:00:33.338Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8689416900538926165tmp [Pipeline] { [Pipeline] echo [2021-10-12T07:00:33.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:33.638Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T07:00:33.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:33.995Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T07:00:34.005Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:34.292Z] ---> sudo-logs.sh [2021-10-12T07:00:34.292Z] Archiving 'sudo' log.. [2021-10-12T07:00:34.292Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-604.novalocal: Name or service not known [2021-10-12T07:00:34.292Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-604.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T07:00:34.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:34.605Z] ---> job-cost.sh [2021-10-12T07:00:34.605Z] lf-activate-venv: SKIPPING [2021-10-12T07:00:34.605Z] DEBUG: total: 0.10999999940395355 [2021-10-12T07:00:34.605Z] INFO: Retrieving Stack Cost... [2021-10-12T07:00:34.867Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T07:00:35.440Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T07:00:35.453Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T07:00:35.744Z] ---> logs-deploy.sh [2021-10-12T07:00:35.744Z] lf-activate-venv: SKIPPING [2021-10-12T07:00:35.744Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/14 [2021-10-12T07:00:35.744Z] INFO: archiving workspace using pattern(s): [2021-10-12T07:00:36.342Z] Archives upload complete. [2021-10-12T07:00:36.602Z] INFO: archiving logs to Nexus