Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa0493e2e3feda240b1cb1121ab26136a8f60332 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-ssh4240518045108667504.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14071053135345190041.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6559546395935541627.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh15631285841009617844.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-ssh10197963452522149483.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-8777 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 fa0493e2e3feda240b1cb1121ab26136a8f60332 (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291)" > git config core.sparsecheckout # timeout=10 > git checkout -f fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 > git rev-list --no-walk 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T20:17:19.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T20:17:19.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T20:17:20.019Z] ========================================================= [2023-04-17T20:17:20.020Z] EdgeX Global Pipelines Version Info [2023-04-17T20:17:20.020Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:20.733Z] ------------------- [2023-04-17T20:17:20.733Z] stable info: [2023-04-17T20:17:20.733Z] ------------------- [2023-04-17T20:17:20.733Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T20:17:20.733Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:17:20.733Z] Message: update stable to v1.0.248 [2023-04-17T20:17:21.302Z] ------------------- [2023-04-17T20:17:21.302Z] experimental info: [2023-04-17T20:17:21.302Z] ------------------- [2023-04-17T20:17:21.302Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T20:17:21.302Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T20:17:21.302Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T20:17:21.473Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-17T20:17:21.487Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-17T20:17:21.500Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T20:17:21.512Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T20:17:21.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T20:17:21.541Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T20:17:21.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T20:17:21.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T20:17:21.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T20:17:21.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T20:17:21.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T20:17:21.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-17T20:17:21.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T20:17:21.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T20:17:21.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:17:21.670Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T20:17:21.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:17:21.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T20:17:21.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T20:17:21.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T20:17:21.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T20:17:21.744Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T20:17:21.761Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T20:17:21.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T20:17:21.791Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T20:17:21.806Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T20:17:21.817Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T20:17:21.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-17T20:17:21.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-17T20:17:21.856Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-17T20:17:21.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo [2023-04-17T20:17:21.880Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa0493e [Pipeline] echo [2023-04-17T20:17:21.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:17:21.929Z] provisioning config files... [2023-04-17T20:17:21.944Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9165135274659054241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:22.249Z] ---> docker-login.sh [2023-04-17T20:17:22.249Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:17:22.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:22.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:22.510Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:22.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:22.510Z] [2023-04-17T20:17:22.510Z] Login Succeeded [2023-04-17T20:17:22.510Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:17:22.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:22.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:22.510Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:22.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:22.510Z] [2023-04-17T20:17:22.510Z] Login Succeeded [2023-04-17T20:17:22.510Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:17:22.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:22.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:22.769Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:22.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:22.769Z] [2023-04-17T20:17:22.769Z] Login Succeeded [2023-04-17T20:17:22.769Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:17:22.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:22.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:22.769Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:22.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:22.769Z] [2023-04-17T20:17:22.769Z] Login Succeeded [2023-04-17T20:17:22.769Z] docker.io [2023-04-17T20:17:23.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:23.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:23.029Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:23.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:23.029Z] [2023-04-17T20:17:23.029Z] Login Succeeded [2023-04-17T20:17:23.029Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:17:23.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T20:17:23.419Z] + git rev-list -1 --merges fa0493e2e3feda240b1cb1121ab26136a8f60332~1..fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo [2023-04-17T20:17:23.471Z] -----------> git rev-list -1 --merges fa0493e2e3feda240b1cb1121ab26136a8f60332~1..fa0493e2e3feda240b1cb1121ab26136a8f60332 fa0493e2e3feda240b1cb1121ab26136a8f60332 [false] [Pipeline] sh [2023-04-17T20:17:23.762Z] + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo [2023-04-17T20:17:23.778Z] ========================================================= [2023-04-17T20:17:23.778Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T20:17:23.778Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:17:24.173Z] + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo [2023-04-17T20:17:24.183Z] [semverPrep] GIT_COMMIT: fa0493e2e3feda240b1cb1121ab26136a8f60332, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291) [Pipeline] echo [2023-04-17T20:17:24.193Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T20:17:24.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:17:24.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T20:17:24.537Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T20:17:24.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T20:17:24.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-04-17T20:17:24.537Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T20:17:24.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:25.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:25.071Z] [2023-04-17T20:17:25.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:25.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:25.373Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T20:17:25.373Z] b85a868b505f: Pulling fs layer [2023-04-17T20:17:25.373Z] e2be974225ed: Pulling fs layer [2023-04-17T20:17:25.373Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T20:17:25.373Z] 988bab9f4d93: Pulling fs layer [2023-04-17T20:17:25.373Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T20:17:25.373Z] eaf3925da568: Pulling fs layer [2023-04-17T20:17:25.373Z] bab4dde63d76: Pulling fs layer [2023-04-17T20:17:25.373Z] bde34c3a00c8: Pulling fs layer [2023-04-17T20:17:25.373Z] b352a97aabf1: Pulling fs layer [2023-04-17T20:17:25.373Z] 4872d77fe225: Pulling fs layer [2023-04-17T20:17:25.373Z] 5851b861e8e6: Pulling fs layer [2023-04-17T20:17:25.373Z] bab4dde63d76: Waiting [2023-04-17T20:17:25.373Z] bde34c3a00c8: Waiting [2023-04-17T20:17:25.373Z] b352a97aabf1: Waiting [2023-04-17T20:17:25.373Z] 4872d77fe225: Waiting [2023-04-17T20:17:25.373Z] 5851b861e8e6: Waiting [2023-04-17T20:17:25.373Z] 988bab9f4d93: Waiting [2023-04-17T20:17:25.373Z] eaf3925da568: Waiting [2023-04-17T20:17:25.373Z] 1469e6f7b9e6: Waiting [2023-04-17T20:17:25.373Z] e2be974225ed: Download complete [2023-04-17T20:17:25.373Z] 988bab9f4d93: Verifying Checksum [2023-04-17T20:17:25.373Z] 988bab9f4d93: Download complete [2023-04-17T20:17:25.634Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T20:17:25.634Z] 1469e6f7b9e6: Download complete [2023-04-17T20:17:25.634Z] eaf3925da568: Download complete [2023-04-17T20:17:25.634Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T20:17:25.634Z] 339a4e72a1f5: Download complete [2023-04-17T20:17:25.634Z] bde34c3a00c8: Download complete [2023-04-17T20:17:25.634Z] b352a97aabf1: Verifying Checksum [2023-04-17T20:17:25.634Z] b352a97aabf1: Download complete [2023-04-17T20:17:25.634Z] 4872d77fe225: Verifying Checksum [2023-04-17T20:17:25.634Z] 4872d77fe225: Download complete [2023-04-17T20:17:25.634Z] b85a868b505f: Verifying Checksum [2023-04-17T20:17:25.634Z] b85a868b505f: Download complete [2023-04-17T20:17:25.634Z] 5851b861e8e6: Download complete [2023-04-17T20:17:25.894Z] bab4dde63d76: Verifying Checksum [2023-04-17T20:17:25.894Z] bab4dde63d76: Download complete [2023-04-17T20:17:27.275Z] b85a868b505f: Pull complete [2023-04-17T20:17:27.275Z] e2be974225ed: Pull complete [2023-04-17T20:17:27.843Z] 339a4e72a1f5: Pull complete [2023-04-17T20:17:27.843Z] 988bab9f4d93: Pull complete [2023-04-17T20:17:28.102Z] 1469e6f7b9e6: Pull complete [2023-04-17T20:17:28.102Z] eaf3925da568: Pull complete [2023-04-17T20:17:30.005Z] bab4dde63d76: Pull complete [2023-04-17T20:17:30.005Z] bde34c3a00c8: Pull complete [2023-04-17T20:17:30.263Z] b352a97aabf1: Pull complete [2023-04-17T20:17:30.263Z] 4872d77fe225: Pull complete [2023-04-17T20:17:30.264Z] 5851b861e8e6: Pull complete [2023-04-17T20:17:30.264Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T20:17:30.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:17:30.264Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:17:30.369Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:17:30.383Z] $ 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-04-17T20:17:31.917Z] $ docker top af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 -eo pid,comm [2023-04-17T20:17:31.988Z] 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-04-17T20:17:31.988Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:17:32.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:17:32.016Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:17:32.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:17:32.128Z] $ docker exec af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent [2023-04-17T20:17:32.257Z] SSH_AUTH_SOCK=/tmp/ssh-s5McJsYmPSrl/agent.31 [2023-04-17T20:17:32.257Z] SSH_AGENT_PID=37 [2023-04-17T20:17:32.264Z] Running ssh-add (command line suppressed) [2023-04-17T20:17:32.361Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13106677048154620645.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13106677048154620645.key) [2023-04-17T20:17:32.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:17:32.682Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T20:17:32.679Z] $ docker exec --env ******** --env ******** af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent -k [2023-04-17T20:17:32.776Z] unset SSH_AUTH_SOCK; [2023-04-17T20:17:32.776Z] unset SSH_AGENT_PID; [2023-04-17T20:17:32.777Z] echo Agent pid 37 killed; [2023-04-17T20:17:32.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T20:17:32.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:17:32.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:17:32.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:17:32.931Z] $ docker exec af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent [2023-04-17T20:17:33.062Z] SSH_AUTH_SOCK=/tmp/ssh-9hU9IcFiGgC7/agent.69 [2023-04-17T20:17:33.062Z] SSH_AGENT_PID=75 [2023-04-17T20:17:33.067Z] Running ssh-add (command line suppressed) [2023-04-17T20:17:33.154Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13024334895126274425.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13024334895126274425.key) [2023-04-17T20:17:33.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:17:33.468Z] + git semver init [2023-04-17T20:17:33.730Z] 2023-04-17 20:17:33,631 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T20:17:33.730Z] 2023-04-17 20:17:33,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-04-17T20:17:33.730Z] 2023-04-17 20:17:33,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-04-17T20:17:33.730Z] 2023-04-17 20:17:33,632 [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-04-17T20:17:34.667Z] 2023-04-17 20:17:34,576 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-04-17T20:17:34.667Z] 2023-04-17 20:17:34,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-04-17T20:17:34.667Z] 2023-04-17 20:17:34,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:17:34.667Z] 2023-04-17 20:17:34,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:17:34.667Z] 3.0.0-dev.27 [Pipeline] } [2023-04-17T20:17:34.666Z] $ docker exec --env ******** --env ******** af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent -k [2023-04-17T20:17:34.771Z] unset SSH_AUTH_SOCK; [2023-04-17T20:17:34.771Z] unset SSH_AGENT_PID; [2023-04-17T20:17:34.772Z] echo Agent pid 75 killed; [2023-04-17T20:17:34.795Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:17:35.095Z] + git semver [Pipeline] } [2023-04-17T20:17:35.356Z] $ docker stop --time=1 af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 [2023-04-17T20:17:36.702Z] $ docker rm -f --volumes af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:17:37.055Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T20:17:37.275Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T20:17:37.277Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [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-04-17T20:17:37.390Z] provisioning config files... [2023-04-17T20:17:37.399Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1074762126813619116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:17:37.691Z] ---> docker-login.sh [2023-04-17T20:17:37.692Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:17:37.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:37.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:37.692Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:37.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:37.692Z] [2023-04-17T20:17:37.692Z] Login Succeeded [2023-04-17T20:17:37.692Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:17:37.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:37.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:37.692Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:37.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:37.692Z] [2023-04-17T20:17:37.692Z] Login Succeeded [2023-04-17T20:17:37.692Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:17:37.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:37.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:37.950Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:37.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:37.950Z] [2023-04-17T20:17:37.950Z] Login Succeeded [2023-04-17T20:17:37.950Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:17:37.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:37.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:37.950Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:37.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:37.950Z] [2023-04-17T20:17:37.950Z] Login Succeeded [2023-04-17T20:17:37.950Z] docker.io [2023-04-17T20:17:38.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:17:38.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:17:38.209Z] Configure a credential helper to remove this warning. See [2023-04-17T20:17:38.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:17:38.209Z] [2023-04-17T20:17:38.209Z] Login Succeeded [2023-04-17T20:17:38.209Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:17:38.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:17:38.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:17:38.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:17:38.293Z] ========================================================= [2023-04-17T20:17:38.293Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T20:17:38.293Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:17:38.593Z] + 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-04-17T20:17:38.593Z] Sending build context to Docker daemon 10.88MB [2023-04-17T20:17:38.593Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:17:38.593Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T20:17:38.593Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T20:17:38.593Z] 63b65145d645: Pulling fs layer [2023-04-17T20:17:38.593Z] a2d21d5440eb: Pulling fs layer [2023-04-17T20:17:38.593Z] 935e6c44a52c: Pulling fs layer [2023-04-17T20:17:38.593Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T20:17:38.593Z] 30dea6a524f1: Pulling fs layer [2023-04-17T20:17:38.593Z] a2aff8979fd8: Pulling fs layer [2023-04-17T20:17:38.593Z] 6808be2612f2: Pulling fs layer [2023-04-17T20:17:38.593Z] f25807f1079a: Pulling fs layer [2023-04-17T20:17:38.593Z] 30dea6a524f1: Waiting [2023-04-17T20:17:38.593Z] a2aff8979fd8: Waiting [2023-04-17T20:17:38.593Z] 6808be2612f2: Waiting [2023-04-17T20:17:38.593Z] f25807f1079a: Waiting [2023-04-17T20:17:38.593Z] 94cc34f8dd06: Waiting [2023-04-17T20:17:38.593Z] a2d21d5440eb: Verifying Checksum [2023-04-17T20:17:38.593Z] a2d21d5440eb: Download complete [2023-04-17T20:17:38.854Z] 94cc34f8dd06: Download complete [2023-04-17T20:17:38.854Z] 30dea6a524f1: Download complete [2023-04-17T20:17:38.854Z] 63b65145d645: Verifying Checksum [2023-04-17T20:17:38.854Z] 63b65145d645: Download complete [2023-04-17T20:17:38.854Z] a2aff8979fd8: Verifying Checksum [2023-04-17T20:17:38.854Z] a2aff8979fd8: Download complete [2023-04-17T20:17:38.854Z] 63b65145d645: Pull complete [2023-04-17T20:17:39.117Z] a2d21d5440eb: Pull complete [2023-04-17T20:17:39.117Z] f25807f1079a: Verifying Checksum [2023-04-17T20:17:39.117Z] f25807f1079a: Download complete [2023-04-17T20:17:39.376Z] 935e6c44a52c: Verifying Checksum [2023-04-17T20:17:39.376Z] 935e6c44a52c: Download complete [2023-04-17T20:17:39.634Z] 6808be2612f2: Verifying Checksum [2023-04-17T20:17:39.634Z] 6808be2612f2: Download complete [2023-04-17T20:17:42.918Z] 935e6c44a52c: Pull complete [2023-04-17T20:17:43.177Z] 94cc34f8dd06: Pull complete [2023-04-17T20:17:43.177Z] 30dea6a524f1: Pull complete [2023-04-17T20:17:43.177Z] a2aff8979fd8: Pull complete [2023-04-17T20:17:45.706Z] 6808be2612f2: Pull complete [2023-04-17T20:17:46.639Z] f25807f1079a: Pull complete [2023-04-17T20:17:46.639Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T20:17:46.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T20:17:46.639Z] ---> 3b553350e43f [2023-04-17T20:17:46.639Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:17:48.544Z] ---> Running in 98d7ed6b7567 [2023-04-17T20:17:48.544Z] Removing intermediate container 98d7ed6b7567 [2023-04-17T20:17:48.544Z] ---> 5b7ca261d563 [2023-04-17T20:17:48.544Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:17:48.544Z] ---> Running in 283c9409f141 [2023-04-17T20:17:48.544Z] Removing intermediate container 283c9409f141 [2023-04-17T20:17:48.544Z] ---> 6176df016aa5 [2023-04-17T20:17:48.544Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:17:48.544Z] ---> Running in 77775a593352 [2023-04-17T20:17:48.544Z] Removing intermediate container 77775a593352 [2023-04-17T20:17:48.544Z] ---> c0b90e32c113 [2023-04-17T20:17:48.544Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:17:48.802Z] ---> Running in d23460161adb [2023-04-17T20:17:48.802Z] Removing intermediate container d23460161adb [2023-04-17T20:17:48.802Z] ---> 79bc63a96f08 [2023-04-17T20:17:48.802Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:17:48.802Z] ---> Running in 80d91b0bd602 [2023-04-17T20:17:49.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:17:49.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:17:49.337Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:17:49.337Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T20:17:49.337Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:17:49.598Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:17:49.598Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:17:49.598Z] OK: 269 MiB in 57 packages [2023-04-17T20:17:49.857Z] Removing intermediate container 80d91b0bd602 [2023-04-17T20:17:49.857Z] ---> d71a9423c87f [2023-04-17T20:17:49.857Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T20:17:49.857Z] ---> Running in 65952a663014 [2023-04-17T20:17:50.115Z] Removing intermediate container 65952a663014 [2023-04-17T20:17:50.115Z] ---> 8b3dc11ac2a9 [2023-04-17T20:17:50.115Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T20:17:50.115Z] ---> d9566d120c51 [2023-04-17T20:17:50.115Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:17:50.115Z] ---> Running in eff9cac8646e [2023-04-17T20:17:52.363Z] Still waiting to schedule task [2023-04-17T20:17:52.363Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T20:18:16.675Z] Removing intermediate container eff9cac8646e [2023-04-17T20:18:16.675Z] ---> ee33772d1e6d [2023-04-17T20:18:16.675Z] Step 11/12 : COPY . . [2023-04-17T20:18:16.675Z] ---> cbcd2551c360 [2023-04-17T20:18:16.675Z] Step 12/12 : RUN $MAKE [2023-04-17T20:18:16.675Z] ---> Running in f6ff48d5f399 [2023-04-17T20:18:16.675Z] noop [2023-04-17T20:18:16.675Z] Removing intermediate container f6ff48d5f399 [2023-04-17T20:18:16.675Z] ---> cb31673474e7 [2023-04-17T20:18:16.675Z] Successfully built cb31673474e7 [2023-04-17T20:18:16.675Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:16.985Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:18:16.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:18:17.059Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:18:17.095Z] $ 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-04-17T20:18:17.467Z] $ docker top 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:18:17.797Z] + go version [2023-04-17T20:18:17.797Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T20:18:17.815Z] $ docker stop --time=1 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 [2023-04-17T20:18:19.130Z] $ docker rm -f --volumes 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:19.530Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T20:18:19.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:18:19.596Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:18:19.630Z] $ 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-04-17T20:18:20.028Z] $ docker top 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:18:20.369Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:18:20.658Z] + make test [2023-04-17T20:18:20.658Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T20:18:25.923Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T20:18:35.884Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-17T20:18:35.884Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements [2023-04-17T20:18:40.060Z] go vet ./... [2023-04-17T20:18:44.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:18:44.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:18:44.239Z] ./bin/test-attribution-txt.sh [2023-04-17T20:18:44.239Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:18:44.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:18:44.271Z] $ docker stop --time=1 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 [2023-04-17T20:18:46.247Z] $ docker rm -f --volumes 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:18:46.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:18:46.734Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T20:18:47.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:18:47.434Z] + ls -al . [2023-04-17T20:18:47.434Z] total 184 [2023-04-17T20:18:47.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 20:18 . [2023-04-17T20:18:47.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 .. [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 20:17 .dockerignore [2023-04-17T20:18:47.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:17 .git [2023-04-17T20:18:47.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 .github [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 20:17 .gitignore [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:17 .golangci.yml [2023-04-17T20:18:47.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:17 .semver [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 20:17 Attribution.txt [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 20:17 CHANGELOG.md [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 20:17 Dockerfile [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:17 GOVERNANCE.md [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:17 Jenkinsfile [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:17 LICENSE [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 20:17 Makefile [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:17 OWNERS.md [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 20:17 README.md [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION [2023-04-17T20:18:47.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 bin [2023-04-17T20:18:47.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 cmd [2023-04-17T20:18:47.434Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 20:18 coverage.out [2023-04-17T20:18:47.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 driver [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 20:17 go.mod [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 20:17 go.sum [2023-04-17T20:18:47.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 snap [2023-04-17T20:18:47.434Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:18:47.739Z] + 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=fa0493e2e3feda240b1cb1121ab26136a8f60332 --label arch=amd64 --label version=3.0.0-dev.27 . [2023-04-17T20:18:47.739Z] Sending build context to Docker daemon 10.89MB [2023-04-17T20:18:47.739Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:18:47.739Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T20:18:47.739Z] ---> cb31673474e7 [2023-04-17T20:18:47.739Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:18:47.739Z] ---> Running in ee9ac2e2a387 [2023-04-17T20:18:47.998Z] Removing intermediate container ee9ac2e2a387 [2023-04-17T20:18:47.998Z] ---> d6d08bcefa7c [2023-04-17T20:18:47.998Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:18:47.998Z] ---> Running in 967ffddcf547 [2023-04-17T20:18:47.998Z] Removing intermediate container 967ffddcf547 [2023-04-17T20:18:47.998Z] ---> 60ca5d88c7fc [2023-04-17T20:18:47.998Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:18:47.998Z] ---> Running in 9dd274068f7b [2023-04-17T20:18:48.256Z] Removing intermediate container 9dd274068f7b [2023-04-17T20:18:48.256Z] ---> 1e7d1cd507b3 [2023-04-17T20:18:48.256Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:18:48.256Z] ---> Running in f86ae925bde4 [2023-04-17T20:18:48.256Z] Removing intermediate container f86ae925bde4 [2023-04-17T20:18:48.256Z] ---> 2cc2ac37b55b [2023-04-17T20:18:48.256Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:18:48.256Z] ---> Running in f3bac2170a0d [2023-04-17T20:18:48.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:48.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:18:49.030Z] OK: 269 MiB in 57 packages [2023-04-17T20:18:49.288Z] Removing intermediate container f3bac2170a0d [2023-04-17T20:18:49.288Z] ---> 3865d3ec76d6 [2023-04-17T20:18:49.289Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-17T20:18:49.289Z] ---> Running in d27baf5eb4e7 [2023-04-17T20:18:49.289Z] Removing intermediate container d27baf5eb4e7 [2023-04-17T20:18:49.289Z] ---> 699cc82dde56 [2023-04-17T20:18:49.289Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T20:18:49.548Z] ---> 13323e8ec966 [2023-04-17T20:18:49.548Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:18:49.548Z] ---> Running in f2a5142fe429 [2023-04-17T20:18:50.482Z] Removing intermediate container f2a5142fe429 [2023-04-17T20:18:50.482Z] ---> c0a920230540 [2023-04-17T20:18:50.482Z] Step 11/25 : COPY . . [2023-04-17T20:18:50.742Z] ---> 8b436387a7cc [2023-04-17T20:18:50.742Z] Step 12/25 : RUN $MAKE [2023-04-17T20:18:50.742Z] ---> Running in 5ad2cb3de332 [2023-04-17T20:18:51.000Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-17T20:19:09.243Z] Removing intermediate container 5ad2cb3de332 [2023-04-17T20:19:09.243Z] ---> cd275296f302 [2023-04-17T20:19:09.243Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T20:19:09.243Z] 3.17: Pulling from library/alpine [2023-04-17T20:19:09.243Z] f56be85fc22e: Pulling fs layer [2023-04-17T20:19:09.243Z] f56be85fc22e: Verifying Checksum [2023-04-17T20:19:09.243Z] f56be85fc22e: Download complete [2023-04-17T20:19:09.243Z] f56be85fc22e: Pull complete [2023-04-17T20:19:09.243Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:19:09.243Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:19:09.243Z] ---> 9ed4aefc74f6 [2023-04-17T20:19:09.243Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T20:19:09.243Z] ---> Running in 1083458680a0 [2023-04-17T20:19:09.243Z] Removing intermediate container 1083458680a0 [2023-04-17T20:19:09.243Z] ---> c37d4f4a2092 [2023-04-17T20:19:09.243Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-17T20:19:09.243Z] ---> Running in 5e1e4df261f1 [2023-04-17T20:19:09.243Z] Removing intermediate container 5e1e4df261f1 [2023-04-17T20:19:09.243Z] ---> 14c6f74051b3 [2023-04-17T20:19:09.243Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:19:09.243Z] ---> Running in f873932c105c [2023-04-17T20:19:09.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:09.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T20:19:09.243Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:19:09.243Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:19:09.243Z] OK: 7 MiB in 16 packages [2023-04-17T20:19:09.809Z] Removing intermediate container f873932c105c [2023-04-17T20:19:09.809Z] ---> 9454752ff071 [2023-04-17T20:19:09.809Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-17T20:19:10.068Z] ---> ae42f24fa771 [2023-04-17T20:19:10.068Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-17T20:19:10.326Z] ---> d6f59e3b5527 [2023-04-17T20:19:10.326Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-17T20:19:10.326Z] ---> 46fe6b86a58a [2023-04-17T20:19:10.326Z] Step 20/25 : EXPOSE 59986 [2023-04-17T20:19:10.584Z] ---> Running in 9775c3d146de [2023-04-17T20:19:10.584Z] Removing intermediate container 9775c3d146de [2023-04-17T20:19:10.584Z] ---> b19612d7f534 [2023-04-17T20:19:10.584Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-17T20:19:10.584Z] ---> Running in c0e3f9141735 [2023-04-17T20:19:10.584Z] Removing intermediate container c0e3f9141735 [2023-04-17T20:19:10.584Z] ---> c8e2f1fcc8b7 [2023-04-17T20:19:10.584Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T20:19:10.844Z] ---> Running in 88f237f92d05 [2023-04-17T20:19:10.844Z] Removing intermediate container 88f237f92d05 [2023-04-17T20:19:10.844Z] ---> d8467b72162d [2023-04-17T20:19:10.844Z] Step 23/25 : LABEL arch=amd64 [2023-04-17T20:19:10.844Z] ---> Running in 69a945f5ff40 [2023-04-17T20:19:10.844Z] Removing intermediate container 69a945f5ff40 [2023-04-17T20:19:10.844Z] ---> 24c064f45603 [2023-04-17T20:19:10.844Z] Step 24/25 : LABEL git_sha=fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:19:11.104Z] ---> Running in 8b415dd87d00 [2023-04-17T20:19:11.104Z] Removing intermediate container 8b415dd87d00 [2023-04-17T20:19:11.104Z] ---> 11bffe366085 [2023-04-17T20:19:11.104Z] Step 25/25 : LABEL version=3.0.0-dev.27 [2023-04-17T20:19:11.104Z] ---> Running in 872dfd780962 [2023-04-17T20:19:11.104Z] Removing intermediate container 872dfd780962 [2023-04-17T20:19:11.104Z] ---> ebec9edc9220 [2023-04-17T20:19:11.105Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:19:11.105Z] Successfully built ebec9edc9220 [2023-04-17T20:19:11.105Z] 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-04-17T20:19:11.226Z] provisioning config files... [2023-04-17T20:19:11.236Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10582600344095405333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:19:11.535Z] ---> docker-login.sh [2023-04-17T20:19:11.535Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:19:11.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:11.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:11.535Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:11.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:11.535Z] [2023-04-17T20:19:11.535Z] Login Succeeded [2023-04-17T20:19:11.535Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:19:11.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:11.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:11.535Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:11.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:11.535Z] [2023-04-17T20:19:11.535Z] Login Succeeded [2023-04-17T20:19:11.535Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:19:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:11.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:11.795Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:11.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:11.795Z] [2023-04-17T20:19:11.795Z] Login Succeeded [2023-04-17T20:19:11.795Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:19:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:11.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:11.795Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:11.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:11.795Z] [2023-04-17T20:19:11.795Z] Login Succeeded [2023-04-17T20:19:11.795Z] docker.io [2023-04-17T20:19:11.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:19:12.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:19:12.055Z] Configure a credential helper to remove this warning. See [2023-04-17T20:19:12.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:19:12.055Z] [2023-04-17T20:19:12.055Z] Login Succeeded [2023-04-17T20:19:12.055Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:19:12.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:19:12.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:19:12.129Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-04-17T20:19:12.129Z] fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:19:12.129Z] latest [2023-04-17T20:19:12.129Z] 3.0.0-dev.27 [2023-04-17T20:19:12.129Z] fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:19:12.129Z] main [2023-04-17T20:19:12.129Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:12.453Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:12.761Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:19:12.761Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-17T20:19:12.761Z] 4d244afa7df3: Preparing [2023-04-17T20:19:12.761Z] 051acb79122c: Preparing [2023-04-17T20:19:12.761Z] 8ae1c56a0658: Preparing [2023-04-17T20:19:12.761Z] 8248ed6954cc: Preparing [2023-04-17T20:19:12.761Z] f1417ff83b31: Preparing [2023-04-17T20:19:12.761Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:12.761Z] 051acb79122c: Pushed [2023-04-17T20:19:12.761Z] 8248ed6954cc: Pushed [2023-04-17T20:19:12.761Z] 4d244afa7df3: Pushed [2023-04-17T20:19:15.296Z] 8ae1c56a0658: Pushed [2023-04-17T20:19:15.296Z] fa0493e2e3feda240b1cb1121ab26136a8f60332: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:15.619Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:15.919Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-04-17T20:19:15.919Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-17T20:19:15.919Z] 4d244afa7df3: Preparing [2023-04-17T20:19:15.919Z] 051acb79122c: Preparing [2023-04-17T20:19:15.919Z] 8ae1c56a0658: Preparing [2023-04-17T20:19:15.919Z] 8248ed6954cc: Preparing [2023-04-17T20:19:15.919Z] f1417ff83b31: Preparing [2023-04-17T20:19:15.919Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:15.919Z] 8ae1c56a0658: Layer already exists [2023-04-17T20:19:15.919Z] 4d244afa7df3: Layer already exists [2023-04-17T20:19:15.919Z] 051acb79122c: Layer already exists [2023-04-17T20:19:15.919Z] 8248ed6954cc: Layer already exists [2023-04-17T20:19:15.919Z] latest: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:16.235Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:16.539Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 [2023-04-17T20:19:16.539Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-17T20:19:16.539Z] 4d244afa7df3: Preparing [2023-04-17T20:19:16.539Z] 051acb79122c: Preparing [2023-04-17T20:19:16.539Z] 8ae1c56a0658: Preparing [2023-04-17T20:19:16.539Z] 8248ed6954cc: Preparing [2023-04-17T20:19:16.539Z] f1417ff83b31: Preparing [2023-04-17T20:19:16.539Z] 051acb79122c: Layer already exists [2023-04-17T20:19:16.539Z] 8ae1c56a0658: Layer already exists [2023-04-17T20:19:16.539Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:16.539Z] 8248ed6954cc: Layer already exists [2023-04-17T20:19:16.539Z] 4d244afa7df3: Layer already exists [2023-04-17T20:19:16.539Z] 3.0.0-dev.27: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:16.848Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:17.150Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:19:17.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-17T20:19:17.150Z] 4d244afa7df3: Preparing [2023-04-17T20:19:17.150Z] 051acb79122c: Preparing [2023-04-17T20:19:17.150Z] 8ae1c56a0658: Preparing [2023-04-17T20:19:17.150Z] 8248ed6954cc: Preparing [2023-04-17T20:19:17.150Z] f1417ff83b31: Preparing [2023-04-17T20:19:17.150Z] 8248ed6954cc: Layer already exists [2023-04-17T20:19:17.150Z] 4d244afa7df3: Layer already exists [2023-04-17T20:19:17.150Z] 051acb79122c: Layer already exists [2023-04-17T20:19:17.150Z] 8ae1c56a0658: Layer already exists [2023-04-17T20:19:17.150Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:17.150Z] fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:17.456Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:17.757Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-04-17T20:19:17.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-04-17T20:19:17.757Z] 4d244afa7df3: Preparing [2023-04-17T20:19:17.757Z] 051acb79122c: Preparing [2023-04-17T20:19:17.757Z] 8ae1c56a0658: Preparing [2023-04-17T20:19:17.757Z] 8248ed6954cc: Preparing [2023-04-17T20:19:17.757Z] f1417ff83b31: Preparing [2023-04-17T20:19:17.757Z] f1417ff83b31: Layer already exists [2023-04-17T20:19:17.757Z] 051acb79122c: Layer already exists [2023-04-17T20:19:17.757Z] 8248ed6954cc: Layer already exists [2023-04-17T20:19:17.757Z] 4d244afa7df3: Layer already exists [2023-04-17T20:19:17.757Z] 8ae1c56a0658: Layer already exists [2023-04-17T20:19:17.757Z] main: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:19:17.795Z] ===================================================== [Pipeline] echo [2023-04-17T20:19:17.801Z] taggedImages: [2023-04-17T20:19:17.801Z] - nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:19:17.801Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-04-17T20:19:17.801Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 [2023-04-17T20:19:17.801Z] - nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:19:17.801Z] - 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-04-17T20:19:18.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:18.141Z] [2023-04-17T20:19:18.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:19:18.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:18.434Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T20:19:18.434Z] 5eb5b503b376: Pulling fs layer [2023-04-17T20:19:18.434Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T20:19:18.434Z] ec43610c2a17: Pulling fs layer [2023-04-17T20:19:18.434Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T20:19:18.434Z] 33b1e0a273af: Pulling fs layer [2023-04-17T20:19:18.434Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T20:19:18.434Z] 2f39f015ded8: Pulling fs layer [2023-04-17T20:19:18.434Z] 33b1e0a273af: Waiting [2023-04-17T20:19:18.434Z] 5d3b04190fa2: Waiting [2023-04-17T20:19:18.434Z] 2f39f015ded8: Waiting [2023-04-17T20:19:18.434Z] 5c69ac0246d0: Download complete [2023-04-17T20:19:18.434Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T20:19:18.434Z] 3a2ae6a8a46f: Download complete [2023-04-17T20:19:18.434Z] 33b1e0a273af: Verifying Checksum [2023-04-17T20:19:18.434Z] 33b1e0a273af: Download complete [2023-04-17T20:19:18.434Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T20:19:18.434Z] 5d3b04190fa2: Download complete [2023-04-17T20:19:18.434Z] ec43610c2a17: Verifying Checksum [2023-04-17T20:19:18.434Z] ec43610c2a17: Download complete [2023-04-17T20:19:18.693Z] 5eb5b503b376: Verifying Checksum [2023-04-17T20:19:18.693Z] 5eb5b503b376: Download complete [2023-04-17T20:19:19.261Z] 2f39f015ded8: Verifying Checksum [2023-04-17T20:19:19.828Z] 5eb5b503b376: Pull complete [2023-04-17T20:19:20.087Z] 5c69ac0246d0: Pull complete [2023-04-17T20:19:20.655Z] ec43610c2a17: Pull complete [2023-04-17T20:19:20.655Z] 3a2ae6a8a46f: Pull complete [2023-04-17T20:19:20.915Z] 33b1e0a273af: Pull complete [2023-04-17T20:19:20.915Z] 5d3b04190fa2: Pull complete [2023-04-17T20:19:25.103Z] 2f39f015ded8: Pull complete [2023-04-17T20:19:25.103Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T20:19:25.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:19:25.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:19:25.181Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:19:25.220Z] $ 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-04-17T20:19:26.716Z] $ docker top 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:19:27.068Z] ---> job-cost.sh [2023-04-17T20:19:27.068Z] lf-activate-venv: SKIPPING [2023-04-17T20:19:27.068Z] INFO: No Stack... [2023-04-17T20:19:27.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:19:27.586Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:19:27.870Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-04-17T20:19:27.870Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T20:19:27.883Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [2023-04-17T20:19:27.889Z] Resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] did not exist. Created. [2023-04-17T20:19:27.889Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:19:28.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T20:19:28.211Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:19:28.217Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:19:28.245Z] $ docker stop --time=1 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab [2023-04-17T20:19:29.427Z] $ docker rm -f --volumes 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T20:21:02.622Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8781 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-04-17T20:21:02.638Z] Running in /w/workspace/device-rest-go/99 [Pipeline] { [Pipeline] checkout [2023-04-17T20:21:02.684Z] The recommended git tool is: git [2023-04-17T20:21:12.766Z] using credential edgex-jenkins-ssh [2023-04-17T20:21:12.792Z] Cloning the remote Git repository [2023-04-17T20:21:12.880Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T20:21:13.072Z] > git init /w/workspace/device-rest-go/99 # timeout=10 [2023-04-17T20:21:13.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T20:21:13.387Z] > git --version # timeout=10 [2023-04-17T20:21:13.432Z] > git --version # 'git version 2.25.1' [2023-04-17T20:21:13.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T20:21:13.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:21:16.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-17T20:21:16.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T20:21:18.695Z] Avoid second fetch [2023-04-17T20:21:18.695Z] Checking out Revision fa0493e2e3feda240b1cb1121ab26136a8f60332 (main) [2023-04-17T20:21:18.750Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T20:21:18.965Z] > git checkout -f fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 [2023-04-17T20:21:20.134Z] Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:21:21.350Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T20:21:21.350Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:21:21.350Z] Dload Upload Total Spent Left Speed [2023-04-17T20:21:21.350Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-04-17T20:21:22.398Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T20:21:22.797Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T20:21:22.797Z] + sudo tee /etc/docker/daemon.new [2023-04-17T20:21:23.075Z] { [2023-04-17T20:21:23.075Z] "registry-mirrors": [ [2023-04-17T20:21:23.075Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T20:21:23.075Z] ], [2023-04-17T20:21:23.075Z] "bip": "10.250.0.254/24", [2023-04-17T20:21:23.075Z] "hosts": [ [2023-04-17T20:21:23.075Z] "tcp://0.0.0.0:5555", [2023-04-17T20:21:23.075Z] "unix:///var/run/docker.sock" [2023-04-17T20:21:23.075Z] ], [2023-04-17T20:21:23.075Z] "mtu": 1458, [2023-04-17T20:21:23.075Z] "selinux-enabled": true, [2023-04-17T20:21:23.075Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T20:21:23.075Z] } [Pipeline] sh [2023-04-17T20:21:23.464Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T20:21:23.834Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:21:42.221Z] provisioning config files... [2023-04-17T20:21:42.269Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/99@tmp/config2470801158299404221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:21:42.664Z] ---> docker-login.sh [2023-04-17T20:21:42.664Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:21:43.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:43.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:43.261Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:43.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:43.262Z] [2023-04-17T20:21:43.262Z] Login Succeeded [2023-04-17T20:21:43.536Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:21:43.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:43.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:43.812Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:43.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:43.812Z] [2023-04-17T20:21:43.812Z] Login Succeeded [2023-04-17T20:21:43.812Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:21:44.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:44.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:44.367Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:44.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:44.367Z] [2023-04-17T20:21:44.367Z] Login Succeeded [2023-04-17T20:21:44.367Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:21:44.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:44.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:44.643Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:44.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:44.643Z] [2023-04-17T20:21:44.643Z] Login Succeeded [2023-04-17T20:21:44.643Z] docker.io [2023-04-17T20:21:44.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:21:45.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:21:45.195Z] Configure a credential helper to remove this warning. See [2023-04-17T20:21:45.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:21:45.195Z] [2023-04-17T20:21:45.195Z] Login Succeeded [2023-04-17T20:21:45.195Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:21:45.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T20:21:45.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:21:45.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:21:45.590Z] ========================================================= [2023-04-17T20:21:45.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T20:21:45.590Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:21:45.953Z] + 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-04-17T20:21:45.953Z] Sending build context to Docker daemon 137.7kB [2023-04-17T20:21:46.224Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:21:46.224Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T20:21:46.499Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T20:21:46.499Z] af6eaf76a39c: Pulling fs layer [2023-04-17T20:21:46.499Z] 55522c791124: Pulling fs layer [2023-04-17T20:21:46.499Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T20:21:46.499Z] 169dfbe0d373: Pulling fs layer [2023-04-17T20:21:46.499Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T20:21:46.499Z] 169dfbe0d373: Waiting [2023-04-17T20:21:46.499Z] e1ff8fa3b103: Waiting [2023-04-17T20:21:46.499Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T20:21:46.499Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T20:21:46.499Z] 52ebb69f0ebf: Waiting [2023-04-17T20:21:46.499Z] 5abe8eddf0d5: Waiting [2023-04-17T20:21:46.499Z] 55522c791124: Verifying Checksum [2023-04-17T20:21:46.499Z] 55522c791124: Download complete [2023-04-17T20:21:46.500Z] 169dfbe0d373: Verifying Checksum [2023-04-17T20:21:46.500Z] 169dfbe0d373: Download complete [2023-04-17T20:21:46.500Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T20:21:46.500Z] e1ff8fa3b103: Download complete [2023-04-17T20:21:46.787Z] af6eaf76a39c: Verifying Checksum [2023-04-17T20:21:46.788Z] af6eaf76a39c: Download complete [2023-04-17T20:21:47.773Z] af6eaf76a39c: Pull complete [2023-04-17T20:21:47.773Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T20:21:47.773Z] 5abe8eddf0d5: Download complete [2023-04-17T20:21:48.373Z] 55522c791124: Pull complete [2023-04-17T20:21:49.350Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T20:21:49.622Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T20:21:49.622Z] 52ebb69f0ebf: Download complete [2023-04-17T20:22:02.018Z] ce5c4a1c91eb: Pull complete [2023-04-17T20:22:02.018Z] 169dfbe0d373: Pull complete [2023-04-17T20:22:02.018Z] e1ff8fa3b103: Pull complete [2023-04-17T20:22:08.726Z] 52ebb69f0ebf: Pull complete [2023-04-17T20:22:09.710Z] 5abe8eddf0d5: Pull complete [2023-04-17T20:22:09.710Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T20:22:09.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T20:22:09.710Z] ---> 6cb57ee374ae [2023-04-17T20:22:09.710Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:22:13.144Z] ---> Running in cca8513adc62 [2023-04-17T20:22:13.144Z] Removing intermediate container cca8513adc62 [2023-04-17T20:22:13.144Z] ---> 3f634a079983 [2023-04-17T20:22:13.144Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:22:13.145Z] ---> Running in 4a4292eba24f [2023-04-17T20:22:13.416Z] Removing intermediate container 4a4292eba24f [2023-04-17T20:22:13.416Z] ---> b42251f1d9be [2023-04-17T20:22:13.416Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:22:13.693Z] ---> Running in 3309b0230b8b [2023-04-17T20:22:13.964Z] Removing intermediate container 3309b0230b8b [2023-04-17T20:22:13.964Z] ---> 6f7db6e6de9e [2023-04-17T20:22:13.964Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:22:13.964Z] ---> Running in 0e891f84df63 [2023-04-17T20:22:14.243Z] Removing intermediate container 0e891f84df63 [2023-04-17T20:22:14.243Z] ---> 1976737d7562 [2023-04-17T20:22:14.243Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:22:14.529Z] ---> Running in fb7e5f572c91 [2023-04-17T20:22:15.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:22:16.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:22:17.447Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T20:22:17.447Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T20:22:17.727Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T20:22:17.727Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T20:22:17.727Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:22:17.727Z] OK: 268 MiB in 57 packages [2023-04-17T20:22:18.715Z] Removing intermediate container fb7e5f572c91 [2023-04-17T20:22:18.715Z] ---> f4b7c5d5a485 [2023-04-17T20:22:18.715Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T20:22:18.996Z] ---> Running in 0524d7348b1d [2023-04-17T20:22:19.267Z] Removing intermediate container 0524d7348b1d [2023-04-17T20:22:19.267Z] ---> d26e23aa71fc [2023-04-17T20:22:19.267Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T20:22:19.863Z] ---> a47c81f3bfea [2023-04-17T20:22:19.863Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:22:19.863Z] ---> Running in e82ff6851e92 [2023-04-17T20:23:41.620Z] Removing intermediate container e82ff6851e92 [2023-04-17T20:23:41.620Z] ---> 34f44c7ae5c4 [2023-04-17T20:23:41.620Z] Step 11/12 : COPY . . [2023-04-17T20:23:41.620Z] ---> 2cddda0695e8 [2023-04-17T20:23:41.620Z] Step 12/12 : RUN $MAKE [2023-04-17T20:23:41.620Z] ---> Running in 0daba2f50ec7 [2023-04-17T20:23:41.620Z] noop [2023-04-17T20:23:41.620Z] Removing intermediate container 0daba2f50ec7 [2023-04-17T20:23:41.620Z] ---> a2321968c98c [2023-04-17T20:23:41.620Z] Successfully built a2321968c98c [2023-04-17T20:23:41.620Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:23:42.003Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:23:42.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:23:42.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container [2023-04-17T20:23:42.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@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-04-17T20:23:43.784Z] $ docker top a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:23:44.671Z] + go version [2023-04-17T20:23:44.671Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T20:23:44.706Z] $ docker stop --time=1 a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 [2023-04-17T20:23:46.435Z] $ docker rm -f --volumes a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:23:47.027Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T20:23:47.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:23:47.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container [2023-04-17T20:23:47.340Z] $ 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/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@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-04-17T20:23:48.701Z] $ docker top 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:23:49.569Z] + git config --global --add safe.directory /w/workspace/device-rest-go/99 [Pipeline] fileExists [Pipeline] sh [2023-04-17T20:23:50.240Z] + make test [2023-04-17T20:23:50.241Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T20:24:29.177Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T20:26:35.943Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-17T20:26:42.639Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.3% of statements [2023-04-17T20:26:42.639Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T20:26:42.639Z] go vet ./... [2023-04-17T20:27:14.917Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T20:27:14.917Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T20:27:14.917Z] ./bin/test-attribution-txt.sh [2023-04-17T20:27:14.917Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T20:27:14.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T20:27:14.961Z] $ docker stop --time=1 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 [2023-04-17T20:27:16.876Z] $ docker rm -f --volumes 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:27:18.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T20:27:18.143Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T20:27:18.714Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T20:27:19.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T20:27:19.416Z] + ls -al . [2023-04-17T20:27:19.416Z] total 180 [2023-04-17T20:27:19.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:23 . [2023-04-17T20:27:19.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 .. [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 20:21 .dockerignore [2023-04-17T20:27:19.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:21 .git [2023-04-17T20:27:19.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 .github [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 20:21 .gitignore [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:21 .golangci.yml [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 20:21 Attribution.txt [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 20:21 CHANGELOG.md [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 20:21 Dockerfile [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:21 GOVERNANCE.md [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:21 Jenkinsfile [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:21 LICENSE [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 20:21 Makefile [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:21 OWNERS.md [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 20:21 README.md [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION [2023-04-17T20:27:19.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 bin [2023-04-17T20:27:19.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 cmd [2023-04-17T20:27:19.416Z] -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 20:26 coverage.out [2023-04-17T20:27:19.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 driver [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 20:21 go.mod [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 20:21 go.sum [2023-04-17T20:27:19.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 snap [2023-04-17T20:27:19.416Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:27:19.765Z] + 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=fa0493e2e3feda240b1cb1121ab26136a8f60332 --label arch=arm64 --label version=3.0.0-dev.27 . [2023-04-17T20:27:19.765Z] Sending build context to Docker daemon 153.1kB [2023-04-17T20:27:20.035Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T20:27:20.035Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-17T20:27:20.035Z] ---> a2321968c98c [2023-04-17T20:27:20.035Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-17T20:27:20.305Z] ---> Running in a8bbb5e3bc97 [2023-04-17T20:27:20.573Z] Removing intermediate container a8bbb5e3bc97 [2023-04-17T20:27:20.573Z] ---> 94d9901283a1 [2023-04-17T20:27:20.573Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T20:27:20.573Z] ---> Running in 253eba9bcedc [2023-04-17T20:27:20.842Z] Removing intermediate container 253eba9bcedc [2023-04-17T20:27:20.842Z] ---> 6540360e35ce [2023-04-17T20:27:20.842Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T20:27:21.111Z] ---> Running in 16421112738b [2023-04-17T20:27:21.380Z] Removing intermediate container 16421112738b [2023-04-17T20:27:21.380Z] ---> 1bd2d56e8183 [2023-04-17T20:27:21.380Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T20:27:21.380Z] ---> Running in 94b23ff61092 [2023-04-17T20:27:21.965Z] Removing intermediate container 94b23ff61092 [2023-04-17T20:27:21.965Z] ---> 037dbef85c9f [2023-04-17T20:27:21.965Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T20:27:21.965Z] ---> Running in 6c0b61ac0fec [2023-04-17T20:27:22.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:27:23.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:27:25.320Z] OK: 268 MiB in 57 packages [2023-04-17T20:27:26.287Z] Removing intermediate container 6c0b61ac0fec [2023-04-17T20:27:26.287Z] ---> 984d0479a11e [2023-04-17T20:27:26.287Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-17T20:27:26.287Z] ---> Running in be9230fade69 [2023-04-17T20:27:26.556Z] Removing intermediate container be9230fade69 [2023-04-17T20:27:26.556Z] ---> a913a4a0793e [2023-04-17T20:27:26.556Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-17T20:27:27.155Z] ---> cf5b29b90927 [2023-04-17T20:27:27.155Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T20:27:27.155Z] ---> Running in eddaf4d228c8 [2023-04-17T20:27:30.527Z] Removing intermediate container eddaf4d228c8 [2023-04-17T20:27:30.527Z] ---> 7339737d652b [2023-04-17T20:27:30.527Z] Step 11/25 : COPY . . [2023-04-17T20:27:30.798Z] ---> c7563f50a651 [2023-04-17T20:27:30.798Z] Step 12/25 : RUN $MAKE [2023-04-17T20:27:30.798Z] ---> Running in 771c2a3c2a9d [2023-04-17T20:27:32.222Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-17T20:30:09.025Z] Removing intermediate container 771c2a3c2a9d [2023-04-17T20:30:09.025Z] ---> 9235d05d0375 [2023-04-17T20:30:09.025Z] Step 13/25 : FROM alpine:3.17 [2023-04-17T20:30:09.025Z] 3.17: Pulling from library/alpine [2023-04-17T20:30:09.025Z] c41833b44d91: Pulling fs layer [2023-04-17T20:30:09.025Z] c41833b44d91: Verifying Checksum [2023-04-17T20:30:09.025Z] c41833b44d91: Download complete [2023-04-17T20:30:09.025Z] c41833b44d91: Pull complete [2023-04-17T20:30:09.294Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T20:30:09.294Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T20:30:09.294Z] ---> 51e60588ff2c [2023-04-17T20:30:09.294Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-17T20:30:09.294Z] ---> Running in 6f83d36a2236 [2023-04-17T20:30:09.563Z] Removing intermediate container 6f83d36a2236 [2023-04-17T20:30:09.563Z] ---> 6abca3e44873 [2023-04-17T20:30:09.563Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-17T20:30:09.832Z] ---> Running in 0f09fd2bdec9 [2023-04-17T20:30:10.110Z] Removing intermediate container 0f09fd2bdec9 [2023-04-17T20:30:10.110Z] ---> c7a288a18b73 [2023-04-17T20:30:10.110Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-17T20:30:10.110Z] ---> Running in 0cf721cca9b9 [2023-04-17T20:30:11.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:12.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T20:30:13.531Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T20:30:13.531Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T20:30:13.531Z] OK: 8 MiB in 16 packages [2023-04-17T20:30:14.499Z] Removing intermediate container 0cf721cca9b9 [2023-04-17T20:30:14.499Z] ---> bd17494a6545 [2023-04-17T20:30:14.499Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-17T20:30:15.916Z] ---> 4aaf5c14d184 [2023-04-17T20:30:15.916Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-17T20:30:16.503Z] ---> 53c1030b8e24 [2023-04-17T20:30:16.503Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-17T20:30:17.092Z] ---> 7ac79223d9de [2023-04-17T20:30:17.092Z] Step 20/25 : EXPOSE 59986 [2023-04-17T20:30:17.092Z] ---> Running in 1fe94fbe64ea [2023-04-17T20:30:17.361Z] Removing intermediate container 1fe94fbe64ea [2023-04-17T20:30:17.361Z] ---> f6f7ec6d44a9 [2023-04-17T20:30:17.361Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-17T20:30:17.361Z] ---> Running in 62fe392a1825 [2023-04-17T20:30:17.630Z] Removing intermediate container 62fe392a1825 [2023-04-17T20:30:17.630Z] ---> 4a9676dbd4fd [2023-04-17T20:30:17.630Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T20:30:17.900Z] ---> Running in 0a6713507c52 [2023-04-17T20:30:18.167Z] Removing intermediate container 0a6713507c52 [2023-04-17T20:30:18.167Z] ---> 205ade8f7b04 [2023-04-17T20:30:18.167Z] Step 23/25 : LABEL arch=arm64 [2023-04-17T20:30:18.167Z] ---> Running in d42e8b1b8e74 [2023-04-17T20:30:18.434Z] Removing intermediate container d42e8b1b8e74 [2023-04-17T20:30:18.434Z] ---> d6f80a9d98da [2023-04-17T20:30:18.434Z] Step 24/25 : LABEL git_sha=fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:30:18.704Z] ---> Running in b27397a0ff36 [2023-04-17T20:30:18.976Z] Removing intermediate container b27397a0ff36 [2023-04-17T20:30:18.976Z] ---> 3d5132b51fb5 [2023-04-17T20:30:18.976Z] Step 25/25 : LABEL version=3.0.0-dev.27 [2023-04-17T20:30:18.976Z] ---> Running in cac86df6eb51 [2023-04-17T20:30:19.564Z] Removing intermediate container cac86df6eb51 [2023-04-17T20:30:19.564Z] ---> 26530ef467ab [2023-04-17T20:30:19.564Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T20:30:19.564Z] Successfully built 26530ef467ab [2023-04-17T20:30:19.564Z] 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-04-17T20:30:19.672Z] provisioning config files... [2023-04-17T20:30:19.688Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/99@tmp/config6147401499816518938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:30:20.030Z] ---> docker-login.sh [2023-04-17T20:30:20.030Z] nexus3.edgexfoundry.org:10001 [2023-04-17T20:30:20.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:20.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:20.299Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:20.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:20.299Z] [2023-04-17T20:30:20.299Z] Login Succeeded [2023-04-17T20:30:20.299Z] nexus3.edgexfoundry.org:10002 [2023-04-17T20:30:20.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:20.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:20.839Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:20.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:20.839Z] [2023-04-17T20:30:20.839Z] Login Succeeded [2023-04-17T20:30:20.839Z] nexus3.edgexfoundry.org:10003 [2023-04-17T20:30:21.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:21.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:21.109Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:21.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:21.109Z] [2023-04-17T20:30:21.109Z] Login Succeeded [2023-04-17T20:30:21.109Z] nexus3.edgexfoundry.org:10004 [2023-04-17T20:30:21.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:21.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:21.649Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:21.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:21.649Z] [2023-04-17T20:30:21.649Z] Login Succeeded [2023-04-17T20:30:21.649Z] docker.io [2023-04-17T20:30:21.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T20:30:22.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T20:30:22.190Z] Configure a credential helper to remove this warning. See [2023-04-17T20:30:22.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T20:30:22.190Z] [2023-04-17T20:30:22.190Z] Login Succeeded [2023-04-17T20:30:22.190Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T20:30:22.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:30:22.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T20:30:22.269Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-04-17T20:30:22.269Z] fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:30:22.269Z] latest [2023-04-17T20:30:22.269Z] 3.0.0-dev.27 [2023-04-17T20:30:22.269Z] fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:30:22.269Z] main [2023-04-17T20:30:22.269Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:22.631Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:23.009Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:30:23.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-17T20:30:23.009Z] b3b60b7f07d3: Preparing [2023-04-17T20:30:23.009Z] 4df00835b35f: Preparing [2023-04-17T20:30:23.009Z] 3461eb9f9161: Preparing [2023-04-17T20:30:23.009Z] 5eff13a7923a: Preparing [2023-04-17T20:30:23.009Z] 26cbea5cba74: Preparing [2023-04-17T20:30:23.279Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:23.279Z] 4df00835b35f: Pushed [2023-04-17T20:30:23.279Z] b3b60b7f07d3: Pushed [2023-04-17T20:30:23.279Z] 5eff13a7923a: Pushed [2023-04-17T20:30:28.641Z] 3461eb9f9161: Pushed [2023-04-17T20:30:28.641Z] fa0493e2e3feda240b1cb1121ab26136a8f60332: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:28.995Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:29.350Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-04-17T20:30:29.350Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-17T20:30:29.350Z] b3b60b7f07d3: Preparing [2023-04-17T20:30:29.350Z] 4df00835b35f: Preparing [2023-04-17T20:30:29.350Z] 3461eb9f9161: Preparing [2023-04-17T20:30:29.350Z] 5eff13a7923a: Preparing [2023-04-17T20:30:29.350Z] 26cbea5cba74: Preparing [2023-04-17T20:30:29.350Z] 4df00835b35f: Layer already exists [2023-04-17T20:30:29.350Z] 3461eb9f9161: Layer already exists [2023-04-17T20:30:29.350Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:29.350Z] b3b60b7f07d3: Layer already exists [2023-04-17T20:30:29.350Z] 5eff13a7923a: Layer already exists [2023-04-17T20:30:29.619Z] latest: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:29.975Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:30.323Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 [2023-04-17T20:30:30.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-17T20:30:30.323Z] b3b60b7f07d3: Preparing [2023-04-17T20:30:30.323Z] 4df00835b35f: Preparing [2023-04-17T20:30:30.323Z] 3461eb9f9161: Preparing [2023-04-17T20:30:30.323Z] 5eff13a7923a: Preparing [2023-04-17T20:30:30.323Z] 26cbea5cba74: Preparing [2023-04-17T20:30:30.323Z] 4df00835b35f: Layer already exists [2023-04-17T20:30:30.323Z] b3b60b7f07d3: Layer already exists [2023-04-17T20:30:30.323Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:30.323Z] 5eff13a7923a: Layer already exists [2023-04-17T20:30:30.323Z] 3461eb9f9161: Layer already exists [2023-04-17T20:30:30.593Z] 3.0.0-dev.27: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:31.021Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:31.385Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:30:31.385Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-17T20:30:31.385Z] b3b60b7f07d3: Preparing [2023-04-17T20:30:31.385Z] 4df00835b35f: Preparing [2023-04-17T20:30:31.385Z] 3461eb9f9161: Preparing [2023-04-17T20:30:31.385Z] 5eff13a7923a: Preparing [2023-04-17T20:30:31.385Z] 26cbea5cba74: Preparing [2023-04-17T20:30:31.385Z] 4df00835b35f: Layer already exists [2023-04-17T20:30:31.385Z] b3b60b7f07d3: Layer already exists [2023-04-17T20:30:31.385Z] 3461eb9f9161: Layer already exists [2023-04-17T20:30:31.385Z] 5eff13a7923a: Layer already exists [2023-04-17T20:30:31.385Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:31.656Z] fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:32.018Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:33.811Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-04-17T20:30:33.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-04-17T20:30:33.811Z] b3b60b7f07d3: Preparing [2023-04-17T20:30:33.811Z] 4df00835b35f: Preparing [2023-04-17T20:30:33.811Z] 3461eb9f9161: Preparing [2023-04-17T20:30:33.811Z] 5eff13a7923a: Preparing [2023-04-17T20:30:33.811Z] 26cbea5cba74: Preparing [2023-04-17T20:30:33.811Z] 26cbea5cba74: Layer already exists [2023-04-17T20:30:33.811Z] 5eff13a7923a: Layer already exists [2023-04-17T20:30:33.811Z] b3b60b7f07d3: Layer already exists [2023-04-17T20:30:33.811Z] 4df00835b35f: Layer already exists [2023-04-17T20:30:33.811Z] 3461eb9f9161: Layer already exists [2023-04-17T20:30:34.077Z] main: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-17T20:30:34.118Z] ===================================================== [Pipeline] echo [2023-04-17T20:30:34.124Z] taggedImages: [2023-04-17T20:30:34.124Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 [2023-04-17T20:30:34.124Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-04-17T20:30:34.124Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 [2023-04-17T20:30:34.124Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [2023-04-17T20:30:34.124Z] - 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-04-17T20:30:34.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:30:34.475Z] [2023-04-17T20:30:34.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:30:34.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:30:35.084Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T20:30:35.084Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T20:30:35.084Z] 04944245beec: Pulling fs layer [2023-04-17T20:30:35.084Z] 699f458cf7ca: Pulling fs layer [2023-04-17T20:30:35.084Z] 765212b225bb: Pulling fs layer [2023-04-17T20:30:35.084Z] f23df028b6ca: Pulling fs layer [2023-04-17T20:30:35.084Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T20:30:35.084Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T20:30:35.084Z] 765212b225bb: Waiting [2023-04-17T20:30:35.084Z] f23df028b6ca: Waiting [2023-04-17T20:30:35.084Z] 2437ff75d9bd: Waiting [2023-04-17T20:30:35.084Z] d65c8cfc05b1: Waiting [2023-04-17T20:30:35.084Z] 04944245beec: Verifying Checksum [2023-04-17T20:30:35.084Z] 04944245beec: Download complete [2023-04-17T20:30:35.084Z] 765212b225bb: Verifying Checksum [2023-04-17T20:30:35.084Z] 765212b225bb: Download complete [2023-04-17T20:30:35.084Z] f23df028b6ca: Verifying Checksum [2023-04-17T20:30:35.084Z] f23df028b6ca: Download complete [2023-04-17T20:30:35.084Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T20:30:35.084Z] d65c8cfc05b1: Download complete [2023-04-17T20:30:35.357Z] 699f458cf7ca: Verifying Checksum [2023-04-17T20:30:35.358Z] 699f458cf7ca: Download complete [2023-04-17T20:30:35.948Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T20:30:35.948Z] 8998bd30e6a1: Download complete [2023-04-17T20:30:38.540Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T20:30:38.540Z] 2437ff75d9bd: Download complete [2023-04-17T20:30:40.496Z] 8998bd30e6a1: Pull complete [2023-04-17T20:30:40.767Z] 04944245beec: Pull complete [2023-04-17T20:30:42.182Z] 699f458cf7ca: Pull complete [2023-04-17T20:30:42.450Z] 765212b225bb: Pull complete [2023-04-17T20:30:43.416Z] f23df028b6ca: Pull complete [2023-04-17T20:30:43.416Z] d65c8cfc05b1: Pull complete [2023-04-17T20:30:58.424Z] 2437ff75d9bd: Pull complete [2023-04-17T20:30:58.424Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T20:30:58.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T20:30:58.424Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:30:58.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container [2023-04-17T20:30:58.739Z] $ 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/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@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-04-17T20:31:01.629Z] $ docker top ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:02.494Z] ---> job-cost.sh [2023-04-17T20:31:02.494Z] lf-activate-venv: SKIPPING [2023-04-17T20:31:02.494Z] INFO: No Stack... [2023-04-17T20:31:03.080Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T20:31:04.042Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T20:31:04.678Z] + cut -d, -f6 [2023-04-17T20:31:04.678Z] + cat /w/workspace/device-rest-go/99/archives/cost.csv [Pipeline] lock [2023-04-17T20:31:04.745Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [2023-04-17T20:31:04.753Z] Resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] did not exist. Created. [2023-04-17T20:31:04.753Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T20:31:05.414Z] /w/workspace/device-rest-go/99@tmp/durable-1044d127/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T20:31:06.069Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T20:31:06.083Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T20:31:06.142Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T20:31:06.151Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T20:31:06.183Z] $ docker stop --time=1 ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a [2023-04-17T20:31:07.758Z] $ docker rm -f --volumes ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a [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-04-17T20:31:08.107Z] provisioning config files... [2023-04-17T20:31:08.112Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1824358872161542374tmp [Pipeline] { [Pipeline] sh [2023-04-17T20:31:08.408Z] + set +x [2023-04-17T20:31:08.408Z] + bash -s -- [2023-04-17T20:31:08.408Z] + curl -s https://codecov.io/bash [2023-04-17T20:31:08.408Z] [2023-04-17T20:31:08.408Z] _____ _ [2023-04-17T20:31:08.408Z] / ____| | | [2023-04-17T20:31:08.408Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T20:31:08.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T20:31:08.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T20:31:08.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T20:31:08.408Z] Bash-1.0.6 [2023-04-17T20:31:08.408Z] [2023-04-17T20:31:08.408Z] [2023-04-17T20:31:08.408Z] ==> git version 2.25.1 found [2023-04-17T20:31:08.408Z] ==> 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-04-17T20:31:08.408Z] Release-Date: 2020-01-08 [2023-04-17T20:31:08.408Z] 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-04-17T20:31:08.408Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T20:31:08.408Z] ==> Jenkins CI detected. [2023-04-17T20:31:08.408Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-04-17T20:31:08.408Z] project root: . [2023-04-17T20:31:08.408Z] --> token set from env [2023-04-17T20:31:08.408Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T20:31:08.408Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T20:31:08.408Z] ==> Python coveragepy not found [2023-04-17T20:31:08.408Z] ==> Searching for coverage reports in: [2023-04-17T20:31:08.408Z] + . [2023-04-17T20:31:08.408Z] -> Found 1 reports [2023-04-17T20:31:08.408Z] ==> Detecting git/mercurial file structure [2023-04-17T20:31:08.408Z] ==> Reading reports [2023-04-17T20:31:08.408Z] + ./coverage.out bytes=14587 [2023-04-17T20:31:08.408Z] ==> Appending adjustments [2023-04-17T20:31:08.408Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T20:31:08.666Z] + Found adjustments [2023-04-17T20:31:08.666Z] ==> Gzipping contents [2023-04-17T20:31:08.666Z] 4.0K /tmp/codecov.iQVvoe.gz [2023-04-17T20:31:08.666Z] ==> Uploading reports [2023-04-17T20:31:08.666Z] url: https://codecov.io [2023-04-17T20:31:08.666Z] query: branch=main&commit=fa0493e2e3feda240b1cb1121ab26136a8f60332&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:08.666Z] -> Pinging Codecov [2023-04-17T20:31:08.666Z] 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=fa0493e2e3feda240b1cb1121ab26136a8f60332&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-17T20:31:08.666Z] -> Uploading to [2023-04-17T20:31:08.666Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/4E5D53B4F1F92C436F7061BF334D961C/fa0493e2e3feda240b1cb1121ab26136a8f60332/95ee5e0e-3935-47ea-869c-496f84612d7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T203108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e888762a88ba5f1e00690c38620f79740b30bfebbd2e2f28cfd37269aa9c034 [2023-04-17T20:31:08.666Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T20:31:08.666Z] Dload Upload Total Spent Left Speed [2023-04-17T20:31:08.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10745 --:--:-- --:--:-- --:--:-- 10792 [2023-04-17T20:31:08.925Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } [2023-04-17T20:31:08.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-17T20:31:09.031Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-17T20:31:09.049Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:09.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:09.345Z] [2023-04-17T20:31:09.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:09.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:09.638Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-17T20:31:09.638Z] df9b9388f04a: Pulling fs layer [2023-04-17T20:31:09.638Z] 52dc419b0ee2: Pulling fs layer [2023-04-17T20:31:09.638Z] 25bc292e5bac: Pulling fs layer [2023-04-17T20:31:09.638Z] 114826534d7a: Pulling fs layer [2023-04-17T20:31:09.638Z] 4657fd5d0bcf: Pulling fs layer [2023-04-17T20:31:09.638Z] 6ad1cebc031e: Pulling fs layer [2023-04-17T20:31:09.638Z] 8a3aa393b2d8: Pulling fs layer [2023-04-17T20:31:09.638Z] 114826534d7a: Waiting [2023-04-17T20:31:09.638Z] 4657fd5d0bcf: Waiting [2023-04-17T20:31:09.638Z] 6ad1cebc031e: Waiting [2023-04-17T20:31:09.638Z] 8a3aa393b2d8: Waiting [2023-04-17T20:31:09.638Z] 25bc292e5bac: Verifying Checksum [2023-04-17T20:31:09.638Z] 25bc292e5bac: Download complete [2023-04-17T20:31:09.638Z] 52dc419b0ee2: Download complete [2023-04-17T20:31:09.638Z] 4657fd5d0bcf: Verifying Checksum [2023-04-17T20:31:09.638Z] 4657fd5d0bcf: Download complete [2023-04-17T20:31:09.638Z] df9b9388f04a: Download complete [2023-04-17T20:31:09.899Z] 6ad1cebc031e: Verifying Checksum [2023-04-17T20:31:09.899Z] 6ad1cebc031e: Download complete [2023-04-17T20:31:09.899Z] df9b9388f04a: Pull complete [2023-04-17T20:31:09.899Z] 52dc419b0ee2: Pull complete [2023-04-17T20:31:09.899Z] 25bc292e5bac: Pull complete [2023-04-17T20:31:10.467Z] 114826534d7a: Verifying Checksum [2023-04-17T20:31:10.467Z] 114826534d7a: Download complete [2023-04-17T20:31:10.467Z] 8a3aa393b2d8: Verifying Checksum [2023-04-17T20:31:10.467Z] 8a3aa393b2d8: Download complete [2023-04-17T20:31:13.756Z] 114826534d7a: Pull complete [2023-04-17T20:31:14.016Z] 4657fd5d0bcf: Pull complete [2023-04-17T20:31:14.274Z] 6ad1cebc031e: Pull complete [2023-04-17T20:31:17.558Z] 8a3aa393b2d8: Pull complete [2023-04-17T20:31:17.558Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-17T20:31:17.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-17T20:31:17.558Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:17.648Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:31:17.705Z] $ 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-04-17T20:31:19.247Z] $ docker top f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-17T20:31:19.295Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-04-17T20:31:19.572Z] + set -o pipefail [2023-04-17T20:31:19.572Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/8301e23b-2562-4bd6-89b0-75ed7db33cdc [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] [2023-04-17T20:31:27.694Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-17T20:31:27.694Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-17T20:31:27.694Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-17T20:31:27.726Z] $ docker stop --time=1 f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 [2023-04-17T20:31:29.734Z] $ docker rm -f --volumes f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 [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-04-17T20:31:30.388Z] + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] sh [2023-04-17T20:31:30.681Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:30.681Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:30.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:30.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:31.046Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:31:31.099Z] $ 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-04-17T20:31:31.513Z] $ docker top 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 -eo pid,comm [2023-04-17T20:31:31.542Z] 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-04-17T20:31:31.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:31.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:31.580Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:31.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:31.724Z] $ docker exec 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 ssh-agent [2023-04-17T20:31:31.829Z] SSH_AUTH_SOCK=/tmp/ssh-uI2dD0btoBbD/agent.33 [2023-04-17T20:31:31.829Z] SSH_AGENT_PID=39 [2023-04-17T20:31:31.834Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:31.955Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3328301222842729467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3328301222842729467.key) [2023-04-17T20:31:31.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:32.233Z] + git semver tag [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,441 [run_tag] DEBUG tag force:False [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,442 [check_head_tag] DEBUG check head tag [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,443 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,449 [execute] INFO git cat-file --batch [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,473 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,474 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:31:32.492Z] 2023-04-17 20:31:32,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:32.492Z] 3.0.0-dev.27 [Pipeline] } [2023-04-17T20:31:32.523Z] $ docker exec --env ******** --env ******** 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 ssh-agent -k [2023-04-17T20:31:32.620Z] unset SSH_AUTH_SOCK; [2023-04-17T20:31:32.620Z] unset SSH_AGENT_PID; [2023-04-17T20:31:32.620Z] echo Agent pid 39 killed; [2023-04-17T20:31:32.610Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:31:32.918Z] + git semver [Pipeline] } [2023-04-17T20:31:33.211Z] $ docker stop --time=1 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 [2023-04-17T20:31:34.526Z] $ docker rm -f --volumes 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:34.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:34.900Z] [2023-04-17T20:31:34.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:35.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:35.196Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-17T20:31:35.196Z] ab5ef0e58194: Pulling fs layer [2023-04-17T20:31:35.196Z] 9712f1f96733: Pulling fs layer [2023-04-17T20:31:35.196Z] 63f879dbbcfc: Pulling fs layer [2023-04-17T20:31:35.196Z] 0d9ebad4ef96: Pulling fs layer [2023-04-17T20:31:35.196Z] e9a5061849ea: Pulling fs layer [2023-04-17T20:31:35.196Z] d747dcd14b5f: Pulling fs layer [2023-04-17T20:31:35.196Z] 2de7ff778b66: Pulling fs layer [2023-04-17T20:31:35.196Z] 0d9ebad4ef96: Waiting [2023-04-17T20:31:35.196Z] e9a5061849ea: Waiting [2023-04-17T20:31:35.196Z] d747dcd14b5f: Waiting [2023-04-17T20:31:35.196Z] 2de7ff778b66: Waiting [2023-04-17T20:31:35.196Z] 9712f1f96733: Verifying Checksum [2023-04-17T20:31:35.196Z] 9712f1f96733: Download complete [2023-04-17T20:31:35.456Z] 63f879dbbcfc: Verifying Checksum [2023-04-17T20:31:35.456Z] 63f879dbbcfc: Download complete [2023-04-17T20:31:35.713Z] e9a5061849ea: Verifying Checksum [2023-04-17T20:31:35.713Z] e9a5061849ea: Download complete [2023-04-17T20:31:35.713Z] d747dcd14b5f: Verifying Checksum [2023-04-17T20:31:35.713Z] d747dcd14b5f: Download complete [2023-04-17T20:31:35.713Z] ab5ef0e58194: Verifying Checksum [2023-04-17T20:31:35.713Z] ab5ef0e58194: Download complete [2023-04-17T20:31:35.713Z] 0d9ebad4ef96: Verifying Checksum [2023-04-17T20:31:35.713Z] 0d9ebad4ef96: Download complete [2023-04-17T20:31:35.713Z] 2de7ff778b66: Verifying Checksum [2023-04-17T20:31:35.713Z] 2de7ff778b66: Download complete [2023-04-17T20:31:38.240Z] ab5ef0e58194: Pull complete [2023-04-17T20:31:38.240Z] 9712f1f96733: Pull complete [2023-04-17T20:31:39.171Z] 63f879dbbcfc: Pull complete [2023-04-17T20:31:42.451Z] 0d9ebad4ef96: Pull complete [2023-04-17T20:31:42.451Z] e9a5061849ea: Pull complete [2023-04-17T20:31:42.451Z] d747dcd14b5f: Pull complete [2023-04-17T20:31:43.388Z] 2de7ff778b66: Pull complete [2023-04-17T20:31:43.388Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-17T20:31:43.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-17T20:31:43.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:43.476Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:31:43.540Z] $ 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-04-17T20:31:45.385Z] $ docker top 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:31:45.435Z] provisioning config files... [2023-04-17T20:31:45.441Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1135105938186948017tmp [2023-04-17T20:31:45.451Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9155318570561437361tmp [2023-04-17T20:31:45.459Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1203895825444448226tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:31:45.473Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:45.753Z] ---> sigul-configuration.sh [2023-04-17T20:31:45.753Z] gpg: directory `/root/.gnupg' created [2023-04-17T20:31:45.753Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-17T20:31:45.753Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-17T20:31:45.753Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-17T20:31:45.753Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-17T20:31:45.753Z] gpg: CAST5 encrypted data [2023-04-17T20:31:45.753Z] gpg: encrypted with 1 passphrase [2023-04-17T20:31:45.753Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-17T20:31:46.036Z] + mkdir /home/jenkins [2023-04-17T20:31:46.036Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-17T20:31:46.327Z] + 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-04-17T20:31:46.334Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:46.616Z] ---> sigul-install.sh [2023-04-17T20:31:46.616Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-17T20:31:46.900Z] + git tag --list [2023-04-17T20:31:46.900Z] v1.0.0 [2023-04-17T20:31:46.900Z] v1.1.0 [2023-04-17T20:31:46.900Z] v1.1.1 [2023-04-17T20:31:46.900Z] v1.1.2 [2023-04-17T20:31:46.900Z] v1.2.0 [2023-04-17T20:31:46.900Z] v1.2.1 [2023-04-17T20:31:46.900Z] v2.0.0 [2023-04-17T20:31:46.900Z] v2.1.0 [2023-04-17T20:31:46.900Z] v2.1.1 [2023-04-17T20:31:46.900Z] v2.1.1-dev.1 [2023-04-17T20:31:46.900Z] v2.1.1-dev.2 [2023-04-17T20:31:46.900Z] v2.1.1-dev.3 [2023-04-17T20:31:46.900Z] v2.2.0 [2023-04-17T20:31:46.900Z] v2.2.1-dev.1 [2023-04-17T20:31:46.900Z] v2.2.1-dev.2 [2023-04-17T20:31:46.900Z] v2.2.1-dev.3 [2023-04-17T20:31:46.900Z] v2.2.1-dev.4 [2023-04-17T20:31:46.900Z] v2.2.1-dev.5 [2023-04-17T20:31:46.900Z] v2.2.1-dev.6 [2023-04-17T20:31:46.900Z] v2.2.1-dev.7 [2023-04-17T20:31:46.900Z] v2.2.1-dev.8 [2023-04-17T20:31:46.900Z] v2.2.1-dev.9 [2023-04-17T20:31:46.900Z] v2.3.0 [2023-04-17T20:31:46.900Z] v2.3.0-dev.10 [2023-04-17T20:31:46.900Z] v2.3.0-dev.11 [2023-04-17T20:31:46.900Z] v2.3.0-dev.12 [2023-04-17T20:31:46.900Z] v2.3.0-dev.13 [2023-04-17T20:31:46.900Z] v2.3.0-dev.14 [2023-04-17T20:31:46.900Z] v2.3.0-dev.15 [2023-04-17T20:31:46.900Z] v2.3.0-dev.16 [2023-04-17T20:31:46.900Z] v2.3.0-dev.17 [2023-04-17T20:31:46.900Z] v2.3.0-dev.18 [2023-04-17T20:31:46.900Z] v2.3.0-dev.19 [2023-04-17T20:31:46.900Z] v2.3.0-dev.20 [2023-04-17T20:31:46.900Z] v2.3.0-dev.21 [2023-04-17T20:31:46.900Z] v2.3.0-dev.22 [2023-04-17T20:31:46.900Z] v2.3.0-dev.23 [2023-04-17T20:31:46.900Z] v2.3.0-dev.24 [2023-04-17T20:31:46.900Z] v2.3.0-dev.25 [2023-04-17T20:31:46.900Z] v2.3.0-dev.9 [2023-04-17T20:31:46.900Z] v3.0.0-dev.1 [2023-04-17T20:31:46.900Z] v3.0.0-dev.10 [2023-04-17T20:31:46.900Z] v3.0.0-dev.11 [2023-04-17T20:31:46.900Z] v3.0.0-dev.12 [2023-04-17T20:31:46.900Z] v3.0.0-dev.13 [2023-04-17T20:31:46.900Z] v3.0.0-dev.14 [2023-04-17T20:31:46.900Z] v3.0.0-dev.15 [2023-04-17T20:31:46.900Z] v3.0.0-dev.16 [2023-04-17T20:31:46.900Z] v3.0.0-dev.17 [2023-04-17T20:31:46.900Z] v3.0.0-dev.18 [2023-04-17T20:31:46.900Z] v3.0.0-dev.19 [2023-04-17T20:31:46.900Z] v3.0.0-dev.2 [2023-04-17T20:31:46.900Z] v3.0.0-dev.20 [2023-04-17T20:31:46.900Z] v3.0.0-dev.21 [2023-04-17T20:31:46.900Z] v3.0.0-dev.22 [2023-04-17T20:31:46.900Z] v3.0.0-dev.23 [2023-04-17T20:31:46.900Z] v3.0.0-dev.24 [2023-04-17T20:31:46.900Z] v3.0.0-dev.25 [2023-04-17T20:31:46.900Z] v3.0.0-dev.26 [2023-04-17T20:31:46.900Z] v3.0.0-dev.27 [2023-04-17T20:31:46.900Z] v3.0.0-dev.3 [2023-04-17T20:31:46.900Z] v3.0.0-dev.4 [2023-04-17T20:31:46.900Z] v3.0.0-dev.5 [2023-04-17T20:31:46.900Z] v3.0.0-dev.6 [2023-04-17T20:31:46.900Z] v3.0.0-dev.7 [2023-04-17T20:31:46.900Z] v3.0.0-dev.8 [2023-04-17T20:31:46.900Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-17T20:31:47.187Z] + lftools sign git-tag v3.0.0-dev.27 [2023-04-17T20:31:47.754Z] Signing Git tag with Sigul... [2023-04-17T20:31:47.754Z] Signing v3.0.0-dev.27 [Pipeline] echo [2023-04-17T20:31:48.020Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:31:48.299Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-17T20:31:48.304Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-17T20:31:48.341Z] $ docker stop --time=1 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 [2023-04-17T20:31:49.690Z] $ docker rm -f --volumes 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-17T20:31:50.055Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:50.055Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:50.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:50.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:50.422Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:31:50.473Z] $ 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-04-17T20:31:50.830Z] $ docker top fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:50.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:50.894Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:51.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:51.032Z] $ docker exec fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf ssh-agent [2023-04-17T20:31:51.126Z] SSH_AUTH_SOCK=/tmp/ssh-UG9HnvsBxRM6/agent.33 [2023-04-17T20:31:51.126Z] SSH_AGENT_PID=39 [2023-04-17T20:31:51.130Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:51.256Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9687662698218128198.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9687662698218128198.key) [2023-04-17T20:31:51.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:51.534Z] + git semver bump pre [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [bump_version] DEBUG bumped version:3.0.0-dev.28 [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,748 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,750 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,758 [execute] INFO git cat-file --batch [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:51.793Z] 2023-04-17 20:31:51,764 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:51.793Z] 3.0.0-dev.28 [Pipeline] } [2023-04-17T20:31:51.823Z] $ docker exec --env ******** --env ******** fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf ssh-agent -k [2023-04-17T20:31:51.925Z] unset SSH_AUTH_SOCK; [2023-04-17T20:31:51.925Z] unset SSH_AGENT_PID; [2023-04-17T20:31:51.926Z] echo Agent pid 39 killed; [2023-04-17T20:31:51.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:31:52.209Z] + git semver [Pipeline] } [2023-04-17T20:31:52.503Z] $ docker stop --time=1 fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf [2023-04-17T20:31:53.812Z] $ docker rm -f --volumes fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T20:31:54.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T20:31:54.127Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:31:54.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T20:31:54.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:31:54.486Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:31:54.537Z] $ 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-04-17T20:31:54.905Z] $ docker top 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T20:31:54.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T20:31:54.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T20:31:55.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T20:31:55.102Z] $ docker exec 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 ssh-agent [2023-04-17T20:31:55.196Z] SSH_AUTH_SOCK=/tmp/ssh-v5O4kdfYn7qy/agent.33 [2023-04-17T20:31:55.196Z] SSH_AGENT_PID=39 [2023-04-17T20:31:55.200Z] Running ssh-add (command line suppressed) [2023-04-17T20:31:55.320Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11790580484963909219.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11790580484963909219.key) [2023-04-17T20:31:55.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T20:31:55.599Z] + git semver push [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,808 [run_push] DEBUG push [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,809 [execute] INFO git cat-file --batch-check [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,815 [execute] INFO git rev-list f435e60cdebc8e96a125568305e9d8363aae13d5 -- [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,816 [execute] DEBUG Popen(['git', 'rev-list', 'f435e60cdebc8e96a125568305e9d8363aae13d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,825 [execute] INFO git fetch -v origin [2023-04-17T20:31:55.861Z] 2023-04-17 20:31:55,825 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-17T20:31:56.428Z] 2023-04-17 20:31:56,290 [run_push] DEBUG no remote changes detected [2023-04-17T20:31:56.428Z] 2023-04-17 20:31:56,291 [execute] INFO git push origin semver [2023-04-17T20:31:56.428Z] 2023-04-17 20:31:56,291 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-17T20:31:57.364Z] 2023-04-17 20:31:57,151 [run_push] DEBUG push all version tags [2023-04-17T20:31:57.364Z] 2023-04-17 20:31:57,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-17T20:31:57.364Z] 2023-04-17 20:31:57,152 [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-04-17T20:31:58.299Z] 2023-04-17 20:31:58,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-04-17T20:31:58.299Z] 3.0.0-dev.28 [Pipeline] } [2023-04-17T20:31:58.329Z] $ docker exec --env ******** --env ******** 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 ssh-agent -k [2023-04-17T20:31:58.426Z] unset SSH_AUTH_SOCK; [2023-04-17T20:31:58.426Z] unset SSH_AGENT_PID; [2023-04-17T20:31:58.426Z] echo Agent pid 39 killed; [2023-04-17T20:31:58.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T20:31:58.719Z] + git semver [Pipeline] } [2023-04-17T20:31:59.011Z] $ docker stop --time=1 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 [2023-04-17T20:32:00.302Z] $ docker rm -f --volumes 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 [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-04-17T20:32:00.811Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-04-17T20:32:00.811Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-17T20:32:00.811Z] total 16 [2023-04-17T20:32:00.811Z] drwxr-xr-x 3 root root 4096 Apr 17 20:19 . [2023-04-17T20:32:00.811Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:31 .. [2023-04-17T20:32:00.811Z] drwxr-xr-x 2 root root 4096 Apr 17 20:19 cost [2023-04-17T20:32:00.811Z] -rw-r--r-- 1 root root 85 Apr 17 20:19 cost.csv [2023-04-17T20:32:00.811Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-17T20:32:00.811Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-04-17T20:32:00.811Z] total 16 [2023-04-17T20:32:00.811Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:19 . [2023-04-17T20:32:00.811Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:31 .. [2023-04-17T20:32:00.811Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:19 cost [2023-04-17T20:32:00.811Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 17 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:01.099Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:02.022Z] ---> package-listing.sh [2023-04-17T20:32:02.022Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T20:32:02.022Z] ++ facter osfamily [2023-04-17T20:32:02.291Z] + OS_FAMILY=debian [2023-04-17T20:32:02.291Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-04-17T20:32:02.291Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:02.291Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:02.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T20:32:02.291Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T20:32:02.291Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-04-17T20:32:02.291Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T20:32:02.291Z] + case "${OS_FAMILY}" in [2023-04-17T20:32:02.291Z] + dpkg -l [2023-04-17T20:32:02.291Z] + grep '^ii' [2023-04-17T20:32:02.291Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T20:32:02.291Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T20:32:02.291Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T20:32:02.291Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-04-17T20:32:02.291Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-04-17T20:32:02.291Z] + 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-04-17T20:32:02.308Z] 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-04-17T20:32:02.607Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T20:32:03.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T20:32:03.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T20:32:03.275Z] prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container [2023-04-17T20:32:03.323Z] $ 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-04-17T20:32:03.571Z] $ docker top 072b5655f50068a0bae259d3d97ad8bde75ceb00ec76517305f60907ac7b4cc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T20:32:03.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T20:32:04.180Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T20:32:04.476Z] + ls /var/log/sa-host [2023-04-17T20:32:04.476Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T20:32:04.537Z] provisioning config files... [2023-04-17T20:32:04.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8521253407019014221tmp [Pipeline] { [Pipeline] echo [2023-04-17T20:32:04.556Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:04.837Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T20:32:04.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:05.158Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T20:32:05.166Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:05.446Z] ---> sudo-logs.sh [2023-04-17T20:32:05.446Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T20:32:05.475Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:05.758Z] ---> job-cost.sh [2023-04-17T20:32:05.758Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:05.758Z] DEBUG: total: 0.2199999988079071 [2023-04-17T20:32:05.758Z] INFO: Retrieving Stack Cost... [2023-04-17T20:32:06.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T20:32:06.586Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T20:32:06.595Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T20:32:06.892Z] ---> logs-deploy.sh [2023-04-17T20:32:06.892Z] lf-activate-venv: SKIPPING [2023-04-17T20:32:06.892Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/99 [2023-04-17T20:32:06.892Z] INFO: archiving workspace using pattern(s): [2023-04-17T20:32:07.827Z] Archives upload complete. [2023-04-17T20:32:07.827Z] INFO: archiving logs to Nexus