Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 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-ssh8918697589964722062.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15943255282609240725.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13661856762548993222.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6790710107052114832.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh18053795952146260142.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.20 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-4741 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 > 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 Avoid second fetch Checking out Revision cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 (main) Commit message: "feat: replace gorilla/mux with labstack/echo (#334)" > git config core.sparsecheckout # timeout=10 > git checkout -f cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 > git rev-list --no-walk 7a1d0d362fdfa11eb0dfe054808f0b2d568db7ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-28T15:23:05.364Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-28T15:23:05.422Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-28T15:23:05.436Z] ========================================================= [2023-08-28T15:23:05.436Z] EdgeX Global Pipelines Version Info [2023-08-28T15:23:05.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:23:06.150Z] ------------------- [2023-08-28T15:23:06.150Z] stable info: [2023-08-28T15:23:06.150Z] ------------------- [2023-08-28T15:23:06.150Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-28T15:23:06.150Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T15:23:06.150Z] Message: update stable to v1.0.253 [2023-08-28T15:23:06.720Z] ------------------- [2023-08-28T15:23:06.720Z] experimental info: [2023-08-28T15:23:06.720Z] ------------------- [2023-08-28T15:23:06.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-28T15:23:06.720Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-28T15:23:06.720Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-28T15:23:06.879Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-28T15:23:06.891Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-28T15:23:06.908Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-28T15:23:06.921Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-28T15:23:06.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-28T15:23:06.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-28T15:23:06.963Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-28T15:23:06.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-28T15:23:06.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-28T15:23:07.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-28T15:23:07.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-28T15:23:07.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-28T15:23:07.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-28T15:23:07.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-28T15:23:07.073Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T15:23:07.084Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-28T15:23:07.098Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T15:23:07.111Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-28T15:23:07.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-28T15:23:07.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-28T15:23:07.165Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-28T15:23:07.180Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-28T15:23:07.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-28T15:23:07.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-28T15:23:07.220Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-28T15:23:07.236Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-28T15:23:07.250Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-28T15:23:07.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-28T15:23:07.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-28T15:23:07.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-28T15:23:07.318Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] echo [2023-08-28T15:23:07.336Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf6f5c6 [Pipeline] echo [2023-08-28T15:23:07.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T15:23:07.403Z] provisioning config files... [2023-08-28T15:23:07.416Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3102813376707422472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:23:07.718Z] ---> docker-login.sh [2023-08-28T15:23:07.718Z] nexus3.edgexfoundry.org:10001 [2023-08-28T15:23:07.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:07.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:07.977Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:07.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:07.977Z] [2023-08-28T15:23:07.977Z] Login Succeeded [2023-08-28T15:23:07.977Z] nexus3.edgexfoundry.org:10002 [2023-08-28T15:23:07.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:08.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:08.237Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:08.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:08.237Z] [2023-08-28T15:23:08.237Z] Login Succeeded [2023-08-28T15:23:08.237Z] nexus3.edgexfoundry.org:10003 [2023-08-28T15:23:08.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:08.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:08.237Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:08.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:08.237Z] [2023-08-28T15:23:08.237Z] Login Succeeded [2023-08-28T15:23:08.237Z] nexus3.edgexfoundry.org:10004 [2023-08-28T15:23:08.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:08.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:08.237Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:08.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:08.237Z] [2023-08-28T15:23:08.237Z] Login Succeeded [2023-08-28T15:23:08.237Z] docker.io [2023-08-28T15:23:08.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:08.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:08.757Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:08.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:08.757Z] [2023-08-28T15:23:08.757Z] Login Succeeded [2023-08-28T15:23:08.757Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T15:23:08.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-28T15:23:09.123Z] + git rev-list -1 --merges cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7~1..cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] echo [2023-08-28T15:23:09.172Z] -----------> git rev-list -1 --merges cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7~1..cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [false] [Pipeline] sh [2023-08-28T15:23:09.462Z] + git log --format=format:%s -1 cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] echo [2023-08-28T15:23:09.477Z] ========================================================= [2023-08-28T15:23:09.477Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-28T15:23:09.477Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T15:23:09.799Z] + git log --format=format:%s -1 cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] echo [2023-08-28T15:23:09.809Z] [semverPrep] GIT_COMMIT: cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7, Commit Message: feat: replace gorilla/mux with labstack/echo (#334) [Pipeline] echo [2023-08-28T15:23:09.818Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-28T15:23:10.161Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T15:23:10.161Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-28T15:23:10.161Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-28T15:23:10.161Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-28T15:23:10.161Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-28T15:23:10.161Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-28T15:23:10.161Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:23:10.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:23:10.517Z] [2023-08-28T15:23:10.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:23:10.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:23:10.831Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-28T15:23:10.831Z] b85a868b505f: Pulling fs layer [2023-08-28T15:23:10.831Z] e2be974225ed: Pulling fs layer [2023-08-28T15:23:10.831Z] 339a4e72a1f5: Pulling fs layer [2023-08-28T15:23:10.831Z] 988bab9f4d93: Pulling fs layer [2023-08-28T15:23:10.831Z] 1469e6f7b9e6: Pulling fs layer [2023-08-28T15:23:10.831Z] eaf3925da568: Pulling fs layer [2023-08-28T15:23:10.831Z] bab4dde63d76: Pulling fs layer [2023-08-28T15:23:10.831Z] bde34c3a00c8: Pulling fs layer [2023-08-28T15:23:10.831Z] b352a97aabf1: Pulling fs layer [2023-08-28T15:23:10.831Z] 1469e6f7b9e6: Waiting [2023-08-28T15:23:10.831Z] eaf3925da568: Waiting [2023-08-28T15:23:10.831Z] 4872d77fe225: Pulling fs layer [2023-08-28T15:23:10.831Z] 5851b861e8e6: Pulling fs layer [2023-08-28T15:23:10.831Z] bab4dde63d76: Waiting [2023-08-28T15:23:10.831Z] bde34c3a00c8: Waiting [2023-08-28T15:23:10.831Z] b352a97aabf1: Waiting [2023-08-28T15:23:10.831Z] 4872d77fe225: Waiting [2023-08-28T15:23:10.831Z] 5851b861e8e6: Waiting [2023-08-28T15:23:10.831Z] 988bab9f4d93: Waiting [2023-08-28T15:23:10.831Z] e2be974225ed: Download complete [2023-08-28T15:23:10.831Z] 988bab9f4d93: Verifying Checksum [2023-08-28T15:23:10.831Z] 988bab9f4d93: Download complete [2023-08-28T15:23:11.094Z] 1469e6f7b9e6: Verifying Checksum [2023-08-28T15:23:11.094Z] 1469e6f7b9e6: Download complete [2023-08-28T15:23:11.094Z] eaf3925da568: Verifying Checksum [2023-08-28T15:23:11.094Z] eaf3925da568: Download complete [2023-08-28T15:23:11.094Z] 339a4e72a1f5: Verifying Checksum [2023-08-28T15:23:11.094Z] 339a4e72a1f5: Download complete [2023-08-28T15:23:11.094Z] bde34c3a00c8: Verifying Checksum [2023-08-28T15:23:11.094Z] bde34c3a00c8: Download complete [2023-08-28T15:23:11.094Z] b352a97aabf1: Download complete [2023-08-28T15:23:11.094Z] 4872d77fe225: Verifying Checksum [2023-08-28T15:23:11.094Z] 4872d77fe225: Download complete [2023-08-28T15:23:11.094Z] 5851b861e8e6: Verifying Checksum [2023-08-28T15:23:11.094Z] 5851b861e8e6: Download complete [2023-08-28T15:23:11.094Z] b85a868b505f: Verifying Checksum [2023-08-28T15:23:11.094Z] b85a868b505f: Download complete [2023-08-28T15:23:11.353Z] bab4dde63d76: Verifying Checksum [2023-08-28T15:23:11.353Z] bab4dde63d76: Download complete [2023-08-28T15:23:12.290Z] b85a868b505f: Pull complete [2023-08-28T15:23:12.290Z] e2be974225ed: Pull complete [2023-08-28T15:23:12.858Z] 339a4e72a1f5: Pull complete [2023-08-28T15:23:12.858Z] 988bab9f4d93: Pull complete [2023-08-28T15:23:13.117Z] 1469e6f7b9e6: Pull complete [2023-08-28T15:23:13.117Z] eaf3925da568: Pull complete [2023-08-28T15:23:15.022Z] bab4dde63d76: Pull complete [2023-08-28T15:23:15.023Z] bde34c3a00c8: Pull complete [2023-08-28T15:23:15.023Z] b352a97aabf1: Pull complete [2023-08-28T15:23:15.023Z] 4872d77fe225: Pull complete [2023-08-28T15:23:15.283Z] 5851b861e8e6: Pull complete [2023-08-28T15:23:15.283Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-28T15:23:15.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:23:15.283Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:23:15.385Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:23:15.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-28T15:23:17.660Z] $ docker top c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e -eo pid,comm [2023-08-28T15:23:17.707Z] 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). [2023-08-28T15:23:17.707Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T15:23:17.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T15:23:17.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T15:23:17.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T15:23:17.886Z] $ docker exec c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e ssh-agent [2023-08-28T15:23:17.979Z] SSH_AUTH_SOCK=/tmp/ssh-H0nevdLpLrvd/agent.31 [2023-08-28T15:23:17.979Z] SSH_AGENT_PID=37 [2023-08-28T15:23:17.987Z] Running ssh-add (command line suppressed) [2023-08-28T15:23:18.081Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7840275103966434315.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7840275103966434315.key) [2023-08-28T15:23:18.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T15:23:18.380Z] + git tag --points-at HEAD [Pipeline] } [2023-08-28T15:23:18.395Z] $ docker exec --env ******** --env ******** c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e ssh-agent -k [2023-08-28T15:23:18.510Z] unset SSH_AUTH_SOCK; [2023-08-28T15:23:18.511Z] unset SSH_AGENT_PID; [2023-08-28T15:23:18.511Z] echo Agent pid 37 killed; [2023-08-28T15:23:18.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-28T15:23:18.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T15:23:18.540Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T15:23:18.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T15:23:18.654Z] $ docker exec c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e ssh-agent [2023-08-28T15:23:18.763Z] SSH_AUTH_SOCK=/tmp/ssh-BFdTdwfLBi7y/agent.69 [2023-08-28T15:23:18.763Z] SSH_AGENT_PID=75 [2023-08-28T15:23:18.767Z] Running ssh-add (command line suppressed) [2023-08-28T15:23:18.879Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6869225707957710000.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6869225707957710000.key) [2023-08-28T15:23:18.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T15:23:19.177Z] + git semver init [2023-08-28T15:23:19.437Z] 2023-08-28 15:23:19,346 [run_init] DEBUG init version:0.0.0 force:False [2023-08-28T15:23:19.437Z] 2023-08-28 15:23:19,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-28T15:23:19.437Z] 2023-08-28 15:23:19,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-28T15:23:19.437Z] 2023-08-28 15:23:19,347 [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) [2023-08-28T15:23:20.813Z] 2023-08-28 15:23:20,605 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-08-28T15:23:20.813Z] 2023-08-28 15:23:20,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-08-28T15:23:20.813Z] 2023-08-28 15:23:20,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:23:20.813Z] 2023-08-28 15:23:20,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:23:20.813Z] 3.1.0-dev.6 [Pipeline] } [2023-08-28T15:23:20.826Z] $ docker exec --env ******** --env ******** c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e ssh-agent -k [2023-08-28T15:23:20.917Z] unset SSH_AUTH_SOCK; [2023-08-28T15:23:20.917Z] unset SSH_AGENT_PID; [2023-08-28T15:23:20.919Z] echo Agent pid 75 killed; [2023-08-28T15:23:20.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T15:23:21.245Z] + git semver [Pipeline] } [2023-08-28T15:23:21.521Z] $ docker stop --time=1 c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e [2023-08-28T15:23:22.811Z] $ docker rm -f --volumes c08d4a31cdf60b1359b07a30725d2cb03d452fe7b6e530d727ad4aa237fded3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T15:23:23.141Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-28T15:23:23.340Z] Stashed 1 file(s) [Pipeline] echo [2023-08-28T15:23:23.343Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.6 [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 [2023-08-28T15:23:23.457Z] provisioning config files... [2023-08-28T15:23:23.465Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4411384680239411686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:23:23.764Z] ---> docker-login.sh [2023-08-28T15:23:23.764Z] nexus3.edgexfoundry.org:10001 [2023-08-28T15:23:23.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:23.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:23.764Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:23.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:23.764Z] [2023-08-28T15:23:23.764Z] Login Succeeded [2023-08-28T15:23:23.764Z] nexus3.edgexfoundry.org:10002 [2023-08-28T15:23:23.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:23.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:23.764Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:23.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:23.764Z] [2023-08-28T15:23:23.764Z] Login Succeeded [2023-08-28T15:23:23.764Z] nexus3.edgexfoundry.org:10003 [2023-08-28T15:23:24.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:24.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:24.023Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:24.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:24.023Z] [2023-08-28T15:23:24.023Z] Login Succeeded [2023-08-28T15:23:24.023Z] nexus3.edgexfoundry.org:10004 [2023-08-28T15:23:24.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:24.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:24.023Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:24.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:24.023Z] [2023-08-28T15:23:24.023Z] Login Succeeded [2023-08-28T15:23:24.023Z] docker.io [2023-08-28T15:23:24.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:23:24.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:23:24.283Z] Configure a credential helper to remove this warning. See [2023-08-28T15:23:24.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:23:24.283Z] [2023-08-28T15:23:24.283Z] Login Succeeded [2023-08-28T15:23:24.283Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T15:23:24.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T15:23:24.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:23:24.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:23:24.393Z] ========================================================= [2023-08-28T15:23:24.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-28T15:23:24.393Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:23:24.712Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-28T15:23:24.712Z] Sending build context to Docker daemon 10.92MB [2023-08-28T15:23:24.712Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T15:23:24.712Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-28T15:23:24.712Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-28T15:23:24.712Z] 4db1b89c0bd1: Pulling fs layer [2023-08-28T15:23:24.712Z] 6911f1a30b25: Pulling fs layer [2023-08-28T15:23:24.712Z] e194b8c5c2a9: Pulling fs layer [2023-08-28T15:23:24.712Z] 6863d3e3a2b1: Pulling fs layer [2023-08-28T15:23:24.712Z] ec0bb842ea78: Pulling fs layer [2023-08-28T15:23:24.712Z] 40a00589a448: Pulling fs layer [2023-08-28T15:23:24.712Z] 6c08303d61cc: Pulling fs layer [2023-08-28T15:23:24.712Z] 798269fcf238: Pulling fs layer [2023-08-28T15:23:24.712Z] 6863d3e3a2b1: Waiting [2023-08-28T15:23:24.712Z] 798269fcf238: Waiting [2023-08-28T15:23:24.712Z] 6c08303d61cc: Waiting [2023-08-28T15:23:24.712Z] ec0bb842ea78: Waiting [2023-08-28T15:23:24.712Z] 40a00589a448: Waiting [2023-08-28T15:23:24.712Z] 6911f1a30b25: Download complete [2023-08-28T15:23:24.712Z] 6863d3e3a2b1: Verifying Checksum [2023-08-28T15:23:24.712Z] 6863d3e3a2b1: Download complete [2023-08-28T15:23:24.972Z] 4db1b89c0bd1: Verifying Checksum [2023-08-28T15:23:24.972Z] 4db1b89c0bd1: Download complete [2023-08-28T15:23:24.972Z] ec0bb842ea78: Verifying Checksum [2023-08-28T15:23:24.972Z] ec0bb842ea78: Download complete [2023-08-28T15:23:24.972Z] 40a00589a448: Verifying Checksum [2023-08-28T15:23:24.972Z] 40a00589a448: Download complete [2023-08-28T15:23:24.972Z] 4db1b89c0bd1: Pull complete [2023-08-28T15:23:25.234Z] 6911f1a30b25: Pull complete [2023-08-28T15:23:25.806Z] 798269fcf238: Verifying Checksum [2023-08-28T15:23:25.806Z] 798269fcf238: Download complete [2023-08-28T15:23:25.806Z] 6c08303d61cc: Verifying Checksum [2023-08-28T15:23:25.806Z] 6c08303d61cc: Download complete [2023-08-28T15:23:25.806Z] e194b8c5c2a9: Verifying Checksum [2023-08-28T15:23:25.806Z] e194b8c5c2a9: Download complete [2023-08-28T15:23:29.089Z] e194b8c5c2a9: Pull complete [2023-08-28T15:23:29.089Z] 6863d3e3a2b1: Pull complete [2023-08-28T15:23:29.089Z] ec0bb842ea78: Pull complete [2023-08-28T15:23:29.089Z] 40a00589a448: Pull complete [2023-08-28T15:23:30.984Z] 6c08303d61cc: Pull complete [2023-08-28T15:23:31.919Z] 798269fcf238: Pull complete [2023-08-28T15:23:31.919Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-28T15:23:31.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-28T15:23:31.919Z] ---> ec979cd7f677 [2023-08-28T15:23:31.919Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-28T15:23:35.209Z] ---> Running in 9c475acccdbf [2023-08-28T15:23:35.209Z] Removing intermediate container 9c475acccdbf [2023-08-28T15:23:35.209Z] ---> 940f6565aab6 [2023-08-28T15:23:35.209Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T15:23:35.468Z] ---> Running in 483b0245fdb2 [2023-08-28T15:23:35.468Z] Removing intermediate container 483b0245fdb2 [2023-08-28T15:23:35.468Z] ---> 879b360ca517 [2023-08-28T15:23:35.468Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T15:23:35.468Z] ---> Running in 282c1fcdd310 [2023-08-28T15:23:35.468Z] Removing intermediate container 282c1fcdd310 [2023-08-28T15:23:35.468Z] ---> 339cec497388 [2023-08-28T15:23:35.468Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T15:23:35.727Z] ---> Running in a94d2d8f4e0f [2023-08-28T15:23:35.727Z] Removing intermediate container a94d2d8f4e0f [2023-08-28T15:23:35.727Z] ---> b8e405d2dedc [2023-08-28T15:23:35.727Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T15:23:35.727Z] ---> Running in 8245ad1ab2e2 [2023-08-28T15:23:35.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T15:23:36.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T15:23:36.502Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-28T15:23:36.502Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-28T15:23:36.502Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-28T15:23:36.503Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-28T15:23:36.503Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T15:23:36.503Z] OK: 269 MiB in 57 packages [2023-08-28T15:23:37.069Z] Removing intermediate container 8245ad1ab2e2 [2023-08-28T15:23:37.069Z] ---> 7b3a96b23f2c [2023-08-28T15:23:37.069Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-28T15:23:37.069Z] ---> Running in 362a6e21c98d [2023-08-28T15:23:37.069Z] Removing intermediate container 362a6e21c98d [2023-08-28T15:23:37.069Z] ---> bc9f76258e54 [2023-08-28T15:23:37.069Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-28T15:23:37.069Z] ---> d948693a33cb [2023-08-28T15:23:37.069Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T15:23:37.069Z] ---> Running in ff422b5de7b1 [2023-08-28T15:23:38.425Z] Still waiting to schedule task [2023-08-28T15:23:38.425Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-08-28T15:24:03.684Z] Removing intermediate container ff422b5de7b1 [2023-08-28T15:24:03.684Z] ---> b8ca9c306531 [2023-08-28T15:24:03.684Z] Step 11/12 : COPY . . [2023-08-28T15:24:03.684Z] ---> 509745f439fa [2023-08-28T15:24:03.684Z] Step 12/12 : RUN $MAKE [2023-08-28T15:24:03.684Z] ---> Running in 326b5601c97e [2023-08-28T15:24:03.684Z] noop [2023-08-28T15:24:03.944Z] Removing intermediate container 326b5601c97e [2023-08-28T15:24:03.944Z] ---> 05e6ab1a425e [2023-08-28T15:24:03.944Z] Successfully built 05e6ab1a425e [2023-08-28T15:24:03.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:24:04.263Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T15:24:04.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:24:04.335Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:24:04.361Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-28T15:24:04.687Z] $ docker top 2204f047da3f589215324b81c9dc13e9c1d8489eb3b6034a2997dba4d14c4cfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T15:24:05.044Z] + go version [2023-08-28T15:24:05.044Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-28T15:24:05.058Z] $ docker stop --time=1 2204f047da3f589215324b81c9dc13e9c1d8489eb3b6034a2997dba4d14c4cfe [2023-08-28T15:24:06.322Z] $ docker rm -f --volumes 2204f047da3f589215324b81c9dc13e9c1d8489eb3b6034a2997dba4d14c4cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:24:06.802Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-28T15:24:06.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:24:06.881Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:24:06.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-28T15:24:07.253Z] $ docker top 541e795c8b9d93a316c866908894aefee13b1fe31769e92cd1ee0727c6a3ccf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T15:24:07.599Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-28T15:24:07.894Z] + make test [2023-08-28T15:24:07.894Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T15:24:13.170Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-28T15:24:25.364Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-28T15:24:25.364Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 33.2% of statements [2023-08-28T15:24:30.625Z] go vet ./... [2023-08-28T15:24:34.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T15:24:34.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T15:24:34.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T15:24:35.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T15:24:35.095Z] $ docker stop --time=1 541e795c8b9d93a316c866908894aefee13b1fe31769e92cd1ee0727c6a3ccf4 [2023-08-28T15:24:38.344Z] $ docker rm -f --volumes 541e795c8b9d93a316c866908894aefee13b1fe31769e92cd1ee0727c6a3ccf4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T15:24:38.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T15:24:38.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-28T15:24:39.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-28T15:24:39.757Z] + ls -al . [2023-08-28T15:24:39.757Z] total 188 [2023-08-28T15:24:39.757Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 15:24 . [2023-08-28T15:24:39.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 15:23 .. [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 28 15:23 .dockerignore [2023-08-28T15:24:39.757Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 15:23 .git [2023-08-28T15:24:39.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 15:23 .github [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 28 15:23 .gitignore [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 15:23 .golangci.yml [2023-08-28T15:24:39.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 15:23 .semver [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 28 15:23 Attribution.txt [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 28 15:23 CHANGELOG.md [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 28 15:23 Dockerfile [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 15:23 GOVERNANCE.md [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 28 15:23 Jenkinsfile [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 15:23 LICENSE [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 28 15:23 Makefile [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 15:23 OWNERS.md [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 28 15:23 README.md [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 28 15:23 VERSION [2023-08-28T15:24:39.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 15:23 bin [2023-08-28T15:24:39.757Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 15:23 cmd [2023-08-28T15:24:39.757Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 28 15:24 coverage.out [2023-08-28T15:24:39.757Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 15:23 driver [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 28 15:23 go.mod [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 28 15:23 go.sum [2023-08-28T15:24:39.757Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 15:23 snap [2023-08-28T15:24:39.757Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 28 15:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:24:40.131Z] + 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=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 --label arch=amd64 --label version=3.1.0-dev.6 . [2023-08-28T15:24:40.131Z] Sending build context to Docker daemon 10.93MB [2023-08-28T15:24:40.131Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T15:24:40.131Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-28T15:24:40.131Z] ---> 05e6ab1a425e [2023-08-28T15:24:40.131Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-28T15:24:40.390Z] ---> Running in dad1baee7aa8 [2023-08-28T15:24:40.390Z] Removing intermediate container dad1baee7aa8 [2023-08-28T15:24:40.390Z] ---> d163020f96e4 [2023-08-28T15:24:40.390Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T15:24:40.390Z] ---> Running in 30e4a5da48d1 [2023-08-28T15:24:40.390Z] Removing intermediate container 30e4a5da48d1 [2023-08-28T15:24:40.390Z] ---> e8c45e291add [2023-08-28T15:24:40.390Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T15:24:40.390Z] ---> Running in 22cadad17fee [2023-08-28T15:24:40.648Z] Removing intermediate container 22cadad17fee [2023-08-28T15:24:40.648Z] ---> a8d7cf4dd110 [2023-08-28T15:24:40.648Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T15:24:40.648Z] ---> Running in b121febde9d2 [2023-08-28T15:24:40.648Z] Removing intermediate container b121febde9d2 [2023-08-28T15:24:40.648Z] ---> da91f8989ff1 [2023-08-28T15:24:40.648Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T15:24:40.648Z] ---> Running in cb1e0a5dad67 [2023-08-28T15:24:40.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T15:24:41.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T15:24:41.425Z] OK: 269 MiB in 57 packages [2023-08-28T15:24:41.684Z] Removing intermediate container cb1e0a5dad67 [2023-08-28T15:24:41.684Z] ---> ab36b29b01ad [2023-08-28T15:24:41.684Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-28T15:24:41.684Z] ---> Running in 80130e0a81cd [2023-08-28T15:24:41.684Z] Removing intermediate container 80130e0a81cd [2023-08-28T15:24:41.684Z] ---> 33e25888382d [2023-08-28T15:24:41.684Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-28T15:24:41.942Z] ---> aafbc23b23fd [2023-08-28T15:24:41.942Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T15:24:41.942Z] ---> Running in 7d826fe4f88a [2023-08-28T15:24:42.511Z] Removing intermediate container 7d826fe4f88a [2023-08-28T15:24:42.511Z] ---> 99ba26a87110 [2023-08-28T15:24:42.511Z] Step 11/25 : COPY . . [2023-08-28T15:24:42.770Z] ---> da36a0154342 [2023-08-28T15:24:42.770Z] Step 12/25 : RUN $MAKE [2023-08-28T15:24:43.029Z] ---> Running in df76ffb5af76 [2023-08-28T15:24:43.029Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-28T15:25:04.975Z] Removing intermediate container df76ffb5af76 [2023-08-28T15:25:04.975Z] ---> e0d8bb2c982c [2023-08-28T15:25:04.975Z] Step 13/25 : FROM alpine:3.17 [2023-08-28T15:25:04.975Z] 3.17: Pulling from library/alpine [2023-08-28T15:25:04.975Z] 9398808236ff: Pulling fs layer [2023-08-28T15:25:04.975Z] 9398808236ff: Verifying Checksum [2023-08-28T15:25:04.975Z] 9398808236ff: Download complete [2023-08-28T15:25:04.975Z] 9398808236ff: Pull complete [2023-08-28T15:25:04.975Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T15:25:04.975Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T15:25:04.975Z] ---> 1e0b8b5322fc [2023-08-28T15:25:04.975Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-28T15:25:04.975Z] ---> Running in 1614d2b7642e [2023-08-28T15:25:04.975Z] Removing intermediate container 1614d2b7642e [2023-08-28T15:25:04.975Z] ---> 208ff557e88e [2023-08-28T15:25:04.975Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-28T15:25:04.975Z] ---> Running in 8acf0411fd52 [2023-08-28T15:25:04.975Z] Removing intermediate container 8acf0411fd52 [2023-08-28T15:25:04.975Z] ---> defa9d0c02d2 [2023-08-28T15:25:04.975Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-28T15:25:04.975Z] ---> Running in 8b9a86d68348 [2023-08-28T15:25:04.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-28T15:25:04.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-28T15:25:04.975Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T15:25:04.975Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T15:25:04.975Z] OK: 7 MiB in 16 packages [2023-08-28T15:25:04.975Z] Removing intermediate container 8b9a86d68348 [2023-08-28T15:25:04.975Z] ---> 113020c0603d [2023-08-28T15:25:04.975Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-28T15:25:05.562Z] ---> 72b31195fee0 [2023-08-28T15:25:05.562Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-28T15:25:05.562Z] ---> 8b12582d5ccf [2023-08-28T15:25:05.562Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-28T15:25:05.562Z] ---> af2db4842c50 [2023-08-28T15:25:05.562Z] Step 20/25 : EXPOSE 59986 [2023-08-28T15:25:05.562Z] ---> Running in ac949e2eb4ad [2023-08-28T15:25:05.822Z] Removing intermediate container ac949e2eb4ad [2023-08-28T15:25:05.822Z] ---> dea8542a232c [2023-08-28T15:25:05.822Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-28T15:25:05.822Z] ---> Running in 89a29f8398c9 [2023-08-28T15:25:05.822Z] Removing intermediate container 89a29f8398c9 [2023-08-28T15:25:05.822Z] ---> ee4063a7bba5 [2023-08-28T15:25:05.822Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-28T15:25:05.822Z] ---> Running in 20941e475a75 [2023-08-28T15:25:05.822Z] Removing intermediate container 20941e475a75 [2023-08-28T15:25:05.822Z] ---> ed3cc98886b0 [2023-08-28T15:25:05.822Z] Step 23/25 : LABEL arch=amd64 [2023-08-28T15:25:06.081Z] ---> Running in d172f8b9856f [2023-08-28T15:25:06.081Z] Removing intermediate container d172f8b9856f [2023-08-28T15:25:06.081Z] ---> 98ca90248f0a [2023-08-28T15:25:06.081Z] Step 24/25 : LABEL git_sha=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:25:06.081Z] ---> Running in 93cf829bef76 [2023-08-28T15:25:06.081Z] Removing intermediate container 93cf829bef76 [2023-08-28T15:25:06.081Z] ---> d701def5b367 [2023-08-28T15:25:06.081Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-08-28T15:25:06.081Z] ---> Running in 9131b36d3be2 [2023-08-28T15:25:06.341Z] Removing intermediate container 9131b36d3be2 [2023-08-28T15:25:06.341Z] ---> e869537109d2 [2023-08-28T15:25:06.341Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T15:25:06.341Z] Successfully built e869537109d2 [2023-08-28T15:25:06.341Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T15:25:06.430Z] provisioning config files... [2023-08-28T15:25:06.439Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12663789236871452688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:25:06.737Z] ---> docker-login.sh [2023-08-28T15:25:06.737Z] nexus3.edgexfoundry.org:10001 [2023-08-28T15:25:06.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:25:06.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:25:06.737Z] Configure a credential helper to remove this warning. See [2023-08-28T15:25:06.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:25:06.737Z] [2023-08-28T15:25:06.737Z] Login Succeeded [2023-08-28T15:25:06.737Z] nexus3.edgexfoundry.org:10002 [2023-08-28T15:25:06.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:25:06.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:25:06.737Z] Configure a credential helper to remove this warning. See [2023-08-28T15:25:06.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:25:06.737Z] [2023-08-28T15:25:06.737Z] Login Succeeded [2023-08-28T15:25:06.737Z] nexus3.edgexfoundry.org:10003 [2023-08-28T15:25:06.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:25:06.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:25:06.997Z] Configure a credential helper to remove this warning. See [2023-08-28T15:25:06.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:25:06.997Z] [2023-08-28T15:25:06.997Z] Login Succeeded [2023-08-28T15:25:06.997Z] nexus3.edgexfoundry.org:10004 [2023-08-28T15:25:06.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:25:06.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:25:06.997Z] Configure a credential helper to remove this warning. See [2023-08-28T15:25:06.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:25:06.997Z] [2023-08-28T15:25:06.997Z] Login Succeeded [2023-08-28T15:25:06.997Z] docker.io [2023-08-28T15:25:06.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:25:07.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:25:07.257Z] Configure a credential helper to remove this warning. See [2023-08-28T15:25:07.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:25:07.257Z] [2023-08-28T15:25:07.257Z] Login Succeeded [2023-08-28T15:25:07.257Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T15:25:07.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-28T15:25:07.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:25:07.328Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-08-28T15:25:07.328Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:25:07.328Z] latest [2023-08-28T15:25:07.328Z] 3.1.0-dev.6 [2023-08-28T15:25:07.328Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:25:07.328Z] main [2023-08-28T15:25:07.328Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:07.662Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:07.972Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:25:07.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-28T15:25:07.973Z] 0cb94122a89a: Preparing [2023-08-28T15:25:07.973Z] 23531723d06f: Preparing [2023-08-28T15:25:07.973Z] 163df4f8b590: Preparing [2023-08-28T15:25:07.973Z] c6e118c84e01: Preparing [2023-08-28T15:25:07.973Z] 36b50b131297: Preparing [2023-08-28T15:25:07.973Z] 36b50b131297: Layer already exists [2023-08-28T15:25:07.973Z] 0cb94122a89a: Pushed [2023-08-28T15:25:07.973Z] c6e118c84e01: Pushed [2023-08-28T15:25:07.973Z] 23531723d06f: Pushed [2023-08-28T15:25:10.506Z] 163df4f8b590: Pushed [2023-08-28T15:25:10.765Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7: digest: sha256:e92d7b38439507fcd1fa2d9f46a4b86dca92f366e0d408724379515db9037f18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:11.068Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:11.368Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-28T15:25:11.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-28T15:25:11.368Z] 0cb94122a89a: Preparing [2023-08-28T15:25:11.368Z] 23531723d06f: Preparing [2023-08-28T15:25:11.368Z] 163df4f8b590: Preparing [2023-08-28T15:25:11.368Z] c6e118c84e01: Preparing [2023-08-28T15:25:11.368Z] 36b50b131297: Preparing [2023-08-28T15:25:11.368Z] 23531723d06f: Layer already exists [2023-08-28T15:25:11.368Z] 0cb94122a89a: Layer already exists [2023-08-28T15:25:11.368Z] 163df4f8b590: Layer already exists [2023-08-28T15:25:11.368Z] c6e118c84e01: Layer already exists [2023-08-28T15:25:11.368Z] 36b50b131297: Layer already exists [2023-08-28T15:25:11.368Z] latest: digest: sha256:e92d7b38439507fcd1fa2d9f46a4b86dca92f366e0d408724379515db9037f18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:11.676Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:11.994Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.6 [2023-08-28T15:25:11.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-28T15:25:11.994Z] 0cb94122a89a: Preparing [2023-08-28T15:25:11.994Z] 23531723d06f: Preparing [2023-08-28T15:25:11.994Z] 163df4f8b590: Preparing [2023-08-28T15:25:11.994Z] c6e118c84e01: Preparing [2023-08-28T15:25:11.994Z] 36b50b131297: Preparing [2023-08-28T15:25:11.994Z] c6e118c84e01: Layer already exists [2023-08-28T15:25:11.994Z] 36b50b131297: Layer already exists [2023-08-28T15:25:11.994Z] 23531723d06f: Layer already exists [2023-08-28T15:25:11.994Z] 163df4f8b590: Layer already exists [2023-08-28T15:25:11.994Z] 0cb94122a89a: Layer already exists [2023-08-28T15:25:11.994Z] 3.1.0-dev.6: digest: sha256:e92d7b38439507fcd1fa2d9f46a4b86dca92f366e0d408724379515db9037f18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:12.314Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:12.621Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:25:12.621Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-28T15:25:12.621Z] 0cb94122a89a: Preparing [2023-08-28T15:25:12.621Z] 23531723d06f: Preparing [2023-08-28T15:25:12.621Z] 163df4f8b590: Preparing [2023-08-28T15:25:12.621Z] c6e118c84e01: Preparing [2023-08-28T15:25:12.621Z] 36b50b131297: Preparing [2023-08-28T15:25:12.621Z] 36b50b131297: Layer already exists [2023-08-28T15:25:12.621Z] 163df4f8b590: Layer already exists [2023-08-28T15:25:12.621Z] 0cb94122a89a: Layer already exists [2023-08-28T15:25:12.621Z] c6e118c84e01: Layer already exists [2023-08-28T15:25:12.621Z] 23531723d06f: Layer already exists [2023-08-28T15:25:12.621Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6: digest: sha256:e92d7b38439507fcd1fa2d9f46a4b86dca92f366e0d408724379515db9037f18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:12.927Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:13.227Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-08-28T15:25:13.227Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-28T15:25:13.227Z] 0cb94122a89a: Preparing [2023-08-28T15:25:13.227Z] 23531723d06f: Preparing [2023-08-28T15:25:13.227Z] 163df4f8b590: Preparing [2023-08-28T15:25:13.227Z] c6e118c84e01: Preparing [2023-08-28T15:25:13.227Z] 36b50b131297: Preparing [2023-08-28T15:25:13.227Z] 23531723d06f: Layer already exists [2023-08-28T15:25:13.227Z] 163df4f8b590: Layer already exists [2023-08-28T15:25:13.227Z] c6e118c84e01: Layer already exists [2023-08-28T15:25:13.227Z] 36b50b131297: Layer already exists [2023-08-28T15:25:13.227Z] 0cb94122a89a: Layer already exists [2023-08-28T15:25:13.227Z] main: digest: sha256:e92d7b38439507fcd1fa2d9f46a4b86dca92f366e0d408724379515db9037f18 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-28T15:25:13.265Z] ===================================================== [Pipeline] echo [2023-08-28T15:25:13.271Z] taggedImages: [2023-08-28T15:25:13.271Z] - nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:25:13.271Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-28T15:25:13.271Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.6 [2023-08-28T15:25:13.271Z] - nexus3.edgexfoundry.org:10004/device-rest:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:25:13.271Z] - 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 [2023-08-28T15:25:13.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T15:25:13.645Z] [2023-08-28T15:25:13.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:25:13.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T15:25:13.947Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-28T15:25:13.947Z] 5eb5b503b376: Pulling fs layer [2023-08-28T15:25:13.947Z] 5c69ac0246d0: Pulling fs layer [2023-08-28T15:25:13.947Z] ec43610c2a17: Pulling fs layer [2023-08-28T15:25:13.947Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-28T15:25:13.947Z] 33b1e0a273af: Pulling fs layer [2023-08-28T15:25:13.947Z] 5d3b04190fa2: Pulling fs layer [2023-08-28T15:25:13.947Z] 2f39f015ded8: Pulling fs layer [2023-08-28T15:25:13.947Z] 33b1e0a273af: Waiting [2023-08-28T15:25:13.947Z] 5d3b04190fa2: Waiting [2023-08-28T15:25:13.947Z] 2f39f015ded8: Waiting [2023-08-28T15:25:13.947Z] 3a2ae6a8a46f: Waiting [2023-08-28T15:25:13.947Z] 5c69ac0246d0: Download complete [2023-08-28T15:25:13.947Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-28T15:25:13.947Z] 3a2ae6a8a46f: Download complete [2023-08-28T15:25:13.947Z] 33b1e0a273af: Verifying Checksum [2023-08-28T15:25:13.947Z] 33b1e0a273af: Download complete [2023-08-28T15:25:13.947Z] 5d3b04190fa2: Verifying Checksum [2023-08-28T15:25:13.947Z] 5d3b04190fa2: Download complete [2023-08-28T15:25:13.947Z] ec43610c2a17: Verifying Checksum [2023-08-28T15:25:13.947Z] ec43610c2a17: Download complete [2023-08-28T15:25:14.205Z] 5eb5b503b376: Verifying Checksum [2023-08-28T15:25:14.205Z] 5eb5b503b376: Download complete [2023-08-28T15:25:14.771Z] 2f39f015ded8: Download complete [2023-08-28T15:25:15.340Z] 5eb5b503b376: Pull complete [2023-08-28T15:25:15.340Z] 5c69ac0246d0: Pull complete [2023-08-28T15:25:15.907Z] ec43610c2a17: Pull complete [2023-08-28T15:25:15.907Z] 3a2ae6a8a46f: Pull complete [2023-08-28T15:25:15.907Z] 33b1e0a273af: Pull complete [2023-08-28T15:25:16.166Z] 5d3b04190fa2: Pull complete [2023-08-28T15:25:20.349Z] 2f39f015ded8: Pull complete [2023-08-28T15:25:20.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-28T15:25:20.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T15:25:20.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:25:20.426Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:25:20.457Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-28T15:25:23.142Z] $ docker top 058f63ea4439f72b8945088e3491e35411e49949d186430f0df939ccd20c8cf4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:25:23.512Z] ---> job-cost.sh [2023-08-28T15:25:23.512Z] lf-activate-venv: SKIPPING [2023-08-28T15:25:23.512Z] INFO: No Stack... [2023-08-28T15:25:24.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T15:25:24.339Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T15:25:24.623Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-08-28T15:25:24.623Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T15:25:24.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [2023-08-28T15:25:24.645Z] Resource [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] did not exist. Created. [2023-08-28T15:25:24.645Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T15:25:24.947Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-28T15:25:24.975Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T15:25:24.981Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T15:25:25.000Z] $ docker stop --time=1 058f63ea4439f72b8945088e3491e35411e49949d186430f0df939ccd20c8cf4 [2023-08-28T15:25:26.139Z] $ docker rm -f --volumes 058f63ea4439f72b8945088e3491e35411e49949d186430f0df939ccd20c8cf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-28T15:27:12.746Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4742 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-08-28T15:27:12.758Z] Running in /w/workspace/device-rest-go/126 [Pipeline] { [Pipeline] checkout [2023-08-28T15:27:12.784Z] The recommended git tool is: git [2023-08-28T15:27:17.583Z] using credential edgex-jenkins-ssh [2023-08-28T15:27:17.599Z] Cloning the remote Git repository [2023-08-28T15:27:17.635Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-28T15:27:17.738Z] > git init /w/workspace/device-rest-go/126 # timeout=10 [2023-08-28T15:27:17.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-28T15:27:17.886Z] > git --version # timeout=10 [2023-08-28T15:27:17.916Z] > git --version # 'git version 2.25.1' [2023-08-28T15:27:17.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-28T15:27:18.057Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T15:27:19.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-28T15:27:19.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-28T15:27:20.714Z] Avoid second fetch [2023-08-28T15:27:20.715Z] Checking out Revision cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 (main) [2023-08-28T15:27:21.227Z] Commit message: "feat: replace gorilla/mux with labstack/echo (#334)" [2023-08-28T15:27:20.728Z] > git config core.sparsecheckout # timeout=10 [2023-08-28T15:27:20.800Z] > git checkout -f cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T15:27:22.038Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-28T15:27:22.038Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T15:27:22.038Z] Dload Upload Total Spent Left Speed [2023-08-28T15:27:22.309Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 30512 0 --:--:-- --:--:-- --:--:-- 30512 100 12751 100 12751 0 0 35223 0 --:--:-- --:--:-- --:--:-- 35126 [Pipeline] sh [2023-08-28T15:27:22.880Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-28T15:27:23.202Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-28T15:27:23.202Z] + sudo tee /etc/docker/daemon.new [2023-08-28T15:27:23.202Z] { [2023-08-28T15:27:23.202Z] "registry-mirrors": [ [2023-08-28T15:27:23.202Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-28T15:27:23.202Z] ], [2023-08-28T15:27:23.202Z] "bip": "10.250.0.254/24", [2023-08-28T15:27:23.202Z] "hosts": [ [2023-08-28T15:27:23.202Z] "tcp://0.0.0.0:5555", [2023-08-28T15:27:23.202Z] "unix:///var/run/docker.sock" [2023-08-28T15:27:23.202Z] ], [2023-08-28T15:27:23.202Z] "mtu": 1458, [2023-08-28T15:27:23.202Z] "selinux-enabled": true, [2023-08-28T15:27:23.202Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-28T15:27:23.202Z] } [Pipeline] sh [2023-08-28T15:27:23.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-28T15:27:23.852Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T15:27:42.113Z] provisioning config files... [2023-08-28T15:27:42.136Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/126@tmp/config12152776247857149426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:27:42.476Z] ---> docker-login.sh [2023-08-28T15:27:42.476Z] nexus3.edgexfoundry.org:10001 [2023-08-28T15:27:42.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:27:43.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:27:43.015Z] Configure a credential helper to remove this warning. See [2023-08-28T15:27:43.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:27:43.015Z] [2023-08-28T15:27:43.015Z] Login Succeeded [2023-08-28T15:27:43.015Z] nexus3.edgexfoundry.org:10002 [2023-08-28T15:27:43.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:27:43.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:27:43.550Z] Configure a credential helper to remove this warning. See [2023-08-28T15:27:43.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:27:43.550Z] [2023-08-28T15:27:43.550Z] Login Succeeded [2023-08-28T15:27:43.550Z] nexus3.edgexfoundry.org:10003 [2023-08-28T15:27:43.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:27:43.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:27:43.817Z] Configure a credential helper to remove this warning. See [2023-08-28T15:27:43.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:27:43.817Z] [2023-08-28T15:27:43.817Z] Login Succeeded [2023-08-28T15:27:43.817Z] nexus3.edgexfoundry.org:10004 [2023-08-28T15:27:44.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:27:44.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:27:44.089Z] Configure a credential helper to remove this warning. See [2023-08-28T15:27:44.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:27:44.089Z] [2023-08-28T15:27:44.089Z] Login Succeeded [2023-08-28T15:27:44.089Z] docker.io [2023-08-28T15:27:44.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:27:44.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:27:44.623Z] Configure a credential helper to remove this warning. See [2023-08-28T15:27:44.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:27:44.623Z] [2023-08-28T15:27:44.623Z] Login Succeeded [2023-08-28T15:27:44.623Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T15:27:44.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-28T15:27:44.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:27:44.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:27:44.906Z] ========================================================= [2023-08-28T15:27:44.906Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-28T15:27:44.906Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:27:45.256Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-28T15:27:45.256Z] Sending build context to Docker daemon 143.4kB [2023-08-28T15:27:45.541Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T15:27:45.541Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-28T15:27:45.541Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-28T15:27:45.541Z] edb6bdbacee9: Pulling fs layer [2023-08-28T15:27:45.541Z] 5f9638ab2659: Pulling fs layer [2023-08-28T15:27:45.541Z] 8d51d6327a98: Pulling fs layer [2023-08-28T15:27:45.541Z] 8b374f2dd631: Pulling fs layer [2023-08-28T15:27:45.541Z] ec14aa9079de: Pulling fs layer [2023-08-28T15:27:45.541Z] 2f466654f4bb: Pulling fs layer [2023-08-28T15:27:45.541Z] 554e91adad29: Pulling fs layer [2023-08-28T15:27:45.541Z] 8b374f2dd631: Waiting [2023-08-28T15:27:45.541Z] ec14aa9079de: Waiting [2023-08-28T15:27:45.541Z] 2f466654f4bb: Waiting [2023-08-28T15:27:45.541Z] 554e91adad29: Waiting [2023-08-28T15:27:45.541Z] 5f9638ab2659: Verifying Checksum [2023-08-28T15:27:45.541Z] 5f9638ab2659: Download complete [2023-08-28T15:27:45.809Z] 8b374f2dd631: Verifying Checksum [2023-08-28T15:27:45.809Z] 8b374f2dd631: Download complete [2023-08-28T15:27:45.809Z] ec14aa9079de: Verifying Checksum [2023-08-28T15:27:45.809Z] ec14aa9079de: Download complete [2023-08-28T15:27:45.809Z] edb6bdbacee9: Verifying Checksum [2023-08-28T15:27:45.809Z] edb6bdbacee9: Download complete [2023-08-28T15:27:46.776Z] edb6bdbacee9: Pull complete [2023-08-28T15:27:47.375Z] 554e91adad29: Verifying Checksum [2023-08-28T15:27:47.375Z] 554e91adad29: Download complete [2023-08-28T15:27:47.375Z] 5f9638ab2659: Pull complete [2023-08-28T15:27:48.340Z] 8d51d6327a98: Verifying Checksum [2023-08-28T15:27:48.340Z] 8d51d6327a98: Download complete [2023-08-28T15:27:48.340Z] 2f466654f4bb: Verifying Checksum [2023-08-28T15:27:48.340Z] 2f466654f4bb: Download complete [2023-08-28T15:28:00.705Z] 8d51d6327a98: Pull complete [2023-08-28T15:28:00.705Z] 8b374f2dd631: Pull complete [2023-08-28T15:28:00.705Z] ec14aa9079de: Pull complete [2023-08-28T15:28:07.355Z] 2f466654f4bb: Pull complete [2023-08-28T15:28:08.769Z] 554e91adad29: Pull complete [2023-08-28T15:28:08.769Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-28T15:28:08.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-28T15:28:08.769Z] ---> 1e15ea492957 [2023-08-28T15:28:08.769Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-28T15:28:10.833Z] ---> Running in a42aa6798990 [2023-08-28T15:28:10.833Z] Removing intermediate container a42aa6798990 [2023-08-28T15:28:10.833Z] ---> 42e596c246b2 [2023-08-28T15:28:10.833Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T15:28:10.833Z] ---> Running in 2d1aff139961 [2023-08-28T15:28:11.101Z] Removing intermediate container 2d1aff139961 [2023-08-28T15:28:11.101Z] ---> 5283dc5f3759 [2023-08-28T15:28:11.101Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T15:28:11.101Z] ---> Running in f5adb8e21166 [2023-08-28T15:28:11.371Z] Removing intermediate container f5adb8e21166 [2023-08-28T15:28:11.371Z] ---> 6c0375f308c6 [2023-08-28T15:28:11.371Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T15:28:11.640Z] ---> Running in 0f73cb4e3804 [2023-08-28T15:28:11.906Z] Removing intermediate container 0f73cb4e3804 [2023-08-28T15:28:11.906Z] ---> c054faa1a1b3 [2023-08-28T15:28:11.906Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T15:28:11.906Z] ---> Running in 0d21eb227a90 [2023-08-28T15:28:12.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T15:28:13.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T15:28:14.480Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-28T15:28:14.480Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-28T15:28:14.480Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-28T15:28:14.480Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-28T15:28:14.480Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T15:28:14.744Z] OK: 268 MiB in 57 packages [2023-08-28T15:28:15.701Z] Removing intermediate container 0d21eb227a90 [2023-08-28T15:28:15.701Z] ---> 89d59a796b32 [2023-08-28T15:28:15.701Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-28T15:28:15.701Z] ---> Running in 3d694e9a0f62 [2023-08-28T15:28:15.970Z] Removing intermediate container 3d694e9a0f62 [2023-08-28T15:28:15.970Z] ---> 4714bc0d0bdf [2023-08-28T15:28:15.970Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-28T15:28:16.236Z] ---> 6971776ea9cf [2023-08-28T15:28:16.236Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T15:28:16.236Z] ---> Running in 84a4f306cd04 [2023-08-28T15:29:24.127Z] Removing intermediate container 84a4f306cd04 [2023-08-28T15:29:24.127Z] ---> d99ef251b759 [2023-08-28T15:29:24.127Z] Step 11/12 : COPY . . [2023-08-28T15:29:24.127Z] ---> 351a261f6bcf [2023-08-28T15:29:24.127Z] Step 12/12 : RUN $MAKE [2023-08-28T15:29:24.127Z] ---> Running in ccb6c47177ce [2023-08-28T15:29:24.127Z] noop [2023-08-28T15:29:24.127Z] Removing intermediate container ccb6c47177ce [2023-08-28T15:29:24.127Z] ---> f87a3b974626 [2023-08-28T15:29:24.127Z] Successfully built f87a3b974626 [2023-08-28T15:29:24.127Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:29:24.488Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T15:29:24.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:29:24.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2023-08-28T15:29:24.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/126 -v /w/workspace/device-rest-go/126:/w/workspace/device-rest-go/126:rw,z -v /w/workspace/device-rest-go/126@tmp:/w/workspace/device-rest-go/126@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 [2023-08-28T15:29:25.952Z] $ docker top 84c365d2f5db4730ac0987cd9f195c8168a77698b666c1b22d74e2546a8fc364 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T15:29:26.789Z] + go version [2023-08-28T15:29:26.789Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-28T15:29:26.809Z] $ docker stop --time=1 84c365d2f5db4730ac0987cd9f195c8168a77698b666c1b22d74e2546a8fc364 [2023-08-28T15:29:28.908Z] $ docker rm -f --volumes 84c365d2f5db4730ac0987cd9f195c8168a77698b666c1b22d74e2546a8fc364 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:29:29.419Z] + docker inspect -f . ci-base-image-arm64 [2023-08-28T15:29:29.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:29:29.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2023-08-28T15:29:29.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/126 -v /w/workspace/device-rest-go/126:/w/workspace/device-rest-go/126:rw,z -v /w/workspace/device-rest-go/126@tmp:/w/workspace/device-rest-go/126@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 [2023-08-28T15:29:30.778Z] $ docker top c269285f34e1a5b62a2c3859e5468d1d4c62a865087ba79b664663c8e4af151b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T15:29:31.293Z] + git config --global --add safe.directory /w/workspace/device-rest-go/126 [Pipeline] fileExists [Pipeline] sh [2023-08-28T15:29:31.618Z] + make test [2023-08-28T15:29:31.618Z] go test ./... -coverprofile=coverage.out ./... [2023-08-28T15:30:03.866Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-28T15:31:55.519Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-28T15:31:58.853Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 33.2% of statements [2023-08-28T15:31:59.437Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-28T15:31:59.437Z] go vet ./... [2023-08-28T15:32:26.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-28T15:32:26.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-28T15:32:26.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-28T15:32:26.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-28T15:32:26.418Z] $ docker stop --time=1 c269285f34e1a5b62a2c3859e5468d1d4c62a865087ba79b664663c8e4af151b [2023-08-28T15:32:28.243Z] $ docker rm -f --volumes c269285f34e1a5b62a2c3859e5468d1d4c62a865087ba79b664663c8e4af151b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T15:32:29.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-28T15:32:29.402Z] Warning: overwriting stash ‘coverage-report’ [2023-08-28T15:32:29.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-28T15:32:30.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-28T15:32:30.483Z] + ls -al . [2023-08-28T15:32:30.483Z] total 184 [2023-08-28T15:32:30.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 15:29 . [2023-08-28T15:32:30.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 15:27 .. [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 28 15:27 .dockerignore [2023-08-28T15:32:30.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 15:27 .git [2023-08-28T15:32:30.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 15:27 .github [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 28 15:27 .gitignore [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 15:27 .golangci.yml [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 28 15:27 Attribution.txt [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 28 15:27 CHANGELOG.md [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 28 15:27 Dockerfile [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 15:27 GOVERNANCE.md [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 28 15:27 Jenkinsfile [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 15:27 LICENSE [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 28 15:27 Makefile [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 15:27 OWNERS.md [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 28 15:27 README.md [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 28 15:23 VERSION [2023-08-28T15:32:30.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 15:27 bin [2023-08-28T15:32:30.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 15:27 cmd [2023-08-28T15:32:30.483Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 28 15:31 coverage.out [2023-08-28T15:32:30.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 15:27 driver [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 28 15:27 go.mod [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 28 15:27 go.sum [2023-08-28T15:32:30.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 15:27 snap [2023-08-28T15:32:30.483Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 28 15:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:32:30.825Z] + 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=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 --label arch=arm64 --label version=3.1.0-dev.6 . [2023-08-28T15:32:30.825Z] Sending build context to Docker daemon 158.7kB [2023-08-28T15:32:31.092Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-28T15:32:31.092Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-28T15:32:31.092Z] ---> f87a3b974626 [2023-08-28T15:32:31.092Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-28T15:32:31.092Z] ---> Running in 79bffb5bafc5 [2023-08-28T15:32:31.359Z] Removing intermediate container 79bffb5bafc5 [2023-08-28T15:32:31.359Z] ---> 5d871c388632 [2023-08-28T15:32:31.359Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-28T15:32:31.359Z] ---> Running in fccd304155ff [2023-08-28T15:32:31.630Z] Removing intermediate container fccd304155ff [2023-08-28T15:32:31.630Z] ---> 75fbf50a31d6 [2023-08-28T15:32:31.630Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-28T15:32:31.901Z] ---> Running in 5ace308ca5a6 [2023-08-28T15:32:32.168Z] Removing intermediate container 5ace308ca5a6 [2023-08-28T15:32:32.168Z] ---> 3a7aaf76e703 [2023-08-28T15:32:32.168Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-28T15:32:32.168Z] ---> Running in 54a634502d6e [2023-08-28T15:32:32.437Z] Removing intermediate container 54a634502d6e [2023-08-28T15:32:32.437Z] ---> 80a0b33b5ddb [2023-08-28T15:32:32.437Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-28T15:32:32.437Z] ---> Running in 6661c22d4fba [2023-08-28T15:32:33.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T15:32:33.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T15:32:34.943Z] OK: 268 MiB in 57 packages [2023-08-28T15:32:36.886Z] Removing intermediate container 6661c22d4fba [2023-08-28T15:32:36.886Z] ---> 9a7f900785a9 [2023-08-28T15:32:36.886Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-28T15:32:36.886Z] ---> Running in 8d8b9c29a3f0 [2023-08-28T15:32:37.155Z] Removing intermediate container 8d8b9c29a3f0 [2023-08-28T15:32:37.155Z] ---> 93b50de60eaf [2023-08-28T15:32:37.155Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-28T15:32:37.741Z] ---> 5411b75b1282 [2023-08-28T15:32:37.741Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-28T15:32:37.741Z] ---> Running in f625580a6f93 [2023-08-28T15:32:39.683Z] Removing intermediate container f625580a6f93 [2023-08-28T15:32:39.683Z] ---> 58ef8afdc4b3 [2023-08-28T15:32:39.683Z] Step 11/25 : COPY . . [2023-08-28T15:32:40.269Z] ---> 6f8fdae395e0 [2023-08-28T15:32:40.269Z] Step 12/25 : RUN $MAKE [2023-08-28T15:32:40.269Z] ---> Running in 87e6ee6edfa2 [2023-08-28T15:32:41.231Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.6 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-28T15:35:02.905Z] Removing intermediate container 87e6ee6edfa2 [2023-08-28T15:35:02.905Z] ---> 1db8a4ee9a82 [2023-08-28T15:35:02.905Z] Step 13/25 : FROM alpine:3.17 [2023-08-28T15:35:02.905Z] 3.17: Pulling from library/alpine [2023-08-28T15:35:02.905Z] 4060ece20d7a: Pulling fs layer [2023-08-28T15:35:02.905Z] 4060ece20d7a: Verifying Checksum [2023-08-28T15:35:02.905Z] 4060ece20d7a: Download complete [2023-08-28T15:35:02.905Z] 4060ece20d7a: Pull complete [2023-08-28T15:35:02.905Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-28T15:35:02.905Z] Status: Downloaded newer image for alpine:3.17 [2023-08-28T15:35:02.905Z] ---> 8650cd65339b [2023-08-28T15:35:02.905Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-28T15:35:02.905Z] ---> Running in a610e14aba7e [2023-08-28T15:35:02.905Z] Removing intermediate container a610e14aba7e [2023-08-28T15:35:02.905Z] ---> 6f1b6e76af12 [2023-08-28T15:35:02.905Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-28T15:35:02.905Z] ---> Running in 33b1bd223fa7 [2023-08-28T15:35:02.905Z] Removing intermediate container 33b1bd223fa7 [2023-08-28T15:35:02.905Z] ---> 1d73a401073d [2023-08-28T15:35:02.905Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-28T15:35:02.905Z] ---> Running in 4a3565b7fb01 [2023-08-28T15:35:02.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-28T15:35:02.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-28T15:35:02.905Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-28T15:35:02.905Z] Executing busybox-1.35.0-r29.trigger [2023-08-28T15:35:02.905Z] OK: 8 MiB in 16 packages [2023-08-28T15:35:02.905Z] Removing intermediate container 4a3565b7fb01 [2023-08-28T15:35:02.905Z] ---> 56883d5ce2d3 [2023-08-28T15:35:02.905Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-28T15:35:02.905Z] ---> 8c44d0580fd5 [2023-08-28T15:35:02.905Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-28T15:35:02.905Z] ---> 10f655ba86b6 [2023-08-28T15:35:02.905Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-28T15:35:02.905Z] ---> b39cdeb9e0ef [2023-08-28T15:35:02.905Z] Step 20/25 : EXPOSE 59986 [2023-08-28T15:35:02.905Z] ---> Running in ad5cbf17b7af [2023-08-28T15:35:02.905Z] Removing intermediate container ad5cbf17b7af [2023-08-28T15:35:02.905Z] ---> a8327dccfb90 [2023-08-28T15:35:02.905Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-28T15:35:02.905Z] ---> Running in 66791d4b269e [2023-08-28T15:35:02.905Z] Removing intermediate container 66791d4b269e [2023-08-28T15:35:02.905Z] ---> c8f1c58e1be7 [2023-08-28T15:35:02.905Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-28T15:35:02.905Z] ---> Running in dec41715e46a [2023-08-28T15:35:02.905Z] Removing intermediate container dec41715e46a [2023-08-28T15:35:02.905Z] ---> 8ab0c50a177f [2023-08-28T15:35:02.905Z] Step 23/25 : LABEL arch=arm64 [2023-08-28T15:35:02.905Z] ---> Running in 29b9ae10ba43 [2023-08-28T15:35:02.905Z] Removing intermediate container 29b9ae10ba43 [2023-08-28T15:35:02.905Z] ---> 5e516cda72b2 [2023-08-28T15:35:02.905Z] Step 24/25 : LABEL git_sha=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:35:02.905Z] ---> Running in c9f53273c21f [2023-08-28T15:35:02.905Z] Removing intermediate container c9f53273c21f [2023-08-28T15:35:02.905Z] ---> 45cb08e85855 [2023-08-28T15:35:02.905Z] Step 25/25 : LABEL version=3.1.0-dev.6 [2023-08-28T15:35:02.905Z] ---> Running in e44e47250781 [2023-08-28T15:35:02.905Z] Removing intermediate container e44e47250781 [2023-08-28T15:35:02.905Z] ---> ccfb222eb8be [2023-08-28T15:35:02.905Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-28T15:35:02.905Z] Successfully built ccfb222eb8be [2023-08-28T15:35:02.905Z] 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 [2023-08-28T15:35:03.007Z] provisioning config files... [2023-08-28T15:35:03.019Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/126@tmp/config2043917113977711967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:35:03.350Z] ---> docker-login.sh [2023-08-28T15:35:03.350Z] nexus3.edgexfoundry.org:10001 [2023-08-28T15:35:03.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:35:03.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:35:03.619Z] Configure a credential helper to remove this warning. See [2023-08-28T15:35:03.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:35:03.619Z] [2023-08-28T15:35:03.619Z] Login Succeeded [2023-08-28T15:35:03.619Z] nexus3.edgexfoundry.org:10002 [2023-08-28T15:35:03.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:35:03.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:35:03.887Z] Configure a credential helper to remove this warning. See [2023-08-28T15:35:03.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:35:03.887Z] [2023-08-28T15:35:03.887Z] Login Succeeded [2023-08-28T15:35:03.887Z] nexus3.edgexfoundry.org:10003 [2023-08-28T15:35:04.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:35:04.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:35:04.154Z] Configure a credential helper to remove this warning. See [2023-08-28T15:35:04.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:35:04.154Z] [2023-08-28T15:35:04.154Z] Login Succeeded [2023-08-28T15:35:04.154Z] nexus3.edgexfoundry.org:10004 [2023-08-28T15:35:04.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:35:04.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:35:04.688Z] Configure a credential helper to remove this warning. See [2023-08-28T15:35:04.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:35:04.688Z] [2023-08-28T15:35:04.688Z] Login Succeeded [2023-08-28T15:35:04.688Z] docker.io [2023-08-28T15:35:04.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-28T15:35:05.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-28T15:35:05.217Z] Configure a credential helper to remove this warning. See [2023-08-28T15:35:05.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-28T15:35:05.217Z] [2023-08-28T15:35:05.217Z] Login Succeeded [2023-08-28T15:35:05.217Z] ---> docker-login.sh ends [Pipeline] } [2023-08-28T15:35:05.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-28T15:35:05.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-28T15:35:05.271Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-08-28T15:35:05.271Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:35:05.271Z] latest [2023-08-28T15:35:05.271Z] 3.1.0-dev.6 [2023-08-28T15:35:05.271Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:35:05.271Z] main [2023-08-28T15:35:05.271Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:05.598Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:05.928Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:35:05.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-28T15:35:05.928Z] 7f0d42a4dd19: Preparing [2023-08-28T15:35:05.928Z] 9ff0db921be8: Preparing [2023-08-28T15:35:05.928Z] 2c8e607702aa: Preparing [2023-08-28T15:35:05.928Z] 0d7f8c5946ab: Preparing [2023-08-28T15:35:05.928Z] d2d9d24a8c2a: Preparing [2023-08-28T15:35:05.928Z] d2d9d24a8c2a: Layer already exists [2023-08-28T15:35:06.193Z] 7f0d42a4dd19: Pushed [2023-08-28T15:35:06.193Z] 9ff0db921be8: Pushed [2023-08-28T15:35:06.193Z] 0d7f8c5946ab: Pushed [2023-08-28T15:35:11.522Z] 2c8e607702aa: Pushed [2023-08-28T15:35:11.522Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7: digest: sha256:9ebb05bf07e19de3458ab1358571ba630b48923603282b3a88c0d247a9ff2990 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:11.863Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:12.210Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-28T15:35:12.210Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-28T15:35:12.210Z] 7f0d42a4dd19: Preparing [2023-08-28T15:35:12.210Z] 9ff0db921be8: Preparing [2023-08-28T15:35:12.210Z] 2c8e607702aa: Preparing [2023-08-28T15:35:12.210Z] 0d7f8c5946ab: Preparing [2023-08-28T15:35:12.210Z] d2d9d24a8c2a: Preparing [2023-08-28T15:35:12.210Z] 7f0d42a4dd19: Layer already exists [2023-08-28T15:35:12.210Z] 0d7f8c5946ab: Layer already exists [2023-08-28T15:35:12.210Z] 2c8e607702aa: Layer already exists [2023-08-28T15:35:12.210Z] d2d9d24a8c2a: Layer already exists [2023-08-28T15:35:12.210Z] 9ff0db921be8: Layer already exists [2023-08-28T15:35:12.210Z] latest: digest: sha256:9ebb05bf07e19de3458ab1358571ba630b48923603282b3a88c0d247a9ff2990 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:12.564Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:12.899Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.6 [2023-08-28T15:35:12.899Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-28T15:35:12.899Z] 7f0d42a4dd19: Preparing [2023-08-28T15:35:12.899Z] 9ff0db921be8: Preparing [2023-08-28T15:35:12.899Z] 2c8e607702aa: Preparing [2023-08-28T15:35:12.899Z] 0d7f8c5946ab: Preparing [2023-08-28T15:35:12.899Z] d2d9d24a8c2a: Preparing [2023-08-28T15:35:12.899Z] 0d7f8c5946ab: Layer already exists [2023-08-28T15:35:12.899Z] 2c8e607702aa: Layer already exists [2023-08-28T15:35:12.899Z] 7f0d42a4dd19: Layer already exists [2023-08-28T15:35:12.899Z] 9ff0db921be8: Layer already exists [2023-08-28T15:35:12.899Z] d2d9d24a8c2a: Layer already exists [2023-08-28T15:35:12.899Z] 3.1.0-dev.6: digest: sha256:9ebb05bf07e19de3458ab1358571ba630b48923603282b3a88c0d247a9ff2990 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:13.249Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:13.583Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:35:13.583Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-28T15:35:13.583Z] 7f0d42a4dd19: Preparing [2023-08-28T15:35:13.583Z] 9ff0db921be8: Preparing [2023-08-28T15:35:13.583Z] 2c8e607702aa: Preparing [2023-08-28T15:35:13.583Z] 0d7f8c5946ab: Preparing [2023-08-28T15:35:13.583Z] d2d9d24a8c2a: Preparing [2023-08-28T15:35:13.583Z] 2c8e607702aa: Layer already exists [2023-08-28T15:35:13.583Z] 7f0d42a4dd19: Layer already exists [2023-08-28T15:35:13.583Z] 0d7f8c5946ab: Layer already exists [2023-08-28T15:35:13.583Z] 9ff0db921be8: Layer already exists [2023-08-28T15:35:13.583Z] d2d9d24a8c2a: Layer already exists [2023-08-28T15:35:13.583Z] cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6: digest: sha256:9ebb05bf07e19de3458ab1358571ba630b48923603282b3a88c0d247a9ff2990 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:13.921Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:14.325Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-08-28T15:35:14.326Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-28T15:35:14.326Z] 7f0d42a4dd19: Preparing [2023-08-28T15:35:14.326Z] 9ff0db921be8: Preparing [2023-08-28T15:35:14.326Z] 2c8e607702aa: Preparing [2023-08-28T15:35:14.326Z] 0d7f8c5946ab: Preparing [2023-08-28T15:35:14.326Z] d2d9d24a8c2a: Preparing [2023-08-28T15:35:14.326Z] d2d9d24a8c2a: Layer already exists [2023-08-28T15:35:14.326Z] 2c8e607702aa: Layer already exists [2023-08-28T15:35:14.326Z] 7f0d42a4dd19: Layer already exists [2023-08-28T15:35:14.326Z] 0d7f8c5946ab: Layer already exists [2023-08-28T15:35:14.326Z] 9ff0db921be8: Layer already exists [2023-08-28T15:35:14.599Z] main: digest: sha256:9ebb05bf07e19de3458ab1358571ba630b48923603282b3a88c0d247a9ff2990 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-28T15:35:14.646Z] ===================================================== [Pipeline] echo [2023-08-28T15:35:14.652Z] taggedImages: [2023-08-28T15:35:14.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [2023-08-28T15:35:14.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-28T15:35:14.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.6 [2023-08-28T15:35:14.652Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7-3.1.0-dev.6 [2023-08-28T15:35:14.652Z] - 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 [2023-08-28T15:35:15.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T15:35:15.016Z] [2023-08-28T15:35:15.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:15.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T15:35:16.625Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-28T15:35:16.625Z] 8998bd30e6a1: Pulling fs layer [2023-08-28T15:35:16.625Z] 04944245beec: Pulling fs layer [2023-08-28T15:35:16.625Z] 699f458cf7ca: Pulling fs layer [2023-08-28T15:35:16.625Z] 765212b225bb: Pulling fs layer [2023-08-28T15:35:16.625Z] f23df028b6ca: Pulling fs layer [2023-08-28T15:35:16.625Z] d65c8cfc05b1: Pulling fs layer [2023-08-28T15:35:16.625Z] 2437ff75d9bd: Pulling fs layer [2023-08-28T15:35:16.625Z] 765212b225bb: Waiting [2023-08-28T15:35:16.625Z] f23df028b6ca: Waiting [2023-08-28T15:35:16.625Z] d65c8cfc05b1: Waiting [2023-08-28T15:35:16.625Z] 2437ff75d9bd: Waiting [2023-08-28T15:35:16.625Z] 04944245beec: Verifying Checksum [2023-08-28T15:35:16.625Z] 04944245beec: Download complete [2023-08-28T15:35:16.625Z] 765212b225bb: Verifying Checksum [2023-08-28T15:35:16.625Z] 765212b225bb: Download complete [2023-08-28T15:35:16.625Z] f23df028b6ca: Verifying Checksum [2023-08-28T15:35:16.625Z] f23df028b6ca: Download complete [2023-08-28T15:35:16.625Z] d65c8cfc05b1: Verifying Checksum [2023-08-28T15:35:16.625Z] d65c8cfc05b1: Download complete [2023-08-28T15:35:16.625Z] 699f458cf7ca: Verifying Checksum [2023-08-28T15:35:16.625Z] 699f458cf7ca: Download complete [2023-08-28T15:35:17.208Z] 8998bd30e6a1: Download complete [2023-08-28T15:35:19.147Z] 2437ff75d9bd: Verifying Checksum [2023-08-28T15:35:19.147Z] 2437ff75d9bd: Download complete [2023-08-28T15:35:21.086Z] 8998bd30e6a1: Pull complete [2023-08-28T15:35:21.086Z] 04944245beec: Pull complete [2023-08-28T15:35:22.491Z] 699f458cf7ca: Pull complete [2023-08-28T15:35:22.757Z] 765212b225bb: Pull complete [2023-08-28T15:35:23.340Z] f23df028b6ca: Pull complete [2023-08-28T15:35:23.608Z] d65c8cfc05b1: Pull complete [2023-08-28T15:35:38.603Z] 2437ff75d9bd: Pull complete [2023-08-28T15:35:38.603Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-28T15:35:38.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-28T15:35:38.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:35:38.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2023-08-28T15:35:38.839Z] $ 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/126 -v /w/workspace/device-rest-go/126:/w/workspace/device-rest-go/126:rw,z -v /w/workspace/device-rest-go/126@tmp:/w/workspace/device-rest-go/126@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 [2023-08-28T15:35:41.224Z] $ docker top 300e45a41f9c70ac3714989efdd3710a882abf25367b73b4450045a7954ffef7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:35:42.053Z] ---> job-cost.sh [2023-08-28T15:35:42.053Z] lf-activate-venv: SKIPPING [2023-08-28T15:35:42.053Z] INFO: No Stack... [2023-08-28T15:35:42.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-28T15:35:43.274Z] INFO: Archiving Costs [Pipeline] sh [2023-08-28T15:35:43.587Z] + cat /w/workspace/device-rest-go/126/archives/cost.csv [2023-08-28T15:35:43.587Z] + cut -d, -f6 [Pipeline] lock [2023-08-28T15:35:43.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [2023-08-28T15:35:43.673Z] Resource [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] did not exist. Created. [2023-08-28T15:35:43.673Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-28T15:35:44.013Z] /w/workspace/device-rest-go/126@tmp/durable-fa3d60ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-28T15:35:44.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-28T15:35:44.368Z] Warning: overwriting stash ‘stack-cost’ [2023-08-28T15:35:44.419Z] Stashed 1 file(s) [Pipeline] } [2023-08-28T15:35:44.426Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-28T15:35:44.440Z] $ docker stop --time=1 300e45a41f9c70ac3714989efdd3710a882abf25367b73b4450045a7954ffef7 [2023-08-28T15:35:45.921Z] $ docker rm -f --volumes 300e45a41f9c70ac3714989efdd3710a882abf25367b73b4450045a7954ffef7 [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 [2023-08-28T15:35:46.280Z] provisioning config files... [2023-08-28T15:35:46.288Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7496842057497731469tmp [Pipeline] { [Pipeline] sh [2023-08-28T15:35:46.596Z] + set +x [2023-08-28T15:35:46.597Z] + curl -s https://codecov.io/bash [2023-08-28T15:35:46.597Z] + bash -s -- [2023-08-28T15:35:46.597Z] [2023-08-28T15:35:46.597Z] _____ _ [2023-08-28T15:35:46.597Z] / ____| | | [2023-08-28T15:35:46.597Z] | | ___ __| | ___ ___ _____ __ [2023-08-28T15:35:46.597Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-28T15:35:46.597Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-28T15:35:46.597Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-28T15:35:46.597Z] Bash-1.0.6 [2023-08-28T15:35:46.597Z] [2023-08-28T15:35:46.597Z] [2023-08-28T15:35:46.597Z] ==> git version 2.25.1 found [2023-08-28T15:35:46.597Z] ==> 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 [2023-08-28T15:35:46.597Z] Release-Date: 2020-01-08 [2023-08-28T15:35:46.597Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-28T15:35:46.597Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-28T15:35:46.597Z] ==> Jenkins CI detected. [2023-08-28T15:35:46.597Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-08-28T15:35:46.597Z] project root: . [2023-08-28T15:35:46.597Z] --> token set from env [2023-08-28T15:35:46.597Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-28T15:35:46.597Z] ==> Running gcov in . (disable via -X gcov) [2023-08-28T15:35:46.597Z] ==> Python coveragepy not found [2023-08-28T15:35:46.597Z] ==> Searching for coverage reports in: [2023-08-28T15:35:46.597Z] + . [2023-08-28T15:35:46.597Z] -> Found 1 reports [2023-08-28T15:35:46.597Z] ==> Detecting git/mercurial file structure [2023-08-28T15:35:46.597Z] ==> Reading reports [2023-08-28T15:35:46.858Z] + ./coverage.out bytes=14499 [2023-08-28T15:35:46.858Z] ==> Appending adjustments [2023-08-28T15:35:46.858Z] https://docs.codecov.io/docs/fixing-reports [2023-08-28T15:35:46.858Z] + Found adjustments [2023-08-28T15:35:46.858Z] ==> Gzipping contents [2023-08-28T15:35:46.858Z] 4.0K /tmp/codecov.A7FX7G.gz [2023-08-28T15:35:46.858Z] ==> Uploading reports [2023-08-28T15:35:46.858Z] url: https://codecov.io [2023-08-28T15:35:46.858Z] query: branch=main&commit=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-28T15:35:46.858Z] -> Pinging Codecov [2023-08-28T15:35:46.858Z] 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=cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-28T15:35:46.858Z] -> Uploading to [2023-08-28T15:35:46.858Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-28/4E5D53B4F1F92C436F7061BF334D961C/cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7/ca14fb8e-e7f1-463f-bda4-1658dffd7475.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230828%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230828T153546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e74ad83fb7e02a7c77ebcb00a74f95fa871b99db1ef62cee89f4a5c4be477d8a [2023-08-28T15:35:46.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-28T15:35:46.858Z] Dload Upload Total Spent Left Speed [2023-08-28T15:35:47.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12590 --:--:-- --:--:-- --:--:-- 12654 [2023-08-28T15:35:47.117Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] } [2023-08-28T15:35:47.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-28T15:35:47.255Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-28T15:35:47.266Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:47.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-28T15:35:47.564Z] [2023-08-28T15:35:47.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:35:47.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-28T15:35:48.130Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-28T15:35:48.130Z] df9b9388f04a: Pulling fs layer [2023-08-28T15:35:48.130Z] 52dc419b0ee2: Pulling fs layer [2023-08-28T15:35:48.130Z] 25bc292e5bac: Pulling fs layer [2023-08-28T15:35:48.130Z] 114826534d7a: Pulling fs layer [2023-08-28T15:35:48.130Z] 4657fd5d0bcf: Pulling fs layer [2023-08-28T15:35:48.130Z] 6ad1cebc031e: Pulling fs layer [2023-08-28T15:35:48.130Z] 8a3aa393b2d8: Pulling fs layer [2023-08-28T15:35:48.130Z] 114826534d7a: Waiting [2023-08-28T15:35:48.130Z] 4657fd5d0bcf: Waiting [2023-08-28T15:35:48.130Z] 6ad1cebc031e: Waiting [2023-08-28T15:35:48.130Z] 8a3aa393b2d8: Waiting [2023-08-28T15:35:48.130Z] 25bc292e5bac: Verifying Checksum [2023-08-28T15:35:48.130Z] 25bc292e5bac: Download complete [2023-08-28T15:35:48.130Z] 52dc419b0ee2: Verifying Checksum [2023-08-28T15:35:48.130Z] 4657fd5d0bcf: Verifying Checksum [2023-08-28T15:35:48.130Z] 4657fd5d0bcf: Download complete [2023-08-28T15:35:48.130Z] df9b9388f04a: Verifying Checksum [2023-08-28T15:35:48.130Z] df9b9388f04a: Download complete [2023-08-28T15:35:48.712Z] 6ad1cebc031e: Verifying Checksum [2023-08-28T15:35:48.712Z] 6ad1cebc031e: Download complete [2023-08-28T15:35:48.712Z] df9b9388f04a: Pull complete [2023-08-28T15:35:49.647Z] 114826534d7a: Verifying Checksum [2023-08-28T15:35:49.647Z] 114826534d7a: Download complete [2023-08-28T15:35:49.647Z] 8a3aa393b2d8: Verifying Checksum [2023-08-28T15:35:49.647Z] 8a3aa393b2d8: Download complete [2023-08-28T15:35:49.647Z] 52dc419b0ee2: Pull complete [2023-08-28T15:35:50.228Z] 25bc292e5bac: Pull complete [2023-08-28T15:35:54.434Z] 114826534d7a: Pull complete [2023-08-28T15:35:56.965Z] 4657fd5d0bcf: Pull complete [2023-08-28T15:35:57.570Z] 6ad1cebc031e: Pull complete [2023-08-28T15:36:00.857Z] 8a3aa393b2d8: Pull complete [2023-08-28T15:36:01.115Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-28T15:36:01.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-28T15:36:01.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:36:01.455Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:36:01.489Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-28T15:36:19.341Z] $ docker top e807fb05d133e86176c5252914db0f8a163af42565d731b9bf0510b077e23913 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-28T15:36:19.458Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-08-28T15:36:19.743Z] + set -o pipefail [2023-08-28T15:36:19.744Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-08-28T15:36:25.057Z] [2023-08-28T15:36:25.057Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-08-28T15:36:25.057Z] [2023-08-28T15:36:25.057Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/1e36cda9-97e8-4f87-916f-4e4e8c57873f [2023-08-28T15:36:25.057Z] [2023-08-28T15:36:25.057Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-28T15:36:25.057Z] [2023-08-28T15:36:25.057Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-28T15:36:25.057Z] [2023-08-28T15:36:25.317Z] [2023-08-28T15:36:25.317Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-28T15:36:25.317Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-28T15:36:25.317Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-28T15:36:25.326Z] $ docker stop --time=1 e807fb05d133e86176c5252914db0f8a163af42565d731b9bf0510b077e23913 [2023-08-28T15:36:34.196Z] $ docker rm -f --volumes e807fb05d133e86176c5252914db0f8a163af42565d731b9bf0510b077e23913 [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 [2023-08-28T15:36:34.977Z] + git log --format=format:%s -1 cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 [Pipeline] sh [2023-08-28T15:36:35.270Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T15:36:35.270Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:36:35.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:36:35.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:36:35.650Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:36:35.678Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-28T15:36:37.103Z] $ docker top a188cca53a61c43b73dc84bb8c2581546a01b737377c93466407801050b81f45 -eo pid,comm [2023-08-28T15:36:37.151Z] 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). [2023-08-28T15:36:37.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T15:36:37.194Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T15:36:37.194Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T15:36:37.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T15:36:37.302Z] $ docker exec a188cca53a61c43b73dc84bb8c2581546a01b737377c93466407801050b81f45 ssh-agent [2023-08-28T15:36:37.434Z] SSH_AUTH_SOCK=/tmp/ssh-BrUd9sqbyxmg/agent.14 [2023-08-28T15:36:37.434Z] SSH_AGENT_PID=20 [2023-08-28T15:36:37.439Z] Running ssh-add (command line suppressed) [2023-08-28T15:36:37.547Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_988013121819915225.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_988013121819915225.key) [2023-08-28T15:36:37.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T15:36:37.849Z] + git semver tag [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,079 [run_tag] DEBUG tag force:False [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,079 [check_head_tag] DEBUG check head tag [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,080 [execute] INFO git cat-file --batch-check [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,085 [execute] INFO git cat-file --batch [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,095 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,095 [execute] INFO git tag -a v3.1.0-dev.6 -m v3.1.0-dev.6 [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,095 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.6', '-m', 'v3.1.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-28T15:36:38.108Z] 2023-08-28 15:36:38,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:36:38.108Z] 3.1.0-dev.6 [Pipeline] } [2023-08-28T15:36:38.376Z] $ docker exec --env ******** --env ******** a188cca53a61c43b73dc84bb8c2581546a01b737377c93466407801050b81f45 ssh-agent -k [2023-08-28T15:36:38.479Z] unset SSH_AUTH_SOCK; [2023-08-28T15:36:38.479Z] unset SSH_AGENT_PID; [2023-08-28T15:36:38.479Z] echo Agent pid 20 killed; [2023-08-28T15:36:38.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T15:36:38.805Z] + git semver [Pipeline] } [2023-08-28T15:36:39.382Z] $ docker stop --time=1 a188cca53a61c43b73dc84bb8c2581546a01b737377c93466407801050b81f45 [2023-08-28T15:36:41.577Z] $ docker rm -f --volumes a188cca53a61c43b73dc84bb8c2581546a01b737377c93466407801050b81f45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:36:42.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-28T15:36:42.077Z] [2023-08-28T15:36:42.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:36:42.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-28T15:36:42.379Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-28T15:36:42.379Z] ab5ef0e58194: Pulling fs layer [2023-08-28T15:36:42.379Z] 9712f1f96733: Pulling fs layer [2023-08-28T15:36:42.379Z] 63f879dbbcfc: Pulling fs layer [2023-08-28T15:36:42.379Z] 0d9ebad4ef96: Pulling fs layer [2023-08-28T15:36:42.379Z] e9a5061849ea: Pulling fs layer [2023-08-28T15:36:42.379Z] d747dcd14b5f: Pulling fs layer [2023-08-28T15:36:42.379Z] 2de7ff778b66: Pulling fs layer [2023-08-28T15:36:42.379Z] 0d9ebad4ef96: Waiting [2023-08-28T15:36:42.379Z] e9a5061849ea: Waiting [2023-08-28T15:36:42.379Z] d747dcd14b5f: Waiting [2023-08-28T15:36:42.379Z] 2de7ff778b66: Waiting [2023-08-28T15:36:42.379Z] 9712f1f96733: Verifying Checksum [2023-08-28T15:36:42.379Z] 9712f1f96733: Download complete [2023-08-28T15:36:42.951Z] 63f879dbbcfc: Verifying Checksum [2023-08-28T15:36:42.951Z] 63f879dbbcfc: Download complete [2023-08-28T15:36:43.208Z] e9a5061849ea: Verifying Checksum [2023-08-28T15:36:43.208Z] e9a5061849ea: Download complete [2023-08-28T15:36:43.208Z] d747dcd14b5f: Verifying Checksum [2023-08-28T15:36:43.208Z] d747dcd14b5f: Download complete [2023-08-28T15:36:43.208Z] ab5ef0e58194: Download complete [2023-08-28T15:36:43.208Z] 0d9ebad4ef96: Verifying Checksum [2023-08-28T15:36:43.208Z] 0d9ebad4ef96: Download complete [2023-08-28T15:36:43.208Z] 2de7ff778b66: Verifying Checksum [2023-08-28T15:36:43.208Z] 2de7ff778b66: Download complete [2023-08-28T15:36:45.733Z] ab5ef0e58194: Pull complete [2023-08-28T15:36:45.733Z] 9712f1f96733: Pull complete [2023-08-28T15:36:46.666Z] 63f879dbbcfc: Pull complete [2023-08-28T15:36:49.969Z] 0d9ebad4ef96: Pull complete [2023-08-28T15:36:50.228Z] e9a5061849ea: Pull complete [2023-08-28T15:36:50.228Z] d747dcd14b5f: Pull complete [2023-08-28T15:36:51.604Z] 2de7ff778b66: Pull complete [2023-08-28T15:36:51.605Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-28T15:36:51.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-28T15:36:51.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:36:51.684Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:36:51.711Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-28T15:37:05.369Z] $ docker top 51a15d47e6992b4bcdf1dc71d046a5f06a0bcb75ba596efcd197d915a9b20a6b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-28T15:37:05.443Z] provisioning config files... [2023-08-28T15:37:05.450Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13093520860632372059tmp [2023-08-28T15:37:05.464Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12320790303292452382tmp [2023-08-28T15:37:05.474Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config41742762109520301tmp [Pipeline] { [Pipeline] echo [2023-08-28T15:37:05.489Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:05.769Z] ---> sigul-configuration.sh [2023-08-28T15:37:05.769Z] gpg: directory `/root/.gnupg' created [2023-08-28T15:37:05.769Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-28T15:37:05.769Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-28T15:37:05.769Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-28T15:37:05.769Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-28T15:37:05.769Z] gpg: CAST5 encrypted data [2023-08-28T15:37:05.769Z] gpg: encrypted with 1 passphrase [2023-08-28T15:37:05.769Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-28T15:37:06.053Z] + mkdir /home/jenkins [2023-08-28T15:37:06.053Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-28T15:37:06.336Z] + 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 [2023-08-28T15:37:06.344Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:06.626Z] ---> sigul-install.sh [2023-08-28T15:37:06.626Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-28T15:37:06.910Z] + git tag --list [2023-08-28T15:37:06.910Z] v1.0.0 [2023-08-28T15:37:06.910Z] v1.1.0 [2023-08-28T15:37:06.910Z] v1.1.1 [2023-08-28T15:37:06.910Z] v1.1.2 [2023-08-28T15:37:06.910Z] v1.2.0 [2023-08-28T15:37:06.910Z] v1.2.1 [2023-08-28T15:37:06.910Z] v2.0.0 [2023-08-28T15:37:06.910Z] v2.1.0 [2023-08-28T15:37:06.910Z] v2.1.1 [2023-08-28T15:37:06.910Z] v2.2.0 [2023-08-28T15:37:06.910Z] v2.3.0 [2023-08-28T15:37:06.910Z] v3.0 [2023-08-28T15:37:06.910Z] v3.0.0 [2023-08-28T15:37:06.910Z] v3.1.0-dev.1 [2023-08-28T15:37:06.910Z] v3.1.0-dev.2 [2023-08-28T15:37:06.910Z] v3.1.0-dev.3 [2023-08-28T15:37:06.910Z] v3.1.0-dev.4 [2023-08-28T15:37:06.910Z] v3.1.0-dev.5 [2023-08-28T15:37:06.910Z] v3.1.0-dev.6 [Pipeline] sh [2023-08-28T15:37:07.199Z] + lftools sign git-tag v3.1.0-dev.6 [2023-08-28T15:37:07.765Z] Signing Git tag with Sigul... [2023-08-28T15:37:07.765Z] Signing v3.1.0-dev.6 [Pipeline] echo [2023-08-28T15:37:08.343Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:08.626Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-28T15:37:08.633Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-28T15:37:08.647Z] $ docker stop --time=1 51a15d47e6992b4bcdf1dc71d046a5f06a0bcb75ba596efcd197d915a9b20a6b [2023-08-28T15:37:11.712Z] $ docker rm -f --volumes 51a15d47e6992b4bcdf1dc71d046a5f06a0bcb75ba596efcd197d915a9b20a6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-28T15:37:12.834Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T15:37:12.834Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:37:13.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:37:13.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:37:13.210Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:37:13.238Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-28T15:37:15.600Z] $ docker top b1ddac73c420850c4d02def5c823640f4ca3786f33ebab3e2437590339ae3f5b -eo pid,comm [2023-08-28T15:37:15.650Z] 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). [2023-08-28T15:37:15.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T15:37:15.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T15:37:15.693Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T15:37:15.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T15:37:15.858Z] $ docker exec b1ddac73c420850c4d02def5c823640f4ca3786f33ebab3e2437590339ae3f5b ssh-agent [2023-08-28T15:37:15.969Z] SSH_AUTH_SOCK=/tmp/ssh-gZld64JY8ztU/agent.14 [2023-08-28T15:37:15.969Z] SSH_AGENT_PID=20 [2023-08-28T15:37:15.974Z] Running ssh-add (command line suppressed) [2023-08-28T15:37:16.093Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8464179770231797926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8464179770231797926.key) [2023-08-28T15:37:16.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T15:37:16.426Z] + git semver bump pre [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,700 [bump_version] DEBUG bumping version:3.1.0-dev.6 on axis:pre with prefix:dev [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,700 [bump_version] DEBUG bumped version:3.1.0-dev.7 [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,700 [write_version] DEBUG write version:3.1.0-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,700 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,701 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,704 [execute] INFO git cat-file --batch-check [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,710 [execute] INFO git cat-file --batch [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T15:37:16.994Z] 2023-08-28 15:37:16,716 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:37:16.994Z] 3.1.0-dev.7 [Pipeline] } [2023-08-28T15:37:17.003Z] $ docker exec --env ******** --env ******** b1ddac73c420850c4d02def5c823640f4ca3786f33ebab3e2437590339ae3f5b ssh-agent -k [2023-08-28T15:37:17.113Z] unset SSH_AUTH_SOCK; [2023-08-28T15:37:17.115Z] unset SSH_AGENT_PID; [2023-08-28T15:37:17.115Z] echo Agent pid 20 killed; [2023-08-28T15:37:17.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T15:37:17.559Z] + git semver [Pipeline] } [2023-08-28T15:37:18.133Z] $ docker stop --time=1 b1ddac73c420850c4d02def5c823640f4ca3786f33ebab3e2437590339ae3f5b [2023-08-28T15:37:20.453Z] $ docker rm -f --volumes b1ddac73c420850c4d02def5c823640f4ca3786f33ebab3e2437590339ae3f5b [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-28T15:37:20.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-28T15:37:20.855Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:37:21.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-28T15:37:21.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:37:21.218Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:37:21.455Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-28T15:37:22.430Z] $ docker top 160a5dbf9ac975189046be82d658f0ecbcd49b8eb17ff6dd7826eb10a7d41bdf -eo pid,comm [2023-08-28T15:37:22.491Z] 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). [2023-08-28T15:37:22.491Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-28T15:37:22.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-28T15:37:22.533Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-28T15:37:22.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-28T15:37:22.723Z] $ docker exec 160a5dbf9ac975189046be82d658f0ecbcd49b8eb17ff6dd7826eb10a7d41bdf ssh-agent [2023-08-28T15:37:22.849Z] SSH_AUTH_SOCK=/tmp/ssh-8PWlXkuCGcFc/agent.13 [2023-08-28T15:37:22.849Z] SSH_AGENT_PID=19 [2023-08-28T15:37:22.854Z] Running ssh-add (command line suppressed) [2023-08-28T15:37:22.962Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6151505862374390114.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6151505862374390114.key) [2023-08-28T15:37:22.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-28T15:37:23.262Z] + git semver push [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,523 [run_push] DEBUG push [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,524 [execute] INFO git cat-file --batch-check [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,530 [execute] INFO git rev-list bd6288c3c29ebf60fb81636c4f998d7f9c813b2c -- [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,530 [execute] DEBUG Popen(['git', 'rev-list', 'bd6288c3c29ebf60fb81636c4f998d7f9c813b2c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,539 [execute] INFO git fetch -v origin [2023-08-28T15:37:23.830Z] 2023-08-28 15:37:23,539 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-28T15:37:24.090Z] 2023-08-28 15:37:24,005 [run_push] DEBUG no remote changes detected [2023-08-28T15:37:24.091Z] 2023-08-28 15:37:24,005 [execute] INFO git push origin semver [2023-08-28T15:37:24.091Z] 2023-08-28 15:37:24,005 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-28T15:37:25.024Z] 2023-08-28 15:37:24,762 [run_push] DEBUG push all version tags [2023-08-28T15:37:25.024Z] 2023-08-28 15:37:24,762 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-28T15:37:25.024Z] 2023-08-28 15:37:24,763 [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) [2023-08-28T15:37:25.594Z] 2023-08-28 15:37:25,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-28T15:37:25.594Z] 3.1.0-dev.7 [Pipeline] } [2023-08-28T15:37:25.598Z] $ docker exec --env ******** --env ******** 160a5dbf9ac975189046be82d658f0ecbcd49b8eb17ff6dd7826eb10a7d41bdf ssh-agent -k [2023-08-28T15:37:25.719Z] unset SSH_AUTH_SOCK; [2023-08-28T15:37:25.719Z] unset SSH_AGENT_PID; [2023-08-28T15:37:25.719Z] echo Agent pid 19 killed; [2023-08-28T15:37:25.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-28T15:37:26.039Z] + git semver [Pipeline] } [2023-08-28T15:37:26.306Z] $ docker stop --time=1 160a5dbf9ac975189046be82d658f0ecbcd49b8eb17ff6dd7826eb10a7d41bdf [2023-08-28T15:37:28.183Z] $ docker rm -f --volumes 160a5dbf9ac975189046be82d658f0ecbcd49b8eb17ff6dd7826eb10a7d41bdf [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 [2023-08-28T15:37:28.774Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-08-28T15:37:28.774Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-28T15:37:28.774Z] total 16 [2023-08-28T15:37:28.774Z] drwxr-xr-x 3 root root 4096 Aug 28 15:25 . [2023-08-28T15:37:28.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 15:37 .. [2023-08-28T15:37:28.774Z] drwxr-xr-x 2 root root 4096 Aug 28 15:25 cost [2023-08-28T15:37:28.774Z] -rw-r--r-- 1 root root 86 Aug 28 15:25 cost.csv [2023-08-28T15:37:28.774Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-28T15:37:28.774Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-28T15:37:28.774Z] total 16 [2023-08-28T15:37:28.774Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 15:25 . [2023-08-28T15:37:28.774Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 15:37 .. [2023-08-28T15:37:28.774Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 15:25 cost [2023-08-28T15:37:28.774Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 28 15:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:29.062Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:29.916Z] ---> package-listing.sh [2023-08-28T15:37:29.916Z] ++ facter osfamily [2023-08-28T15:37:29.916Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-28T15:37:30.176Z] + OS_FAMILY=debian [2023-08-28T15:37:30.176Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-08-28T15:37:30.176Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-28T15:37:30.176Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-28T15:37:30.176Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-28T15:37:30.176Z] + PACKAGES=/tmp/packages_start.txt [2023-08-28T15:37:30.176Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-28T15:37:30.176Z] + PACKAGES=/tmp/packages_end.txt [2023-08-28T15:37:30.176Z] + case "${OS_FAMILY}" in [2023-08-28T15:37:30.176Z] + dpkg -l [2023-08-28T15:37:30.176Z] + grep '^ii' [2023-08-28T15:37:30.176Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-28T15:37:30.176Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-28T15:37:30.176Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-28T15:37:30.176Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-28T15:37:30.176Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-08-28T15:37:30.176Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-08-28T15:37:30.187Z] 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 [2023-08-28T15:37:30.465Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-28T15:37:31.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-28T15:37:31.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-28T15:37:31.221Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2023-08-28T15:37:31.372Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-28T15:37:32.653Z] $ docker top b433d9d6484f4ed1707fb694d3d51caa7b5de02ee05b708f75ab1ecb5038ec0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-28T15:37:33.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-28T15:37:33.311Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-28T15:37:33.596Z] + ls /var/log/sa-host [2023-08-28T15:37:33.596Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-28T15:37:33.755Z] provisioning config files... [2023-08-28T15:37:33.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11935110268268449402tmp [Pipeline] { [Pipeline] echo [2023-08-28T15:37:33.780Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:34.061Z] ---> create-netrc.sh [Pipeline] } [2023-08-28T15:37:34.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:34.415Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-28T15:37:34.425Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:34.713Z] ---> sudo-logs.sh [2023-08-28T15:37:34.713Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-28T15:37:34.737Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:35.020Z] ---> job-cost.sh [2023-08-28T15:37:35.020Z] lf-activate-venv: SKIPPING [2023-08-28T15:37:35.020Z] DEBUG: total: 0.2199999988079071 [2023-08-28T15:37:35.020Z] INFO: Retrieving Stack Cost... [2023-08-28T15:37:35.279Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-28T15:37:35.849Z] INFO: Archiving Costs [Pipeline] echo [2023-08-28T15:37:35.862Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-28T15:37:36.148Z] ---> logs-deploy.sh [2023-08-28T15:37:36.148Z] lf-activate-venv: SKIPPING [2023-08-28T15:37:36.148Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/126 [2023-08-28T15:37:36.148Z] INFO: archiving workspace using pattern(s): [2023-08-28T15:37:37.084Z] Archives upload complete. [2023-08-28T15:37:37.344Z] INFO: archiving logs to Nexus