Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f0e88eb43ac42bba557c9333c6d12baa04244ae 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-ssh9056262581973750816.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13943064533618018113.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh10120399429244327818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15513208338385444568.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-ssh8824274222578159407.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3217 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6f0e88eb43ac42bba557c9333c6d12baa04244ae (main) Commit message: "Merge pull request #331 from jackchenjc/pkg-errors-removal" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 > git rev-list --no-walk 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:36:21.243Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:36:21.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:36:21.328Z] ========================================================= [2023-08-09T10:36:21.328Z] EdgeX Global Pipelines Version Info [2023-08-09T10:36:21.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:36:22.081Z] ------------------- [2023-08-09T10:36:22.081Z] stable info: [2023-08-09T10:36:22.081Z] ------------------- [2023-08-09T10:36:22.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:36:22.081Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:36:22.081Z] Message: update stable to v1.0.250 [2023-08-09T10:36:22.648Z] ------------------- [2023-08-09T10:36:22.648Z] experimental info: [2023-08-09T10:36:22.648Z] ------------------- [2023-08-09T10:36:22.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:36:22.648Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:36:22.648Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:36:22.811Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-09T10:36:22.826Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-09T10:36:22.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:36:22.847Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:36:22.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:36:22.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:36:22.887Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:36:22.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:36:22.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:36:22.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:36:22.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:36:22.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-09T10:36:22.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:36:22.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:36:22.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:36:22.998Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:36:23.010Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:36:23.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:36:23.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:36:23.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:36:23.057Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:36:23.072Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:36:23.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:36:23.096Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:36:23.108Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:36:23.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:36:23.131Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:36:23.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T10:36:23.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T10:36:23.167Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T10:36:23.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] echo [2023-08-09T10:36:23.199Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f0e88e [Pipeline] echo [2023-08-09T10:36:23.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:36:23.264Z] provisioning config files... [2023-08-09T10:36:23.279Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5690425932379605939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:36:23.581Z] ---> docker-login.sh [2023-08-09T10:36:23.581Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:36:23.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:23.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:23.841Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:23.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:23.841Z] [2023-08-09T10:36:23.841Z] Login Succeeded [2023-08-09T10:36:23.841Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:36:23.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:24.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:24.100Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:24.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:24.100Z] [2023-08-09T10:36:24.100Z] Login Succeeded [2023-08-09T10:36:24.100Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:36:24.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:24.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:24.100Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:24.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:24.100Z] [2023-08-09T10:36:24.100Z] Login Succeeded [2023-08-09T10:36:24.100Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:36:24.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:24.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:24.100Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:24.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:24.100Z] [2023-08-09T10:36:24.100Z] Login Succeeded [2023-08-09T10:36:24.100Z] docker.io [2023-08-09T10:36:24.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:24.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:24.620Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:24.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:24.620Z] [2023-08-09T10:36:24.620Z] Login Succeeded [2023-08-09T10:36:24.620Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:36:24.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:36:24.972Z] + git rev-list -1 --merges 6f0e88eb43ac42bba557c9333c6d12baa04244ae~1..6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] echo [2023-08-09T10:36:25.012Z] -----------> git rev-list -1 --merges 6f0e88eb43ac42bba557c9333c6d12baa04244ae~1..6f0e88eb43ac42bba557c9333c6d12baa04244ae 6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:36:25.012Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae [false] [Pipeline] sh [2023-08-09T10:36:25.299Z] + git log --format=format:%s -1 6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] echo [2023-08-09T10:36:25.314Z] ========================================================= [2023-08-09T10:36:25.314Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:36:25.314Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:36:25.661Z] + git log --format=format:%s -1 6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] echo [2023-08-09T10:36:25.671Z] [semverPrep] GIT_COMMIT: 6f0e88eb43ac42bba557c9333c6d12baa04244ae, Commit Message: Merge pull request #331 from jackchenjc/pkg-errors-removal [Pipeline] echo [2023-08-09T10:36:25.679Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:36:26.031Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:36:26.031Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:36:26.031Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:36:26.031Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:36:26.031Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:36:26.031Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:36:26.031Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:36:26.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:36:26.455Z] [2023-08-09T10:36:26.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:36:26.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:36:26.752Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:36:26.752Z] b85a868b505f: Pulling fs layer [2023-08-09T10:36:26.752Z] e2be974225ed: Pulling fs layer [2023-08-09T10:36:26.752Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:36:26.752Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:36:26.752Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:36:26.752Z] eaf3925da568: Pulling fs layer [2023-08-09T10:36:26.752Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:36:26.752Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:36:26.752Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:36:26.752Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:36:26.752Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:36:26.752Z] 1469e6f7b9e6: Waiting [2023-08-09T10:36:26.752Z] eaf3925da568: Waiting [2023-08-09T10:36:26.752Z] bab4dde63d76: Waiting [2023-08-09T10:36:26.752Z] bde34c3a00c8: Waiting [2023-08-09T10:36:26.752Z] b352a97aabf1: Waiting [2023-08-09T10:36:26.752Z] 4872d77fe225: Waiting [2023-08-09T10:36:26.752Z] 988bab9f4d93: Waiting [2023-08-09T10:36:26.752Z] 5851b861e8e6: Waiting [2023-08-09T10:36:26.752Z] e2be974225ed: Download complete [2023-08-09T10:36:26.752Z] 988bab9f4d93: Download complete [2023-08-09T10:36:26.752Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:36:26.752Z] 1469e6f7b9e6: Download complete [2023-08-09T10:36:26.752Z] eaf3925da568: Verifying Checksum [2023-08-09T10:36:26.752Z] eaf3925da568: Download complete [2023-08-09T10:36:27.012Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:36:27.012Z] 339a4e72a1f5: Download complete [2023-08-09T10:36:27.012Z] bde34c3a00c8: Verifying Checksum [2023-08-09T10:36:27.012Z] bde34c3a00c8: Download complete [2023-08-09T10:36:27.012Z] b352a97aabf1: Download complete [2023-08-09T10:36:27.012Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:36:27.013Z] 4872d77fe225: Download complete [2023-08-09T10:36:27.013Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:36:27.013Z] 5851b861e8e6: Download complete [2023-08-09T10:36:27.013Z] b85a868b505f: Verifying Checksum [2023-08-09T10:36:27.013Z] b85a868b505f: Download complete [2023-08-09T10:36:27.279Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:36:27.279Z] bab4dde63d76: Download complete [2023-08-09T10:36:28.217Z] b85a868b505f: Pull complete [2023-08-09T10:36:28.474Z] e2be974225ed: Pull complete [2023-08-09T10:36:29.041Z] 339a4e72a1f5: Pull complete [2023-08-09T10:36:29.041Z] 988bab9f4d93: Pull complete [2023-08-09T10:36:29.300Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:36:29.559Z] eaf3925da568: Pull complete [2023-08-09T10:36:31.462Z] bab4dde63d76: Pull complete [2023-08-09T10:36:31.462Z] bde34c3a00c8: Pull complete [2023-08-09T10:36:31.462Z] b352a97aabf1: Pull complete [2023-08-09T10:36:31.462Z] 4872d77fe225: Pull complete [2023-08-09T10:36:31.462Z] 5851b861e8e6: Pull complete [2023-08-09T10:36:31.462Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:36:31.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:36:31.462Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:36:31.559Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:36:31.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:36:34.328Z] $ docker top 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 -eo pid,comm [2023-08-09T10:36:34.387Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:36:34.387Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:36:34.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:36:34.423Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:36:34.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:36:34.550Z] $ docker exec 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 ssh-agent [2023-08-09T10:36:34.656Z] SSH_AUTH_SOCK=/tmp/ssh-dMoC19a85Sxf/agent.32 [2023-08-09T10:36:34.656Z] SSH_AGENT_PID=38 [2023-08-09T10:36:34.661Z] Running ssh-add (command line suppressed) [2023-08-09T10:36:34.759Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5075334689184635826.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5075334689184635826.key) [2023-08-09T10:36:34.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:36:35.048Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:36:35.068Z] $ docker exec --env ******** --env ******** 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 ssh-agent -k [2023-08-09T10:36:35.169Z] unset SSH_AUTH_SOCK; [2023-08-09T10:36:35.169Z] unset SSH_AGENT_PID; [2023-08-09T10:36:35.169Z] echo Agent pid 38 killed; [2023-08-09T10:36:35.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:36:35.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:36:35.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:36:35.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:36:35.329Z] $ docker exec 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 ssh-agent [2023-08-09T10:36:35.432Z] SSH_AUTH_SOCK=/tmp/ssh-FppaWk7VD4TX/agent.70 [2023-08-09T10:36:35.432Z] SSH_AGENT_PID=76 [2023-08-09T10:36:35.437Z] Running ssh-add (command line suppressed) [2023-08-09T10:36:35.542Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17908143714945590186.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17908143714945590186.key) [2023-08-09T10:36:35.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:36:35.842Z] + git semver init [2023-08-09T10:36:36.103Z] 2023-08-09 10:36:36,033 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:36:36.103Z] 2023-08-09 10:36:36,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-09T10:36:36.103Z] 2023-08-09 10:36:36,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-09T10:36:36.103Z] 2023-08-09 10:36:36,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:36:37.481Z] 2023-08-09 10:36:37,044 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-08-09T10:36:37.481Z] 2023-08-09 10:36:37,045 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-08-09T10:36:37.481Z] 2023-08-09 10:36:37,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:36:37.481Z] 2023-08-09 10:36:37,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:36:37.481Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:36:37.494Z] $ docker exec --env ******** --env ******** 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 ssh-agent -k [2023-08-09T10:36:37.587Z] unset SSH_AUTH_SOCK; [2023-08-09T10:36:37.587Z] unset SSH_AGENT_PID; [2023-08-09T10:36:37.587Z] echo Agent pid 76 killed; [2023-08-09T10:36:37.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:36:37.894Z] + git semver [Pipeline] } [2023-08-09T10:36:38.168Z] $ docker stop --time=1 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 [2023-08-09T10:36:39.495Z] $ docker rm -f --volumes 3829f9feee100232e7bef2b40fa36f4ddc27b5d51450294cb65885dc377dc8a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:36:39.825Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:36:40.034Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:36:40.037Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:36:40.183Z] provisioning config files... [2023-08-09T10:36:40.193Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17524998255777938385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:36:40.489Z] ---> docker-login.sh [2023-08-09T10:36:40.490Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:36:40.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:40.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:40.490Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:40.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:40.490Z] [2023-08-09T10:36:40.490Z] Login Succeeded [2023-08-09T10:36:40.490Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:36:40.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:40.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:40.749Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:40.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:40.749Z] [2023-08-09T10:36:40.749Z] Login Succeeded [2023-08-09T10:36:40.749Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:36:40.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:40.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:40.749Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:40.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:40.749Z] [2023-08-09T10:36:40.749Z] Login Succeeded [2023-08-09T10:36:40.749Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:36:40.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:41.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:41.009Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:41.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:41.009Z] [2023-08-09T10:36:41.009Z] Login Succeeded [2023-08-09T10:36:41.009Z] docker.io [2023-08-09T10:36:41.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:36:41.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:36:41.268Z] Configure a credential helper to remove this warning. See [2023-08-09T10:36:41.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:36:41.268Z] [2023-08-09T10:36:41.268Z] Login Succeeded [2023-08-09T10:36:41.268Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:36:41.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:36:41.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:36:41.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:36:41.366Z] ========================================================= [2023-08-09T10:36:41.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:36:41.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:36:41.684Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:36:41.684Z] Sending build context to Docker daemon 10.9MB [2023-08-09T10:36:41.684Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:36:41.684Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:36:41.684Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:36:41.684Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:36:41.684Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:36:41.684Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:36:41.684Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:36:41.684Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:36:41.684Z] 40a00589a448: Pulling fs layer [2023-08-09T10:36:41.684Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:36:41.684Z] 798269fcf238: Pulling fs layer [2023-08-09T10:36:41.684Z] 6c08303d61cc: Waiting [2023-08-09T10:36:41.684Z] 6863d3e3a2b1: Waiting [2023-08-09T10:36:41.684Z] 798269fcf238: Waiting [2023-08-09T10:36:41.684Z] ec0bb842ea78: Waiting [2023-08-09T10:36:41.684Z] 40a00589a448: Waiting [2023-08-09T10:36:41.684Z] 6911f1a30b25: Verifying Checksum [2023-08-09T10:36:41.684Z] 6911f1a30b25: Download complete [2023-08-09T10:36:41.943Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T10:36:41.943Z] 6863d3e3a2b1: Download complete [2023-08-09T10:36:41.943Z] ec0bb842ea78: Verifying Checksum [2023-08-09T10:36:41.943Z] ec0bb842ea78: Download complete [2023-08-09T10:36:41.943Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:36:41.943Z] 4db1b89c0bd1: Download complete [2023-08-09T10:36:41.943Z] 40a00589a448: Verifying Checksum [2023-08-09T10:36:41.943Z] 40a00589a448: Download complete [2023-08-09T10:36:41.943Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:36:42.212Z] 6911f1a30b25: Pull complete [2023-08-09T10:36:42.781Z] 798269fcf238: Verifying Checksum [2023-08-09T10:36:42.781Z] 798269fcf238: Download complete [2023-08-09T10:36:42.781Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T10:36:42.781Z] e194b8c5c2a9: Download complete [2023-08-09T10:36:43.039Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:36:43.039Z] 6c08303d61cc: Download complete [2023-08-09T10:36:46.355Z] e194b8c5c2a9: Pull complete [2023-08-09T10:36:46.355Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:36:46.355Z] ec0bb842ea78: Pull complete [2023-08-09T10:36:46.355Z] 40a00589a448: Pull complete [2023-08-09T10:36:48.256Z] 6c08303d61cc: Pull complete [2023-08-09T10:36:49.200Z] 798269fcf238: Pull complete [2023-08-09T10:36:49.200Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:36:49.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:36:49.200Z] ---> ec979cd7f677 [2023-08-09T10:36:49.200Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:36:54.485Z] ---> Running in 68b5a8de1bc7 [2023-08-09T10:36:54.485Z] Removing intermediate container 68b5a8de1bc7 [2023-08-09T10:36:54.485Z] ---> a303c322572b [2023-08-09T10:36:54.485Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:36:54.485Z] ---> Running in 9ee803ef3dde [2023-08-09T10:36:54.485Z] Removing intermediate container 9ee803ef3dde [2023-08-09T10:36:54.485Z] ---> aa273df1bea1 [2023-08-09T10:36:54.485Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:36:54.485Z] ---> Running in b52cc82e98c3 [2023-08-09T10:36:54.485Z] Removing intermediate container b52cc82e98c3 [2023-08-09T10:36:54.485Z] ---> 2007032d45fb [2023-08-09T10:36:54.485Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:36:54.485Z] ---> Running in a679690cc76a [2023-08-09T10:36:54.485Z] Removing intermediate container a679690cc76a [2023-08-09T10:36:54.485Z] ---> 0855c12a5c0a [2023-08-09T10:36:54.485Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:36:54.485Z] ---> Running in b8933c21c75b [2023-08-09T10:36:54.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:36:54.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:36:55.004Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:36:55.004Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:36:55.004Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:36:55.004Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:36:55.004Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:36:55.004Z] OK: 269 MiB in 57 packages [2023-08-09T10:36:55.142Z] Still waiting to schedule task [2023-08-09T10:36:55.143Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-09T10:36:55.579Z] Removing intermediate container b8933c21c75b [2023-08-09T10:36:55.579Z] ---> acad2b48d324 [2023-08-09T10:36:55.579Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-09T10:36:55.579Z] ---> Running in 13f2a3cc2a85 [2023-08-09T10:36:55.579Z] Removing intermediate container 13f2a3cc2a85 [2023-08-09T10:36:55.579Z] ---> 1e8033971623 [2023-08-09T10:36:55.579Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:36:55.839Z] ---> 4737b4ecb8b7 [2023-08-09T10:36:55.839Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:36:55.839Z] ---> Running in 32d19e214b43 [2023-08-09T10:37:22.397Z] Removing intermediate container 32d19e214b43 [2023-08-09T10:37:22.397Z] ---> 05723f2dc792 [2023-08-09T10:37:22.397Z] Step 11/12 : COPY . . [2023-08-09T10:37:23.376Z] ---> 92fa2f9aae93 [2023-08-09T10:37:23.376Z] Step 12/12 : RUN $MAKE [2023-08-09T10:37:23.376Z] ---> Running in d8e0d3b34be1 [2023-08-09T10:37:23.635Z] noop [2023-08-09T10:37:23.902Z] Removing intermediate container d8e0d3b34be1 [2023-08-09T10:37:23.902Z] ---> ea449c2ba1af [2023-08-09T10:37:23.902Z] Successfully built ea449c2ba1af [2023-08-09T10:37:23.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:24.208Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:37:24.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:37:24.276Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:37:24.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:37:24.675Z] $ docker top aaa46ab89bebd2017bdcf37acb5930ed4d0efa2b6544edc287d2c9b247a5ae9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:37:25.014Z] + go version [2023-08-09T10:37:25.014Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:37:25.028Z] $ docker stop --time=1 aaa46ab89bebd2017bdcf37acb5930ed4d0efa2b6544edc287d2c9b247a5ae9b [2023-08-09T10:37:26.266Z] $ docker rm -f --volumes aaa46ab89bebd2017bdcf37acb5930ed4d0efa2b6544edc287d2c9b247a5ae9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:26.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:37:26.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:37:26.743Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:37:26.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-09T10:37:27.120Z] $ docker top 4ae9342ead78423607266db6942d1c9169603a1a1815653a64271d40ed0eeba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:37:27.460Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:37:27.754Z] + make test [2023-08-09T10:37:27.754Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:37:31.940Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-09T10:37:41.901Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-09T10:37:41.901Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-08-09T10:37:48.462Z] go vet ./... [2023-08-09T10:37:50.995Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:37:50.995Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:37:50.995Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:37:51.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:37:51.023Z] $ docker stop --time=1 4ae9342ead78423607266db6942d1c9169603a1a1815653a64271d40ed0eeba7 [2023-08-09T10:37:54.037Z] $ docker rm -f --volumes 4ae9342ead78423607266db6942d1c9169603a1a1815653a64271d40ed0eeba7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:37:54.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:37:54.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:37:55.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:37:55.322Z] + ls -al . [2023-08-09T10:37:55.322Z] total 184 [2023-08-09T10:37:55.322Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:37 . [2023-08-09T10:37:55.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:36 .. [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:36 .dockerignore [2023-08-09T10:37:55.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:36 .git [2023-08-09T10:37:55.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:36 .github [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:36 .gitignore [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:36 .golangci.yml [2023-08-09T10:37:55.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:36 .semver [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:36 Attribution.txt [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:36 CHANGELOG.md [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:36 Dockerfile [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:36 GOVERNANCE.md [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:36 Jenkinsfile [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:36 LICENSE [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:36 Makefile [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:36 OWNERS.md [2023-08-09T10:37:55.322Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:36 README.md [2023-08-09T10:37:55.323Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:36 VERSION [2023-08-09T10:37:55.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:36 bin [2023-08-09T10:37:55.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:36 cmd [2023-08-09T10:37:55.323Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:37 coverage.out [2023-08-09T10:37:55.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:36 driver [2023-08-09T10:37:55.323Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:36 go.mod [2023-08-09T10:37:55.323Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:36 go.sum [2023-08-09T10:37:55.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:36 snap [2023-08-09T10:37:55.323Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:37:55.641Z] + 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=6f0e88eb43ac42bba557c9333c6d12baa04244ae --label arch=amd64 --label version=3.1.0-dev.4 . [2023-08-09T10:37:55.641Z] Sending build context to Docker daemon 10.92MB [2023-08-09T10:37:55.641Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:37:55.641Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:37:55.641Z] ---> ea449c2ba1af [2023-08-09T10:37:55.641Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:37:55.641Z] ---> Running in 7c03b8025d7f [2023-08-09T10:37:55.920Z] Removing intermediate container 7c03b8025d7f [2023-08-09T10:37:55.920Z] ---> 4a8ddc4d7d07 [2023-08-09T10:37:55.920Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:37:55.920Z] ---> Running in 2556207d11a1 [2023-08-09T10:37:55.920Z] Removing intermediate container 2556207d11a1 [2023-08-09T10:37:55.920Z] ---> 9953bf45c039 [2023-08-09T10:37:55.920Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:37:55.920Z] ---> Running in 57b3ea8a9176 [2023-08-09T10:37:55.920Z] Removing intermediate container 57b3ea8a9176 [2023-08-09T10:37:55.920Z] ---> 8772d578085f [2023-08-09T10:37:55.920Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:37:55.920Z] ---> Running in 78d46e2387d3 [2023-08-09T10:37:56.194Z] Removing intermediate container 78d46e2387d3 [2023-08-09T10:37:56.194Z] ---> 15f5e27f7212 [2023-08-09T10:37:56.194Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:37:56.194Z] ---> Running in 45f90b8726bd [2023-08-09T10:37:56.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:37:56.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:37:56.754Z] OK: 269 MiB in 57 packages [2023-08-09T10:37:57.328Z] Removing intermediate container 45f90b8726bd [2023-08-09T10:37:57.328Z] ---> f27ba085b65a [2023-08-09T10:37:57.328Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-09T10:37:57.328Z] ---> Running in b9a4470f645f [2023-08-09T10:37:57.328Z] Removing intermediate container b9a4470f645f [2023-08-09T10:37:57.328Z] ---> b700f02f388c [2023-08-09T10:37:57.328Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-09T10:37:57.328Z] ---> bc72f67728b3 [2023-08-09T10:37:57.328Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:37:57.328Z] ---> Running in 96c22db2227a [2023-08-09T10:37:58.458Z] Removing intermediate container 96c22db2227a [2023-08-09T10:37:58.458Z] ---> e9bb3c1a0886 [2023-08-09T10:37:58.458Z] Step 11/25 : COPY . . [2023-08-09T10:37:58.718Z] ---> f578568e4885 [2023-08-09T10:37:58.718Z] Step 12/25 : RUN $MAKE [2023-08-09T10:37:58.718Z] ---> Running in 6da517cba1b3 [2023-08-09T10:37:58.975Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-09T10:38:18.814Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3219 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-08-09T10:38:18.827Z] Running in /w/workspace/device-rest-go/124 [Pipeline] { [Pipeline] checkout [2023-08-09T10:38:18.859Z] The recommended git tool is: git [2023-08-09T10:38:20.891Z] Removing intermediate container 6da517cba1b3 [2023-08-09T10:38:20.891Z] ---> 68462b891a41 [2023-08-09T10:38:20.891Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:38:20.891Z] 3.17: Pulling from library/alpine [2023-08-09T10:38:20.891Z] 9398808236ff: Pulling fs layer [2023-08-09T10:38:20.891Z] 9398808236ff: Verifying Checksum [2023-08-09T10:38:20.891Z] 9398808236ff: Download complete [2023-08-09T10:38:20.891Z] 9398808236ff: Pull complete [2023-08-09T10:38:20.891Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:38:20.891Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:38:20.891Z] ---> 1e0b8b5322fc [2023-08-09T10:38:20.891Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T10:38:20.891Z] ---> Running in 3a65dc0b8b4a [2023-08-09T10:38:20.891Z] Removing intermediate container 3a65dc0b8b4a [2023-08-09T10:38:20.891Z] ---> 783211c754e4 [2023-08-09T10:38:20.891Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-09T10:38:20.891Z] ---> Running in cb0a1c6fc321 [2023-08-09T10:38:20.891Z] Removing intermediate container cb0a1c6fc321 [2023-08-09T10:38:20.891Z] ---> c94ef7f9e2ce [2023-08-09T10:38:20.891Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:38:20.891Z] ---> Running in 1edbf315472f [2023-08-09T10:38:20.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:20.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:38:20.891Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:38:20.891Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:38:20.891Z] OK: 7 MiB in 16 packages [2023-08-09T10:38:20.891Z] Removing intermediate container 1edbf315472f [2023-08-09T10:38:20.891Z] ---> 7a82bcf0681b [2023-08-09T10:38:20.891Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-09T10:38:21.753Z] ---> 8bb0b5161cdf [2023-08-09T10:38:21.753Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-09T10:38:21.753Z] ---> 532369eabe03 [2023-08-09T10:38:21.753Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-09T10:38:21.753Z] ---> 9beed30db802 [2023-08-09T10:38:21.753Z] Step 20/25 : EXPOSE 59986 [2023-08-09T10:38:22.015Z] ---> Running in 4243469b3c96 [2023-08-09T10:38:22.015Z] Removing intermediate container 4243469b3c96 [2023-08-09T10:38:22.015Z] ---> 2d7086e6598d [2023-08-09T10:38:22.015Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-09T10:38:22.015Z] ---> Running in 68760ec31fd8 [2023-08-09T10:38:22.015Z] Removing intermediate container 68760ec31fd8 [2023-08-09T10:38:22.015Z] ---> 9dcd6575967a [2023-08-09T10:38:22.015Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:38:22.015Z] ---> Running in 39abd3727550 [2023-08-09T10:38:22.015Z] Removing intermediate container 39abd3727550 [2023-08-09T10:38:22.015Z] ---> 4d3f419a9f87 [2023-08-09T10:38:22.015Z] Step 23/25 : LABEL arch=amd64 [2023-08-09T10:38:22.015Z] ---> Running in ddf113ea8234 [2023-08-09T10:38:22.273Z] Removing intermediate container ddf113ea8234 [2023-08-09T10:38:22.273Z] ---> 04dee726c720 [2023-08-09T10:38:22.273Z] Step 24/25 : LABEL git_sha=6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:38:22.273Z] ---> Running in d8719cc3d93c [2023-08-09T10:38:22.273Z] Removing intermediate container d8719cc3d93c [2023-08-09T10:38:22.273Z] ---> ba3808ab2ac0 [2023-08-09T10:38:22.273Z] Step 25/25 : LABEL version=3.1.0-dev.4 [2023-08-09T10:38:22.273Z] ---> Running in 722ab7cc8909 [2023-08-09T10:38:22.273Z] Removing intermediate container 722ab7cc8909 [2023-08-09T10:38:22.273Z] ---> ff97a0627e60 [2023-08-09T10:38:22.273Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:38:22.273Z] Successfully built ff97a0627e60 [2023-08-09T10:38:22.273Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:38:22.402Z] provisioning config files... [2023-08-09T10:38:22.410Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14922189461185969065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:22.708Z] ---> docker-login.sh [2023-08-09T10:38:22.708Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:38:22.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:22.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:22.708Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:22.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:22.708Z] [2023-08-09T10:38:22.708Z] Login Succeeded [2023-08-09T10:38:22.708Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:38:22.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:22.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:22.708Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:22.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:22.708Z] [2023-08-09T10:38:22.708Z] Login Succeeded [2023-08-09T10:38:22.708Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:38:22.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:22.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:22.968Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:22.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:22.968Z] [2023-08-09T10:38:22.968Z] Login Succeeded [2023-08-09T10:38:22.968Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:38:22.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:23.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:23.227Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:23.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:23.227Z] [2023-08-09T10:38:23.227Z] Login Succeeded [2023-08-09T10:38:23.227Z] docker.io [2023-08-09T10:38:23.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:23.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:23.486Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:23.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:23.486Z] [2023-08-09T10:38:23.486Z] Login Succeeded [2023-08-09T10:38:23.486Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:38:23.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:38:23.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:38:23.545Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-08-09T10:38:23.545Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:38:23.545Z] latest [2023-08-09T10:38:23.545Z] 3.1.0-dev.4 [2023-08-09T10:38:23.545Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:38:23.545Z] main [2023-08-09T10:38:23.545Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:23.799Z] using credential edgex-jenkins-ssh [2023-08-09T10:38:23.814Z] Cloning the remote Git repository [2023-08-09T10:38:23.872Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:24.179Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:38:24.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-09T10:38:24.179Z] fb810325d45b: Preparing [2023-08-09T10:38:24.179Z] dfad9737b76f: Preparing [2023-08-09T10:38:24.179Z] 00fc694d3dca: Preparing [2023-08-09T10:38:24.179Z] e80a7044d10d: Preparing [2023-08-09T10:38:24.179Z] 36b50b131297: Preparing [2023-08-09T10:38:24.179Z] 36b50b131297: Layer already exists [2023-08-09T10:38:24.179Z] e80a7044d10d: Pushed [2023-08-09T10:38:24.179Z] fb810325d45b: Pushed [2023-08-09T10:38:24.179Z] dfad9737b76f: Pushed [2023-08-09T10:38:23.863Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-09T10:38:23.949Z] > git init /w/workspace/device-rest-go/124 # timeout=10 [2023-08-09T10:38:24.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-09T10:38:24.088Z] > git --version # timeout=10 [2023-08-09T10:38:24.108Z] > git --version # 'git version 2.25.1' [2023-08-09T10:38:24.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:38:24.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:38:26.045Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-09T10:38:26.067Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:38:26.717Z] 00fc694d3dca: Pushed [2023-08-09T10:38:26.717Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae: digest: sha256:d55233d3311d7acacc3f74ae78bc50a97c332274a9d8bf7c93a9fc5cc608316c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:26.840Z] Avoid second fetch [2023-08-09T10:38:26.841Z] Checking out Revision 6f0e88eb43ac42bba557c9333c6d12baa04244ae (main) [2023-08-09T10:38:27.024Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:27.334Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-09T10:38:27.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-09T10:38:27.334Z] fb810325d45b: Preparing [2023-08-09T10:38:27.334Z] dfad9737b76f: Preparing [2023-08-09T10:38:27.334Z] 00fc694d3dca: Preparing [2023-08-09T10:38:27.334Z] e80a7044d10d: Preparing [2023-08-09T10:38:27.334Z] 36b50b131297: Preparing [2023-08-09T10:38:27.334Z] dfad9737b76f: Layer already exists [2023-08-09T10:38:27.334Z] 36b50b131297: Layer already exists [2023-08-09T10:38:27.334Z] 00fc694d3dca: Layer already exists [2023-08-09T10:38:27.334Z] e80a7044d10d: Layer already exists [2023-08-09T10:38:27.334Z] fb810325d45b: Layer already exists [2023-08-09T10:38:27.334Z] latest: digest: sha256:d55233d3311d7acacc3f74ae78bc50a97c332274a9d8bf7c93a9fc5cc608316c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-08-09T10:38:27.368Z] Commit message: "Merge pull request #331 from jackchenjc/pkg-errors-removal" [Pipeline] sh [2023-08-09T10:38:26.859Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:38:26.931Z] > git checkout -f 6f0e88eb43ac42bba557c9333c6d12baa04244ae # timeout=10 [2023-08-09T10:38:27.645Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:38:27.947Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.4 [2023-08-09T10:38:27.947Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-09T10:38:27.947Z] fb810325d45b: Preparing [2023-08-09T10:38:27.947Z] dfad9737b76f: Preparing [2023-08-09T10:38:27.947Z] 00fc694d3dca: Preparing [2023-08-09T10:38:27.947Z] e80a7044d10d: Preparing [2023-08-09T10:38:27.947Z] 36b50b131297: Preparing [2023-08-09T10:38:27.947Z] dfad9737b76f: Layer already exists [2023-08-09T10:38:27.947Z] fb810325d45b: Layer already exists [2023-08-09T10:38:27.947Z] 00fc694d3dca: Layer already exists [2023-08-09T10:38:27.947Z] 36b50b131297: Layer already exists [2023-08-09T10:38:27.947Z] e80a7044d10d: Layer already exists [2023-08-09T10:38:27.947Z] 3.1.0-dev.4: digest: sha256:d55233d3311d7acacc3f74ae78bc50a97c332274a9d8bf7c93a9fc5cc608316c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:28.235Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:38:28.235Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:38:28.235Z] Dload Upload Total Spent Left Speed [2023-08-09T10:38:28.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 52044 0 --:--:-- --:--:-- --:--:-- 52044 [2023-08-09T10:38:28.262Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-08-09T10:38:28.570Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:38:28.570Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-09T10:38:28.570Z] fb810325d45b: Preparing [2023-08-09T10:38:28.570Z] dfad9737b76f: Preparing [2023-08-09T10:38:28.570Z] 00fc694d3dca: Preparing [2023-08-09T10:38:28.570Z] e80a7044d10d: Preparing [2023-08-09T10:38:28.570Z] 36b50b131297: Preparing [2023-08-09T10:38:28.570Z] 36b50b131297: Layer already exists [2023-08-09T10:38:28.570Z] fb810325d45b: Layer already exists [2023-08-09T10:38:28.570Z] e80a7044d10d: Layer already exists [2023-08-09T10:38:28.570Z] dfad9737b76f: Layer already exists [2023-08-09T10:38:28.570Z] 00fc694d3dca: Layer already exists [2023-08-09T10:38:28.570Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4: digest: sha256:d55233d3311d7acacc3f74ae78bc50a97c332274a9d8bf7c93a9fc5cc608316c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:28.846Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:38:28.893Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:29.170Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ sudo tee /etc/docker/daemon.new [2023-08-09T10:38:29.171Z] [2023-08-09T10:38:29.171Z] { [2023-08-09T10:38:29.171Z] "registry-mirrors": [ [2023-08-09T10:38:29.171Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:38:29.171Z] ], [2023-08-09T10:38:29.171Z] "bip": "10.250.0.254/24", [2023-08-09T10:38:29.171Z] "hosts": [ [2023-08-09T10:38:29.171Z] "tcp://0.0.0.0:5555", [2023-08-09T10:38:29.171Z] "unix:///var/run/docker.sock" [2023-08-09T10:38:29.171Z] ], [2023-08-09T10:38:29.171Z] "mtu": 1458, [2023-08-09T10:38:29.171Z] "selinux-enabled": true, [2023-08-09T10:38:29.171Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:38:29.171Z] } [Pipeline] sh [2023-08-09T10:38:29.205Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-08-09T10:38:29.205Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-09T10:38:29.205Z] fb810325d45b: Preparing [2023-08-09T10:38:29.205Z] dfad9737b76f: Preparing [2023-08-09T10:38:29.205Z] 00fc694d3dca: Preparing [2023-08-09T10:38:29.205Z] e80a7044d10d: Preparing [2023-08-09T10:38:29.205Z] 36b50b131297: Preparing [2023-08-09T10:38:29.205Z] fb810325d45b: Layer already exists [2023-08-09T10:38:29.205Z] e80a7044d10d: Layer already exists [2023-08-09T10:38:29.205Z] 00fc694d3dca: Layer already exists [2023-08-09T10:38:29.205Z] 36b50b131297: Layer already exists [2023-08-09T10:38:29.205Z] dfad9737b76f: Layer already exists [2023-08-09T10:38:29.205Z] main: digest: sha256:d55233d3311d7acacc3f74ae78bc50a97c332274a9d8bf7c93a9fc5cc608316c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:38:29.273Z] ===================================================== [Pipeline] echo [2023-08-09T10:38:29.281Z] taggedImages: [2023-08-09T10:38:29.281Z] - nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:38:29.281Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-09T10:38:29.281Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.4 [2023-08-09T10:38:29.281Z] - nexus3.edgexfoundry.org:10004/device-rest:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:38:29.281Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:29.501Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:38:29.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:38:29.661Z] [2023-08-09T10:38:29.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:29.834Z] + sudo service docker restart [2023-08-09T10:38:29.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:38:29.954Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:38:29.955Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:38:29.955Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:38:29.955Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:38:29.955Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:38:29.955Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:38:29.955Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:38:29.955Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:38:29.955Z] 33b1e0a273af: Waiting [2023-08-09T10:38:29.955Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:38:29.955Z] 5d3b04190fa2: Waiting [2023-08-09T10:38:29.955Z] 2f39f015ded8: Waiting [2023-08-09T10:38:29.955Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T10:38:29.955Z] 5c69ac0246d0: Download complete [2023-08-09T10:38:29.955Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T10:38:29.955Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:38:29.955Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:38:29.955Z] 33b1e0a273af: Download complete [2023-08-09T10:38:29.955Z] 5d3b04190fa2: Download complete [2023-08-09T10:38:29.955Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:38:29.955Z] ec43610c2a17: Download complete [2023-08-09T10:38:30.212Z] 5eb5b503b376: Download complete [2023-08-09T10:38:30.776Z] 2f39f015ded8: Download complete [2023-08-09T10:38:31.339Z] 5eb5b503b376: Pull complete [2023-08-09T10:38:31.597Z] 5c69ac0246d0: Pull complete [2023-08-09T10:38:32.163Z] ec43610c2a17: Pull complete [2023-08-09T10:38:32.163Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:38:32.435Z] 33b1e0a273af: Pull complete [2023-08-09T10:38:32.435Z] 5d3b04190fa2: Pull complete [2023-08-09T10:38:36.618Z] 2f39f015ded8: Pull complete [2023-08-09T10:38:36.618Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:38:36.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:38:36.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:38:36.699Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:38:36.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:38:42.669Z] $ docker top b8a77444e807cdfc75c868b9d7dd927adcae74861e547ccb5eec2333d8c89f14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:43.053Z] ---> job-cost.sh [2023-08-09T10:38:43.053Z] lf-activate-venv: SKIPPING [2023-08-09T10:38:43.053Z] INFO: No Stack... [2023-08-09T10:38:43.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:38:43.570Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:38:43.858Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-08-09T10:38:43.858Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:38:43.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [2023-08-09T10:38:43.878Z] Resource [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] did not exist. Created. [2023-08-09T10:38:43.879Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:38:44.181Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:38:44.204Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:38:44.213Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:38:44.237Z] $ docker stop --time=1 b8a77444e807cdfc75c868b9d7dd927adcae74861e547ccb5eec2333d8c89f14 [2023-08-09T10:38:45.381Z] $ docker rm -f --volumes b8a77444e807cdfc75c868b9d7dd927adcae74861e547ccb5eec2333d8c89f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:38:48.145Z] provisioning config files... [2023-08-09T10:38:48.171Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/124@tmp/config9887684058193934268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:38:48.517Z] ---> docker-login.sh [2023-08-09T10:38:48.517Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:38:48.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:49.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:49.054Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:49.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:49.054Z] [2023-08-09T10:38:49.054Z] Login Succeeded [2023-08-09T10:38:49.054Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:38:49.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:49.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:49.321Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:49.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:49.321Z] [2023-08-09T10:38:49.321Z] Login Succeeded [2023-08-09T10:38:49.590Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:38:49.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:49.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:49.857Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:49.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:49.857Z] [2023-08-09T10:38:49.857Z] Login Succeeded [2023-08-09T10:38:49.857Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:38:50.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:50.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:50.124Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:50.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:50.124Z] [2023-08-09T10:38:50.124Z] Login Succeeded [2023-08-09T10:38:50.124Z] docker.io [2023-08-09T10:38:50.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:38:50.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:38:50.659Z] Configure a credential helper to remove this warning. See [2023-08-09T10:38:50.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:38:50.659Z] [2023-08-09T10:38:50.659Z] Login Succeeded [2023-08-09T10:38:50.659Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:38:50.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:38:50.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:38:50.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:38:50.923Z] ========================================================= [2023-08-09T10:38:50.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:38:50.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:38:51.266Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:38:51.266Z] Sending build context to Docker daemon 142.3kB [2023-08-09T10:38:51.539Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:38:51.539Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:38:51.539Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:38:51.539Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:38:51.539Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:38:51.539Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:38:51.539Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:38:51.539Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:38:51.539Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:38:51.539Z] 554e91adad29: Pulling fs layer [2023-08-09T10:38:51.539Z] 8b374f2dd631: Waiting [2023-08-09T10:38:51.539Z] 2f466654f4bb: Waiting [2023-08-09T10:38:51.539Z] 554e91adad29: Waiting [2023-08-09T10:38:51.539Z] ec14aa9079de: Waiting [2023-08-09T10:38:51.539Z] 5f9638ab2659: Verifying Checksum [2023-08-09T10:38:51.808Z] 5f9638ab2659: Download complete [2023-08-09T10:38:51.808Z] 8b374f2dd631: Verifying Checksum [2023-08-09T10:38:51.808Z] 8b374f2dd631: Download complete [2023-08-09T10:38:51.808Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:38:51.808Z] ec14aa9079de: Download complete [2023-08-09T10:38:51.808Z] edb6bdbacee9: Download complete [2023-08-09T10:38:52.788Z] edb6bdbacee9: Pull complete [2023-08-09T10:38:53.061Z] 554e91adad29: Verifying Checksum [2023-08-09T10:38:53.061Z] 554e91adad29: Download complete [2023-08-09T10:38:53.652Z] 5f9638ab2659: Pull complete [2023-08-09T10:38:54.248Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:38:54.248Z] 8d51d6327a98: Download complete [2023-08-09T10:38:54.248Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:38:54.248Z] 2f466654f4bb: Download complete [2023-08-09T10:39:06.602Z] 8d51d6327a98: Pull complete [2023-08-09T10:39:06.602Z] 8b374f2dd631: Pull complete [2023-08-09T10:39:06.602Z] ec14aa9079de: Pull complete [2023-08-09T10:39:11.963Z] 2f466654f4bb: Pull complete [2023-08-09T10:39:14.559Z] 554e91adad29: Pull complete [2023-08-09T10:39:14.559Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:39:14.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:39:14.559Z] ---> 1e15ea492957 [2023-08-09T10:39:14.559Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:39:16.571Z] ---> Running in 2b806391abb9 [2023-08-09T10:39:16.571Z] Removing intermediate container 2b806391abb9 [2023-08-09T10:39:16.571Z] ---> aec9171718b1 [2023-08-09T10:39:16.571Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:39:16.571Z] ---> Running in bf88d88fb7af [2023-08-09T10:39:16.846Z] Removing intermediate container bf88d88fb7af [2023-08-09T10:39:16.846Z] ---> 8b58adca6ce9 [2023-08-09T10:39:16.846Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:39:16.846Z] ---> Running in e8767b572388 [2023-08-09T10:39:17.114Z] Removing intermediate container e8767b572388 [2023-08-09T10:39:17.114Z] ---> ff6fe31732b6 [2023-08-09T10:39:17.114Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:39:17.475Z] ---> Running in f2bbffb89de7 [2023-08-09T10:39:17.475Z] Removing intermediate container f2bbffb89de7 [2023-08-09T10:39:17.475Z] ---> 80df5ee4a8e4 [2023-08-09T10:39:17.475Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:39:17.741Z] ---> Running in c62e709dade7 [2023-08-09T10:39:18.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:39:19.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:39:20.241Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:39:20.241Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:39:20.241Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:39:20.241Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:39:20.241Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:39:20.241Z] OK: 268 MiB in 57 packages [2023-08-09T10:39:24.487Z] Removing intermediate container c62e709dade7 [2023-08-09T10:39:24.487Z] ---> 8127df8838d8 [2023-08-09T10:39:24.487Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-09T10:39:24.487Z] ---> Running in 48bf789190c6 [2023-08-09T10:39:24.755Z] Removing intermediate container 48bf789190c6 [2023-08-09T10:39:24.755Z] ---> fbc7b27f4f03 [2023-08-09T10:39:24.755Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:39:25.337Z] ---> 2f1eb0dc45a6 [2023-08-09T10:39:25.337Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:39:25.337Z] ---> Running in d327379550b1 [2023-08-09T10:40:33.205Z] Removing intermediate container d327379550b1 [2023-08-09T10:40:33.205Z] ---> dbaf44f35c9d [2023-08-09T10:40:33.205Z] Step 11/12 : COPY . . [2023-08-09T10:40:33.205Z] ---> 7f0530429649 [2023-08-09T10:40:33.205Z] Step 12/12 : RUN $MAKE [2023-08-09T10:40:33.205Z] ---> Running in e22b887bf58d [2023-08-09T10:40:33.205Z] noop [2023-08-09T10:40:33.205Z] Removing intermediate container e22b887bf58d [2023-08-09T10:40:33.205Z] ---> d22a14464669 [2023-08-09T10:40:33.205Z] Successfully built d22a14464669 [2023-08-09T10:40:33.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:33.557Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:40:33.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:33.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-3219 does not seem to be running inside a container [2023-08-09T10:40:33.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/124 -v /w/workspace/device-rest-go/124:/w/workspace/device-rest-go/124:rw,z -v /w/workspace/device-rest-go/124@tmp:/w/workspace/device-rest-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:40:35.171Z] $ docker top 8e17b2395ee03d9af1ffd4258a658b191c3239408cab24d3714e05099c4448fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:40:36.005Z] + go version [2023-08-09T10:40:36.005Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:40:36.026Z] $ docker stop --time=1 8e17b2395ee03d9af1ffd4258a658b191c3239408cab24d3714e05099c4448fd [2023-08-09T10:40:37.625Z] $ docker rm -f --volumes 8e17b2395ee03d9af1ffd4258a658b191c3239408cab24d3714e05099c4448fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:40:38.170Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:40:38.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:40:38.340Z] prd-ubuntu20.04-docker-arm64-4c-16g-3219 does not seem to be running inside a container [2023-08-09T10:40:38.408Z] $ 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/124 -v /w/workspace/device-rest-go/124:/w/workspace/device-rest-go/124:rw,z -v /w/workspace/device-rest-go/124@tmp:/w/workspace/device-rest-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T10:40:39.514Z] $ docker top 7aca3bc682a69cc8ac3d6632107c7ed74a8690d0760e02cd0f48f6f9b9d8db18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:40:40.333Z] + git config --global --add safe.directory /w/workspace/device-rest-go/124 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:40:40.663Z] + make test [2023-08-09T10:40:40.931Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:41:13.174Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-09T10:43:34.889Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-09T10:43:34.889Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 32.2% of statements [2023-08-09T10:43:34.889Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:43:34.889Z] go vet ./... [2023-08-09T10:43:53.118Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:43:53.118Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:43:53.118Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:43:53.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:43:53.737Z] $ docker stop --time=1 7aca3bc682a69cc8ac3d6632107c7ed74a8690d0760e02cd0f48f6f9b9d8db18 [2023-08-09T10:43:55.631Z] $ docker rm -f --volumes 7aca3bc682a69cc8ac3d6632107c7ed74a8690d0760e02cd0f48f6f9b9d8db18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:43:56.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:43:56.847Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:43:57.329Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:43:57.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:43:58.026Z] + ls -al . [2023-08-09T10:43:58.026Z] total 180 [2023-08-09T10:43:58.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:40 . [2023-08-09T10:43:58.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:38 .. [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:38 .dockerignore [2023-08-09T10:43:58.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:38 .git [2023-08-09T10:43:58.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:38 .github [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:38 .gitignore [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:38 .golangci.yml [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:38 Attribution.txt [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:38 CHANGELOG.md [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:38 Dockerfile [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:38 GOVERNANCE.md [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:38 Jenkinsfile [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:38 LICENSE [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:38 Makefile [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:38 OWNERS.md [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:38 README.md [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 10:36 VERSION [2023-08-09T10:43:58.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:38 bin [2023-08-09T10:43:58.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:38 cmd [2023-08-09T10:43:58.026Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:43 coverage.out [2023-08-09T10:43:58.026Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:38 driver [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:38 go.mod [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:38 go.sum [2023-08-09T10:43:58.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:38 snap [2023-08-09T10:43:58.026Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:43:58.374Z] + 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=6f0e88eb43ac42bba557c9333c6d12baa04244ae --label arch=arm64 --label version=3.1.0-dev.4 . [2023-08-09T10:43:58.374Z] Sending build context to Docker daemon 157.7kB [2023-08-09T10:43:58.644Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:43:58.644Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:43:58.644Z] ---> d22a14464669 [2023-08-09T10:43:58.644Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:43:58.644Z] ---> Running in d716b26fe4e5 [2023-08-09T10:43:58.913Z] Removing intermediate container d716b26fe4e5 [2023-08-09T10:43:58.913Z] ---> fb53a5a2aa86 [2023-08-09T10:43:58.913Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:43:59.181Z] ---> Running in 23ee7c5c09e8 [2023-08-09T10:43:59.450Z] Removing intermediate container 23ee7c5c09e8 [2023-08-09T10:43:59.450Z] ---> 34ae5229976f [2023-08-09T10:43:59.450Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:43:59.450Z] ---> Running in 6b75b921ed77 [2023-08-09T10:43:59.718Z] Removing intermediate container 6b75b921ed77 [2023-08-09T10:43:59.718Z] ---> 8984967db5ed [2023-08-09T10:43:59.718Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:43:59.718Z] ---> Running in 9a3961889439 [2023-08-09T10:44:00.307Z] Removing intermediate container 9a3961889439 [2023-08-09T10:44:00.307Z] ---> 47e00253b47c [2023-08-09T10:44:00.307Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:44:00.307Z] ---> Running in 8cf533db5a59 [2023-08-09T10:44:01.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:44:01.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:44:03.270Z] OK: 268 MiB in 57 packages [2023-08-09T10:44:03.859Z] Removing intermediate container 8cf533db5a59 [2023-08-09T10:44:03.859Z] ---> 2fa86e3a2614 [2023-08-09T10:44:03.859Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-09T10:44:04.157Z] ---> Running in f279c5a52609 [2023-08-09T10:44:04.423Z] Removing intermediate container f279c5a52609 [2023-08-09T10:44:04.423Z] ---> 2ae6deaa2763 [2023-08-09T10:44:04.423Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-09T10:44:05.010Z] ---> 8d8a32e24cd0 [2023-08-09T10:44:05.010Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:44:05.010Z] ---> Running in 50fdbf74673c [2023-08-09T10:44:06.965Z] Removing intermediate container 50fdbf74673c [2023-08-09T10:44:07.235Z] ---> 295b9c54a872 [2023-08-09T10:44:07.235Z] Step 11/25 : COPY . . [2023-08-09T10:44:07.832Z] ---> 99498b77415d [2023-08-09T10:44:07.832Z] Step 12/25 : RUN $MAKE [2023-08-09T10:44:07.832Z] ---> Running in 67ecd311bf8e [2023-08-09T10:44:08.800Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-09T10:46:45.597Z] Removing intermediate container 67ecd311bf8e [2023-08-09T10:46:45.597Z] ---> 8953529915c6 [2023-08-09T10:46:45.597Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:46:45.597Z] 3.17: Pulling from library/alpine [2023-08-09T10:46:45.597Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:46:45.597Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:46:45.597Z] 4060ece20d7a: Download complete [2023-08-09T10:46:45.597Z] 4060ece20d7a: Pull complete [2023-08-09T10:46:45.597Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:46:45.597Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:46:45.597Z] ---> 8650cd65339b [2023-08-09T10:46:45.597Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T10:46:45.597Z] ---> Running in f71aa1bba389 [2023-08-09T10:46:45.597Z] Removing intermediate container f71aa1bba389 [2023-08-09T10:46:45.597Z] ---> ff3d94df19cd [2023-08-09T10:46:45.597Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-09T10:46:45.597Z] ---> Running in 8bb0efcba9d5 [2023-08-09T10:46:45.597Z] Removing intermediate container 8bb0efcba9d5 [2023-08-09T10:46:45.597Z] ---> d1f1af1a448d [2023-08-09T10:46:45.597Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:46:45.597Z] ---> Running in 4ac467b8a63d [2023-08-09T10:46:45.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:46:45.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:46:46.193Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:46:46.194Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:46:46.194Z] OK: 8 MiB in 16 packages [2023-08-09T10:46:47.159Z] Removing intermediate container 4ac467b8a63d [2023-08-09T10:46:47.159Z] ---> d74e9f2d063a [2023-08-09T10:46:47.159Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-09T10:46:48.574Z] ---> 10b4c334108e [2023-08-09T10:46:48.574Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-09T10:46:49.162Z] ---> 819a00df7e50 [2023-08-09T10:46:49.162Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-09T10:46:49.753Z] ---> ebce1d2b16d7 [2023-08-09T10:46:49.753Z] Step 20/25 : EXPOSE 59986 [2023-08-09T10:46:49.753Z] ---> Running in e93a8f2f1513 [2023-08-09T10:46:50.022Z] Removing intermediate container e93a8f2f1513 [2023-08-09T10:46:50.022Z] ---> 26feba5cfb17 [2023-08-09T10:46:50.022Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-09T10:46:50.293Z] ---> Running in d7767ccb9fc7 [2023-08-09T10:46:50.569Z] Removing intermediate container d7767ccb9fc7 [2023-08-09T10:46:50.569Z] ---> d0f6fe093fee [2023-08-09T10:46:50.569Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:46:50.569Z] ---> Running in ca1fb3646bd8 [2023-08-09T10:46:50.843Z] Removing intermediate container ca1fb3646bd8 [2023-08-09T10:46:50.843Z] ---> 42f5a4612dc7 [2023-08-09T10:46:50.843Z] Step 23/25 : LABEL arch=arm64 [2023-08-09T10:46:51.110Z] ---> Running in 7c1e90b437e6 [2023-08-09T10:46:51.378Z] Removing intermediate container 7c1e90b437e6 [2023-08-09T10:46:51.378Z] ---> 0c31da90031d [2023-08-09T10:46:51.379Z] Step 24/25 : LABEL git_sha=6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:46:51.379Z] ---> Running in 8eb5cd94e51d [2023-08-09T10:46:51.647Z] Removing intermediate container 8eb5cd94e51d [2023-08-09T10:46:51.647Z] ---> 727f1cae00ee [2023-08-09T10:46:51.647Z] Step 25/25 : LABEL version=3.1.0-dev.4 [2023-08-09T10:46:51.917Z] ---> Running in 9c1367f93b77 [2023-08-09T10:46:52.186Z] Removing intermediate container 9c1367f93b77 [2023-08-09T10:46:52.186Z] ---> e85191b57549 [2023-08-09T10:46:52.186Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:46:52.186Z] Successfully built e85191b57549 [2023-08-09T10:46:52.186Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:46:52.300Z] provisioning config files... [2023-08-09T10:46:52.316Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/124@tmp/config13201144753460554694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:46:52.662Z] ---> docker-login.sh [2023-08-09T10:46:52.663Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:46:53.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:46:53.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:46:53.021Z] Configure a credential helper to remove this warning. See [2023-08-09T10:46:53.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:46:53.021Z] [2023-08-09T10:46:53.021Z] Login Succeeded [2023-08-09T10:46:53.021Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:46:53.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:46:53.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:46:53.301Z] Configure a credential helper to remove this warning. See [2023-08-09T10:46:53.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:46:53.301Z] [2023-08-09T10:46:53.301Z] Login Succeeded [2023-08-09T10:46:53.301Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:46:53.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:46:53.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:46:53.841Z] Configure a credential helper to remove this warning. See [2023-08-09T10:46:53.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:46:53.841Z] [2023-08-09T10:46:53.841Z] Login Succeeded [2023-08-09T10:46:53.841Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:46:54.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:46:54.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:46:54.112Z] Configure a credential helper to remove this warning. See [2023-08-09T10:46:54.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:46:54.112Z] [2023-08-09T10:46:54.112Z] Login Succeeded [2023-08-09T10:46:54.112Z] docker.io [2023-08-09T10:46:54.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:46:54.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:46:54.653Z] Configure a credential helper to remove this warning. See [2023-08-09T10:46:54.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:46:54.653Z] [2023-08-09T10:46:54.653Z] Login Succeeded [2023-08-09T10:46:54.653Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:46:54.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:46:54.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:46:54.717Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-08-09T10:46:54.717Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:46:54.717Z] latest [2023-08-09T10:46:54.717Z] 3.1.0-dev.4 [2023-08-09T10:46:54.717Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:46:54.717Z] main [2023-08-09T10:46:54.717Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:46:55.067Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:46:55.415Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:46:55.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-09T10:46:55.416Z] a73eb057c659: Preparing [2023-08-09T10:46:55.416Z] 45e107b91860: Preparing [2023-08-09T10:46:55.416Z] c189b22fdcef: Preparing [2023-08-09T10:46:55.416Z] fafeb4c55d65: Preparing [2023-08-09T10:46:55.416Z] d2d9d24a8c2a: Preparing [2023-08-09T10:46:55.416Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:46:55.681Z] a73eb057c659: Pushed [2023-08-09T10:46:55.681Z] 45e107b91860: Pushed [2023-08-09T10:46:55.681Z] fafeb4c55d65: Pushed [2023-08-09T10:47:01.032Z] c189b22fdcef: Pushed [2023-08-09T10:47:01.302Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae: digest: sha256:beeaf7dbb51aa379231133fd895dc7ee111044be238cb90ca121f9ed1a26d558 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:01.657Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:02.010Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-09T10:47:02.010Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-09T10:47:02.010Z] a73eb057c659: Preparing [2023-08-09T10:47:02.010Z] 45e107b91860: Preparing [2023-08-09T10:47:02.010Z] c189b22fdcef: Preparing [2023-08-09T10:47:02.010Z] fafeb4c55d65: Preparing [2023-08-09T10:47:02.010Z] d2d9d24a8c2a: Preparing [2023-08-09T10:47:02.010Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:47:02.010Z] a73eb057c659: Layer already exists [2023-08-09T10:47:02.010Z] c189b22fdcef: Layer already exists [2023-08-09T10:47:02.010Z] fafeb4c55d65: Layer already exists [2023-08-09T10:47:02.010Z] 45e107b91860: Layer already exists [2023-08-09T10:47:02.279Z] latest: digest: sha256:beeaf7dbb51aa379231133fd895dc7ee111044be238cb90ca121f9ed1a26d558 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:02.636Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:02.994Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.4 [2023-08-09T10:47:02.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-09T10:47:02.994Z] a73eb057c659: Preparing [2023-08-09T10:47:02.994Z] 45e107b91860: Preparing [2023-08-09T10:47:02.994Z] c189b22fdcef: Preparing [2023-08-09T10:47:02.994Z] fafeb4c55d65: Preparing [2023-08-09T10:47:02.994Z] d2d9d24a8c2a: Preparing [2023-08-09T10:47:02.994Z] a73eb057c659: Layer already exists [2023-08-09T10:47:02.994Z] c189b22fdcef: Layer already exists [2023-08-09T10:47:02.994Z] fafeb4c55d65: Layer already exists [2023-08-09T10:47:02.994Z] 45e107b91860: Layer already exists [2023-08-09T10:47:02.994Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:47:03.263Z] 3.1.0-dev.4: digest: sha256:beeaf7dbb51aa379231133fd895dc7ee111044be238cb90ca121f9ed1a26d558 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:03.621Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:03.978Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:47:03.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-09T10:47:03.978Z] a73eb057c659: Preparing [2023-08-09T10:47:03.978Z] 45e107b91860: Preparing [2023-08-09T10:47:03.978Z] c189b22fdcef: Preparing [2023-08-09T10:47:03.978Z] fafeb4c55d65: Preparing [2023-08-09T10:47:03.978Z] d2d9d24a8c2a: Preparing [2023-08-09T10:47:03.978Z] a73eb057c659: Layer already exists [2023-08-09T10:47:03.978Z] fafeb4c55d65: Layer already exists [2023-08-09T10:47:03.978Z] c189b22fdcef: Layer already exists [2023-08-09T10:47:03.978Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:47:03.978Z] 45e107b91860: Layer already exists [2023-08-09T10:47:04.247Z] 6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4: digest: sha256:beeaf7dbb51aa379231133fd895dc7ee111044be238cb90ca121f9ed1a26d558 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:04.606Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:04.957Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-08-09T10:47:04.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-09T10:47:04.958Z] a73eb057c659: Preparing [2023-08-09T10:47:04.958Z] 45e107b91860: Preparing [2023-08-09T10:47:04.958Z] c189b22fdcef: Preparing [2023-08-09T10:47:04.958Z] fafeb4c55d65: Preparing [2023-08-09T10:47:04.958Z] d2d9d24a8c2a: Preparing [2023-08-09T10:47:04.958Z] d2d9d24a8c2a: Layer already exists [2023-08-09T10:47:04.958Z] 45e107b91860: Layer already exists [2023-08-09T10:47:04.958Z] c189b22fdcef: Layer already exists [2023-08-09T10:47:04.958Z] a73eb057c659: Layer already exists [2023-08-09T10:47:04.958Z] fafeb4c55d65: Layer already exists [2023-08-09T10:47:05.229Z] main: digest: sha256:beeaf7dbb51aa379231133fd895dc7ee111044be238cb90ca121f9ed1a26d558 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T10:47:05.279Z] ===================================================== [Pipeline] echo [2023-08-09T10:47:05.287Z] taggedImages: [2023-08-09T10:47:05.287Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae [2023-08-09T10:47:05.287Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-09T10:47:05.287Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.4 [2023-08-09T10:47:05.287Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6f0e88eb43ac42bba557c9333c6d12baa04244ae-3.1.0-dev.4 [2023-08-09T10:47:05.287Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:05.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:47:05.665Z] [2023-08-09T10:47:05.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:06.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:47:06.280Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:47:06.280Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:47:06.280Z] 04944245beec: Pulling fs layer [2023-08-09T10:47:06.280Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:47:06.280Z] 765212b225bb: Pulling fs layer [2023-08-09T10:47:06.280Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:47:06.280Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:47:06.280Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:47:06.280Z] f23df028b6ca: Waiting [2023-08-09T10:47:06.280Z] d65c8cfc05b1: Waiting [2023-08-09T10:47:06.280Z] 2437ff75d9bd: Waiting [2023-08-09T10:47:06.280Z] 765212b225bb: Waiting [2023-08-09T10:47:06.280Z] 04944245beec: Verifying Checksum [2023-08-09T10:47:06.280Z] 04944245beec: Download complete [2023-08-09T10:47:06.280Z] 765212b225bb: Verifying Checksum [2023-08-09T10:47:06.280Z] 765212b225bb: Download complete [2023-08-09T10:47:06.280Z] f23df028b6ca: Verifying Checksum [2023-08-09T10:47:06.280Z] f23df028b6ca: Download complete [2023-08-09T10:47:06.280Z] d65c8cfc05b1: Download complete [2023-08-09T10:47:06.553Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:47:06.553Z] 699f458cf7ca: Download complete [2023-08-09T10:47:07.146Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:47:07.146Z] 8998bd30e6a1: Download complete [2023-08-09T10:47:09.735Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:47:09.735Z] 2437ff75d9bd: Download complete [2023-08-09T10:47:11.151Z] 8998bd30e6a1: Pull complete [2023-08-09T10:47:11.738Z] 04944245beec: Pull complete [2023-08-09T10:47:13.154Z] 699f458cf7ca: Pull complete [2023-08-09T10:47:13.154Z] 765212b225bb: Pull complete [2023-08-09T10:47:14.120Z] f23df028b6ca: Pull complete [2023-08-09T10:47:14.388Z] d65c8cfc05b1: Pull complete [2023-08-09T10:47:29.405Z] 2437ff75d9bd: Pull complete [2023-08-09T10:47:29.405Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:47:29.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:47:29.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:47:29.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-3219 does not seem to be running inside a container [2023-08-09T10:47:29.709Z] $ 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/124 -v /w/workspace/device-rest-go/124:/w/workspace/device-rest-go/124:rw,z -v /w/workspace/device-rest-go/124@tmp:/w/workspace/device-rest-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T10:47:32.833Z] $ docker top 15944520100b2234ea6314df913fef2d2bbf008cc46ed1a501b9091b339e6f1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:47:33.732Z] ---> job-cost.sh [2023-08-09T10:47:33.732Z] lf-activate-venv: SKIPPING [2023-08-09T10:47:33.732Z] INFO: No Stack... [2023-08-09T10:47:34.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:47:35.282Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:47:35.929Z] + cat /w/workspace/device-rest-go/124/archives/cost.csv [2023-08-09T10:47:35.929Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:47:36.002Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [2023-08-09T10:47:36.008Z] Resource [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] did not exist. Created. [2023-08-09T10:47:36.008Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:47:36.678Z] /w/workspace/device-rest-go/124@tmp/durable-1f5d64fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:47:37.336Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:47:37.360Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:47:37.428Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:47:37.437Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:47:37.457Z] $ docker stop --time=1 15944520100b2234ea6314df913fef2d2bbf008cc46ed1a501b9091b339e6f1b [2023-08-09T10:47:38.964Z] $ docker rm -f --volumes 15944520100b2234ea6314df913fef2d2bbf008cc46ed1a501b9091b339e6f1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-08-09T10:47:39.452Z] provisioning config files... [2023-08-09T10:47:39.459Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15902750663585173632tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:47:39.754Z] + set +x [2023-08-09T10:47:39.754Z] + bash -s -- [2023-08-09T10:47:39.754Z] + curl -s https://codecov.io/bash [2023-08-09T10:47:39.754Z] [2023-08-09T10:47:39.754Z] _____ _ [2023-08-09T10:47:39.754Z] / ____| | | [2023-08-09T10:47:39.754Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:47:39.754Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:47:39.754Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:47:39.754Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:47:39.754Z] Bash-1.0.6 [2023-08-09T10:47:39.754Z] [2023-08-09T10:47:39.754Z] [2023-08-09T10:47:39.754Z] ==> git version 2.25.1 found [2023-08-09T10:47:39.754Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-08-09T10:47:39.754Z] Release-Date: 2020-01-08 [2023-08-09T10:47:39.754Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-09T10:47:39.754Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:47:39.754Z] ==> Jenkins CI detected. [2023-08-09T10:47:39.754Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-08-09T10:47:39.754Z] project root: . [2023-08-09T10:47:39.754Z] --> token set from env [2023-08-09T10:47:39.754Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:47:40.014Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:47:40.014Z] ==> Python coveragepy not found [2023-08-09T10:47:40.014Z] ==> Searching for coverage reports in: [2023-08-09T10:47:40.014Z] + . [2023-08-09T10:47:40.014Z] -> Found 1 reports [2023-08-09T10:47:40.014Z] ==> Detecting git/mercurial file structure [2023-08-09T10:47:40.014Z] ==> Reading reports [2023-08-09T10:47:40.014Z] + ./coverage.out bytes=14656 [2023-08-09T10:47:40.014Z] ==> Appending adjustments [2023-08-09T10:47:40.014Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:47:40.014Z] + Found adjustments [2023-08-09T10:47:40.014Z] ==> Gzipping contents [2023-08-09T10:47:40.014Z] 4.0K /tmp/codecov.k6ooTx.gz [2023-08-09T10:47:40.014Z] ==> Uploading reports [2023-08-09T10:47:40.014Z] url: https://codecov.io [2023-08-09T10:47:40.014Z] query: branch=main&commit=6f0e88eb43ac42bba557c9333c6d12baa04244ae&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:47:40.014Z] -> Pinging Codecov [2023-08-09T10:47:40.014Z] 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=6f0e88eb43ac42bba557c9333c6d12baa04244ae&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T10:47:40.273Z] -> Uploading to [2023-08-09T10:47:40.273Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/4E5D53B4F1F92C436F7061BF334D961C/6f0e88eb43ac42bba557c9333c6d12baa04244ae/3be1d665-09fd-4118-b282-0cda8ca8fec8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T104739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8e3e72cde2e563a7076214ec671540fdba92ce35b990f3a1cfae1fd79a88c3b [2023-08-09T10:47:40.273Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:47:40.273Z] Dload Upload Total Spent Left Speed [2023-08-09T10:47:40.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 12714 --:--:-- --:--:-- --:--:-- 12714 [2023-08-09T10:47:40.273Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] } [2023-08-09T10:47:40.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T10:47:40.481Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T10:47:40.490Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:40.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:47:40.806Z] [2023-08-09T10:47:40.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:47:41.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:47:41.102Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T10:47:41.102Z] df9b9388f04a: Pulling fs layer [2023-08-09T10:47:41.102Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T10:47:41.102Z] 25bc292e5bac: Pulling fs layer [2023-08-09T10:47:41.102Z] 114826534d7a: Pulling fs layer [2023-08-09T10:47:41.102Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T10:47:41.102Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T10:47:41.102Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T10:47:41.102Z] 114826534d7a: Waiting [2023-08-09T10:47:41.102Z] 4657fd5d0bcf: Waiting [2023-08-09T10:47:41.102Z] 6ad1cebc031e: Waiting [2023-08-09T10:47:41.102Z] 8a3aa393b2d8: Waiting [2023-08-09T10:47:41.102Z] 25bc292e5bac: Verifying Checksum [2023-08-09T10:47:41.102Z] 25bc292e5bac: Download complete [2023-08-09T10:47:41.102Z] 52dc419b0ee2: Verifying Checksum [2023-08-09T10:47:41.102Z] 52dc419b0ee2: Download complete [2023-08-09T10:47:41.102Z] 4657fd5d0bcf: Verifying Checksum [2023-08-09T10:47:41.102Z] 4657fd5d0bcf: Download complete [2023-08-09T10:47:41.102Z] df9b9388f04a: Verifying Checksum [2023-08-09T10:47:41.364Z] df9b9388f04a: Pull complete [2023-08-09T10:47:41.364Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T10:47:41.364Z] 6ad1cebc031e: Download complete [2023-08-09T10:47:41.364Z] 52dc419b0ee2: Pull complete [2023-08-09T10:47:41.623Z] 25bc292e5bac: Pull complete [2023-08-09T10:47:41.881Z] 114826534d7a: Verifying Checksum [2023-08-09T10:47:41.881Z] 114826534d7a: Download complete [2023-08-09T10:47:42.139Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T10:47:42.139Z] 8a3aa393b2d8: Download complete [2023-08-09T10:47:45.420Z] 114826534d7a: Pull complete [2023-08-09T10:47:45.420Z] 4657fd5d0bcf: Pull complete [2023-08-09T10:47:45.679Z] 6ad1cebc031e: Pull complete [2023-08-09T10:47:48.960Z] 8a3aa393b2d8: Pull complete [2023-08-09T10:47:48.960Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T10:47:48.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T10:47:48.960Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:47:49.042Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:47:49.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-09T10:47:52.404Z] $ docker top 278401f97ec7603f74a0a8b70e620e923526656148128acb54a9b9421ee20ca3 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T10:47:52.466Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-08-09T10:47:52.747Z] + set -o pipefail [2023-08-09T10:47:52.747Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/29dd732d-56e8-4e5b-bdfe-35bd5e48ef7b [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] [2023-08-09T10:47:58.017Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T10:47:58.017Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T10:47:58.017Z] More details here: https://snyk.co/ue1NS [2023-08-09T10:47:58.017Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T10:47:58.017Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T10:47:58.032Z] $ docker stop --time=1 278401f97ec7603f74a0a8b70e620e923526656148128acb54a9b9421ee20ca3 [2023-08-09T10:48:01.241Z] $ docker rm -f --volumes 278401f97ec7603f74a0a8b70e620e923526656148128acb54a9b9421ee20ca3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:48:01.974Z] + git log --format=format:%s -1 6f0e88eb43ac42bba557c9333c6d12baa04244ae [Pipeline] sh [2023-08-09T10:48:02.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:48:02.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:02.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:48:02.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:48:02.646Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:48:02.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:48:03.148Z] $ docker top b8297be8b80d770534e6b556c7b9ab6990b139fedc24a1e112b9f36a47220f69 -eo pid,comm [2023-08-09T10:48:03.193Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:48:03.193Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:48:03.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:48:03.239Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:48:03.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:48:03.363Z] $ docker exec b8297be8b80d770534e6b556c7b9ab6990b139fedc24a1e112b9f36a47220f69 ssh-agent [2023-08-09T10:48:03.486Z] SSH_AUTH_SOCK=/tmp/ssh-enSUx4nJ1Edm/agent.33 [2023-08-09T10:48:03.486Z] SSH_AGENT_PID=39 [2023-08-09T10:48:03.491Z] Running ssh-add (command line suppressed) [2023-08-09T10:48:03.599Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13448121046080195805.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13448121046080195805.key) [2023-08-09T10:48:03.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:48:03.892Z] + git semver tag [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,082 [run_tag] DEBUG tag force:False [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,083 [check_head_tag] DEBUG check head tag [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,083 [execute] INFO git cat-file --batch-check [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,088 [execute] INFO git cat-file --batch [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,097 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,097 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,098 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:48:04.151Z] 2023-08-09 10:48:04,102 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:04.151Z] 3.1.0-dev.4 [Pipeline] } [2023-08-09T10:48:04.161Z] $ docker exec --env ******** --env ******** b8297be8b80d770534e6b556c7b9ab6990b139fedc24a1e112b9f36a47220f69 ssh-agent -k [2023-08-09T10:48:04.259Z] unset SSH_AUTH_SOCK; [2023-08-09T10:48:04.259Z] unset SSH_AGENT_PID; [2023-08-09T10:48:04.259Z] echo Agent pid 39 killed; [2023-08-09T10:48:04.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:48:04.568Z] + git semver [Pipeline] } [2023-08-09T10:48:04.841Z] $ docker stop --time=1 b8297be8b80d770534e6b556c7b9ab6990b139fedc24a1e112b9f36a47220f69 [2023-08-09T10:48:06.103Z] $ docker rm -f --volumes b8297be8b80d770534e6b556c7b9ab6990b139fedc24a1e112b9f36a47220f69 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:06.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:48:06.476Z] [2023-08-09T10:48:06.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:06.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:48:06.776Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T10:48:06.776Z] ab5ef0e58194: Pulling fs layer [2023-08-09T10:48:06.776Z] 9712f1f96733: Pulling fs layer [2023-08-09T10:48:06.776Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T10:48:06.776Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T10:48:06.776Z] e9a5061849ea: Pulling fs layer [2023-08-09T10:48:06.776Z] d747dcd14b5f: Pulling fs layer [2023-08-09T10:48:06.776Z] 2de7ff778b66: Pulling fs layer [2023-08-09T10:48:06.776Z] 0d9ebad4ef96: Waiting [2023-08-09T10:48:06.776Z] e9a5061849ea: Waiting [2023-08-09T10:48:06.776Z] d747dcd14b5f: Waiting [2023-08-09T10:48:06.776Z] 2de7ff778b66: Waiting [2023-08-09T10:48:06.776Z] 9712f1f96733: Verifying Checksum [2023-08-09T10:48:06.776Z] 9712f1f96733: Download complete [2023-08-09T10:48:07.034Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T10:48:07.034Z] 63f879dbbcfc: Download complete [2023-08-09T10:48:07.293Z] e9a5061849ea: Verifying Checksum [2023-08-09T10:48:07.293Z] e9a5061849ea: Download complete [2023-08-09T10:48:07.293Z] d747dcd14b5f: Verifying Checksum [2023-08-09T10:48:07.293Z] d747dcd14b5f: Download complete [2023-08-09T10:48:07.293Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T10:48:07.293Z] 0d9ebad4ef96: Download complete [2023-08-09T10:48:07.293Z] ab5ef0e58194: Verifying Checksum [2023-08-09T10:48:07.293Z] ab5ef0e58194: Download complete [2023-08-09T10:48:07.550Z] 2de7ff778b66: Download complete [2023-08-09T10:48:10.079Z] ab5ef0e58194: Pull complete [2023-08-09T10:48:10.079Z] 9712f1f96733: Pull complete [2023-08-09T10:48:10.644Z] 63f879dbbcfc: Pull complete [2023-08-09T10:48:14.823Z] 0d9ebad4ef96: Pull complete [2023-08-09T10:48:14.823Z] e9a5061849ea: Pull complete [2023-08-09T10:48:14.823Z] d747dcd14b5f: Pull complete [2023-08-09T10:48:15.757Z] 2de7ff778b66: Pull complete [2023-08-09T10:48:15.757Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T10:48:15.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T10:48:15.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:48:15.830Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:48:15.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-09T10:48:21.235Z] $ docker top 3457db90fadac199f80af4fa00eb85f1db0c7b79c608347f4a465eb7e08f57ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:48:21.301Z] provisioning config files... [2023-08-09T10:48:21.309Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16835911122805271762tmp [2023-08-09T10:48:21.317Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10127283260985146845tmp [2023-08-09T10:48:21.330Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7440841257635180201tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:48:21.346Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:21.629Z] ---> sigul-configuration.sh [2023-08-09T10:48:21.629Z] gpg: directory `/root/.gnupg' created [2023-08-09T10:48:21.629Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T10:48:21.629Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T10:48:21.629Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T10:48:21.629Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T10:48:21.629Z] gpg: CAST5 encrypted data [2023-08-09T10:48:21.629Z] gpg: encrypted with 1 passphrase [2023-08-09T10:48:21.629Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T10:48:21.914Z] + mkdir /home/jenkins [2023-08-09T10:48:21.914Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T10:48:22.200Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-09T10:48:22.209Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:22.492Z] ---> sigul-install.sh [2023-08-09T10:48:22.493Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T10:48:22.778Z] + git tag --list [2023-08-09T10:48:22.778Z] v1.0.0 [2023-08-09T10:48:22.778Z] v1.1.0 [2023-08-09T10:48:22.778Z] v1.1.1 [2023-08-09T10:48:22.778Z] v1.1.2 [2023-08-09T10:48:22.778Z] v1.2.0 [2023-08-09T10:48:22.778Z] v1.2.1 [2023-08-09T10:48:22.778Z] v2.0.0 [2023-08-09T10:48:22.778Z] v2.1.0 [2023-08-09T10:48:22.778Z] v2.1.1 [2023-08-09T10:48:22.778Z] v2.2.0 [2023-08-09T10:48:22.778Z] v2.3.0 [2023-08-09T10:48:22.778Z] v3.0 [2023-08-09T10:48:22.778Z] v3.0.0 [2023-08-09T10:48:22.778Z] v3.1.0-dev.1 [2023-08-09T10:48:22.778Z] v3.1.0-dev.2 [2023-08-09T10:48:22.778Z] v3.1.0-dev.3 [2023-08-09T10:48:22.778Z] v3.1.0-dev.4 [Pipeline] sh [2023-08-09T10:48:23.060Z] + lftools sign git-tag v3.1.0-dev.4 [2023-08-09T10:48:23.628Z] Signing Git tag with Sigul... [2023-08-09T10:48:23.628Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-08-09T10:48:23.896Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:24.183Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T10:48:24.195Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T10:48:24.218Z] $ docker stop --time=1 3457db90fadac199f80af4fa00eb85f1db0c7b79c608347f4a465eb7e08f57ac [2023-08-09T10:48:25.473Z] $ docker rm -f --volumes 3457db90fadac199f80af4fa00eb85f1db0c7b79c608347f4a465eb7e08f57ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T10:48:25.883Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:48:25.883Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:26.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:48:26.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:48:26.267Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:48:26.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:48:26.624Z] $ docker top 0855b7366e3ce5cedaeb23f5c2601f9c098ff4dd51c26d947b4ba44eb83d33ee -eo pid,comm [2023-08-09T10:48:26.667Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:48:26.667Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:48:26.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:48:26.702Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:48:26.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:48:26.813Z] $ docker exec 0855b7366e3ce5cedaeb23f5c2601f9c098ff4dd51c26d947b4ba44eb83d33ee ssh-agent [2023-08-09T10:48:26.924Z] SSH_AUTH_SOCK=/tmp/ssh-d8nc5Da1lkQ8/agent.32 [2023-08-09T10:48:26.924Z] SSH_AGENT_PID=38 [2023-08-09T10:48:26.928Z] Running ssh-add (command line suppressed) [2023-08-09T10:48:27.039Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4476127783225567548.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4476127783225567548.key) [2023-08-09T10:48:27.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:48:27.338Z] + git semver bump pre [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,504 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,505 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,505 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,505 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,505 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,507 [execute] INFO git cat-file --batch-check [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,512 [execute] INFO git cat-file --batch [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:48:27.597Z] 2023-08-09 10:48:27,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:27.597Z] 3.1.0-dev.5 [Pipeline] } [2023-08-09T10:48:27.611Z] $ docker exec --env ******** --env ******** 0855b7366e3ce5cedaeb23f5c2601f9c098ff4dd51c26d947b4ba44eb83d33ee ssh-agent -k [2023-08-09T10:48:27.714Z] unset SSH_AUTH_SOCK; [2023-08-09T10:48:27.715Z] unset SSH_AGENT_PID; [2023-08-09T10:48:27.715Z] echo Agent pid 38 killed; [2023-08-09T10:48:27.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:48:28.032Z] + git semver [Pipeline] } [2023-08-09T10:48:28.305Z] $ docker stop --time=1 0855b7366e3ce5cedaeb23f5c2601f9c098ff4dd51c26d947b4ba44eb83d33ee [2023-08-09T10:48:29.604Z] $ docker rm -f --volumes 0855b7366e3ce5cedaeb23f5c2601f9c098ff4dd51c26d947b4ba44eb83d33ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:48:29.931Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:48:29.931Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:30.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:48:30.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:48:30.304Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:48:30.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T10:48:30.694Z] $ docker top 669af7bd4ae2e0c53211f8c5bbfd1cb7240685c4f4b14d1b73164c36700022c2 -eo pid,comm [2023-08-09T10:48:30.737Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-08-09T10:48:30.737Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:48:30.769Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:48:30.769Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:48:30.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:48:30.878Z] $ docker exec 669af7bd4ae2e0c53211f8c5bbfd1cb7240685c4f4b14d1b73164c36700022c2 ssh-agent [2023-08-09T10:48:30.981Z] SSH_AUTH_SOCK=/tmp/ssh-n1MvizjR8meF/agent.32 [2023-08-09T10:48:30.981Z] SSH_AGENT_PID=38 [2023-08-09T10:48:30.986Z] Running ssh-add (command line suppressed) [2023-08-09T10:48:31.081Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1602217231692501168.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1602217231692501168.key) [2023-08-09T10:48:31.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:48:31.376Z] + git semver push [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,551 [run_push] DEBUG push [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,552 [execute] INFO git cat-file --batch-check [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,556 [execute] INFO git rev-list c76fc0c661880a1bdbd0b0812a9252b36c0e196f -- [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,556 [execute] DEBUG Popen(['git', 'rev-list', 'c76fc0c661880a1bdbd0b0812a9252b36c0e196f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,564 [execute] INFO git fetch -v origin [2023-08-09T10:48:31.635Z] 2023-08-09 10:48:31,565 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-09T10:48:32.203Z] 2023-08-09 10:48:32,054 [run_push] DEBUG no remote changes detected [2023-08-09T10:48:32.203Z] 2023-08-09 10:48:32,054 [execute] INFO git push origin semver [2023-08-09T10:48:32.203Z] 2023-08-09 10:48:32,055 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:48:33.143Z] 2023-08-09 10:48:32,933 [run_push] DEBUG push all version tags [2023-08-09T10:48:33.143Z] 2023-08-09 10:48:32,934 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T10:48:33.143Z] 2023-08-09 10:48:32,934 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:48:34.080Z] 2023-08-09 10:48:33,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-09T10:48:34.080Z] 3.1.0-dev.5 [Pipeline] } [2023-08-09T10:48:34.092Z] $ docker exec --env ******** --env ******** 669af7bd4ae2e0c53211f8c5bbfd1cb7240685c4f4b14d1b73164c36700022c2 ssh-agent -k [2023-08-09T10:48:34.193Z] unset SSH_AUTH_SOCK; [2023-08-09T10:48:34.194Z] unset SSH_AGENT_PID; [2023-08-09T10:48:34.194Z] echo Agent pid 38 killed; [2023-08-09T10:48:34.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:48:34.513Z] + git semver [Pipeline] } [2023-08-09T10:48:34.787Z] $ docker stop --time=1 669af7bd4ae2e0c53211f8c5bbfd1cb7240685c4f4b14d1b73164c36700022c2 [2023-08-09T10:48:36.043Z] $ docker rm -f --volumes 669af7bd4ae2e0c53211f8c5bbfd1cb7240685c4f4b14d1b73164c36700022c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-09T10:48:36.664Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-08-09T10:48:36.664Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-09T10:48:36.664Z] total 16 [2023-08-09T10:48:36.664Z] drwxr-xr-x 3 root root 4096 Aug 9 10:38 . [2023-08-09T10:48:36.664Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:48 .. [2023-08-09T10:48:36.664Z] drwxr-xr-x 2 root root 4096 Aug 9 10:38 cost [2023-08-09T10:48:36.664Z] -rw-r--r-- 1 root root 86 Aug 9 10:38 cost.csv [2023-08-09T10:48:36.664Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-09T10:48:36.664Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-09T10:48:36.664Z] total 16 [2023-08-09T10:48:36.664Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:38 . [2023-08-09T10:48:36.664Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:48 .. [2023-08-09T10:48:36.664Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:38 cost [2023-08-09T10:48:36.664Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:36.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:37.816Z] ---> package-listing.sh [2023-08-09T10:48:37.817Z] ++ facter osfamily [2023-08-09T10:48:37.817Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:48:38.077Z] + OS_FAMILY=debian [2023-08-09T10:48:38.077Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-08-09T10:48:38.077Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:48:38.077Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:48:38.077Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:48:38.077Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:48:38.077Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-09T10:48:38.077Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:48:38.077Z] + case "${OS_FAMILY}" in [2023-08-09T10:48:38.077Z] + dpkg -l [2023-08-09T10:48:38.077Z] + grep '^ii' [2023-08-09T10:48:38.077Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:48:38.077Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:48:38.077Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:48:38.077Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-09T10:48:38.077Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-08-09T10:48:38.077Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-08-09T10:48:38.087Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T10:48:38.364Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:48:38.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:48:38.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:48:39.000Z] prd-ubuntu20.04-docker-8c-8g-3217 does not seem to be running inside a container [2023-08-09T10:48:39.143Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T10:48:39.396Z] $ docker top 78bd268988ad542a11ae5fb0c1dba22355957a220725adfdabd259bc7c7d3442 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:48:39.827Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:48:40.124Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:48:40.412Z] + ls /var/log/sa-host [2023-08-09T10:48:40.412Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:48:40.556Z] provisioning config files... [2023-08-09T10:48:40.564Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10650995281594829757tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:48:40.578Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:40.860Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:48:40.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:41.206Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:48:41.213Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:41.495Z] ---> sudo-logs.sh [2023-08-09T10:48:41.495Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:48:41.528Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:41.813Z] ---> job-cost.sh [2023-08-09T10:48:41.813Z] lf-activate-venv: SKIPPING [2023-08-09T10:48:41.813Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:48:41.813Z] INFO: Retrieving Stack Cost... [2023-08-09T10:48:42.072Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:48:42.640Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:48:42.649Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:48:42.931Z] ---> logs-deploy.sh [2023-08-09T10:48:42.931Z] lf-activate-venv: SKIPPING [2023-08-09T10:48:42.931Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/124 [2023-08-09T10:48:42.931Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:48:43.868Z] Archives upload complete. [2023-08-09T10:48:43.868Z] INFO: archiving logs to Nexus