Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6+ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (4f1336708ac7a300699f698bf6626b9d1d3a1b58) 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-ssh6162442491725737731.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-ssh4349044573028249319.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/PR-318/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/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4307437511280617380.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-ssh15629666850295298313.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/PR-318/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/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16593741688969114376.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18479 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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/gexfoundry_device-rest-go_PR-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e into PR head commit 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 Merge succeeded, producing 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 Checking out Revision 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-12T18:09:12.510Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-12T18:09:12.571Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 > git rev-list --no-walk d2d899ddde689ca7e035e4bb5ec627d6e005b8ed # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-12T18:09:12.590Z] ========================================================= [2023-06-12T18:09:12.590Z] EdgeX Global Pipelines Version Info [2023-06-12T18:09:12.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:13.307Z] ------------------- [2023-06-12T18:09:13.307Z] stable info: [2023-06-12T18:09:13.307Z] ------------------- [2023-06-12T18:09:13.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-12T18:09:13.307Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:09:13.307Z] Message: update stable to v1.0.250 [2023-06-12T18:09:13.878Z] ------------------- [2023-06-12T18:09:13.878Z] experimental info: [2023-06-12T18:09:13.878Z] ------------------- [2023-06-12T18:09:13.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-12T18:09:13.878Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-12T18:09:13.878Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-12T18:09:14.073Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-06-12T18:09:14.090Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-06-12T18:09:14.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-12T18:09:14.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-12T18:09:14.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-12T18:09:14.133Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-12T18:09:14.146Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-12T18:09:14.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-12T18:09:14.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-12T18:09:14.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-12T18:09:14.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-12T18:09:14.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-06-12T18:09:14.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-12T18:09:14.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-12T18:09:14.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:09:14.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-12T18:09:14.255Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:09:14.273Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-12T18:09:14.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-12T18:09:14.302Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-12T18:09:14.317Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-12T18:09:14.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-12T18:09:14.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-12T18:09:14.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-12T18:09:14.379Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-12T18:09:14.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-12T18:09:14.410Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-12T18:09:14.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-06-12T18:09:14.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-06-12T18:09:14.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-06-12T18:09:14.474Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo [2023-06-12T18:09:14.487Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98b78ce [Pipeline] echo [2023-06-12T18:09:14.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:09:14.611Z] provisioning config files... [2023-06-12T18:09:14.625Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config13298561185643787748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:14.927Z] ---> docker-login.sh [2023-06-12T18:09:14.927Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:09:15.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:15.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:15.189Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:15.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:15.189Z] [2023-06-12T18:09:15.189Z] Login Succeeded [2023-06-12T18:09:15.189Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:09:15.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:15.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:15.189Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:15.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:15.189Z] [2023-06-12T18:09:15.189Z] Login Succeeded [2023-06-12T18:09:15.189Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:09:15.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:15.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:15.449Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:15.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:15.449Z] [2023-06-12T18:09:15.449Z] Login Succeeded [2023-06-12T18:09:15.449Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:09:15.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:15.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:15.449Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:15.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:15.449Z] [2023-06-12T18:09:15.449Z] Login Succeeded [2023-06-12T18:09:15.449Z] docker.io [2023-06-12T18:09:15.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:15.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:15.710Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:15.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:15.710Z] [2023-06-12T18:09:15.710Z] Login Succeeded [2023-06-12T18:09:15.710Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:09:15.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-12T18:09:16.105Z] + git rev-list -1 --merges 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6~1..98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo [2023-06-12T18:09:16.194Z] -----------> git rev-list -1 --merges 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6~1..98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [false] [Pipeline] sh [2023-06-12T18:09:16.483Z] + git log --format=format:%s -1 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo [2023-06-12T18:09:16.499Z] ========================================================= [2023-06-12T18:09:16.499Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-12T18:09:16.499Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:09:16.819Z] + git log --format=format:%s -1 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] echo [2023-06-12T18:09:16.832Z] [semverPrep] GIT_COMMIT: 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-06-12T18:09:16.841Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-12T18:09:17.264Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-12T18:09:17.264Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-12T18:09:17.264Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-12T18:09:17.264Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-12T18:09:17.264Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-12T18:09:17.264Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-12T18:09:17.264Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:17.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:17.623Z] [2023-06-12T18:09:17.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:17.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:17.933Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-12T18:09:17.933Z] b85a868b505f: Pulling fs layer [2023-06-12T18:09:17.933Z] e2be974225ed: Pulling fs layer [2023-06-12T18:09:17.933Z] 339a4e72a1f5: Pulling fs layer [2023-06-12T18:09:17.933Z] 988bab9f4d93: Pulling fs layer [2023-06-12T18:09:17.933Z] 1469e6f7b9e6: Pulling fs layer [2023-06-12T18:09:17.933Z] eaf3925da568: Pulling fs layer [2023-06-12T18:09:17.933Z] bab4dde63d76: Pulling fs layer [2023-06-12T18:09:17.933Z] bde34c3a00c8: Pulling fs layer [2023-06-12T18:09:17.933Z] b352a97aabf1: Pulling fs layer [2023-06-12T18:09:17.933Z] 4872d77fe225: Pulling fs layer [2023-06-12T18:09:17.933Z] 5851b861e8e6: Pulling fs layer [2023-06-12T18:09:17.933Z] bde34c3a00c8: Waiting [2023-06-12T18:09:17.933Z] b352a97aabf1: Waiting [2023-06-12T18:09:17.933Z] 4872d77fe225: Waiting [2023-06-12T18:09:17.933Z] 988bab9f4d93: Waiting [2023-06-12T18:09:17.933Z] 5851b861e8e6: Waiting [2023-06-12T18:09:17.933Z] eaf3925da568: Waiting [2023-06-12T18:09:17.933Z] 1469e6f7b9e6: Waiting [2023-06-12T18:09:17.933Z] bab4dde63d76: Waiting [2023-06-12T18:09:17.933Z] e2be974225ed: Download complete [2023-06-12T18:09:17.933Z] 988bab9f4d93: Verifying Checksum [2023-06-12T18:09:17.933Z] 988bab9f4d93: Download complete [2023-06-12T18:09:17.933Z] 1469e6f7b9e6: Verifying Checksum [2023-06-12T18:09:17.933Z] 1469e6f7b9e6: Download complete [2023-06-12T18:09:17.933Z] 339a4e72a1f5: Verifying Checksum [2023-06-12T18:09:17.933Z] 339a4e72a1f5: Download complete [2023-06-12T18:09:18.194Z] eaf3925da568: Verifying Checksum [2023-06-12T18:09:18.194Z] eaf3925da568: Download complete [2023-06-12T18:09:18.194Z] bde34c3a00c8: Verifying Checksum [2023-06-12T18:09:18.194Z] bde34c3a00c8: Download complete [2023-06-12T18:09:18.194Z] b352a97aabf1: Download complete [2023-06-12T18:09:18.194Z] 4872d77fe225: Download complete [2023-06-12T18:09:18.194Z] 5851b861e8e6: Verifying Checksum [2023-06-12T18:09:18.194Z] 5851b861e8e6: Download complete [2023-06-12T18:09:18.194Z] b85a868b505f: Verifying Checksum [2023-06-12T18:09:18.194Z] b85a868b505f: Download complete [2023-06-12T18:09:18.461Z] bab4dde63d76: Verifying Checksum [2023-06-12T18:09:18.461Z] bab4dde63d76: Download complete [2023-06-12T18:09:19.398Z] b85a868b505f: Pull complete [2023-06-12T18:09:19.657Z] e2be974225ed: Pull complete [2023-06-12T18:09:20.224Z] 339a4e72a1f5: Pull complete [2023-06-12T18:09:20.224Z] 988bab9f4d93: Pull complete [2023-06-12T18:09:20.483Z] 1469e6f7b9e6: Pull complete [2023-06-12T18:09:20.483Z] eaf3925da568: Pull complete [2023-06-12T18:09:22.391Z] bab4dde63d76: Pull complete [2023-06-12T18:09:22.391Z] bde34c3a00c8: Pull complete [2023-06-12T18:09:22.391Z] b352a97aabf1: Pull complete [2023-06-12T18:09:22.391Z] 4872d77fe225: Pull complete [2023-06-12T18:09:22.391Z] 5851b861e8e6: Pull complete [2023-06-12T18:09:22.391Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-12T18:09:22.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-12T18:09:22.391Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:09:22.498Z] prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container [2023-06-12T18:09:22.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-12T18:09:25.337Z] $ docker top f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a -eo pid,comm [2023-06-12T18:09:25.390Z] 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-06-12T18:09:25.390Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-12T18:09:25.431Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:25.431Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:25.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:25.562Z] $ docker exec f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent [2023-06-12T18:09:25.655Z] SSH_AUTH_SOCK=/tmp/ssh-PlWyUOD098j8/agent.31 [2023-06-12T18:09:25.655Z] SSH_AGENT_PID=37 [2023-06-12T18:09:25.661Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:25.762Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_1697704814687995542.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_1697704814687995542.key) [2023-06-12T18:09:25.771Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:26.069Z] + git tag --points-at HEAD [Pipeline] } [2023-06-12T18:09:26.084Z] $ docker exec --env ******** --env ******** f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent -k [2023-06-12T18:09:26.177Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:26.177Z] unset SSH_AGENT_PID; [2023-06-12T18:09:26.177Z] echo Agent pid 37 killed; [2023-06-12T18:09:26.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-12T18:09:26.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-12T18:09:26.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-12T18:09:26.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-12T18:09:26.332Z] $ docker exec f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent [2023-06-12T18:09:26.435Z] SSH_AUTH_SOCK=/tmp/ssh-iGih1XzIYSV1/agent.69 [2023-06-12T18:09:26.435Z] SSH_AGENT_PID=75 [2023-06-12T18:09:26.439Z] Running ssh-add (command line suppressed) [2023-06-12T18:09:26.545Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_8723531529173617448.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_8723531529173617448.key) [2023-06-12T18:09:26.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-12T18:09:26.840Z] + git semver init [2023-06-12T18:09:27.100Z] 2023-06-12 18:09:27,033 [run_init] DEBUG init version:0.0.0 force:False [2023-06-12T18:09:27.100Z] 2023-06-12 18:09:27,033 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-06-12T18:09:27.100Z] 2023-06-12 18:09:27,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-06-12T18:09:27.100Z] 2023-06-12 18:09:27,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,027 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,028 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,028 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,033 [execute] INFO git cat-file --batch-check [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,041 [execute] INFO git cat-file --batch [2023-06-12T18:09:28.038Z] 2023-06-12 18:09:28,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-06-12T18:09:28.297Z] 2023-06-12 18:09:28,048 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-06-12T18:09:28.297Z] 0.0.0 [Pipeline] } [2023-06-12T18:09:28.311Z] $ docker exec --env ******** --env ******** f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a ssh-agent -k [2023-06-12T18:09:28.415Z] unset SSH_AUTH_SOCK; [2023-06-12T18:09:28.415Z] unset SSH_AGENT_PID; [2023-06-12T18:09:28.415Z] echo Agent pid 75 killed; [2023-06-12T18:09:28.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-12T18:09:28.733Z] + git semver [Pipeline] } [2023-06-12T18:09:29.009Z] $ docker stop --time=1 f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a [2023-06-12T18:09:30.337Z] $ docker rm -f --volumes f21518be7a3759e92d7eea8b651949ccb82db535bd6a9c5a9d22c89e3367f92a [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:09:30.667Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-12T18:09:30.877Z] Stashed 1 file(s) [Pipeline] echo [2023-06-12T18:09:30.880Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06-12T18:09:31.027Z] provisioning config files... [2023-06-12T18:09:31.035Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config2420579698272995897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:09:31.328Z] ---> docker-login.sh [2023-06-12T18:09:31.328Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:09:31.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:31.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:31.328Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:31.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:31.328Z] [2023-06-12T18:09:31.328Z] Login Succeeded [2023-06-12T18:09:31.328Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:09:31.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:31.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:31.328Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:31.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:31.328Z] [2023-06-12T18:09:31.328Z] Login Succeeded [2023-06-12T18:09:31.328Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:09:31.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:31.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:31.587Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:31.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:31.587Z] [2023-06-12T18:09:31.587Z] Login Succeeded [2023-06-12T18:09:31.587Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:09:31.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:31.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:31.587Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:31.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:31.587Z] [2023-06-12T18:09:31.587Z] Login Succeeded [2023-06-12T18:09:31.587Z] docker.io [2023-06-12T18:09:31.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:09:31.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:09:31.845Z] Configure a credential helper to remove this warning. See [2023-06-12T18:09:31.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:09:31.845Z] [2023-06-12T18:09:31.845Z] Login Succeeded [2023-06-12T18:09:31.845Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:09:31.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:09:31.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:09:31.930Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:09:31.938Z] ========================================================= [2023-06-12T18:09:31.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-12T18:09:31.938Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:09:32.244Z] + 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-06-12T18:09:32.244Z] Sending build context to Docker daemon 10.9MB [2023-06-12T18:09:32.244Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:09:32.244Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:09:32.244Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-12T18:09:32.244Z] f56be85fc22e: Pulling fs layer [2023-06-12T18:09:32.244Z] 85791d961cd3: Pulling fs layer [2023-06-12T18:09:32.244Z] d694b5ae8c79: Pulling fs layer [2023-06-12T18:09:32.244Z] 9f32a84ed3da: Pulling fs layer [2023-06-12T18:09:32.244Z] 4d19c01a9841: Pulling fs layer [2023-06-12T18:09:32.244Z] 9325e15d5711: Pulling fs layer [2023-06-12T18:09:32.244Z] 556b6ee489ea: Pulling fs layer [2023-06-12T18:09:32.244Z] c5a4b2cf53e6: Pulling fs layer [2023-06-12T18:09:32.244Z] 9f32a84ed3da: Waiting [2023-06-12T18:09:32.244Z] 4d19c01a9841: Waiting [2023-06-12T18:09:32.244Z] 9325e15d5711: Waiting [2023-06-12T18:09:32.244Z] c5a4b2cf53e6: Waiting [2023-06-12T18:09:32.244Z] 85791d961cd3: Verifying Checksum [2023-06-12T18:09:32.244Z] 85791d961cd3: Download complete [2023-06-12T18:09:32.507Z] 9f32a84ed3da: Verifying Checksum [2023-06-12T18:09:32.507Z] 9f32a84ed3da: Download complete [2023-06-12T18:09:32.507Z] 4d19c01a9841: Verifying Checksum [2023-06-12T18:09:32.507Z] 4d19c01a9841: Download complete [2023-06-12T18:09:32.507Z] f56be85fc22e: Verifying Checksum [2023-06-12T18:09:32.507Z] f56be85fc22e: Download complete [2023-06-12T18:09:32.507Z] 9325e15d5711: Verifying Checksum [2023-06-12T18:09:32.507Z] 9325e15d5711: Download complete [2023-06-12T18:09:32.507Z] f56be85fc22e: Pull complete [2023-06-12T18:09:32.766Z] 85791d961cd3: Pull complete [2023-06-12T18:09:33.023Z] c5a4b2cf53e6: Verifying Checksum [2023-06-12T18:09:33.023Z] c5a4b2cf53e6: Download complete [2023-06-12T18:09:33.023Z] d694b5ae8c79: Verifying Checksum [2023-06-12T18:09:33.023Z] d694b5ae8c79: Download complete [2023-06-12T18:09:33.284Z] 556b6ee489ea: Verifying Checksum [2023-06-12T18:09:33.284Z] 556b6ee489ea: Download complete [2023-06-12T18:09:36.565Z] d694b5ae8c79: Pull complete [2023-06-12T18:09:36.565Z] 9f32a84ed3da: Pull complete [2023-06-12T18:09:36.565Z] 4d19c01a9841: Pull complete [2023-06-12T18:09:36.565Z] 9325e15d5711: Pull complete [2023-06-12T18:09:38.466Z] 556b6ee489ea: Pull complete [2023-06-12T18:09:39.401Z] c5a4b2cf53e6: Pull complete [2023-06-12T18:09:39.401Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-12T18:09:39.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-12T18:09:39.401Z] ---> c4be618373d6 [2023-06-12T18:09:39.401Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:09:42.694Z] ---> Running in fa19ced8ac74 [2023-06-12T18:09:42.962Z] Removing intermediate container fa19ced8ac74 [2023-06-12T18:09:42.962Z] ---> 05522462e5d2 [2023-06-12T18:09:42.962Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:09:42.962Z] ---> Running in 1c33276d0c7d [2023-06-12T18:09:42.962Z] Removing intermediate container 1c33276d0c7d [2023-06-12T18:09:42.962Z] ---> b0feab412ad9 [2023-06-12T18:09:42.962Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:09:42.962Z] ---> Running in 47b7a3868a1e [2023-06-12T18:09:43.220Z] Removing intermediate container 47b7a3868a1e [2023-06-12T18:09:43.220Z] ---> c5273bfadb44 [2023-06-12T18:09:43.220Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:09:43.220Z] ---> Running in bb11a5d83013 [2023-06-12T18:09:43.220Z] Removing intermediate container bb11a5d83013 [2023-06-12T18:09:43.220Z] ---> 73e6cba4871d [2023-06-12T18:09:43.220Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:09:43.220Z] ---> Running in ea25540dd380 [2023-06-12T18:09:43.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:09:43.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:09:43.996Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:09:43.996Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:09:43.996Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:09:43.996Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:09:43.996Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:09:43.996Z] OK: 269 MiB in 57 packages [2023-06-12T18:09:44.565Z] Removing intermediate container ea25540dd380 [2023-06-12T18:09:44.565Z] ---> a73d6b64a726 [2023-06-12T18:09:44.565Z] Step 8/12 : WORKDIR /device-rest-go [2023-06-12T18:09:44.565Z] ---> Running in d2f72fa9da80 [2023-06-12T18:09:44.565Z] Removing intermediate container d2f72fa9da80 [2023-06-12T18:09:44.565Z] ---> 2b36ef7d00d9 [2023-06-12T18:09:44.565Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:09:44.825Z] ---> 5155171c3176 [2023-06-12T18:09:44.825Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:09:44.825Z] ---> Running in 3e804943cf18 [2023-06-12T18:09:45.997Z] Still waiting to schedule task [2023-06-12T18:09:45.997Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-12T18:10:11.403Z] Removing intermediate container 3e804943cf18 [2023-06-12T18:10:11.403Z] ---> aedb2bb7d732 [2023-06-12T18:10:11.403Z] Step 11/12 : COPY . . [2023-06-12T18:10:11.403Z] ---> d25498a7e57f [2023-06-12T18:10:11.403Z] Step 12/12 : RUN $MAKE [2023-06-12T18:10:11.403Z] ---> Running in 1e425456a39c [2023-06-12T18:10:11.403Z] noop [2023-06-12T18:10:11.403Z] Removing intermediate container 1e425456a39c [2023-06-12T18:10:11.403Z] ---> 55b8522b8186 [2023-06-12T18:10:11.403Z] Successfully built 55b8522b8186 [2023-06-12T18:10:11.403Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:11.710Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:10:11.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:10:11.778Z] prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container [2023-06-12T18:10:11.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-12T18:10:12.173Z] $ docker top 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:10:12.514Z] + go version [2023-06-12T18:10:12.514Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-12T18:10:12.526Z] $ docker stop --time=1 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa [2023-06-12T18:10:13.757Z] $ docker rm -f --volumes 54a5f5cfbeb834f2949de492556255018bc3a0596ab619715f522db211c74bfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:14.164Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-12T18:10:14.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:10:14.239Z] prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container [2023-06-12T18:10:14.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-12T18:10:14.617Z] $ docker top f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:10:14.967Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:10:15.265Z] + make test [2023-06-12T18:10:15.265Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:10:20.529Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-06-12T18:10:30.494Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-06-12T18:10:30.494Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements [2023-06-12T18:10:35.954Z] go vet ./... [2023-06-12T18:10:39.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:10:39.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:10:39.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:10:39.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:10:39.262Z] $ docker stop --time=1 f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d [2023-06-12T18:10:42.620Z] $ docker rm -f --volumes f6700921aea16358258d527a52a36e9824e567151b3411d60683fa3380fec99d [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:10:43.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:10:43.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-06-12T18:10:43.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:10:43.949Z] + ls -al . [2023-06-12T18:10:43.949Z] total 184 [2023-06-12T18:10:43.949Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 18:10 . [2023-06-12T18:10:43.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 .. [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:09 .dockerignore [2023-06-12T18:10:43.949Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:09 .git [2023-06-12T18:10:43.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 .github [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:09 .gitignore [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:09 .golangci.yml [2023-06-12T18:10:43.949Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:09 .semver [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:09 Attribution.txt [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:09 CHANGELOG.md [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:09 Dockerfile [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:09 GOVERNANCE.md [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:09 Jenkinsfile [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:09 LICENSE [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:09 Makefile [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:09 OWNERS.md [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:09 README.md [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 18:09 VERSION [2023-06-12T18:10:43.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 bin [2023-06-12T18:10:43.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:09 cmd [2023-06-12T18:10:43.949Z] -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:10 coverage.out [2023-06-12T18:10:43.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:09 driver [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:09 go.mod [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:09 go.sum [2023-06-12T18:10:43.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:09 snap [2023-06-12T18:10:43.949Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:10:44.272Z] + 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=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 --label arch=amd64 --label version=0.0.0 . [2023-06-12T18:10:44.272Z] Sending build context to Docker daemon 10.92MB [2023-06-12T18:10:44.272Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:10:44.272Z] Step 2/25 : FROM ${BASE} AS builder [2023-06-12T18:10:44.272Z] ---> 55b8522b8186 [2023-06-12T18:10:44.272Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:10:44.531Z] ---> Running in 93a7748cbf5e [2023-06-12T18:10:44.531Z] Removing intermediate container 93a7748cbf5e [2023-06-12T18:10:44.531Z] ---> c9f7b6beae0a [2023-06-12T18:10:44.531Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:10:44.531Z] ---> Running in 1cb67b24696b [2023-06-12T18:10:44.531Z] Removing intermediate container 1cb67b24696b [2023-06-12T18:10:44.531Z] ---> 30e1548a426c [2023-06-12T18:10:44.531Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:10:44.531Z] ---> Running in 8f6aebb5e377 [2023-06-12T18:10:44.531Z] Removing intermediate container 8f6aebb5e377 [2023-06-12T18:10:44.531Z] ---> 8db65bc761d5 [2023-06-12T18:10:44.531Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:10:44.790Z] ---> Running in 572c3597c5a3 [2023-06-12T18:10:44.790Z] Removing intermediate container 572c3597c5a3 [2023-06-12T18:10:44.790Z] ---> a679405b4a7e [2023-06-12T18:10:44.790Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:10:44.790Z] ---> Running in 56abd704cbf0 [2023-06-12T18:10:45.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:10:45.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:10:45.307Z] OK: 269 MiB in 57 packages [2023-06-12T18:10:45.566Z] Removing intermediate container 56abd704cbf0 [2023-06-12T18:10:45.566Z] ---> 3586ca5546cc [2023-06-12T18:10:45.566Z] Step 8/25 : WORKDIR /device-rest-go [2023-06-12T18:10:45.566Z] ---> Running in c6a445bcabc9 [2023-06-12T18:10:45.566Z] Removing intermediate container c6a445bcabc9 [2023-06-12T18:10:45.566Z] ---> 5900b6c60060 [2023-06-12T18:10:45.566Z] Step 9/25 : COPY go.mod vendor* ./ [2023-06-12T18:10:45.825Z] ---> fe72cc47288c [2023-06-12T18:10:45.825Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:10:45.825Z] ---> Running in 3f62c9665841 [2023-06-12T18:10:46.766Z] Removing intermediate container 3f62c9665841 [2023-06-12T18:10:46.766Z] ---> ab0850fa549b [2023-06-12T18:10:46.766Z] Step 11/25 : COPY . . [2023-06-12T18:10:47.025Z] ---> fbaefe211275 [2023-06-12T18:10:47.025Z] Step 12/25 : RUN $MAKE [2023-06-12T18:10:47.025Z] ---> Running in dedb872d1c92 [2023-06-12T18:10:47.284Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-06-12T18:11:05.353Z] Removing intermediate container dedb872d1c92 [2023-06-12T18:11:05.353Z] ---> 17cbbffb6104 [2023-06-12T18:11:05.353Z] Step 13/25 : FROM alpine:3.17 [2023-06-12T18:11:05.353Z] 3.17: Pulling from library/alpine [2023-06-12T18:11:05.353Z] f56be85fc22e: Already exists [2023-06-12T18:11:05.353Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:11:05.353Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:11:05.353Z] ---> 9ed4aefc74f6 [2023-06-12T18:11:05.353Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T18:11:05.353Z] ---> Running in 5587bb3701f9 [2023-06-12T18:11:05.353Z] Removing intermediate container 5587bb3701f9 [2023-06-12T18:11:05.353Z] ---> 8b0892faee7f [2023-06-12T18:11:05.353Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-06-12T18:11:05.353Z] ---> Running in 1f2d45c799d1 [2023-06-12T18:11:05.353Z] Removing intermediate container 1f2d45c799d1 [2023-06-12T18:11:05.353Z] ---> 323c5700db63 [2023-06-12T18:11:05.353Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:11:05.353Z] ---> Running in b7b7b481159e [2023-06-12T18:11:05.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:05.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-12T18:11:05.612Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:11:05.612Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:11:05.612Z] OK: 7 MiB in 16 packages [2023-06-12T18:11:06.178Z] Removing intermediate container b7b7b481159e [2023-06-12T18:11:06.178Z] ---> f2b8567ae54f [2023-06-12T18:11:06.178Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-06-12T18:11:06.744Z] ---> dd72eddd9c51 [2023-06-12T18:11:06.744Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-06-12T18:11:06.744Z] ---> 44cb7cf1c0ad [2023-06-12T18:11:06.744Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-06-12T18:11:07.002Z] ---> 58fd788f636e [2023-06-12T18:11:07.002Z] Step 20/25 : EXPOSE 59986 [2023-06-12T18:11:07.002Z] ---> Running in 4bbd925654ed [2023-06-12T18:11:07.002Z] Removing intermediate container 4bbd925654ed [2023-06-12T18:11:07.002Z] ---> d075b5848bdc [2023-06-12T18:11:07.002Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-06-12T18:11:07.002Z] ---> Running in 21c46420b0ec [2023-06-12T18:11:07.002Z] Removing intermediate container 21c46420b0ec [2023-06-12T18:11:07.002Z] ---> 7fbefa377b8a [2023-06-12T18:11:07.002Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:11:07.002Z] ---> Running in 5a9b1058e9a5 [2023-06-12T18:11:07.260Z] Removing intermediate container 5a9b1058e9a5 [2023-06-12T18:11:07.260Z] ---> ab724275ebc4 [2023-06-12T18:11:07.260Z] Step 23/25 : LABEL arch=amd64 [2023-06-12T18:11:07.260Z] ---> Running in 72c013b12d83 [2023-06-12T18:11:07.260Z] Removing intermediate container 72c013b12d83 [2023-06-12T18:11:07.260Z] ---> d44b88fe3d99 [2023-06-12T18:11:07.260Z] Step 24/25 : LABEL git_sha=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [2023-06-12T18:11:07.260Z] ---> Running in 3000caa239cc [2023-06-12T18:11:07.260Z] Removing intermediate container 3000caa239cc [2023-06-12T18:11:07.260Z] ---> b5ec09c3027f [2023-06-12T18:11:07.260Z] Step 25/25 : LABEL version=0.0.0 [2023-06-12T18:11:07.260Z] ---> Running in 84b4233063bc [2023-06-12T18:11:07.519Z] Removing intermediate container 84b4233063bc [2023-06-12T18:11:07.519Z] ---> 92a74d672261 [2023-06-12T18:11:07.519Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:11:07.519Z] Successfully built 92a74d672261 [2023-06-12T18:11:07.519Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-06-12T18:11:07.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:07.973Z] [2023-06-12T18:11:07.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:11:08.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:08.288Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-12T18:11:08.288Z] 5eb5b503b376: Pulling fs layer [2023-06-12T18:11:08.288Z] 5c69ac0246d0: Pulling fs layer [2023-06-12T18:11:08.288Z] ec43610c2a17: Pulling fs layer [2023-06-12T18:11:08.288Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-12T18:11:08.288Z] 33b1e0a273af: Pulling fs layer [2023-06-12T18:11:08.288Z] 5d3b04190fa2: Pulling fs layer [2023-06-12T18:11:08.288Z] 2f39f015ded8: Pulling fs layer [2023-06-12T18:11:08.288Z] 33b1e0a273af: Waiting [2023-06-12T18:11:08.288Z] 5d3b04190fa2: Waiting [2023-06-12T18:11:08.288Z] 2f39f015ded8: Waiting [2023-06-12T18:11:08.288Z] 3a2ae6a8a46f: Waiting [2023-06-12T18:11:08.288Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-12T18:11:08.288Z] 3a2ae6a8a46f: Download complete [2023-06-12T18:11:08.288Z] ec43610c2a17: Verifying Checksum [2023-06-12T18:11:08.288Z] ec43610c2a17: Download complete [2023-06-12T18:11:08.288Z] 33b1e0a273af: Verifying Checksum [2023-06-12T18:11:08.288Z] 33b1e0a273af: Download complete [2023-06-12T18:11:08.288Z] 5d3b04190fa2: Verifying Checksum [2023-06-12T18:11:08.288Z] 5d3b04190fa2: Download complete [2023-06-12T18:11:08.545Z] 5eb5b503b376: Download complete [2023-06-12T18:11:09.488Z] 5eb5b503b376: Pull complete [2023-06-12T18:11:09.745Z] 5c69ac0246d0: Pull complete [2023-06-12T18:11:10.005Z] ec43610c2a17: Pull complete [2023-06-12T18:11:10.005Z] 3a2ae6a8a46f: Pull complete [2023-06-12T18:11:10.275Z] 33b1e0a273af: Pull complete [2023-06-12T18:11:10.275Z] 5d3b04190fa2: Pull complete [2023-06-12T18:11:14.466Z] 2f39f015ded8: Pull complete [2023-06-12T18:11:14.466Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-12T18:11:14.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:11:14.466Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:11:14.551Z] prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container [2023-06-12T18:11:14.591Z] $ 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/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:11:18.104Z] $ docker top 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:11:18.498Z] ---> job-cost.sh [2023-06-12T18:11:18.498Z] lf-activate-venv: SKIPPING [2023-06-12T18:11:18.498Z] INFO: No Stack... [2023-06-12T18:11:18.758Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:11:19.330Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:11:19.623Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv [2023-06-12T18:11:19.623Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:11:19.638Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [2023-06-12T18:11:19.648Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] did not exist. Created. [2023-06-12T18:11:19.649Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:11:19.955Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-12T18:11:19.984Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:11:19.991Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:11:20.010Z] $ docker stop --time=1 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 [2023-06-12T18:11:21.160Z] $ docker rm -f --volumes 9c401177fcd62d4674b1b778cea9911eab20b82e1408bbd773d76cc26d722544 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-12T18:12:14.341Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18481 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws [2023-06-12T18:12:14.354Z] Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout [2023-06-12T18:12:14.380Z] The recommended git tool is: git [2023-06-12T18:12:19.430Z] using credential edgex-jenkins-ssh [2023-06-12T18:12:19.455Z] Cloning the remote Git repository [2023-06-12T18:12:19.497Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-06-12T18:12:19.584Z] > git init /w/workspace/device-rest-go/13 # timeout=10 [2023-06-12T18:12:19.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-06-12T18:12:19.721Z] > git --version # timeout=10 [2023-06-12T18:12:19.742Z] > git --version # 'git version 2.25.1' [2023-06-12T18:12:19.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T18:12:19.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:12:21.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-06-12T18:12:21.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-12T18:12:22.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-06-12T18:12:22.881Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-06-12T18:12:22.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T18:12:22.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-12T18:12:23.360Z] Merging remotes/origin/main commit ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e into PR head commit 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [2023-06-12T18:12:23.648Z] Merge succeeded, producing 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [2023-06-12T18:12:23.648Z] Checking out Revision 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 (PR-318) [2023-06-12T18:12:24.154Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [2023-06-12T18:12:23.383Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T18:12:23.459Z] > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 [2023-06-12T18:12:23.546Z] > git remote # timeout=10 [2023-06-12T18:12:23.569Z] > git config --get remote.origin.url # timeout=10 [2023-06-12T18:12:23.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-12T18:12:23.602Z] > git merge ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 [2023-06-12T18:12:23.631Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-12T18:12:23.658Z] > git config core.sparsecheckout # timeout=10 [2023-06-12T18:12:23.675Z] > git checkout -f 98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:12:25.083Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-12T18:12:25.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:12:25.083Z] Dload Upload Total Spent Left Speed [2023-06-12T18:12:25.083Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-06-12T18:12:25.735Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-12T18:12:26.071Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-12T18:12:26.071Z] + sudo tee /etc/docker/daemon.new [2023-06-12T18:12:26.071Z] { [2023-06-12T18:12:26.071Z] "registry-mirrors": [ [2023-06-12T18:12:26.071Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-12T18:12:26.071Z] ], [2023-06-12T18:12:26.071Z] "bip": "10.250.0.254/24", [2023-06-12T18:12:26.071Z] "hosts": [ [2023-06-12T18:12:26.071Z] "tcp://0.0.0.0:5555", [2023-06-12T18:12:26.071Z] "unix:///var/run/docker.sock" [2023-06-12T18:12:26.071Z] ], [2023-06-12T18:12:26.071Z] "mtu": 1458, [2023-06-12T18:12:26.071Z] "selinux-enabled": true, [2023-06-12T18:12:26.071Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-12T18:12:26.071Z] } [Pipeline] sh [2023-06-12T18:12:26.404Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-12T18:12:26.730Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:12:45.001Z] provisioning config files... [2023-06-12T18:12:45.032Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config13516898100896693614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:12:45.396Z] ---> docker-login.sh [2023-06-12T18:12:45.396Z] nexus3.edgexfoundry.org:10001 [2023-06-12T18:12:45.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:12:45.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:12:45.935Z] Configure a credential helper to remove this warning. See [2023-06-12T18:12:45.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:12:45.935Z] [2023-06-12T18:12:45.935Z] Login Succeeded [2023-06-12T18:12:45.935Z] nexus3.edgexfoundry.org:10002 [2023-06-12T18:12:46.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:12:46.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:12:46.476Z] Configure a credential helper to remove this warning. See [2023-06-12T18:12:46.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:12:46.476Z] [2023-06-12T18:12:46.476Z] Login Succeeded [2023-06-12T18:12:46.476Z] nexus3.edgexfoundry.org:10003 [2023-06-12T18:12:46.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:12:46.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:12:46.748Z] Configure a credential helper to remove this warning. See [2023-06-12T18:12:46.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:12:46.748Z] [2023-06-12T18:12:46.748Z] Login Succeeded [2023-06-12T18:12:46.748Z] nexus3.edgexfoundry.org:10004 [2023-06-12T18:12:47.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:12:47.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:12:47.018Z] Configure a credential helper to remove this warning. See [2023-06-12T18:12:47.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:12:47.018Z] [2023-06-12T18:12:47.018Z] Login Succeeded [2023-06-12T18:12:47.018Z] docker.io [2023-06-12T18:12:47.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-12T18:12:47.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-12T18:12:47.560Z] Configure a credential helper to remove this warning. See [2023-06-12T18:12:47.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-12T18:12:47.560Z] [2023-06-12T18:12:47.560Z] Login Succeeded [2023-06-12T18:12:47.560Z] ---> docker-login.sh ends [Pipeline] } [2023-06-12T18:12:47.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-12T18:12:47.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:12:47.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-12T18:12:47.857Z] ========================================================= [2023-06-12T18:12:47.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-12T18:12:47.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:12:48.203Z] + 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-06-12T18:12:48.203Z] Sending build context to Docker daemon 141.8kB [2023-06-12T18:12:48.474Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:12:48.474Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-12T18:12:48.474Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-12T18:12:48.474Z] c41833b44d91: Pulling fs layer [2023-06-12T18:12:48.474Z] ed15518f5707: Pulling fs layer [2023-06-12T18:12:48.474Z] feae8fd75edb: Pulling fs layer [2023-06-12T18:12:48.474Z] 242c74f7c9fa: Pulling fs layer [2023-06-12T18:12:48.474Z] 3cdef696dda3: Pulling fs layer [2023-06-12T18:12:48.474Z] 2ced38df9373: Pulling fs layer [2023-06-12T18:12:48.474Z] 58f1dce35555: Pulling fs layer [2023-06-12T18:12:48.474Z] 3cdef696dda3: Waiting [2023-06-12T18:12:48.474Z] 242c74f7c9fa: Waiting [2023-06-12T18:12:48.474Z] 2ced38df9373: Waiting [2023-06-12T18:12:48.474Z] 58f1dce35555: Waiting [2023-06-12T18:12:48.745Z] ed15518f5707: Verifying Checksum [2023-06-12T18:12:48.745Z] ed15518f5707: Download complete [2023-06-12T18:12:48.745Z] 242c74f7c9fa: Verifying Checksum [2023-06-12T18:12:48.745Z] 242c74f7c9fa: Download complete [2023-06-12T18:12:48.745Z] 3cdef696dda3: Verifying Checksum [2023-06-12T18:12:48.745Z] 3cdef696dda3: Download complete [2023-06-12T18:12:48.745Z] c41833b44d91: Verifying Checksum [2023-06-12T18:12:48.745Z] c41833b44d91: Download complete [2023-06-12T18:12:49.728Z] c41833b44d91: Pull complete [2023-06-12T18:12:50.330Z] 58f1dce35555: Verifying Checksum [2023-06-12T18:12:50.330Z] 58f1dce35555: Download complete [2023-06-12T18:12:51.306Z] feae8fd75edb: Verifying Checksum [2023-06-12T18:12:51.306Z] feae8fd75edb: Download complete [2023-06-12T18:12:51.306Z] 2ced38df9373: Download complete [2023-06-12T18:12:53.310Z] ed15518f5707: Pull complete [2023-06-12T18:13:05.657Z] feae8fd75edb: Pull complete [2023-06-12T18:13:05.657Z] 242c74f7c9fa: Pull complete [2023-06-12T18:13:05.657Z] 3cdef696dda3: Pull complete [2023-06-12T18:13:12.356Z] 2ced38df9373: Pull complete [2023-06-12T18:13:14.955Z] 58f1dce35555: Pull complete [2023-06-12T18:13:14.955Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-12T18:13:14.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-12T18:13:14.955Z] ---> fadd8f120f05 [2023-06-12T18:13:14.955Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:13:16.376Z] ---> Running in 099337b533c5 [2023-06-12T18:13:16.651Z] Removing intermediate container 099337b533c5 [2023-06-12T18:13:16.651Z] ---> 393255989976 [2023-06-12T18:13:16.651Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:13:16.923Z] ---> Running in d82553085e1e [2023-06-12T18:13:17.200Z] Removing intermediate container d82553085e1e [2023-06-12T18:13:17.200Z] ---> 0aa927a62b86 [2023-06-12T18:13:17.200Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:13:17.200Z] ---> Running in 23a124fae437 [2023-06-12T18:13:17.471Z] Removing intermediate container 23a124fae437 [2023-06-12T18:13:17.471Z] ---> 82f6b0b1ae7d [2023-06-12T18:13:17.471Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:13:17.471Z] ---> Running in 93abd7310256 [2023-06-12T18:13:18.061Z] Removing intermediate container 93abd7310256 [2023-06-12T18:13:18.061Z] ---> fd9dc07bf6f5 [2023-06-12T18:13:18.061Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:13:18.061Z] ---> Running in e8128152efbc [2023-06-12T18:13:19.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:13:19.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:13:20.719Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-12T18:13:20.719Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-12T18:13:20.719Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-12T18:13:20.719Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-12T18:13:20.988Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:13:20.988Z] OK: 268 MiB in 57 packages [2023-06-12T18:13:21.954Z] Removing intermediate container e8128152efbc [2023-06-12T18:13:21.954Z] ---> 47f248274707 [2023-06-12T18:13:21.954Z] Step 8/12 : WORKDIR /device-rest-go [2023-06-12T18:13:21.954Z] ---> Running in bed51e752d11 [2023-06-12T18:13:22.223Z] Removing intermediate container bed51e752d11 [2023-06-12T18:13:22.223Z] ---> dc3d922ceca6 [2023-06-12T18:13:22.223Z] Step 9/12 : COPY go.mod vendor* ./ [2023-06-12T18:13:22.829Z] ---> bebe23907e52 [2023-06-12T18:13:22.829Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:13:22.829Z] ---> Running in 1a8b532dd1ec [2023-06-12T18:14:30.731Z] Removing intermediate container 1a8b532dd1ec [2023-06-12T18:14:30.731Z] ---> fc61da0de187 [2023-06-12T18:14:30.731Z] Step 11/12 : COPY . . [2023-06-12T18:14:30.731Z] ---> 601c63f0c5cc [2023-06-12T18:14:30.731Z] Step 12/12 : RUN $MAKE [2023-06-12T18:14:30.731Z] ---> Running in 0c1581bd0eb9 [2023-06-12T18:14:30.731Z] noop [2023-06-12T18:14:30.731Z] Removing intermediate container 0c1581bd0eb9 [2023-06-12T18:14:30.731Z] ---> 5e61a12d60a4 [2023-06-12T18:14:30.731Z] Successfully built 5e61a12d60a4 [2023-06-12T18:14:30.731Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:14:31.082Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:14:31.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:14:31.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container [2023-06-12T18:14:31.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-12T18:14:32.595Z] $ docker top fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:14:33.435Z] + go version [2023-06-12T18:14:33.435Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-12T18:14:33.456Z] $ docker stop --time=1 fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 [2023-06-12T18:14:35.068Z] $ docker rm -f --volumes fead115e5d1f6e77a0e614591d9d31fbb3e908184def42b85c67abb5a1fd6cb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:14:35.586Z] + docker inspect -f . ci-base-image-arm64 [2023-06-12T18:14:35.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:14:35.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container [2023-06-12T18:14:35.838Z] $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-12T18:14:36.996Z] $ docker top 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:14:37.520Z] + git config --global --add safe.directory /w/workspace/device-rest-go/13 [Pipeline] fileExists [Pipeline] sh [2023-06-12T18:14:38.170Z] + make test [2023-06-12T18:14:38.170Z] go test ./... -coverprofile=coverage.out ./... [2023-06-12T18:15:10.413Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-06-12T18:17:02.087Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-06-12T18:17:02.087Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-06-12T18:17:02.087Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-12T18:17:02.087Z] go vet ./... [2023-06-12T18:17:24.143Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-12T18:17:24.143Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-12T18:17:24.143Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-06-12T18:17:24.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-12T18:17:24.178Z] $ docker stop --time=1 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 [2023-06-12T18:17:26.030Z] $ docker rm -f --volumes 5f191f9437e21ea909b71661cf058aaf2bdf92788668c48d92fde4f1908c8eb8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-12T18:17:27.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-12T18:17:27.183Z] Warning: overwriting stash ‘coverage-report’ [2023-06-12T18:17:27.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-12T18:17:27.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-12T18:17:28.300Z] + ls -al . [2023-06-12T18:17:28.300Z] total 180 [2023-06-12T18:17:28.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:14 . [2023-06-12T18:17:28.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:12 .. [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:12 .dockerignore [2023-06-12T18:17:28.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:12 .git [2023-06-12T18:17:28.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:12 .github [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:12 .gitignore [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:12 .golangci.yml [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:12 Attribution.txt [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:12 CHANGELOG.md [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:12 Dockerfile [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:12 GOVERNANCE.md [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:12 Jenkinsfile [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:12 LICENSE [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:12 Makefile [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:12 OWNERS.md [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:12 README.md [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 18:09 VERSION [2023-06-12T18:17:28.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:12 bin [2023-06-12T18:17:28.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:12 cmd [2023-06-12T18:17:28.300Z] -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:16 coverage.out [2023-06-12T18:17:28.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:12 driver [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:12 go.mod [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:12 go.sum [2023-06-12T18:17:28.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:12 snap [2023-06-12T18:17:28.300Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:17:28.638Z] + 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=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 --label arch=arm64 --label version=0.0.0 . [2023-06-12T18:17:28.638Z] Sending build context to Docker daemon 157.2kB [2023-06-12T18:17:28.905Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-06-12T18:17:28.905Z] Step 2/25 : FROM ${BASE} AS builder [2023-06-12T18:17:28.905Z] ---> 5e61a12d60a4 [2023-06-12T18:17:28.905Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-06-12T18:17:28.905Z] ---> Running in fdee618ce30b [2023-06-12T18:17:29.172Z] Removing intermediate container fdee618ce30b [2023-06-12T18:17:29.172Z] ---> 3c56f1170f53 [2023-06-12T18:17:29.172Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-12T18:17:29.439Z] ---> Running in cde487c7a56b [2023-06-12T18:17:29.439Z] Removing intermediate container cde487c7a56b [2023-06-12T18:17:29.439Z] ---> 9ed4e001fc73 [2023-06-12T18:17:29.439Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-06-12T18:17:29.706Z] ---> Running in e7ed647519cc [2023-06-12T18:17:29.973Z] Removing intermediate container e7ed647519cc [2023-06-12T18:17:29.973Z] ---> 935d0e361674 [2023-06-12T18:17:29.973Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-06-12T18:17:29.973Z] ---> Running in dd11742ec4ea [2023-06-12T18:17:30.241Z] Removing intermediate container dd11742ec4ea [2023-06-12T18:17:30.241Z] ---> 1576dbaaf536 [2023-06-12T18:17:30.241Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-12T18:17:30.241Z] ---> Running in fa81902f6b1e [2023-06-12T18:17:31.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:17:31.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:17:33.204Z] OK: 268 MiB in 57 packages [2023-06-12T18:17:33.791Z] Removing intermediate container fa81902f6b1e [2023-06-12T18:17:33.791Z] ---> 9affb2b1763a [2023-06-12T18:17:33.791Z] Step 8/25 : WORKDIR /device-rest-go [2023-06-12T18:17:33.791Z] ---> Running in 3d704f17a1f5 [2023-06-12T18:17:34.059Z] Removing intermediate container 3d704f17a1f5 [2023-06-12T18:17:34.059Z] ---> 93d9710e2663 [2023-06-12T18:17:34.059Z] Step 9/25 : COPY go.mod vendor* ./ [2023-06-12T18:17:35.469Z] ---> 3477c904f0df [2023-06-12T18:17:35.469Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-12T18:17:35.469Z] ---> Running in 1e6ba0bc4af9 [2023-06-12T18:17:38.057Z] Removing intermediate container 1e6ba0bc4af9 [2023-06-12T18:17:38.057Z] ---> 242906efd782 [2023-06-12T18:17:38.057Z] Step 11/25 : COPY . . [2023-06-12T18:17:38.645Z] ---> 677bc008cf8c [2023-06-12T18:17:38.645Z] Step 12/25 : RUN $MAKE [2023-06-12T18:17:38.645Z] ---> Running in 96071d31f1a7 [2023-06-12T18:17:39.606Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-06-12T18:20:01.354Z] Removing intermediate container 96071d31f1a7 [2023-06-12T18:20:01.354Z] ---> db6bf05dc4b5 [2023-06-12T18:20:01.354Z] Step 13/25 : FROM alpine:3.17 [2023-06-12T18:20:01.354Z] 3.17: Pulling from library/alpine [2023-06-12T18:20:01.354Z] c41833b44d91: Already exists [2023-06-12T18:20:01.354Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-06-12T18:20:01.354Z] Status: Downloaded newer image for alpine:3.17 [2023-06-12T18:20:01.354Z] ---> 51e60588ff2c [2023-06-12T18:20:01.354Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-06-12T18:20:01.354Z] ---> Running in ff64bf484bb0 [2023-06-12T18:20:01.354Z] Removing intermediate container ff64bf484bb0 [2023-06-12T18:20:01.354Z] ---> 645518a4ae5a [2023-06-12T18:20:01.354Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-06-12T18:20:01.354Z] ---> Running in 7a089c4ec9ea [2023-06-12T18:20:01.354Z] Removing intermediate container 7a089c4ec9ea [2023-06-12T18:20:01.354Z] ---> 0d24244c71f6 [2023-06-12T18:20:01.354Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-06-12T18:20:01.354Z] ---> Running in de18013c5f9d [2023-06-12T18:20:01.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-12T18:20:01.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-12T18:20:01.354Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-06-12T18:20:01.354Z] Executing busybox-1.35.0-r29.trigger [2023-06-12T18:20:01.354Z] OK: 8 MiB in 16 packages [2023-06-12T18:20:01.354Z] Removing intermediate container de18013c5f9d [2023-06-12T18:20:01.354Z] ---> d9ab39653f7e [2023-06-12T18:20:01.354Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-06-12T18:20:01.354Z] ---> 207540eb9961 [2023-06-12T18:20:01.354Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-06-12T18:20:01.354Z] ---> 9a2cb4cf3293 [2023-06-12T18:20:01.354Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-06-12T18:20:01.354Z] ---> 95bb62a50f01 [2023-06-12T18:20:01.354Z] Step 20/25 : EXPOSE 59986 [2023-06-12T18:20:01.354Z] ---> Running in d2236f7dd6d9 [2023-06-12T18:20:01.354Z] Removing intermediate container d2236f7dd6d9 [2023-06-12T18:20:01.354Z] ---> 24f2f0028fe3 [2023-06-12T18:20:01.354Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-06-12T18:20:01.354Z] ---> Running in 451bfa093515 [2023-06-12T18:20:01.354Z] Removing intermediate container 451bfa093515 [2023-06-12T18:20:01.354Z] ---> 56e573dff1d5 [2023-06-12T18:20:01.354Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-06-12T18:20:01.354Z] ---> Running in 032f352728ec [2023-06-12T18:20:01.354Z] Removing intermediate container 032f352728ec [2023-06-12T18:20:01.354Z] ---> 2a0d286e6e58 [2023-06-12T18:20:01.354Z] Step 23/25 : LABEL arch=arm64 [2023-06-12T18:20:01.354Z] ---> Running in 6cae7be061bf [2023-06-12T18:20:01.354Z] Removing intermediate container 6cae7be061bf [2023-06-12T18:20:01.354Z] ---> 70ff0eb65b35 [2023-06-12T18:20:01.354Z] Step 24/25 : LABEL git_sha=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [2023-06-12T18:20:01.354Z] ---> Running in c8377194fba5 [2023-06-12T18:20:01.354Z] Removing intermediate container c8377194fba5 [2023-06-12T18:20:01.354Z] ---> 68f00e0e2e25 [2023-06-12T18:20:01.354Z] Step 25/25 : LABEL version=0.0.0 [2023-06-12T18:20:01.354Z] ---> Running in c80758506bad [2023-06-12T18:20:01.354Z] Removing intermediate container c80758506bad [2023-06-12T18:20:01.354Z] ---> 59e5be90527c [2023-06-12T18:20:01.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-06-12T18:20:01.621Z] Successfully built 59e5be90527c [2023-06-12T18:20:01.621Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:20:02.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:20:02.061Z] [2023-06-12T18:20:02.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:20:02.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:20:02.395Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-12T18:20:02.395Z] 8998bd30e6a1: Pulling fs layer [2023-06-12T18:20:02.395Z] 04944245beec: Pulling fs layer [2023-06-12T18:20:02.395Z] 699f458cf7ca: Pulling fs layer [2023-06-12T18:20:02.395Z] 765212b225bb: Pulling fs layer [2023-06-12T18:20:02.395Z] f23df028b6ca: Pulling fs layer [2023-06-12T18:20:02.395Z] d65c8cfc05b1: Pulling fs layer [2023-06-12T18:20:02.395Z] 2437ff75d9bd: Pulling fs layer [2023-06-12T18:20:02.395Z] 765212b225bb: Waiting [2023-06-12T18:20:02.395Z] d65c8cfc05b1: Waiting [2023-06-12T18:20:02.395Z] 2437ff75d9bd: Waiting [2023-06-12T18:20:02.395Z] f23df028b6ca: Waiting [2023-06-12T18:20:02.662Z] 04944245beec: Verifying Checksum [2023-06-12T18:20:02.662Z] 04944245beec: Download complete [2023-06-12T18:20:02.662Z] 765212b225bb: Verifying Checksum [2023-06-12T18:20:02.662Z] 765212b225bb: Download complete [2023-06-12T18:20:02.662Z] f23df028b6ca: Verifying Checksum [2023-06-12T18:20:02.662Z] f23df028b6ca: Download complete [2023-06-12T18:20:02.662Z] d65c8cfc05b1: Verifying Checksum [2023-06-12T18:20:02.662Z] d65c8cfc05b1: Download complete [2023-06-12T18:20:02.662Z] 699f458cf7ca: Verifying Checksum [2023-06-12T18:20:02.662Z] 699f458cf7ca: Download complete [2023-06-12T18:20:03.246Z] 8998bd30e6a1: Verifying Checksum [2023-06-12T18:20:03.246Z] 8998bd30e6a1: Download complete [2023-06-12T18:20:05.196Z] 2437ff75d9bd: Verifying Checksum [2023-06-12T18:20:05.196Z] 2437ff75d9bd: Download complete [2023-06-12T18:20:07.144Z] 8998bd30e6a1: Pull complete [2023-06-12T18:20:07.412Z] 04944245beec: Pull complete [2023-06-12T18:20:08.823Z] 699f458cf7ca: Pull complete [2023-06-12T18:20:09.093Z] 765212b225bb: Pull complete [2023-06-12T18:20:09.679Z] f23df028b6ca: Pull complete [2023-06-12T18:20:09.950Z] d65c8cfc05b1: Pull complete [2023-06-12T18:20:25.064Z] 2437ff75d9bd: Pull complete [2023-06-12T18:20:25.064Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-12T18:20:25.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-12T18:20:25.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:20:25.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-18481 does not seem to be running inside a container [2023-06-12T18:20:25.373Z] $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-12T18:20:28.076Z] $ docker top c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:28.942Z] ---> job-cost.sh [2023-06-12T18:20:28.942Z] lf-activate-venv: SKIPPING [2023-06-12T18:20:28.942Z] INFO: No Stack... [2023-06-12T18:20:29.525Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-12T18:20:30.109Z] INFO: Archiving Costs [Pipeline] sh [2023-06-12T18:20:30.749Z] + cat /w/workspace/device-rest-go/13/archives/cost.csv [2023-06-12T18:20:30.749Z] + cut -d, -f6 [Pipeline] lock [2023-06-12T18:20:30.823Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [2023-06-12T18:20:30.829Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] did not exist. Created. [2023-06-12T18:20:30.829Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-12T18:20:31.486Z] /w/workspace/device-rest-go/13@tmp/durable-02d2e184/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-12T18:20:31.827Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-12T18:20:32.117Z] Warning: overwriting stash ‘stack-cost’ [2023-06-12T18:20:32.164Z] Stashed 1 file(s) [Pipeline] } [2023-06-12T18:20:32.171Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-12T18:20:32.187Z] $ docker stop --time=1 c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c [2023-06-12T18:20:33.709Z] $ docker rm -f --volumes c28bedafaa23df2ca82c13ad6233cde98cd61e7b62d1d504314285fdb2dd476c [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-06-12T18:20:34.078Z] provisioning config files... [2023-06-12T18:20:34.084Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config12094047763299873428tmp [Pipeline] { [Pipeline] sh [2023-06-12T18:20:34.380Z] + set +x [2023-06-12T18:20:34.380Z] + curl -s https://codecov.io/bash [2023-06-12T18:20:34.380Z] + bash -s -- [2023-06-12T18:20:34.380Z] [2023-06-12T18:20:34.380Z] _____ _ [2023-06-12T18:20:34.380Z] / ____| | | [2023-06-12T18:20:34.380Z] | | ___ __| | ___ ___ _____ __ [2023-06-12T18:20:34.380Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-12T18:20:34.380Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-12T18:20:34.380Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-12T18:20:34.380Z] Bash-1.0.6 [2023-06-12T18:20:34.380Z] [2023-06-12T18:20:34.380Z] [2023-06-12T18:20:34.380Z] ==> git version 2.25.1 found [2023-06-12T18:20:34.380Z] ==> 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-06-12T18:20:34.380Z] Release-Date: 2020-01-08 [2023-06-12T18:20:34.380Z] 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-06-12T18:20:34.380Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-12T18:20:34.380Z] ==> Jenkins CI detected. [2023-06-12T18:20:34.380Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-06-12T18:20:34.380Z] project root: . [2023-06-12T18:20:34.380Z] --> token set from env [2023-06-12T18:20:34.380Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-12T18:20:34.380Z] ==> Running gcov in . (disable via -X gcov) [2023-06-12T18:20:34.380Z] ==> Python coveragepy not found [2023-06-12T18:20:34.380Z] ==> Searching for coverage reports in: [2023-06-12T18:20:34.380Z] + . [2023-06-12T18:20:34.380Z] -> Found 1 reports [2023-06-12T18:20:34.380Z] ==> Detecting git/mercurial file structure [2023-06-12T18:20:34.638Z] ==> Reading reports [2023-06-12T18:20:34.639Z] + ./coverage.out bytes=14663 [2023-06-12T18:20:34.639Z] ==> Appending adjustments [2023-06-12T18:20:34.639Z] https://docs.codecov.io/docs/fixing-reports [2023-06-12T18:20:34.639Z] + Found adjustments [2023-06-12T18:20:34.639Z] ==> Gzipping contents [2023-06-12T18:20:34.639Z] 4.0K /tmp/codecov.pmd3qr.gz [2023-06-12T18:20:34.639Z] ==> Uploading reports [2023-06-12T18:20:34.639Z] url: https://codecov.io [2023-06-12T18:20:34.639Z] query: branch=PR-318&commit=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-06-12T18:20:34.639Z] -> Pinging Codecov [2023-06-12T18:20:34.639Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-06-12T18:20:34.639Z] -> Uploading to [2023-06-12T18:20:34.639Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-12/4E5D53B4F1F92C436F7061BF334D961C/98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6/09c8bd6d-d63d-489a-a3c2-4cc080dc344a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T182034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd828f62d3e55741a9326201f4229ff3a9aa4bcecdfa86fa9a9c631fb203adb0 [2023-06-12T18:20:34.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-12T18:20:34.639Z] Dload Upload Total Spent Left Speed [2023-06-12T18:20:34.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13422 --:--:-- --:--:-- --:--:-- 13494 [2023-06-12T18:20:34.897Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/98b78ce2fc921ccb6d442b4b8b18a7fa784d5aa6 [Pipeline] } [2023-06-12T18:20:34.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-06-12T18:20:35.606Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] [2023-06-12T18:20:35.606Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-06-12T18:20:35.606Z] total 16 [2023-06-12T18:20:35.606Z] drwxr-xr-x 3 root root 4096 Jun 12 18:11 . [2023-06-12T18:20:35.606Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:11 .. [2023-06-12T18:20:35.606Z] drwxr-xr-x 2 root root 4096 Jun 12 18:11 cost [2023-06-12T18:20:35.606Z] -rw-r--r-- 1 root root 87 Jun 12 18:11 cost.csv [2023-06-12T18:20:35.606Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-06-12T18:20:35.606Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-06-12T18:20:35.606Z] total 16 [2023-06-12T18:20:35.606Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:11 . [2023-06-12T18:20:35.606Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:11 .. [2023-06-12T18:20:35.606Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 18:11 cost [2023-06-12T18:20:35.606Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 12 18:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:35.897Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:36.755Z] ---> package-listing.sh [2023-06-12T18:20:36.755Z] ++ facter osfamily [2023-06-12T18:20:36.755Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-12T18:20:37.015Z] + OS_FAMILY=debian [2023-06-12T18:20:37.015Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 [2023-06-12T18:20:37.015Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-12T18:20:37.015Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-12T18:20:37.015Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-12T18:20:37.015Z] + PACKAGES=/tmp/packages_start.txt [2023-06-12T18:20:37.015Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-06-12T18:20:37.015Z] + PACKAGES=/tmp/packages_end.txt [2023-06-12T18:20:37.015Z] + case "${OS_FAMILY}" in [2023-06-12T18:20:37.015Z] + dpkg -l [2023-06-12T18:20:37.015Z] + grep '^ii' [2023-06-12T18:20:37.015Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-12T18:20:37.015Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-12T18:20:37.015Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-12T18:20:37.015Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-06-12T18:20:37.015Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [2023-06-12T18:20:37.015Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo [2023-06-12T18:20:37.026Z] 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/gexfoundry_device-rest-go_PR-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-12T18:20:37.304Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-12T18:20:37.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-12T18:20:37.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-12T18:20:37.937Z] prd-ubuntu20.04-docker-8c-8g-18479 does not seem to be running inside a container [2023-06-12T18:20:37.966Z] $ 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/gexfoundry_device-rest-go_PR-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-12T18:20:38.191Z] $ docker top 3a9d4ef8d86474f0fc43886886eae2ee6d71f025f95e2d4a7921662d986d2eed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-12T18:20:38.527Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-12T18:20:38.809Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-12T18:20:39.091Z] + ls /var/log/sa-host [2023-06-12T18:20:39.091Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-12T18:20:39.172Z] provisioning config files... [2023-06-12T18:20:39.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config8157450951787694755tmp [Pipeline] { [Pipeline] echo [2023-06-12T18:20:39.194Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:39.478Z] ---> create-netrc.sh [Pipeline] } [2023-06-12T18:20:39.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:39.829Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-12T18:20:39.837Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:40.125Z] ---> sudo-logs.sh [2023-06-12T18:20:40.125Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-12T18:20:40.147Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:40.429Z] ---> job-cost.sh [2023-06-12T18:20:40.429Z] lf-activate-venv: SKIPPING [2023-06-12T18:20:40.429Z] DEBUG: total: 0.2199999988079071 [2023-06-12T18:20:40.429Z] INFO: Retrieving Stack Cost... [2023-06-12T18:20:41.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-12T18:20:41.568Z] INFO: Archiving Costs [Pipeline] echo [2023-06-12T18:20:41.578Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-12T18:20:41.867Z] ---> logs-deploy.sh [2023-06-12T18:20:41.867Z] lf-activate-venv: SKIPPING [2023-06-12T18:20:41.867Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/13 [2023-06-12T18:20:41.867Z] INFO: archiving workspace using pattern(s): [2023-06-12T18:20:42.840Z] Archives upload complete. [2023-06-12T18:20:42.840Z] INFO: archiving logs to Nexus