Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a8865c056b3ddfa2315b5fa3a0a86be937f1051f 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-ssh6844939431466437447.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh8173793331209288938.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13088740612794424922.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh17982064708589908676.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18393579531113483964.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19509 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 a8865c056b3ddfa2315b5fa3a0a86be937f1051f (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 a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12" > git rev-list --no-walk 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T01:51:59.981Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T01:52:00.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T01:52:00.047Z] ========================================================= [2022-07-12T01:52:00.047Z] EdgeX Global Pipelines Version Info [2022-07-12T01:52:00.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:52:00.792Z] ------------------- [2022-07-12T01:52:00.792Z] stable info: [2022-07-12T01:52:00.792Z] ------------------- [2022-07-12T01:52:00.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T01:52:00.792Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T01:52:00.792Z] Message: update stable to v1.0.237 [2022-07-12T01:52:01.367Z] ------------------- [2022-07-12T01:52:01.367Z] experimental info: [2022-07-12T01:52:01.367Z] ------------------- [2022-07-12T01:52:01.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T01:52:01.367Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T01:52:01.367Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T01:52:01.608Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-12T01:52:01.621Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-12T01:52:01.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T01:52:01.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T01:52:01.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T01:52:01.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T01:52:01.668Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T01:52:01.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T01:52:01.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T01:52:01.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T01:52:01.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T01:52:01.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-12T01:52:01.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T01:52:01.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T01:52:01.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T01:52:01.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T01:52:01.757Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T01:52:01.765Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T01:52:01.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T01:52:01.781Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T01:52:01.789Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T01:52:01.796Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T01:52:01.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T01:52:01.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T01:52:01.820Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T01:52:01.837Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T01:52:01.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T01:52:01.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-12T01:52:01.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-12T01:52:01.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-12T01:52:01.909Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo [2022-07-12T01:52:01.924Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8865c0 [Pipeline] echo [2022-07-12T01:52:01.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:52:01.982Z] provisioning config files... [2022-07-12T01:52:01.994Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8737795702180112766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:52:02.301Z] ---> docker-login.sh [2022-07-12T01:52:02.301Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:52:02.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:02.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:02.562Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:02.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:02.562Z] [2022-07-12T01:52:02.562Z] Login Succeeded [2022-07-12T01:52:02.562Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:52:02.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:02.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:02.824Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:02.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:02.824Z] [2022-07-12T01:52:02.824Z] Login Succeeded [2022-07-12T01:52:02.824Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:52:02.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:02.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:02.824Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:02.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:02.824Z] [2022-07-12T01:52:02.824Z] Login Succeeded [2022-07-12T01:52:02.824Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:52:02.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:03.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:03.083Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:03.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:03.083Z] [2022-07-12T01:52:03.083Z] Login Succeeded [2022-07-12T01:52:03.083Z] docker.io [2022-07-12T01:52:03.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:03.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:03.343Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:03.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:03.343Z] [2022-07-12T01:52:03.343Z] Login Succeeded [2022-07-12T01:52:03.343Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:52:03.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T01:52:03.732Z] + git rev-list -1 --merges a8865c056b3ddfa2315b5fa3a0a86be937f1051f~1..a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo [2022-07-12T01:52:03.763Z] -----------> git rev-list -1 --merges a8865c056b3ddfa2315b5fa3a0a86be937f1051f~1..a8865c056b3ddfa2315b5fa3a0a86be937f1051f a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T01:52:03.763Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f [false] [Pipeline] sh [2022-07-12T01:52:04.060Z] + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo [2022-07-12T01:52:04.078Z] ========================================================= [2022-07-12T01:52:04.078Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T01:52:04.078Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:52:04.412Z] + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] echo [2022-07-12T01:52:04.424Z] [semverPrep] GIT_COMMIT: a8865c056b3ddfa2315b5fa3a0a86be937f1051f, Commit Message: Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12 [Pipeline] echo [2022-07-12T01:52:04.432Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T01:52:04.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T01:52:04.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T01:52:04.790Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T01:52:04.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T01:52:04.790Z] + + sudo teeecho -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2022-07-12T01:52:04.790Z] [2022-07-12T01:52:04.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:52:05.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:52:05.141Z] [2022-07-12T01:52:05.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:52:05.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:52:05.441Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T01:52:05.441Z] b85a868b505f: Pulling fs layer [2022-07-12T01:52:05.441Z] e2be974225ed: Pulling fs layer [2022-07-12T01:52:05.441Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T01:52:05.441Z] 988bab9f4d93: Pulling fs layer [2022-07-12T01:52:05.441Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T01:52:05.441Z] eaf3925da568: Pulling fs layer [2022-07-12T01:52:05.441Z] bab4dde63d76: Pulling fs layer [2022-07-12T01:52:05.441Z] bde34c3a00c8: Pulling fs layer [2022-07-12T01:52:05.441Z] b352a97aabf1: Pulling fs layer [2022-07-12T01:52:05.441Z] 4872d77fe225: Pulling fs layer [2022-07-12T01:52:05.441Z] 5851b861e8e6: Pulling fs layer [2022-07-12T01:52:05.441Z] 988bab9f4d93: Waiting [2022-07-12T01:52:05.441Z] 1469e6f7b9e6: Waiting [2022-07-12T01:52:05.441Z] eaf3925da568: Waiting [2022-07-12T01:52:05.441Z] bab4dde63d76: Waiting [2022-07-12T01:52:05.441Z] bde34c3a00c8: Waiting [2022-07-12T01:52:05.441Z] b352a97aabf1: Waiting [2022-07-12T01:52:05.441Z] 4872d77fe225: Waiting [2022-07-12T01:52:05.441Z] 5851b861e8e6: Waiting [2022-07-12T01:52:05.441Z] e2be974225ed: Verifying Checksum [2022-07-12T01:52:05.441Z] e2be974225ed: Download complete [2022-07-12T01:52:05.441Z] 988bab9f4d93: Verifying Checksum [2022-07-12T01:52:05.441Z] 988bab9f4d93: Download complete [2022-07-12T01:52:05.702Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T01:52:05.702Z] 1469e6f7b9e6: Download complete [2022-07-12T01:52:05.702Z] eaf3925da568: Verifying Checksum [2022-07-12T01:52:05.702Z] eaf3925da568: Download complete [2022-07-12T01:52:05.702Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T01:52:05.702Z] 339a4e72a1f5: Download complete [2022-07-12T01:52:05.702Z] bde34c3a00c8: Download complete [2022-07-12T01:52:05.702Z] b352a97aabf1: Download complete [2022-07-12T01:52:05.702Z] 4872d77fe225: Verifying Checksum [2022-07-12T01:52:05.702Z] 4872d77fe225: Download complete [2022-07-12T01:52:05.702Z] 5851b861e8e6: Verifying Checksum [2022-07-12T01:52:05.702Z] 5851b861e8e6: Download complete [2022-07-12T01:52:05.702Z] b85a868b505f: Verifying Checksum [2022-07-12T01:52:05.702Z] b85a868b505f: Download complete [2022-07-12T01:52:05.961Z] bab4dde63d76: Verifying Checksum [2022-07-12T01:52:05.961Z] bab4dde63d76: Download complete [2022-07-12T01:52:06.903Z] b85a868b505f: Pull complete [2022-07-12T01:52:07.164Z] e2be974225ed: Pull complete [2022-07-12T01:52:07.736Z] 339a4e72a1f5: Pull complete [2022-07-12T01:52:07.736Z] 988bab9f4d93: Pull complete [2022-07-12T01:52:07.997Z] 1469e6f7b9e6: Pull complete [2022-07-12T01:52:07.997Z] eaf3925da568: Pull complete [2022-07-12T01:52:09.911Z] bab4dde63d76: Pull complete [2022-07-12T01:52:09.911Z] bde34c3a00c8: Pull complete [2022-07-12T01:52:09.911Z] b352a97aabf1: Pull complete [2022-07-12T01:52:10.172Z] 4872d77fe225: Pull complete [2022-07-12T01:52:10.172Z] 5851b861e8e6: Pull complete [2022-07-12T01:52:10.172Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T01:52:10.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T01:52:10.172Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:52:10.274Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T01:52:10.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T01:52:11.715Z] $ docker top c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 -eo pid,comm [2022-07-12T01:52:11.779Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T01:52:11.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T01:52:11.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T01:52:11.812Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T01:52:11.924Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T01:52:11.928Z] $ docker exec c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent [2022-07-12T01:52:12.045Z] SSH_AUTH_SOCK=/tmp/ssh-ikzuinaYkzEf/agent.32 [2022-07-12T01:52:12.045Z] SSH_AGENT_PID=39 [2022-07-12T01:52:12.051Z] Running ssh-add (command line suppressed) [2022-07-12T01:52:12.162Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5304324093091413495.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5304324093091413495.key) [2022-07-12T01:52:12.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T01:52:12.462Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T01:52:12.482Z] $ docker exec --env ******** --env ******** c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent -k [2022-07-12T01:52:12.581Z] unset SSH_AUTH_SOCK; [2022-07-12T01:52:12.581Z] unset SSH_AGENT_PID; [2022-07-12T01:52:12.581Z] echo Agent pid 39 killed; [2022-07-12T01:52:12.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T01:52:12.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T01:52:12.616Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T01:52:12.741Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T01:52:12.745Z] $ docker exec c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent [2022-07-12T01:52:12.882Z] SSH_AUTH_SOCK=/tmp/ssh-xdq5UQFah61v/agent.71 [2022-07-12T01:52:12.882Z] SSH_AGENT_PID=78 [2022-07-12T01:52:12.887Z] Running ssh-add (command line suppressed) [2022-07-12T01:52:13.008Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2582724461770404687.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2582724461770404687.key) [2022-07-12T01:52:13.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T01:52:13.312Z] + git semver init [2022-07-12T01:52:13.572Z] 2022-07-12 01:52:13,541 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T01:52:13.572Z] 2022-07-12 01:52:13,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-12T01:52:13.572Z] 2022-07-12 01:52:13,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-12T01:52:13.572Z] 2022-07-12 01:52:13,542 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T01:52:14.515Z] 2022-07-12 01:52:14,494 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-07-12T01:52:14.515Z] 2022-07-12 01:52:14,494 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-07-12T01:52:14.515Z] 2022-07-12 01:52:14,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T01:52:14.515Z] 2022-07-12 01:52:14,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T01:52:14.515Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T01:52:14.790Z] $ docker exec --env ******** --env ******** c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 ssh-agent -k [2022-07-12T01:52:14.904Z] unset SSH_AUTH_SOCK; [2022-07-12T01:52:14.904Z] unset SSH_AGENT_PID; [2022-07-12T01:52:14.904Z] echo Agent pid 78 killed; [2022-07-12T01:52:14.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T01:52:15.250Z] + git semver [Pipeline] } [2022-07-12T01:52:15.840Z] $ docker stop --time=1 c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 [2022-07-12T01:52:17.156Z] $ docker rm -f c19e17330dcdf69620f4fd378f5934f19fbe81e3b24b8342396f4604f4979836 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:52:17.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T01:52:17.818Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T01:52:17.820Z] [edgeXSemver]: initialized semver on version 2.2.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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:52:17.970Z] provisioning config files... [2022-07-12T01:52:17.981Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8087386992427121703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:52:18.274Z] ---> docker-login.sh [2022-07-12T01:52:18.274Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:52:18.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:18.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:18.274Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:18.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:18.274Z] [2022-07-12T01:52:18.274Z] Login Succeeded [2022-07-12T01:52:18.274Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:52:18.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:18.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:18.534Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:18.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:18.534Z] [2022-07-12T01:52:18.534Z] Login Succeeded [2022-07-12T01:52:18.534Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:52:18.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:18.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:18.534Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:18.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:18.534Z] [2022-07-12T01:52:18.534Z] Login Succeeded [2022-07-12T01:52:18.534Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:52:18.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:18.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:18.796Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:18.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:18.796Z] [2022-07-12T01:52:18.796Z] Login Succeeded [2022-07-12T01:52:18.796Z] docker.io [2022-07-12T01:52:18.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:52:19.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:52:19.058Z] Configure a credential helper to remove this warning. See [2022-07-12T01:52:19.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:52:19.058Z] [2022-07-12T01:52:19.058Z] Login Succeeded [2022-07-12T01:52:19.058Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:52:19.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T01:52:19.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:52:19.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:52:19.169Z] ========================================================= [2022-07-12T01:52:19.169Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T01:52:19.169Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:52:19.492Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T01:52:19.492Z] Sending build context to Docker daemon 10.68MB [2022-07-12T01:52:19.492Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:52:19.492Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T01:52:19.492Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T01:52:19.492Z] 2408cc74d12b: Pulling fs layer [2022-07-12T01:52:19.492Z] ea60b727a1ce: Pulling fs layer [2022-07-12T01:52:19.492Z] 30c4a7721957: Pulling fs layer [2022-07-12T01:52:19.492Z] 370296b7ddb6: Pulling fs layer [2022-07-12T01:52:19.492Z] 7c6cee850709: Pulling fs layer [2022-07-12T01:52:19.492Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T01:52:19.492Z] d94ebbe4e438: Pulling fs layer [2022-07-12T01:52:19.492Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T01:52:19.492Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T01:52:19.492Z] 39a5fcdaea64: Waiting [2022-07-12T01:52:19.492Z] d94ebbe4e438: Waiting [2022-07-12T01:52:19.492Z] bcfd1f05c69d: Waiting [2022-07-12T01:52:19.492Z] 59ccb84bbe0f: Waiting [2022-07-12T01:52:19.492Z] 370296b7ddb6: Waiting [2022-07-12T01:52:19.492Z] 7c6cee850709: Waiting [2022-07-12T01:52:19.492Z] 30c4a7721957: Verifying Checksum [2022-07-12T01:52:19.492Z] 30c4a7721957: Download complete [2022-07-12T01:52:19.754Z] ea60b727a1ce: Download complete [2022-07-12T01:52:19.754Z] 7c6cee850709: Verifying Checksum [2022-07-12T01:52:19.754Z] 7c6cee850709: Download complete [2022-07-12T01:52:19.754Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T01:52:19.754Z] 39a5fcdaea64: Download complete [2022-07-12T01:52:19.754Z] 2408cc74d12b: Verifying Checksum [2022-07-12T01:52:19.754Z] 2408cc74d12b: Download complete [2022-07-12T01:52:19.754Z] d94ebbe4e438: Verifying Checksum [2022-07-12T01:52:19.754Z] d94ebbe4e438: Download complete [2022-07-12T01:52:19.754Z] 2408cc74d12b: Pull complete [2022-07-12T01:52:20.017Z] ea60b727a1ce: Pull complete [2022-07-12T01:52:20.017Z] 30c4a7721957: Pull complete [2022-07-12T01:52:20.017Z] 59ccb84bbe0f: Download complete [2022-07-12T01:52:20.277Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T01:52:20.277Z] bcfd1f05c69d: Download complete [2022-07-12T01:52:20.536Z] 370296b7ddb6: Download complete [2022-07-12T01:52:24.726Z] 370296b7ddb6: Pull complete [2022-07-12T01:52:24.726Z] 7c6cee850709: Pull complete [2022-07-12T01:52:24.726Z] 39a5fcdaea64: Pull complete [2022-07-12T01:52:24.726Z] d94ebbe4e438: Pull complete [2022-07-12T01:52:26.637Z] bcfd1f05c69d: Pull complete [2022-07-12T01:52:27.208Z] 59ccb84bbe0f: Pull complete [2022-07-12T01:52:27.208Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T01:52:27.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T01:52:27.208Z] ---> a4fb48ad2a94 [2022-07-12T01:52:27.208Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T01:52:29.121Z] ---> Running in 08c40bc71978 [2022-07-12T01:52:29.121Z] Removing intermediate container 08c40bc71978 [2022-07-12T01:52:29.121Z] ---> da7109981b69 [2022-07-12T01:52:29.121Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:52:29.121Z] ---> Running in 69a797528555 [2022-07-12T01:52:29.121Z] Removing intermediate container 69a797528555 [2022-07-12T01:52:29.121Z] ---> 85d4ba1ef4df [2022-07-12T01:52:29.121Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:52:29.121Z] ---> Running in 000e86b961a8 [2022-07-12T01:52:29.121Z] Removing intermediate container 000e86b961a8 [2022-07-12T01:52:29.121Z] ---> 0f9454f5d086 [2022-07-12T01:52:29.121Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:52:29.381Z] ---> Running in 4cb4cf0c8ce6 [2022-07-12T01:52:29.953Z] Removing intermediate container 4cb4cf0c8ce6 [2022-07-12T01:52:29.953Z] ---> 14ea883ea94a [2022-07-12T01:52:29.953Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:52:29.953Z] ---> Running in 7f3fa5ec48e2 [2022-07-12T01:52:30.212Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:52:31.150Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:52:31.412Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T01:52:31.412Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T01:52:31.674Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T01:52:31.674Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T01:52:31.674Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:52:31.674Z] OK: 216 MiB in 55 packages [2022-07-12T01:52:32.245Z] Removing intermediate container 7f3fa5ec48e2 [2022-07-12T01:52:32.245Z] ---> 6748e12ff276 [2022-07-12T01:52:32.245Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T01:52:32.245Z] ---> Running in 2852caf5b6cb [2022-07-12T01:52:32.245Z] Removing intermediate container 2852caf5b6cb [2022-07-12T01:52:32.245Z] ---> b6d1815b61f0 [2022-07-12T01:52:32.245Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T01:52:32.504Z] ---> a1f55f47515b [2022-07-12T01:52:32.504Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:52:32.504Z] ---> Running in e02c344667c4 [2022-07-12T01:52:32.922Z] Still waiting to schedule task [2022-07-12T01:52:32.922Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19508’ [2022-07-12T01:52:50.620Z] Removing intermediate container e02c344667c4 [2022-07-12T01:52:50.620Z] ---> cd5ca038e170 [2022-07-12T01:52:50.620Z] Step 11/12 : COPY . . [2022-07-12T01:52:50.620Z] ---> 5ee1d10b26e6 [2022-07-12T01:52:50.620Z] Step 12/12 : RUN $MAKE [2022-07-12T01:52:50.620Z] ---> Running in 85ae780bb2d9 [2022-07-12T01:52:50.620Z] noop [2022-07-12T01:52:50.620Z] Removing intermediate container 85ae780bb2d9 [2022-07-12T01:52:50.620Z] ---> 28092012d1d5 [2022-07-12T01:52:50.620Z] Successfully built 28092012d1d5 [2022-07-12T01:52:50.620Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:52:50.939Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T01:52:50.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:52:51.008Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T01:52:51.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T01:52:51.459Z] $ docker top acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:52:51.806Z] + go version [2022-07-12T01:52:51.806Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T01:52:51.820Z] $ docker stop --time=1 acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a [2022-07-12T01:52:53.129Z] $ docker rm -f acfd540e6d6e827a7a15c3772cec7ea8286d25a29362c06d006c3b4ec70b1b8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:52:53.543Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T01:52:53.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:52:53.667Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T01:52:53.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T01:52:54.142Z] $ docker top bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:52:54.501Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-12T01:52:54.804Z] + make test [2022-07-12T01:52:54.805Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T01:52:55.066Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T01:53:05.063Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T01:53:05.063Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 55.2% of statements [2022-07-12T01:53:11.642Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-12T01:53:11.642Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T01:53:14.192Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T01:53:14.192Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T01:53:14.192Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T01:53:14.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T01:53:14.223Z] $ docker stop --time=1 bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 [2022-07-12T01:53:15.957Z] $ docker rm -f bc12982a2f073418dd8be3af8a2fa35584163cc0f9c0bfbae183d3d7adbf0927 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:53:16.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T01:53:16.438Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T01:53:16.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T01:53:17.176Z] + ls -al . [2022-07-12T01:53:17.176Z] total 172 [2022-07-12T01:53:17.176Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:52 . [2022-07-12T01:53:17.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:51 .. [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:51 .dockerignore [2022-07-12T01:53:17.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:53 .git [2022-07-12T01:53:17.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:51 .github [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:51 .gitignore [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:51 .golangci.yml [2022-07-12T01:53:17.176Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:52 .semver [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:51 Attribution.txt [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:51 CHANGELOG.md [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:51 Dockerfile [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:51 GOVERNANCE.md [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:51 Jenkinsfile [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:51 LICENSE [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:51 Makefile [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:51 OWNERS.md [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:51 README.md [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 01:52 VERSION [2022-07-12T01:53:17.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:51 bin [2022-07-12T01:53:17.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:51 cmd [2022-07-12T01:53:17.176Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:53 coverage.out [2022-07-12T01:53:17.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:51 driver [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:51 go.mod [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:51 go.sum [2022-07-12T01:53:17.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:51 snap [2022-07-12T01:53:17.176Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:17.487Z] + 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f --label arch=amd64 --label version=2.2.1-dev.9 . [2022-07-12T01:53:17.487Z] Sending build context to Docker daemon 10.69MB [2022-07-12T01:53:17.487Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:53:17.487Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T01:53:17.487Z] ---> 28092012d1d5 [2022-07-12T01:53:17.487Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T01:53:17.487Z] ---> Running in b2de3cbc5016 [2022-07-12T01:53:17.750Z] Removing intermediate container b2de3cbc5016 [2022-07-12T01:53:17.750Z] ---> 0f71723c6470 [2022-07-12T01:53:17.750Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:53:17.750Z] ---> Running in 4817b7e8b806 [2022-07-12T01:53:17.750Z] Removing intermediate container 4817b7e8b806 [2022-07-12T01:53:17.750Z] ---> 84dc4e0d722d [2022-07-12T01:53:17.750Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:53:17.750Z] ---> Running in 904a8c34e666 [2022-07-12T01:53:18.011Z] Removing intermediate container 904a8c34e666 [2022-07-12T01:53:18.011Z] ---> dc55cce2c5e9 [2022-07-12T01:53:18.011Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:53:18.011Z] ---> Running in f7dbb6888018 [2022-07-12T01:53:18.581Z] Removing intermediate container f7dbb6888018 [2022-07-12T01:53:18.581Z] ---> ff06983f1241 [2022-07-12T01:53:18.581Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:53:18.581Z] ---> Running in a11f0235e138 [2022-07-12T01:53:18.843Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:53:19.788Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:53:20.049Z] OK: 216 MiB in 55 packages [2022-07-12T01:53:20.624Z] Removing intermediate container a11f0235e138 [2022-07-12T01:53:20.624Z] ---> 1435d11f0256 [2022-07-12T01:53:20.624Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T01:53:20.624Z] ---> Running in bf372e1f7d35 [2022-07-12T01:53:20.624Z] Removing intermediate container bf372e1f7d35 [2022-07-12T01:53:20.624Z] ---> bf90036d2d5e [2022-07-12T01:53:20.624Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T01:53:20.883Z] ---> 811258a5b30a [2022-07-12T01:53:20.883Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:53:20.883Z] ---> Running in 7d5f7f4182e0 [2022-07-12T01:53:21.826Z] Removing intermediate container 7d5f7f4182e0 [2022-07-12T01:53:21.826Z] ---> dc46229dfc27 [2022-07-12T01:53:21.826Z] Step 11/25 : COPY . . [2022-07-12T01:53:22.087Z] ---> 22151243411f [2022-07-12T01:53:22.087Z] Step 12/25 : RUN $MAKE [2022-07-12T01:53:22.087Z] ---> Running in ead5dc6ca6aa [2022-07-12T01:53:22.347Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-12T01:53:44.295Z] Removing intermediate container ead5dc6ca6aa [2022-07-12T01:53:44.295Z] ---> a22d84a1db30 [2022-07-12T01:53:44.295Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T01:53:44.295Z] 3.16: Pulling from library/alpine [2022-07-12T01:53:44.295Z] 2408cc74d12b: Already exists [2022-07-12T01:53:44.295Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T01:53:44.295Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T01:53:44.295Z] ---> e66264b98777 [2022-07-12T01:53:44.295Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T01:53:44.295Z] ---> Running in 87e72d9e6518 [2022-07-12T01:53:44.295Z] Removing intermediate container 87e72d9e6518 [2022-07-12T01:53:44.295Z] ---> 28c995241d47 [2022-07-12T01:53:44.295Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T01:53:44.295Z] ---> Running in 656acaa26926 [2022-07-12T01:53:44.295Z] Removing intermediate container 656acaa26926 [2022-07-12T01:53:44.295Z] ---> 478d8ca36fb3 [2022-07-12T01:53:44.295Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T01:53:44.295Z] ---> Running in f4939c1af632 [2022-07-12T01:53:44.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T01:53:44.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T01:53:44.295Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T01:53:44.295Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T01:53:44.295Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T01:53:44.295Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T01:53:44.295Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T01:53:44.295Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T01:53:44.295Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:53:44.295Z] OK: 8 MiB in 20 packages [2022-07-12T01:53:44.295Z] Removing intermediate container f4939c1af632 [2022-07-12T01:53:44.295Z] ---> 1574159ad237 [2022-07-12T01:53:44.295Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-12T01:53:44.555Z] ---> 135d262cb10c [2022-07-12T01:53:44.555Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-12T01:53:44.815Z] ---> d70166f0ffea [2022-07-12T01:53:44.815Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-12T01:53:44.815Z] ---> 48189aa6d70f [2022-07-12T01:53:44.815Z] Step 20/25 : EXPOSE 59986 [2022-07-12T01:53:44.815Z] ---> Running in 48ceb1056104 [2022-07-12T01:53:44.815Z] Removing intermediate container 48ceb1056104 [2022-07-12T01:53:44.815Z] ---> 01d00ed0ef4f [2022-07-12T01:53:44.815Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-12T01:53:45.075Z] ---> Running in e66752079325 [2022-07-12T01:53:45.075Z] Removing intermediate container e66752079325 [2022-07-12T01:53:45.075Z] ---> a7af9dfd5aae [2022-07-12T01:53:45.075Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T01:53:45.075Z] ---> Running in 3ddb2ae72190 [2022-07-12T01:53:45.336Z] Removing intermediate container 3ddb2ae72190 [2022-07-12T01:53:45.336Z] ---> 8bfe60e368ad [2022-07-12T01:53:45.336Z] Step 23/25 : LABEL arch=amd64 [2022-07-12T01:53:45.336Z] ---> Running in 06ee43b9c59a [2022-07-12T01:53:45.336Z] Removing intermediate container 06ee43b9c59a [2022-07-12T01:53:45.336Z] ---> a7af7105aad7 [2022-07-12T01:53:45.336Z] Step 24/25 : LABEL git_sha=a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T01:53:45.336Z] ---> Running in 215c7e2c1673 [2022-07-12T01:53:45.597Z] Removing intermediate container 215c7e2c1673 [2022-07-12T01:53:45.597Z] ---> 2ca7e32990a1 [2022-07-12T01:53:45.597Z] Step 25/25 : LABEL version=2.2.1-dev.9 [2022-07-12T01:53:45.597Z] ---> Running in 174d454e549d [2022-07-12T01:53:45.597Z] Removing intermediate container 174d454e549d [2022-07-12T01:53:45.597Z] ---> c496632ccdf3 [2022-07-12T01:53:45.598Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T01:53:45.598Z] Successfully built c496632ccdf3 [2022-07-12T01:53:45.598Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:53:45.701Z] provisioning config files... [2022-07-12T01:53:45.709Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5619229950055099576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:53:46.003Z] ---> docker-login.sh [2022-07-12T01:53:46.003Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:53:46.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:53:46.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:53:46.003Z] Configure a credential helper to remove this warning. See [2022-07-12T01:53:46.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:53:46.003Z] [2022-07-12T01:53:46.003Z] Login Succeeded [2022-07-12T01:53:46.003Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:53:46.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:53:46.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:53:46.003Z] Configure a credential helper to remove this warning. See [2022-07-12T01:53:46.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:53:46.003Z] [2022-07-12T01:53:46.003Z] Login Succeeded [2022-07-12T01:53:46.003Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:53:46.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:53:46.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:53:46.264Z] Configure a credential helper to remove this warning. See [2022-07-12T01:53:46.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:53:46.264Z] [2022-07-12T01:53:46.264Z] Login Succeeded [2022-07-12T01:53:46.264Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:53:46.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:53:46.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:53:46.523Z] Configure a credential helper to remove this warning. See [2022-07-12T01:53:46.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:53:46.523Z] [2022-07-12T01:53:46.523Z] Login Succeeded [2022-07-12T01:53:46.523Z] docker.io [2022-07-12T01:53:46.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:53:46.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:53:46.783Z] Configure a credential helper to remove this warning. See [2022-07-12T01:53:46.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:53:46.783Z] [2022-07-12T01:53:46.783Z] Login Succeeded [2022-07-12T01:53:46.783Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:53:46.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T01:53:46.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:53:46.840Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-07-12T01:53:46.840Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T01:53:46.840Z] latest [2022-07-12T01:53:46.840Z] 2.2.1-dev.9 [2022-07-12T01:53:46.840Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T01:53:46.840Z] main [2022-07-12T01:53:46.840Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:47.165Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:47.475Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T01:53:47.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-12T01:53:47.475Z] 4912b402e090: Preparing [2022-07-12T01:53:47.475Z] d9753b953d76: Preparing [2022-07-12T01:53:47.475Z] e1749ce1fbbc: Preparing [2022-07-12T01:53:47.475Z] 54b113f43e74: Preparing [2022-07-12T01:53:47.475Z] 24302eb7d908: Preparing [2022-07-12T01:53:47.475Z] 24302eb7d908: Layer already exists [2022-07-12T01:53:47.475Z] 4912b402e090: Pushed [2022-07-12T01:53:47.475Z] d9753b953d76: Pushed [2022-07-12T01:53:47.736Z] 54b113f43e74: Pushed [2022-07-12T01:53:49.648Z] e1749ce1fbbc: Pushed [2022-07-12T01:53:49.909Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:50.226Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:50.538Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-07-12T01:53:50.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-12T01:53:50.538Z] 4912b402e090: Preparing [2022-07-12T01:53:50.538Z] d9753b953d76: Preparing [2022-07-12T01:53:50.538Z] e1749ce1fbbc: Preparing [2022-07-12T01:53:50.538Z] 54b113f43e74: Preparing [2022-07-12T01:53:50.538Z] 24302eb7d908: Preparing [2022-07-12T01:53:50.538Z] 24302eb7d908: Layer already exists [2022-07-12T01:53:50.538Z] 4912b402e090: Layer already exists [2022-07-12T01:53:50.538Z] 54b113f43e74: Layer already exists [2022-07-12T01:53:50.538Z] d9753b953d76: Layer already exists [2022-07-12T01:53:50.538Z] e1749ce1fbbc: Layer already exists [2022-07-12T01:53:50.538Z] latest: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:50.861Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:51.263Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [2022-07-12T01:53:51.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-12T01:53:51.263Z] 4912b402e090: Preparing [2022-07-12T01:53:51.263Z] d9753b953d76: Preparing [2022-07-12T01:53:51.263Z] e1749ce1fbbc: Preparing [2022-07-12T01:53:51.263Z] 54b113f43e74: Preparing [2022-07-12T01:53:51.263Z] 24302eb7d908: Preparing [2022-07-12T01:53:51.263Z] 24302eb7d908: Layer already exists [2022-07-12T01:53:51.263Z] d9753b953d76: Layer already exists [2022-07-12T01:53:51.263Z] 54b113f43e74: Layer already exists [2022-07-12T01:53:51.263Z] 4912b402e090: Layer already exists [2022-07-12T01:53:51.263Z] e1749ce1fbbc: Layer already exists [2022-07-12T01:53:51.263Z] 2.2.1-dev.9: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:51.579Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:51.892Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T01:53:51.892Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-12T01:53:51.892Z] 4912b402e090: Preparing [2022-07-12T01:53:51.892Z] d9753b953d76: Preparing [2022-07-12T01:53:51.892Z] e1749ce1fbbc: Preparing [2022-07-12T01:53:51.892Z] 54b113f43e74: Preparing [2022-07-12T01:53:51.892Z] 24302eb7d908: Preparing [2022-07-12T01:53:51.892Z] e1749ce1fbbc: Layer already exists [2022-07-12T01:53:51.892Z] 24302eb7d908: Layer already exists [2022-07-12T01:53:51.893Z] d9753b953d76: Layer already exists [2022-07-12T01:53:51.893Z] 54b113f43e74: Layer already exists [2022-07-12T01:53:51.893Z] 4912b402e090: Layer already exists [2022-07-12T01:53:51.893Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:52.292Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:52.609Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-07-12T01:53:52.609Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-07-12T01:53:52.609Z] 4912b402e090: Preparing [2022-07-12T01:53:52.609Z] d9753b953d76: Preparing [2022-07-12T01:53:52.609Z] e1749ce1fbbc: Preparing [2022-07-12T01:53:52.609Z] 54b113f43e74: Preparing [2022-07-12T01:53:52.609Z] 24302eb7d908: Preparing [2022-07-12T01:53:52.609Z] 4912b402e090: Layer already exists [2022-07-12T01:53:52.609Z] d9753b953d76: Layer already exists [2022-07-12T01:53:52.609Z] 54b113f43e74: Layer already exists [2022-07-12T01:53:52.609Z] e1749ce1fbbc: Layer already exists [2022-07-12T01:53:52.609Z] 24302eb7d908: Layer already exists [2022-07-12T01:53:52.609Z] main: digest: sha256:a78b2ad43c2f452feb76150b90583e825d92d0bad8db766160ebf61feca73f27 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T01:53:52.654Z] ===================================================== [Pipeline] echo [2022-07-12T01:53:52.662Z] taggedImages: [2022-07-12T01:53:52.662Z] - nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T01:53:52.662Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-07-12T01:53:52.662Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.9 [2022-07-12T01:53:52.662Z] - nexus3.edgexfoundry.org:10004/device-rest:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T01:53:52.662Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:53.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:53:53.033Z] [2022-07-12T01:53:53.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:53:53.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:53:53.331Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T01:53:53.331Z] 5eb5b503b376: Pulling fs layer [2022-07-12T01:53:53.331Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T01:53:53.331Z] ec43610c2a17: Pulling fs layer [2022-07-12T01:53:53.331Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T01:53:53.331Z] 33b1e0a273af: Pulling fs layer [2022-07-12T01:53:53.331Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T01:53:53.331Z] 2f39f015ded8: Pulling fs layer [2022-07-12T01:53:53.331Z] 3a2ae6a8a46f: Waiting [2022-07-12T01:53:53.331Z] 33b1e0a273af: Waiting [2022-07-12T01:53:53.331Z] 5d3b04190fa2: Waiting [2022-07-12T01:53:53.331Z] 2f39f015ded8: Waiting [2022-07-12T01:53:53.331Z] 5c69ac0246d0: Download complete [2022-07-12T01:53:53.331Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T01:53:53.331Z] 3a2ae6a8a46f: Download complete [2022-07-12T01:53:53.331Z] 33b1e0a273af: Verifying Checksum [2022-07-12T01:53:53.331Z] 33b1e0a273af: Download complete [2022-07-12T01:53:53.331Z] ec43610c2a17: Verifying Checksum [2022-07-12T01:53:53.331Z] ec43610c2a17: Download complete [2022-07-12T01:53:53.331Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T01:53:53.331Z] 5d3b04190fa2: Download complete [2022-07-12T01:53:53.590Z] 5eb5b503b376: Verifying Checksum [2022-07-12T01:53:53.590Z] 5eb5b503b376: Download complete [2022-07-12T01:53:54.159Z] 2f39f015ded8: Download complete [2022-07-12T01:53:54.727Z] 5eb5b503b376: Pull complete [2022-07-12T01:53:54.727Z] 5c69ac0246d0: Pull complete [2022-07-12T01:53:55.297Z] ec43610c2a17: Pull complete [2022-07-12T01:53:55.297Z] 3a2ae6a8a46f: Pull complete [2022-07-12T01:53:55.556Z] 33b1e0a273af: Pull complete [2022-07-12T01:53:55.556Z] 5d3b04190fa2: Pull complete [2022-07-12T01:53:59.746Z] 2f39f015ded8: Pull complete [2022-07-12T01:53:59.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T01:53:59.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T01:53:59.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:53:59.832Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T01:53:59.878Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T01:54:01.531Z] $ docker top 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:54:01.908Z] ---> job-cost.sh [2022-07-12T01:54:01.908Z] lf-activate-venv: SKIPPING [2022-07-12T01:54:01.908Z] INFO: No Stack... [2022-07-12T01:54:02.170Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T01:54:02.742Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T01:54:03.034Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-07-12T01:54:03.034Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T01:54:03.047Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [2022-07-12T01:54:03.053Z] Resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] did not exist. Created. [2022-07-12T01:54:03.053Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T01:54:03.353Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T01:54:03.376Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T01:54:03.382Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T01:54:03.408Z] $ docker stop --time=1 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b [2022-07-12T01:54:04.560Z] $ docker rm -f 3ff785e106658772abb85c8d43f1dd1216d9373e2465a77db3dba4b45425621b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T01:55:44.903Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19511 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-07-12T01:55:44.917Z] Running in /w/workspace/device-rest-go/52 [Pipeline] { [Pipeline] checkout [2022-07-12T01:55:44.952Z] The recommended git tool is: git [2022-07-12T01:55:52.660Z] using credential edgex-jenkins-ssh [2022-07-12T01:55:52.685Z] Cloning the remote Git repository [2022-07-12T01:55:52.764Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T01:55:52.858Z] > git init /w/workspace/device-rest-go/52 # timeout=10 [2022-07-12T01:55:52.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-12T01:55:52.961Z] > git --version # timeout=10 [2022-07-12T01:55:52.995Z] > git --version # 'git version 2.25.1' [2022-07-12T01:55:52.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T01:55:53.108Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T01:55:55.630Z] Avoid second fetch [2022-07-12T01:55:55.631Z] Checking out Revision a8865c056b3ddfa2315b5fa3a0a86be937f1051f (main) [2022-07-12T01:55:55.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-12T01:55:55.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T01:55:55.652Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T01:55:55.683Z] > git checkout -f a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 [2022-07-12T01:56:00.212Z] Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.12" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:56:01.157Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T01:56:01.157Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T01:56:01.157Z] Dload Upload Total Spent Left Speed [2022-07-12T01:56:01.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-07-12T01:56:01.822Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T01:56:02.169Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T01:56:02.169Z] + sudo tee /etc/docker/daemon.new [2022-07-12T01:56:02.169Z] { [2022-07-12T01:56:02.169Z] "registry-mirrors": [ [2022-07-12T01:56:02.169Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T01:56:02.169Z] ], [2022-07-12T01:56:02.169Z] "bip": "10.250.0.254/24", [2022-07-12T01:56:02.169Z] "hosts": [ [2022-07-12T01:56:02.169Z] "tcp://0.0.0.0:5555", [2022-07-12T01:56:02.169Z] "unix:///var/run/docker.sock" [2022-07-12T01:56:02.169Z] ], [2022-07-12T01:56:02.169Z] "mtu": 1458, [2022-07-12T01:56:02.169Z] "selinux-enabled": true, [2022-07-12T01:56:02.169Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T01:56:02.169Z] } [Pipeline] sh [2022-07-12T01:56:02.524Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T01:56:02.871Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T01:56:21.237Z] provisioning config files... [2022-07-12T01:56:21.261Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config4099888082098657061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T01:56:21.622Z] ---> docker-login.sh [2022-07-12T01:56:21.623Z] nexus3.edgexfoundry.org:10001 [2022-07-12T01:56:22.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:56:22.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:56:22.497Z] Configure a credential helper to remove this warning. See [2022-07-12T01:56:22.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:56:22.497Z] [2022-07-12T01:56:22.497Z] Login Succeeded [2022-07-12T01:56:22.497Z] nexus3.edgexfoundry.org:10002 [2022-07-12T01:56:22.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:56:22.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:56:22.778Z] Configure a credential helper to remove this warning. See [2022-07-12T01:56:22.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:56:22.778Z] [2022-07-12T01:56:22.778Z] Login Succeeded [2022-07-12T01:56:22.778Z] nexus3.edgexfoundry.org:10003 [2022-07-12T01:56:23.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:56:23.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:56:23.376Z] Configure a credential helper to remove this warning. See [2022-07-12T01:56:23.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:56:23.376Z] [2022-07-12T01:56:23.376Z] Login Succeeded [2022-07-12T01:56:23.376Z] nexus3.edgexfoundry.org:10004 [2022-07-12T01:56:23.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:56:23.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:56:23.936Z] Configure a credential helper to remove this warning. See [2022-07-12T01:56:23.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:56:23.936Z] [2022-07-12T01:56:23.936Z] Login Succeeded [2022-07-12T01:56:23.936Z] docker.io [2022-07-12T01:56:24.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T01:56:24.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T01:56:24.490Z] Configure a credential helper to remove this warning. See [2022-07-12T01:56:24.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T01:56:24.490Z] [2022-07-12T01:56:24.490Z] Login Succeeded [2022-07-12T01:56:24.490Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T01:56:24.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T01:56:25.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:56:25.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T01:56:25.035Z] ========================================================= [2022-07-12T01:56:25.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T01:56:25.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:56:25.408Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T01:56:25.408Z] Sending build context to Docker daemon 126.5kB [2022-07-12T01:56:25.690Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:56:25.690Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T01:56:25.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T01:56:25.690Z] b3c136eddcbf: Pulling fs layer [2022-07-12T01:56:25.690Z] c0a3192eca97: Pulling fs layer [2022-07-12T01:56:25.690Z] a050256f5b6f: Pulling fs layer [2022-07-12T01:56:25.690Z] 656be50a0ddc: Pulling fs layer [2022-07-12T01:56:25.690Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T01:56:25.690Z] 46d945488cbd: Pulling fs layer [2022-07-12T01:56:25.690Z] 8a5474983e97: Pulling fs layer [2022-07-12T01:56:25.690Z] 329c88fbcd65: Pulling fs layer [2022-07-12T01:56:25.690Z] 656be50a0ddc: Waiting [2022-07-12T01:56:25.690Z] 2bbca73fdf42: Waiting [2022-07-12T01:56:25.690Z] 46d945488cbd: Waiting [2022-07-12T01:56:25.690Z] 8a5474983e97: Waiting [2022-07-12T01:56:25.690Z] 329c88fbcd65: Waiting [2022-07-12T01:56:25.964Z] a050256f5b6f: Verifying Checksum [2022-07-12T01:56:25.964Z] a050256f5b6f: Download complete [2022-07-12T01:56:25.964Z] c0a3192eca97: Verifying Checksum [2022-07-12T01:56:25.964Z] c0a3192eca97: Download complete [2022-07-12T01:56:25.964Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T01:56:25.964Z] 2bbca73fdf42: Download complete [2022-07-12T01:56:25.964Z] 46d945488cbd: Verifying Checksum [2022-07-12T01:56:25.964Z] 46d945488cbd: Download complete [2022-07-12T01:56:25.964Z] b3c136eddcbf: Download complete [2022-07-12T01:56:26.958Z] b3c136eddcbf: Pull complete [2022-07-12T01:56:26.958Z] 329c88fbcd65: Verifying Checksum [2022-07-12T01:56:26.958Z] 329c88fbcd65: Download complete [2022-07-12T01:56:27.566Z] c0a3192eca97: Pull complete [2022-07-12T01:56:27.566Z] a050256f5b6f: Pull complete [2022-07-12T01:56:28.170Z] 8a5474983e97: Verifying Checksum [2022-07-12T01:56:28.170Z] 8a5474983e97: Download complete [2022-07-12T01:56:28.767Z] 656be50a0ddc: Download complete [2022-07-12T01:56:43.859Z] 656be50a0ddc: Pull complete [2022-07-12T01:56:43.859Z] 2bbca73fdf42: Pull complete [2022-07-12T01:56:43.860Z] 46d945488cbd: Pull complete [2022-07-12T01:56:49.294Z] 8a5474983e97: Pull complete [2022-07-12T01:56:50.750Z] 329c88fbcd65: Pull complete [2022-07-12T01:56:50.750Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T01:56:50.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T01:56:50.750Z] ---> ff4287adb874 [2022-07-12T01:56:50.750Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T01:56:51.347Z] ---> Running in 8c1204f57a8e [2022-07-12T01:56:51.620Z] Removing intermediate container 8c1204f57a8e [2022-07-12T01:56:51.620Z] ---> eb1a1490a90f [2022-07-12T01:56:51.620Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:56:51.620Z] ---> Running in 402fe762d89b [2022-07-12T01:56:51.903Z] Removing intermediate container 402fe762d89b [2022-07-12T01:56:51.903Z] ---> c0caffbb8a19 [2022-07-12T01:56:51.903Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:56:52.177Z] ---> Running in f748b2e961d5 [2022-07-12T01:56:52.449Z] Removing intermediate container f748b2e961d5 [2022-07-12T01:56:52.449Z] ---> 73510c2adf6e [2022-07-12T01:56:52.449Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:56:52.449Z] ---> Running in 07b02b563f34 [2022-07-12T01:56:54.425Z] Removing intermediate container 07b02b563f34 [2022-07-12T01:56:54.425Z] ---> 235af60c0558 [2022-07-12T01:56:54.425Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:56:54.425Z] ---> Running in b47dd15876e2 [2022-07-12T01:56:55.407Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T01:56:56.387Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T01:56:56.985Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T01:56:57.258Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T01:56:57.258Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T01:56:57.536Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T01:56:57.536Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T01:56:57.536Z] OK: 226 MiB in 55 packages [2022-07-12T01:57:00.176Z] Removing intermediate container b47dd15876e2 [2022-07-12T01:57:00.176Z] ---> dea521de5f2d [2022-07-12T01:57:00.176Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-12T01:57:00.176Z] ---> Running in 4b87bf4ef1d3 [2022-07-12T01:57:00.176Z] Removing intermediate container 4b87bf4ef1d3 [2022-07-12T01:57:00.176Z] ---> 3cb59713ad3b [2022-07-12T01:57:00.176Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T01:57:00.772Z] ---> d2fc07b8e768 [2022-07-12T01:57:00.772Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:57:00.772Z] ---> Running in 5570b7f73bc0 [2022-07-12T01:57:47.768Z] Removing intermediate container 5570b7f73bc0 [2022-07-12T01:57:47.768Z] ---> 1d43057f965b [2022-07-12T01:57:47.768Z] Step 11/12 : COPY . . [2022-07-12T01:57:47.768Z] ---> ced6a82d114c [2022-07-12T01:57:47.768Z] Step 12/12 : RUN $MAKE [2022-07-12T01:57:47.768Z] ---> Running in 55a9899f7822 [2022-07-12T01:57:47.768Z] noop [2022-07-12T01:57:47.768Z] Removing intermediate container 55a9899f7822 [2022-07-12T01:57:47.768Z] ---> dee4563cce74 [2022-07-12T01:57:47.768Z] Successfully built dee4563cce74 [2022-07-12T01:57:47.768Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:57:48.138Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T01:57:48.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:57:48.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container [2022-07-12T01:57:48.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T01:57:49.761Z] $ docker top d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:57:50.671Z] + go version [2022-07-12T01:57:50.671Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T01:57:50.696Z] $ docker stop --time=1 d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 [2022-07-12T01:57:52.347Z] $ docker rm -f d6dbf525930d64003aa03b6e0f315608c5e88fb0d5e3a97fa6b08ec184e70b38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:57:52.983Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T01:57:52.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T01:57:53.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container [2022-07-12T01:57:53.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T01:57:54.561Z] $ docker top 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T01:57:55.470Z] + git config --global --add safe.directory /w/workspace/device-rest-go/52 [Pipeline] fileExists [Pipeline] sh [2022-07-12T01:57:56.142Z] + make test [2022-07-12T01:57:56.142Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T01:57:57.581Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-12T01:59:19.462Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-12T01:59:19.735Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 55.2% of statements [2022-07-12T01:59:20.332Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T01:59:20.332Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T01:59:42.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T01:59:42.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T01:59:42.524Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T01:59:42.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T01:59:42.557Z] $ docker stop --time=1 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b [2022-07-12T01:59:44.377Z] $ docker rm -f 3ce0b4d3cfa9cc90237c1f7bf2d1619bbd952791ac68f02c9c5e8ab2613e8b8b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T01:59:45.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T01:59:45.469Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T01:59:45.985Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T01:59:46.386Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T01:59:46.726Z] + ls -al . [2022-07-12T01:59:46.726Z] total 168 [2022-07-12T01:59:46.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:57 . [2022-07-12T01:59:46.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:55 .. [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 01:55 .dockerignore [2022-07-12T01:59:46.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:55 .git [2022-07-12T01:59:46.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:55 .github [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 01:55 .gitignore [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 01:55 .golangci.yml [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 01:55 Attribution.txt [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 01:55 CHANGELOG.md [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 01:55 Dockerfile [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:55 GOVERNANCE.md [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 01:55 Jenkinsfile [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 01:55 LICENSE [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 01:55 Makefile [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 01:55 OWNERS.md [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 01:55 README.md [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 12 01:52 VERSION [2022-07-12T01:59:46.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:55 bin [2022-07-12T01:59:46.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 01:55 cmd [2022-07-12T01:59:46.726Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 01:59 coverage.out [2022-07-12T01:59:46.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:55 driver [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 01:55 go.mod [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 01:55 go.sum [2022-07-12T01:59:46.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:55 snap [2022-07-12T01:59:46.726Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 01:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T01:59:47.082Z] + 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f --label arch=arm64 --label version=2.2.1-dev.9 . [2022-07-12T01:59:47.082Z] Sending build context to Docker daemon 136.7kB [2022-07-12T01:59:47.360Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T01:59:47.360Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T01:59:47.360Z] ---> dee4563cce74 [2022-07-12T01:59:47.360Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T01:59:47.634Z] ---> Running in ff111770d0b8 [2022-07-12T01:59:47.905Z] Removing intermediate container ff111770d0b8 [2022-07-12T01:59:47.905Z] ---> 7174e29a382d [2022-07-12T01:59:47.905Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T01:59:47.905Z] ---> Running in 319a1bb8713b [2022-07-12T01:59:48.189Z] Removing intermediate container 319a1bb8713b [2022-07-12T01:59:48.189Z] ---> 6baa834fdbc7 [2022-07-12T01:59:48.189Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T01:59:48.189Z] ---> Running in bf233ea7dac1 [2022-07-12T01:59:48.796Z] Removing intermediate container bf233ea7dac1 [2022-07-12T01:59:48.796Z] ---> 4d390dbd14c2 [2022-07-12T01:59:48.796Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T01:59:48.796Z] ---> Running in 147a51a91768 [2022-07-12T01:59:50.783Z] Removing intermediate container 147a51a91768 [2022-07-12T01:59:50.783Z] ---> 3d9cac75f644 [2022-07-12T01:59:50.783Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T01:59:50.783Z] ---> Running in e67e9a37c544 [2022-07-12T01:59:51.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T01:59:52.752Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T01:59:53.740Z] OK: 226 MiB in 55 packages [2022-07-12T01:59:54.345Z] Removing intermediate container e67e9a37c544 [2022-07-12T01:59:54.345Z] ---> 2b91f747803b [2022-07-12T01:59:54.345Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-12T01:59:54.345Z] ---> Running in 540ad8ae1cab [2022-07-12T01:59:54.620Z] Removing intermediate container 540ad8ae1cab [2022-07-12T01:59:54.620Z] ---> 60a796c0f5ef [2022-07-12T01:59:54.620Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T01:59:55.220Z] ---> dc650ceeacb7 [2022-07-12T01:59:55.220Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T01:59:55.220Z] ---> Running in 1b0db8b197cd [2022-07-12T01:59:57.201Z] Removing intermediate container 1b0db8b197cd [2022-07-12T01:59:57.201Z] ---> 87ecd0bdf8c6 [2022-07-12T01:59:57.201Z] Step 11/25 : COPY . . [2022-07-12T01:59:57.799Z] ---> 51ed8258419d [2022-07-12T01:59:57.799Z] Step 12/25 : RUN $MAKE [2022-07-12T01:59:58.080Z] ---> Running in e5dcd49dd9a9 [2022-07-12T01:59:59.067Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-12T02:02:20.997Z] Removing intermediate container e5dcd49dd9a9 [2022-07-12T02:02:20.997Z] ---> 656abde8926f [2022-07-12T02:02:20.997Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T02:02:20.997Z] 3.16: Pulling from library/alpine [2022-07-12T02:02:20.997Z] b3c136eddcbf: Already exists [2022-07-12T02:02:20.997Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T02:02:20.997Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T02:02:20.997Z] ---> 6e30ab57aeee [2022-07-12T02:02:20.997Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T02:02:20.997Z] ---> Running in ce5c0c20d735 [2022-07-12T02:02:20.997Z] Removing intermediate container ce5c0c20d735 [2022-07-12T02:02:20.997Z] ---> f6d05c16a780 [2022-07-12T02:02:20.997Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-12T02:02:20.997Z] ---> Running in fe3bed6269f7 [2022-07-12T02:02:20.997Z] Removing intermediate container fe3bed6269f7 [2022-07-12T02:02:20.997Z] ---> d541cd23e9a2 [2022-07-12T02:02:20.997Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T02:02:20.997Z] ---> Running in 080e8244bc9c [2022-07-12T02:02:20.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T02:02:20.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T02:02:20.997Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T02:02:20.997Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T02:02:20.997Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T02:02:20.997Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T02:02:20.997Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T02:02:20.997Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T02:02:20.997Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T02:02:20.997Z] OK: 8 MiB in 20 packages [2022-07-12T02:02:20.997Z] Removing intermediate container 080e8244bc9c [2022-07-12T02:02:20.997Z] ---> b27e7323d846 [2022-07-12T02:02:20.997Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-12T02:02:20.997Z] ---> 69e62549bf1e [2022-07-12T02:02:20.997Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-12T02:02:20.997Z] ---> 5a7651d9358f [2022-07-12T02:02:20.997Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-12T02:02:20.997Z] ---> bb28572d66a6 [2022-07-12T02:02:20.997Z] Step 20/25 : EXPOSE 59986 [2022-07-12T02:02:20.997Z] ---> Running in cb6f867ec820 [2022-07-12T02:02:20.997Z] Removing intermediate container cb6f867ec820 [2022-07-12T02:02:20.997Z] ---> 4b347b134025 [2022-07-12T02:02:20.997Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-12T02:02:20.997Z] ---> Running in c09564058176 [2022-07-12T02:02:20.997Z] Removing intermediate container c09564058176 [2022-07-12T02:02:20.997Z] ---> 3123aa909e20 [2022-07-12T02:02:20.997Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T02:02:20.997Z] ---> Running in db057e65a691 [2022-07-12T02:02:20.997Z] Removing intermediate container db057e65a691 [2022-07-12T02:02:20.997Z] ---> cc09116728b5 [2022-07-12T02:02:20.997Z] Step 23/25 : LABEL arch=arm64 [2022-07-12T02:02:20.997Z] ---> Running in 26dcb057931e [2022-07-12T02:02:20.997Z] Removing intermediate container 26dcb057931e [2022-07-12T02:02:20.997Z] ---> 154a4cb5bace [2022-07-12T02:02:20.997Z] Step 24/25 : LABEL git_sha=a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T02:02:20.997Z] ---> Running in e429cf592083 [2022-07-12T02:02:20.997Z] Removing intermediate container e429cf592083 [2022-07-12T02:02:20.997Z] ---> 4ea1f4300d81 [2022-07-12T02:02:20.997Z] Step 25/25 : LABEL version=2.2.1-dev.9 [2022-07-12T02:02:20.997Z] ---> Running in e1254e620c4d [2022-07-12T02:02:20.997Z] Removing intermediate container e1254e620c4d [2022-07-12T02:02:20.997Z] ---> b7cce9e331f3 [2022-07-12T02:02:20.997Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T02:02:20.997Z] Successfully built b7cce9e331f3 [2022-07-12T02:02:20.997Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T02:02:21.114Z] provisioning config files... [2022-07-12T02:02:21.132Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/52@tmp/config7736352823062126744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:02:21.491Z] ---> docker-login.sh [2022-07-12T02:02:21.492Z] nexus3.edgexfoundry.org:10001 [2022-07-12T02:02:21.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T02:02:21.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T02:02:21.766Z] Configure a credential helper to remove this warning. See [2022-07-12T02:02:21.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T02:02:21.766Z] [2022-07-12T02:02:21.766Z] Login Succeeded [2022-07-12T02:02:21.766Z] nexus3.edgexfoundry.org:10002 [2022-07-12T02:02:22.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T02:02:22.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T02:02:22.309Z] Configure a credential helper to remove this warning. See [2022-07-12T02:02:22.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T02:02:22.309Z] [2022-07-12T02:02:22.309Z] Login Succeeded [2022-07-12T02:02:22.309Z] nexus3.edgexfoundry.org:10003 [2022-07-12T02:02:22.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T02:02:22.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T02:02:22.581Z] Configure a credential helper to remove this warning. See [2022-07-12T02:02:22.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T02:02:22.581Z] [2022-07-12T02:02:22.581Z] Login Succeeded [2022-07-12T02:02:22.581Z] nexus3.edgexfoundry.org:10004 [2022-07-12T02:02:22.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T02:02:23.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T02:02:23.128Z] Configure a credential helper to remove this warning. See [2022-07-12T02:02:23.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T02:02:23.128Z] [2022-07-12T02:02:23.128Z] Login Succeeded [2022-07-12T02:02:23.128Z] docker.io [2022-07-12T02:02:23.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T02:02:23.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T02:02:23.673Z] Configure a credential helper to remove this warning. See [2022-07-12T02:02:23.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T02:02:23.673Z] [2022-07-12T02:02:23.673Z] Login Succeeded [2022-07-12T02:02:23.673Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T02:02:23.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T02:02:23.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T02:02:23.734Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-07-12T02:02:23.734Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T02:02:23.734Z] latest [2022-07-12T02:02:23.734Z] 2.2.1-dev.9 [2022-07-12T02:02:23.734Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T02:02:23.734Z] main [2022-07-12T02:02:23.734Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:24.291Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:24.723Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T02:02:24.723Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-12T02:02:24.723Z] 5034499717ed: Preparing [2022-07-12T02:02:24.723Z] 61e997244fe0: Preparing [2022-07-12T02:02:24.723Z] c479768541a9: Preparing [2022-07-12T02:02:24.723Z] 23e56994d2ea: Preparing [2022-07-12T02:02:24.723Z] dd565ff850e7: Preparing [2022-07-12T02:02:24.723Z] dd565ff850e7: Layer already exists [2022-07-12T02:02:25.000Z] 61e997244fe0: Pushed [2022-07-12T02:02:25.000Z] 5034499717ed: Pushed [2022-07-12T02:02:25.596Z] 23e56994d2ea: Pushed [2022-07-12T02:02:30.988Z] c479768541a9: Pushed [2022-07-12T02:02:30.988Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:31.352Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:31.711Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-12T02:02:31.711Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-12T02:02:31.711Z] 5034499717ed: Preparing [2022-07-12T02:02:31.711Z] 61e997244fe0: Preparing [2022-07-12T02:02:31.711Z] c479768541a9: Preparing [2022-07-12T02:02:31.711Z] 23e56994d2ea: Preparing [2022-07-12T02:02:31.711Z] dd565ff850e7: Preparing [2022-07-12T02:02:31.711Z] 5034499717ed: Layer already exists [2022-07-12T02:02:31.711Z] dd565ff850e7: Layer already exists [2022-07-12T02:02:31.711Z] 61e997244fe0: Layer already exists [2022-07-12T02:02:31.711Z] 23e56994d2ea: Layer already exists [2022-07-12T02:02:31.711Z] c479768541a9: Layer already exists [2022-07-12T02:02:31.982Z] latest: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:32.348Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:32.703Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-12T02:02:32.703Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-12T02:02:32.703Z] 5034499717ed: Preparing [2022-07-12T02:02:32.703Z] 61e997244fe0: Preparing [2022-07-12T02:02:32.703Z] c479768541a9: Preparing [2022-07-12T02:02:32.703Z] 23e56994d2ea: Preparing [2022-07-12T02:02:32.703Z] dd565ff850e7: Preparing [2022-07-12T02:02:32.703Z] dd565ff850e7: Layer already exists [2022-07-12T02:02:32.703Z] c479768541a9: Layer already exists [2022-07-12T02:02:32.703Z] 23e56994d2ea: Layer already exists [2022-07-12T02:02:32.703Z] 5034499717ed: Layer already exists [2022-07-12T02:02:32.703Z] 61e997244fe0: Layer already exists [2022-07-12T02:02:32.975Z] 2.2.1-dev.9: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:33.352Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:33.713Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T02:02:33.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-12T02:02:33.713Z] 5034499717ed: Preparing [2022-07-12T02:02:33.713Z] 61e997244fe0: Preparing [2022-07-12T02:02:33.713Z] c479768541a9: Preparing [2022-07-12T02:02:33.713Z] 23e56994d2ea: Preparing [2022-07-12T02:02:33.713Z] dd565ff850e7: Preparing [2022-07-12T02:02:33.713Z] dd565ff850e7: Layer already exists [2022-07-12T02:02:33.713Z] c479768541a9: Layer already exists [2022-07-12T02:02:33.713Z] 5034499717ed: Layer already exists [2022-07-12T02:02:33.713Z] 61e997244fe0: Layer already exists [2022-07-12T02:02:33.713Z] 23e56994d2ea: Layer already exists [2022-07-12T02:02:33.713Z] a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:34.356Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:34.717Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-07-12T02:02:34.717Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-12T02:02:34.717Z] 5034499717ed: Preparing [2022-07-12T02:02:34.717Z] 61e997244fe0: Preparing [2022-07-12T02:02:34.717Z] c479768541a9: Preparing [2022-07-12T02:02:34.717Z] 23e56994d2ea: Preparing [2022-07-12T02:02:34.717Z] dd565ff850e7: Preparing [2022-07-12T02:02:34.717Z] 61e997244fe0: Layer already exists [2022-07-12T02:02:34.717Z] 23e56994d2ea: Layer already exists [2022-07-12T02:02:34.717Z] c479768541a9: Layer already exists [2022-07-12T02:02:34.717Z] dd565ff850e7: Layer already exists [2022-07-12T02:02:34.717Z] 5034499717ed: Layer already exists [2022-07-12T02:02:34.991Z] main: digest: sha256:b53c22794088bf155c27114c06f9a77531228e6d0f521fc4afc8965f8e3af4ee size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-12T02:02:35.046Z] ===================================================== [Pipeline] echo [2022-07-12T02:02:35.052Z] taggedImages: [2022-07-12T02:02:35.052Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f [2022-07-12T02:02:35.052Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-12T02:02:35.052Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-12T02:02:35.052Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:a8865c056b3ddfa2315b5fa3a0a86be937f1051f-2.2.1-dev.9 [2022-07-12T02:02:35.052Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:35.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T02:02:35.415Z] [2022-07-12T02:02:35.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:02:35.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T02:02:36.045Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T02:02:36.045Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T02:02:36.045Z] 04944245beec: Pulling fs layer [2022-07-12T02:02:36.045Z] 699f458cf7ca: Pulling fs layer [2022-07-12T02:02:36.045Z] 765212b225bb: Pulling fs layer [2022-07-12T02:02:36.045Z] f23df028b6ca: Pulling fs layer [2022-07-12T02:02:36.045Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T02:02:36.045Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T02:02:36.045Z] f23df028b6ca: Waiting [2022-07-12T02:02:36.045Z] d65c8cfc05b1: Waiting [2022-07-12T02:02:36.045Z] 2437ff75d9bd: Waiting [2022-07-12T02:02:36.045Z] 765212b225bb: Waiting [2022-07-12T02:02:36.045Z] 04944245beec: Verifying Checksum [2022-07-12T02:02:36.045Z] 04944245beec: Download complete [2022-07-12T02:02:36.045Z] 765212b225bb: Verifying Checksum [2022-07-12T02:02:36.045Z] 765212b225bb: Download complete [2022-07-12T02:02:36.045Z] f23df028b6ca: Download complete [2022-07-12T02:02:36.045Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T02:02:36.045Z] d65c8cfc05b1: Download complete [2022-07-12T02:02:36.332Z] 699f458cf7ca: Verifying Checksum [2022-07-12T02:02:36.332Z] 699f458cf7ca: Download complete [2022-07-12T02:02:36.605Z] 8998bd30e6a1: Download complete [2022-07-12T02:02:39.231Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T02:02:41.212Z] 8998bd30e6a1: Pull complete [2022-07-12T02:02:41.486Z] 04944245beec: Pull complete [2022-07-12T02:02:42.926Z] 699f458cf7ca: Pull complete [2022-07-12T02:02:43.203Z] 765212b225bb: Pull complete [2022-07-12T02:02:44.190Z] f23df028b6ca: Pull complete [2022-07-12T02:02:44.190Z] d65c8cfc05b1: Pull complete [2022-07-12T02:02:59.293Z] 2437ff75d9bd: Pull complete [2022-07-12T02:02:59.293Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T02:02:59.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T02:02:59.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:02:59.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-19511 does not seem to be running inside a container [2022-07-12T02:02:59.654Z] $ 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/52 -v /w/workspace/device-rest-go/52:/w/workspace/device-rest-go/52:rw,z -v /w/workspace/device-rest-go/52@tmp:/w/workspace/device-rest-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T02:03:02.378Z] $ docker top b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:03:03.303Z] ---> job-cost.sh [2022-07-12T02:03:03.303Z] lf-activate-venv: SKIPPING [2022-07-12T02:03:03.303Z] INFO: No Stack... [2022-07-12T02:03:03.895Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T02:03:04.490Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T02:03:04.890Z] + cat /w/workspace/device-rest-go/52/archives/cost.csv [2022-07-12T02:03:04.890Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T02:03:04.929Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [2022-07-12T02:03:04.936Z] Resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] did not exist. Created. [2022-07-12T02:03:04.936Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T02:03:05.652Z] /w/workspace/device-rest-go/52@tmp/durable-9819c9ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T02:03:06.360Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T02:03:06.398Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T02:03:06.479Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T02:03:06.486Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T02:03:06.504Z] $ docker stop --time=1 b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 [2022-07-12T02:03:07.995Z] $ docker rm -f b4409ad3e5b9892dfac883ef4011b07355928820eaf5bea94cb0aac3b1372cf5 [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 [2022-07-12T02:03:08.452Z] provisioning config files... [2022-07-12T02:03:08.461Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1973101598200589354tmp [Pipeline] { [Pipeline] sh [2022-07-12T02:03:08.751Z] + set +x [2022-07-12T02:03:08.751Z] + bash -s -- [2022-07-12T02:03:08.752Z] + curl -s https://codecov.io/bash [2022-07-12T02:03:08.752Z] [2022-07-12T02:03:08.752Z] _____ _ [2022-07-12T02:03:08.752Z] / ____| | | [2022-07-12T02:03:08.752Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T02:03:08.752Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T02:03:08.752Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T02:03:08.752Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T02:03:08.752Z] Bash-1.0.6 [2022-07-12T02:03:08.752Z] [2022-07-12T02:03:08.752Z] [2022-07-12T02:03:08.752Z] ==> git version 2.25.1 found [2022-07-12T02:03:08.752Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-12T02:03:08.752Z] Release-Date: 2020-01-08 [2022-07-12T02:03:08.752Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T02:03:08.752Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T02:03:08.752Z] ==> Jenkins CI detected. [2022-07-12T02:03:08.752Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-07-12T02:03:08.752Z] project root: . [2022-07-12T02:03:08.752Z] --> token set from env [2022-07-12T02:03:08.752Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T02:03:08.752Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T02:03:08.752Z] ==> Python coveragepy not found [2022-07-12T02:03:08.752Z] ==> Searching for coverage reports in: [2022-07-12T02:03:08.752Z] + . [2022-07-12T02:03:08.752Z] -> Found 1 reports [2022-07-12T02:03:08.752Z] ==> Detecting git/mercurial file structure [2022-07-12T02:03:08.752Z] ==> Reading reports [2022-07-12T02:03:09.012Z] + ./coverage.out bytes=9355 [2022-07-12T02:03:09.012Z] ==> Appending adjustments [2022-07-12T02:03:09.012Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T02:03:09.012Z] + Found adjustments [2022-07-12T02:03:09.012Z] ==> Gzipping contents [2022-07-12T02:03:09.012Z] 4.0K /tmp/codecov.1ILwtF.gz [2022-07-12T02:03:09.012Z] ==> Uploading reports [2022-07-12T02:03:09.012Z] url: https://codecov.io [2022-07-12T02:03:09.012Z] query: branch=main&commit=a8865c056b3ddfa2315b5fa3a0a86be937f1051f&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T02:03:09.012Z] -> Pinging Codecov [2022-07-12T02:03:09.012Z] 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=a8865c056b3ddfa2315b5fa3a0a86be937f1051f&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-12T02:03:09.272Z] -> Uploading to [2022-07-12T02:03:09.272Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/4E5D53B4F1F92C436F7061BF334D961C/a8865c056b3ddfa2315b5fa3a0a86be937f1051f/1881af6f-b3bc-42d2-9949-7455aa9cc15c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T020309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52c2947769ad35dc0b5ee0c74f6af131abfd86570235327f1994140f984b7246 [2022-07-12T02:03:09.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T02:03:09.272Z] Dload Upload Total Spent Left Speed [2022-07-12T02:03:09.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7101 --:--:-- --:--:-- --:--:-- 7101 [2022-07-12T02:03:09.531Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] } [2022-07-12T02:03:09.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-12T02:03:09.714Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-12T02:03:09.723Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:10.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T02:03:10.015Z] [2022-07-12T02:03:10.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:10.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T02:03:10.317Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-12T02:03:10.317Z] df9b9388f04a: Pulling fs layer [2022-07-12T02:03:10.317Z] 52dc419b0ee2: Pulling fs layer [2022-07-12T02:03:10.317Z] 25bc292e5bac: Pulling fs layer [2022-07-12T02:03:10.317Z] 114826534d7a: Pulling fs layer [2022-07-12T02:03:10.317Z] 4657fd5d0bcf: Pulling fs layer [2022-07-12T02:03:10.317Z] 6ad1cebc031e: Pulling fs layer [2022-07-12T02:03:10.317Z] 8a3aa393b2d8: Pulling fs layer [2022-07-12T02:03:10.317Z] 4657fd5d0bcf: Waiting [2022-07-12T02:03:10.317Z] 6ad1cebc031e: Waiting [2022-07-12T02:03:10.317Z] 8a3aa393b2d8: Waiting [2022-07-12T02:03:10.317Z] 25bc292e5bac: Verifying Checksum [2022-07-12T02:03:10.317Z] 25bc292e5bac: Download complete [2022-07-12T02:03:10.317Z] 52dc419b0ee2: Download complete [2022-07-12T02:03:10.317Z] 4657fd5d0bcf: Verifying Checksum [2022-07-12T02:03:10.317Z] 4657fd5d0bcf: Download complete [2022-07-12T02:03:10.317Z] df9b9388f04a: Verifying Checksum [2022-07-12T02:03:10.317Z] df9b9388f04a: Download complete [2022-07-12T02:03:10.577Z] df9b9388f04a: Pull complete [2022-07-12T02:03:10.577Z] 6ad1cebc031e: Verifying Checksum [2022-07-12T02:03:10.577Z] 6ad1cebc031e: Download complete [2022-07-12T02:03:10.577Z] 52dc419b0ee2: Pull complete [2022-07-12T02:03:10.836Z] 25bc292e5bac: Pull complete [2022-07-12T02:03:11.094Z] 114826534d7a: Verifying Checksum [2022-07-12T02:03:11.094Z] 114826534d7a: Download complete [2022-07-12T02:03:11.094Z] 8a3aa393b2d8: Verifying Checksum [2022-07-12T02:03:11.094Z] 8a3aa393b2d8: Download complete [2022-07-12T02:03:14.398Z] 114826534d7a: Pull complete [2022-07-12T02:03:14.657Z] 4657fd5d0bcf: Pull complete [2022-07-12T02:03:14.917Z] 6ad1cebc031e: Pull complete [2022-07-12T02:03:18.205Z] 8a3aa393b2d8: Pull complete [2022-07-12T02:03:18.205Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-12T02:03:18.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-12T02:03:18.205Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:03:18.311Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:03:18.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-07-12T02:03:20.391Z] $ docker top d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-12T02:03:20.459Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-07-12T02:03:20.738Z] + set -o pipefail [2022-07-12T02:03:20.739Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-07-12T02:03:24.998Z] [2022-07-12T02:03:24.998Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-07-12T02:03:24.998Z] [2022-07-12T02:03:24.998Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f4c5ed0b-a08d-4840-b664-d5a31e8cc165 [2022-07-12T02:03:24.998Z] [2022-07-12T02:03:24.998Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-12T02:03:24.998Z] [2022-07-12T02:03:24.998Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-12T02:03:24.998Z] [2022-07-12T02:03:25.257Z] [2022-07-12T02:03:25.257Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-07-12T02:03:25.257Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-07-12T02:03:25.275Z] $ docker stop --time=1 d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 [2022-07-12T02:03:27.626Z] $ docker rm -f d149911ccdf5eef3516b92a52c35de0324d21fea52208bc226078cf0c0a42c19 [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 [2022-07-12T02:03:28.418Z] + git log --format=format:%s -1 a8865c056b3ddfa2315b5fa3a0a86be937f1051f [Pipeline] sh [2022-07-12T02:03:28.717Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T02:03:28.717Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:29.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T02:03:29.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:03:29.109Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:03:29.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T02:03:29.547Z] $ docker top ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 -eo pid,comm [2022-07-12T02:03:29.596Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T02:03:29.596Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T02:03:29.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T02:03:29.642Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T02:03:29.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T02:03:29.788Z] $ docker exec ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 ssh-agent [2022-07-12T02:03:29.893Z] SSH_AUTH_SOCK=/tmp/ssh-FV62V8NWWtId/agent.33 [2022-07-12T02:03:29.893Z] SSH_AGENT_PID=39 [2022-07-12T02:03:29.898Z] Running ssh-add (command line suppressed) [2022-07-12T02:03:30.025Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3160554035478098378.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3160554035478098378.key) [2022-07-12T02:03:30.034Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T02:03:30.322Z] + git semver tag [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,535 [run_tag] DEBUG tag force:False [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,535 [check_head_tag] DEBUG check head tag [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,536 [execute] INFO git cat-file --batch-check [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,539 [execute] INFO git cat-file --batch [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,547 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,547 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,547 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T02:03:30.583Z] 2022-07-12 02:03:30,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:30.583Z] 2.2.1-dev.9 [Pipeline] } [2022-07-12T02:03:30.603Z] $ docker exec --env ******** --env ******** ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 ssh-agent -k [2022-07-12T02:03:30.709Z] unset SSH_AUTH_SOCK; [2022-07-12T02:03:30.710Z] unset SSH_AGENT_PID; [2022-07-12T02:03:30.710Z] echo Agent pid 39 killed; [2022-07-12T02:03:30.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T02:03:31.036Z] + git semver [Pipeline] } [2022-07-12T02:03:31.627Z] $ docker stop --time=1 ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 [2022-07-12T02:03:32.970Z] $ docker rm -f ce6a3635e96b2b62367b8bdf026b08d3f358482d863130f8712f11ee17542984 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:33.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T02:03:33.394Z] [2022-07-12T02:03:33.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:33.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T02:03:33.698Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-12T02:03:33.698Z] ab5ef0e58194: Pulling fs layer [2022-07-12T02:03:33.698Z] 9712f1f96733: Pulling fs layer [2022-07-12T02:03:33.698Z] 63f879dbbcfc: Pulling fs layer [2022-07-12T02:03:33.698Z] 0d9ebad4ef96: Pulling fs layer [2022-07-12T02:03:33.698Z] e9a5061849ea: Pulling fs layer [2022-07-12T02:03:33.698Z] d747dcd14b5f: Pulling fs layer [2022-07-12T02:03:33.698Z] 2de7ff778b66: Pulling fs layer [2022-07-12T02:03:33.698Z] e9a5061849ea: Waiting [2022-07-12T02:03:33.698Z] d747dcd14b5f: Waiting [2022-07-12T02:03:33.698Z] 0d9ebad4ef96: Waiting [2022-07-12T02:03:33.698Z] 2de7ff778b66: Waiting [2022-07-12T02:03:33.698Z] 9712f1f96733: Download complete [2022-07-12T02:03:34.174Z] 63f879dbbcfc: Verifying Checksum [2022-07-12T02:03:34.174Z] 63f879dbbcfc: Download complete [2022-07-12T02:03:34.174Z] e9a5061849ea: Verifying Checksum [2022-07-12T02:03:34.174Z] e9a5061849ea: Download complete [2022-07-12T02:03:34.174Z] d747dcd14b5f: Verifying Checksum [2022-07-12T02:03:34.174Z] d747dcd14b5f: Download complete [2022-07-12T02:03:34.174Z] ab5ef0e58194: Verifying Checksum [2022-07-12T02:03:34.174Z] ab5ef0e58194: Download complete [2022-07-12T02:03:34.434Z] 0d9ebad4ef96: Verifying Checksum [2022-07-12T02:03:34.434Z] 0d9ebad4ef96: Download complete [2022-07-12T02:03:34.434Z] 2de7ff778b66: Verifying Checksum [2022-07-12T02:03:34.434Z] 2de7ff778b66: Download complete [2022-07-12T02:03:36.970Z] ab5ef0e58194: Pull complete [2022-07-12T02:03:36.970Z] 9712f1f96733: Pull complete [2022-07-12T02:03:37.906Z] 63f879dbbcfc: Pull complete [2022-07-12T02:03:42.105Z] 0d9ebad4ef96: Pull complete [2022-07-12T02:03:42.105Z] e9a5061849ea: Pull complete [2022-07-12T02:03:42.105Z] d747dcd14b5f: Pull complete [2022-07-12T02:03:43.049Z] 2de7ff778b66: Pull complete [2022-07-12T02:03:43.049Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-12T02:03:43.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-12T02:03:43.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:03:43.145Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:03:43.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-12T02:03:45.591Z] $ docker top 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-12T02:03:45.672Z] provisioning config files... [2022-07-12T02:03:45.681Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4298004695723903227tmp [2022-07-12T02:03:45.692Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7819462895572626206tmp [2022-07-12T02:03:45.703Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8298605826592614647tmp [Pipeline] { [Pipeline] echo [2022-07-12T02:03:45.717Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:03:46.002Z] ---> sigul-configuration.sh [2022-07-12T02:03:46.002Z] gpg: directory `/root/.gnupg' created [2022-07-12T02:03:46.002Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-12T02:03:46.002Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-12T02:03:46.002Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-12T02:03:46.002Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-12T02:03:46.002Z] gpg: CAST5 encrypted data [2022-07-12T02:03:46.002Z] gpg: encrypted with 1 passphrase [2022-07-12T02:03:46.002Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-12T02:03:46.290Z] + mkdir /home/jenkins [2022-07-12T02:03:46.290Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-12T02:03:46.581Z] + 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 [2022-07-12T02:03:46.590Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:03:46.877Z] ---> sigul-install.sh [2022-07-12T02:03:46.877Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-12T02:03:47.165Z] + git tag --list [2022-07-12T02:03:47.165Z] v1.0.0 [2022-07-12T02:03:47.165Z] v1.1.0 [2022-07-12T02:03:47.165Z] v1.1.1 [2022-07-12T02:03:47.165Z] v1.1.2 [2022-07-12T02:03:47.165Z] v1.2.0 [2022-07-12T02:03:47.165Z] v1.2.1 [2022-07-12T02:03:47.165Z] v2.0.0 [2022-07-12T02:03:47.165Z] v2.1.0 [2022-07-12T02:03:47.165Z] v2.1.1 [2022-07-12T02:03:47.165Z] v2.1.1-dev.1 [2022-07-12T02:03:47.165Z] v2.1.1-dev.2 [2022-07-12T02:03:47.165Z] v2.1.1-dev.3 [2022-07-12T02:03:47.165Z] v2.2.0 [2022-07-12T02:03:47.165Z] v2.2.1-dev.1 [2022-07-12T02:03:47.165Z] v2.2.1-dev.2 [2022-07-12T02:03:47.165Z] v2.2.1-dev.3 [2022-07-12T02:03:47.165Z] v2.2.1-dev.4 [2022-07-12T02:03:47.165Z] v2.2.1-dev.5 [2022-07-12T02:03:47.165Z] v2.2.1-dev.6 [2022-07-12T02:03:47.165Z] v2.2.1-dev.7 [2022-07-12T02:03:47.165Z] v2.2.1-dev.8 [2022-07-12T02:03:47.165Z] v2.2.1-dev.9 [Pipeline] sh [2022-07-12T02:03:47.456Z] + lftools sign git-tag v2.2.1-dev.9 [2022-07-12T02:03:48.025Z] Signing Git tag with Sigul... [2022-07-12T02:03:48.025Z] Signing v2.2.1-dev.9 [Pipeline] echo [2022-07-12T02:03:48.295Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:03:48.583Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-12T02:03:48.592Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-12T02:03:48.617Z] $ docker stop --time=1 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a [2022-07-12T02:03:49.938Z] $ docker rm -f 37d3fae20cb8e17b8907c7893079222980868ace47dc7193401b51de5345e94a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-12T02:03:50.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T02:03:50.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:50.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T02:03:50.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:03:50.749Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:03:50.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T02:03:51.207Z] $ docker top 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T02:03:51.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T02:03:51.303Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T02:03:51.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T02:03:51.447Z] $ docker exec 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd ssh-agent [2022-07-12T02:03:51.580Z] SSH_AUTH_SOCK=/tmp/ssh-9jRZH0xEQxVP/agent.33 [2022-07-12T02:03:51.580Z] SSH_AGENT_PID=39 [2022-07-12T02:03:51.587Z] Running ssh-add (command line suppressed) [2022-07-12T02:03:51.704Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8583196891888017751.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8583196891888017751.key) [2022-07-12T02:03:51.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T02:03:52.004Z] + git semver bump pre [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [bump_version] DEBUG bumped version:2.2.1-dev.10 [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,276 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,278 [execute] INFO git cat-file --batch-check [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,282 [execute] INFO git cat-file --batch [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T02:03:52.576Z] 2022-07-12 02:03:52,286 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:52.576Z] 2.2.1-dev.10 [Pipeline] } [2022-07-12T02:03:52.591Z] $ docker exec --env ******** --env ******** 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd ssh-agent -k [2022-07-12T02:03:52.738Z] unset SSH_AUTH_SOCK; [2022-07-12T02:03:52.738Z] unset SSH_AGENT_PID; [2022-07-12T02:03:52.738Z] echo Agent pid 39 killed; [2022-07-12T02:03:52.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T02:03:53.104Z] + git semver [Pipeline] } [2022-07-12T02:03:53.383Z] $ docker stop --time=1 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd [2022-07-12T02:03:54.742Z] $ docker rm -f 6ff5529f2c98bad88fd26b8ae9ac78332726f47e5ae28af2e31da18e2b919cfd [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T02:03:55.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T02:03:55.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:03:55.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T02:03:55.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:03:55.488Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:03:55.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T02:03:55.921Z] $ docker top 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a -eo pid,comm [2022-07-12T02:03:55.975Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T02:03:55.975Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T02:03:56.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T02:03:56.012Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T02:03:56.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T02:03:56.142Z] $ docker exec 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a ssh-agent [2022-07-12T02:03:56.260Z] SSH_AUTH_SOCK=/tmp/ssh-WzLN92NMUrqS/agent.33 [2022-07-12T02:03:56.260Z] SSH_AGENT_PID=39 [2022-07-12T02:03:56.266Z] Running ssh-add (command line suppressed) [2022-07-12T02:03:56.402Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_715097886610142463.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_715097886610142463.key) [2022-07-12T02:03:56.412Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T02:03:56.701Z] + git semver push [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,951 [run_push] DEBUG push [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,952 [execute] INFO git cat-file --batch-check [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,956 [execute] INFO git rev-list cf8365977cd6e6861852c9d4f83a71658770196c -- [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,956 [execute] DEBUG Popen(['git', 'rev-list', 'cf8365977cd6e6861852c9d4f83a71658770196c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,962 [execute] INFO git fetch -v origin [2022-07-12T02:03:56.963Z] 2022-07-12 02:03:56,963 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-12T02:03:57.534Z] 2022-07-12 02:03:57,427 [run_push] DEBUG no remote changes detected [2022-07-12T02:03:57.534Z] 2022-07-12 02:03:57,427 [execute] INFO git push origin semver [2022-07-12T02:03:57.534Z] 2022-07-12 02:03:57,428 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-12T02:03:58.477Z] 2022-07-12 02:03:58,127 [run_push] DEBUG push all version tags [2022-07-12T02:03:58.477Z] 2022-07-12 02:03:58,127 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-12T02:03:58.477Z] 2022-07-12 02:03:58,128 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-12T02:03:59.046Z] 2022-07-12 02:03:58,787 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-12T02:03:59.046Z] 2.2.1-dev.10 [Pipeline] } [2022-07-12T02:03:59.061Z] $ docker exec --env ******** --env ******** 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a ssh-agent -k [2022-07-12T02:03:59.155Z] unset SSH_AUTH_SOCK; [2022-07-12T02:03:59.155Z] unset SSH_AGENT_PID; [2022-07-12T02:03:59.155Z] echo Agent pid 39 killed; [2022-07-12T02:03:59.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T02:03:59.469Z] + git semver [Pipeline] } [2022-07-12T02:03:59.748Z] $ docker stop --time=1 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a [2022-07-12T02:04:01.143Z] $ docker rm -f 99c56a89b2fc8afa4b4246c1fcbcf2b5eef394a038aa0cc40a4e3ffbd2c2f75a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T02:04:01.730Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-07-12T02:04:01.730Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-12T02:04:01.730Z] total 16 [2022-07-12T02:04:01.730Z] drwxr-xr-x 3 root root 4096 Jul 12 01:54 . [2022-07-12T02:04:01.730Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 02:03 .. [2022-07-12T02:04:01.730Z] drwxr-xr-x 2 root root 4096 Jul 12 01:54 cost [2022-07-12T02:04:01.730Z] -rw-r--r-- 1 root root 84 Jul 12 01:54 cost.csv [2022-07-12T02:04:01.730Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-12T02:04:01.731Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-12T02:04:01.731Z] total 16 [2022-07-12T02:04:01.731Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:54 . [2022-07-12T02:04:01.731Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 02:03 .. [2022-07-12T02:04:01.731Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:54 cost [2022-07-12T02:04:01.731Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:02.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:02.885Z] ---> package-listing.sh [2022-07-12T02:04:02.886Z] ++ facter osfamily [2022-07-12T02:04:02.886Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T02:04:03.148Z] + OS_FAMILY=debian [2022-07-12T02:04:03.148Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-07-12T02:04:03.148Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T02:04:03.148Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T02:04:03.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T02:04:03.148Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T02:04:03.148Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-12T02:04:03.148Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T02:04:03.148Z] + case "${OS_FAMILY}" in [2022-07-12T02:04:03.148Z] + dpkg -l [2022-07-12T02:04:03.148Z] + grep '^ii' [2022-07-12T02:04:03.148Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T02:04:03.148Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T02:04:03.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T02:04:03.148Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-12T02:04:03.148Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-07-12T02:04:03.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-07-12T02:04:03.160Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-07-12T02:04:03.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T02:04:04.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T02:04:04.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T02:04:04.084Z] prd-ubuntu20.04-docker-8c-8g-19509 does not seem to be running inside a container [2022-07-12T02:04:04.130Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T02:04:04.431Z] $ docker top dc256f420fe5fa1b96007d4f9254544957da737be601a29e3e023f31c7437571 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T02:04:04.786Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T02:04:05.072Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T02:04:05.362Z] + ls /var/log/sa-host [2022-07-12T02:04:05.363Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T02:04:05.493Z] provisioning config files... [2022-07-12T02:04:05.502Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1331539996123484060tmp [Pipeline] { [Pipeline] echo [2022-07-12T02:04:05.520Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:05.802Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T02:04:05.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:06.157Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T02:04:06.164Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:06.448Z] ---> sudo-logs.sh [2022-07-12T02:04:06.449Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T02:04:06.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:06.770Z] ---> job-cost.sh [2022-07-12T02:04:06.770Z] lf-activate-venv: SKIPPING [2022-07-12T02:04:06.770Z] DEBUG: total: 0.2199999988079071 [2022-07-12T02:04:06.770Z] INFO: Retrieving Stack Cost... [2022-07-12T02:04:07.340Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T02:04:07.600Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T02:04:07.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T02:04:07.900Z] ---> logs-deploy.sh [2022-07-12T02:04:07.900Z] lf-activate-venv: SKIPPING [2022-07-12T02:04:07.900Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/52 [2022-07-12T02:04:07.900Z] INFO: archiving workspace using pattern(s): [2022-07-12T02:04:08.842Z] Archives upload complete. [2022-07-12T02:04:09.103Z] INFO: archiving logs to Nexus