Pull request #350 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c1d832aad727939ac1cb66317fdc055b29817d5+7254ae82036954a30da847ceb4fb6fc335c14613 (7144795409553db5e739bba4c82f689bb39c0da8) 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-ssh755114763432209299.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh9972508751532521192.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17343600033969621169.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-350/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14739257821083212898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh6697982047199101458.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-350/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-350/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17554878015235592179.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-8879’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8892 in /w/workspace/gexfoundry_device-rest-go_PR-350 [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-350 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 9c1d832aad727939ac1cb66317fdc055b29817d5 Merge succeeded, producing 9c1d832aad727939ac1cb66317fdc055b29817d5 Checking out Revision 9c1d832aad727939ac1cb66317fdc055b29817d5 (PR-350) Commit message: "build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage > 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/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c1d832aad727939ac1cb66317fdc055b29817d5 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c1d832aad727939ac1cb66317fdc055b29817d5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-11T23:06:07.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-11T23:06:07.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-11T23:06:07.566Z] ========================================================= [2023-10-11T23:06:07.566Z] EdgeX Global Pipelines Version Info [2023-10-11T23:06:07.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:08.304Z] ------------------- [2023-10-11T23:06:08.304Z] stable info: [2023-10-11T23:06:08.304Z] ------------------- [2023-10-11T23:06:08.304Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-11T23:06:08.304Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:06:08.304Z] Message: update stable to v1.0.254 [2023-10-11T23:06:08.873Z] ------------------- [2023-10-11T23:06:08.873Z] experimental info: [2023-10-11T23:06:08.873Z] ------------------- [2023-10-11T23:06:08.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-11T23:06:08.873Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:06:08.873Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-11T23:06:09.157Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-11T23:06:09.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-11T23:06:09.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-11T23:06:09.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-11T23:06:09.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-11T23:06:09.373Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-11T23:06:09.419Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-11T23:06:09.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-11T23:06:09.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-11T23:06:09.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-11T23:06:09.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-11T23:06:09.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-11T23:06:09.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-11T23:06:09.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-11T23:06:09.763Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T23:06:09.806Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T23:06:09.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:06:09.903Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:06:09.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-11T23:06:09.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-11T23:06:10.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-11T23:06:10.142Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-11T23:06:10.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-11T23:06:10.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-11T23:06:10.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-11T23:06:10.337Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-11T23:06:10.378Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-11T23:06:10.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-350 [Pipeline] echo [2023-10-11T23:06:10.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-350 [Pipeline] echo [2023-10-11T23:06:10.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-350 [Pipeline] echo [2023-10-11T23:06:10.589Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c1d832aad727939ac1cb66317fdc055b29817d5 [Pipeline] echo [2023-10-11T23:06:10.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c1d832 [Pipeline] echo [2023-10-11T23:06:10.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:06:10.842Z] provisioning config files... [2023-10-11T23:06:10.855Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/config13229922867018735687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:11.215Z] ---> docker-login.sh [2023-10-11T23:06:11.215Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:06:11.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:11.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:11.474Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:11.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:11.474Z] [2023-10-11T23:06:11.474Z] Login Succeeded [2023-10-11T23:06:11.474Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:06:11.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:11.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:11.734Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:11.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:11.734Z] [2023-10-11T23:06:11.734Z] Login Succeeded [2023-10-11T23:06:11.734Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:06:11.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:11.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:11.734Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:11.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:11.734Z] [2023-10-11T23:06:11.734Z] Login Succeeded [2023-10-11T23:06:11.734Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:06:11.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:11.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:11.734Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:11.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:11.734Z] [2023-10-11T23:06:11.734Z] Login Succeeded [2023-10-11T23:06:11.734Z] docker.io [2023-10-11T23:06:11.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.257Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.257Z] [2023-10-11T23:06:12.257Z] Login Succeeded [2023-10-11T23:06:12.257Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:06:12.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-11T23:06:12.930Z] + git rev-list -1 --merges 9c1d832aad727939ac1cb66317fdc055b29817d5~1..9c1d832aad727939ac1cb66317fdc055b29817d5 [Pipeline] echo [2023-10-11T23:06:13.000Z] -----------> git rev-list -1 --merges 9c1d832aad727939ac1cb66317fdc055b29817d5~1..9c1d832aad727939ac1cb66317fdc055b29817d5 9c1d832aad727939ac1cb66317fdc055b29817d5 [false] [Pipeline] sh [2023-10-11T23:06:13.306Z] + git log --format=format:%s -1 9c1d832aad727939ac1cb66317fdc055b29817d5 [Pipeline] echo [2023-10-11T23:06:13.345Z] ========================================================= [2023-10-11T23:06:13.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-11T23:06:13.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:06:13.778Z] + git log --format=format:%s -1 9c1d832aad727939ac1cb66317fdc055b29817d5 [Pipeline] echo [2023-10-11T23:06:13.812Z] [semverPrep] GIT_COMMIT: 9c1d832aad727939ac1cb66317fdc055b29817d5, Commit Message: build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0 [Pipeline] echo [2023-10-11T23:06:13.845Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-11T23:06:14.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.217Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-11T23:06:14.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-11T23:06:14.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:14.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:14.671Z] [2023-10-11T23:06:14.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:15.046Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:15.046Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-11T23:06:15.046Z] b85a868b505f: Pulling fs layer [2023-10-11T23:06:15.046Z] e2be974225ed: Pulling fs layer [2023-10-11T23:06:15.046Z] 339a4e72a1f5: Pulling fs layer [2023-10-11T23:06:15.046Z] 988bab9f4d93: Pulling fs layer [2023-10-11T23:06:15.046Z] 1469e6f7b9e6: Pulling fs layer [2023-10-11T23:06:15.046Z] eaf3925da568: Pulling fs layer [2023-10-11T23:06:15.046Z] bab4dde63d76: Pulling fs layer [2023-10-11T23:06:15.046Z] bde34c3a00c8: Pulling fs layer [2023-10-11T23:06:15.046Z] b352a97aabf1: Pulling fs layer [2023-10-11T23:06:15.046Z] 4872d77fe225: Pulling fs layer [2023-10-11T23:06:15.046Z] 5851b861e8e6: Pulling fs layer [2023-10-11T23:06:15.046Z] 988bab9f4d93: Waiting [2023-10-11T23:06:15.046Z] 1469e6f7b9e6: Waiting [2023-10-11T23:06:15.046Z] eaf3925da568: Waiting [2023-10-11T23:06:15.046Z] bab4dde63d76: Waiting [2023-10-11T23:06:15.046Z] 4872d77fe225: Waiting [2023-10-11T23:06:15.046Z] 5851b861e8e6: Waiting [2023-10-11T23:06:15.046Z] bde34c3a00c8: Waiting [2023-10-11T23:06:15.046Z] b352a97aabf1: Waiting [2023-10-11T23:06:15.046Z] e2be974225ed: Download complete [2023-10-11T23:06:15.046Z] 988bab9f4d93: Verifying Checksum [2023-10-11T23:06:15.046Z] 988bab9f4d93: Download complete [2023-10-11T23:06:15.046Z] 1469e6f7b9e6: Verifying Checksum [2023-10-11T23:06:15.046Z] 1469e6f7b9e6: Download complete [2023-10-11T23:06:15.046Z] 339a4e72a1f5: Verifying Checksum [2023-10-11T23:06:15.046Z] 339a4e72a1f5: Download complete [2023-10-11T23:06:15.046Z] eaf3925da568: Verifying Checksum [2023-10-11T23:06:15.046Z] eaf3925da568: Download complete [2023-10-11T23:06:15.306Z] bde34c3a00c8: Download complete [2023-10-11T23:06:15.306Z] b352a97aabf1: Download complete [2023-10-11T23:06:15.306Z] 4872d77fe225: Verifying Checksum [2023-10-11T23:06:15.306Z] 4872d77fe225: Download complete [2023-10-11T23:06:15.306Z] 5851b861e8e6: Download complete [2023-10-11T23:06:15.306Z] b85a868b505f: Verifying Checksum [2023-10-11T23:06:15.306Z] b85a868b505f: Download complete [2023-10-11T23:06:15.624Z] bab4dde63d76: Verifying Checksum [2023-10-11T23:06:15.624Z] bab4dde63d76: Download complete [2023-10-11T23:06:16.558Z] b85a868b505f: Pull complete [2023-10-11T23:06:16.816Z] e2be974225ed: Pull complete [2023-10-11T23:06:17.383Z] 339a4e72a1f5: Pull complete [2023-10-11T23:06:17.383Z] 988bab9f4d93: Pull complete [2023-10-11T23:06:17.641Z] 1469e6f7b9e6: Pull complete [2023-10-11T23:06:17.641Z] eaf3925da568: Pull complete [2023-10-11T23:06:19.546Z] bab4dde63d76: Pull complete [2023-10-11T23:06:19.546Z] bde34c3a00c8: Pull complete [2023-10-11T23:06:19.804Z] b352a97aabf1: Pull complete [2023-10-11T23:06:19.804Z] 4872d77fe225: Pull complete [2023-10-11T23:06:20.063Z] 5851b861e8e6: Pull complete [2023-10-11T23:06:20.063Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-11T23:06:20.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:20.064Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:06:20.295Z] prd-ubuntu20.04-docker-8c-8g-8892 does not seem to be running inside a container [2023-10-11T23:06:20.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-350 -v /w/workspace/gexfoundry_device-rest-go_PR-350:/w/workspace/gexfoundry_device-rest-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-350@tmp:/w/workspace/gexfoundry_device-rest-go_PR-350@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-11T23:06:27.766Z] $ docker top 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 -eo pid,comm [2023-10-11T23:06:27.737Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-11T23:06:27.737Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-11T23:06:27.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:06:27.864Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:06:27.980Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:06:28.109Z] $ docker exec 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 ssh-agent [2023-10-11T23:06:28.097Z] SSH_AUTH_SOCK=/tmp/ssh-8dLhy8WzH9aB/agent.31 [2023-10-11T23:06:28.097Z] SSH_AGENT_PID=37 [2023-10-11T23:06:28.102Z] Running ssh-add (command line suppressed) [2023-10-11T23:06:28.319Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-350@tmp/private_key_11222412723067480474.key (/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/private_key_11222412723067480474.key) [2023-10-11T23:06:28.207Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:06:28.531Z] + git tag --points-at HEAD [Pipeline] } [2023-10-11T23:06:28.682Z] $ docker exec --env ******** --env ******** 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 ssh-agent -k [2023-10-11T23:06:28.789Z] unset SSH_AUTH_SOCK; [2023-10-11T23:06:28.789Z] unset SSH_AGENT_PID; [2023-10-11T23:06:28.789Z] echo Agent pid 37 killed; [2023-10-11T23:06:28.674Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-11T23:06:28.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:06:28.755Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:06:28.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:06:28.984Z] $ docker exec 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 ssh-agent [2023-10-11T23:06:28.954Z] SSH_AUTH_SOCK=/tmp/ssh-Je1C5Sumpb9Y/agent.69 [2023-10-11T23:06:28.954Z] SSH_AGENT_PID=75 [2023-10-11T23:06:28.959Z] Running ssh-add (command line suppressed) [2023-10-11T23:06:29.184Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-350@tmp/private_key_8457336748039097940.key (/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/private_key_8457336748039097940.key) [2023-10-11T23:06:29.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:06:29.404Z] + git semver init [2023-10-11T23:06:29.667Z] 2023-10-11 23:06:29,717 [run_init] DEBUG init version:0.0.0 force:False [2023-10-11T23:06:29.667Z] 2023-10-11 23:06:29,718 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-350/.semver [2023-10-11T23:06:29.667Z] 2023-10-11 23:06:29,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-350/.semver [2023-10-11T23:06:29.667Z] 2023-10-11 23:06:29,719 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-350/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-350, universal_newlines=False, shell=None, istream=None) [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,867 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-350/.git/info/exclude [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-350/.semver/PR-350 with force:False [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,867 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-350/.semver/PR-350 [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,872 [execute] INFO git cat-file --batch-check [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-350/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,877 [execute] INFO git cat-file --batch [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,878 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-350/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:31.043Z] 2023-10-11 23:06:30,882 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-350/.semver/PR-350 [2023-10-11T23:06:31.043Z] 0.0.0 [Pipeline] } [2023-10-11T23:06:31.198Z] $ docker exec --env ******** --env ******** 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 ssh-agent -k [2023-10-11T23:06:31.288Z] unset SSH_AUTH_SOCK; [2023-10-11T23:06:31.289Z] unset SSH_AGENT_PID; [2023-10-11T23:06:31.290Z] echo Agent pid 75 killed; [2023-10-11T23:06:31.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-11T23:06:31.596Z] + git semver [Pipeline] } [2023-10-11T23:06:32.010Z] $ docker stop --time=1 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 [2023-10-11T23:06:33.298Z] $ docker rm -f --volumes 307fedecd77535931b95ba430339c29df2ca5ffcb403504859d6444156b00c69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:06:33.553Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-11T23:06:33.811Z] Stashed 1 file(s) [Pipeline] echo [2023-10-11T23:06:33.826Z] [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-10-11T23:06:34.429Z] provisioning config files... [2023-10-11T23:06:34.439Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/config1052104261990630567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:34.797Z] ---> docker-login.sh [2023-10-11T23:06:34.797Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:06:34.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.797Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.797Z] [2023-10-11T23:06:34.797Z] Login Succeeded [2023-10-11T23:06:34.797Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:06:34.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.797Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.797Z] [2023-10-11T23:06:34.797Z] Login Succeeded [2023-10-11T23:06:34.797Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:06:35.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:35.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:35.058Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:35.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:35.058Z] [2023-10-11T23:06:35.058Z] Login Succeeded [2023-10-11T23:06:35.058Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:06:35.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:35.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:35.058Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:35.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:35.058Z] [2023-10-11T23:06:35.058Z] Login Succeeded [2023-10-11T23:06:35.058Z] docker.io [2023-10-11T23:06:35.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:35.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:35.320Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:35.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:35.320Z] [2023-10-11T23:06:35.320Z] Login Succeeded [2023-10-11T23:06:35.320Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:06:35.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:06:35.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:35.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:35.680Z] ========================================================= [2023-10-11T23:06:35.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-11T23:06:35.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:36.151Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-11T23:06:36.151Z] Sending build context to Docker daemon 10.94MB [2023-10-11T23:06:36.151Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:06:36.151Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T23:06:36.151Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-11T23:06:36.151Z] 7264a8db6415: Pulling fs layer [2023-10-11T23:06:36.151Z] c4d48a809fc2: Pulling fs layer [2023-10-11T23:06:36.151Z] 4f1c88b9dad5: Pulling fs layer [2023-10-11T23:06:36.151Z] ad3a456e5733: Pulling fs layer [2023-10-11T23:06:36.151Z] 33e27b845d1e: Pulling fs layer [2023-10-11T23:06:36.151Z] c68163c4e522: Pulling fs layer [2023-10-11T23:06:36.151Z] 50da416c3ac9: Pulling fs layer [2023-10-11T23:06:36.151Z] 23d2d4c4bb30: Pulling fs layer [2023-10-11T23:06:36.151Z] 33e27b845d1e: Waiting [2023-10-11T23:06:36.151Z] ad3a456e5733: Waiting [2023-10-11T23:06:36.151Z] c68163c4e522: Waiting [2023-10-11T23:06:36.151Z] 50da416c3ac9: Waiting [2023-10-11T23:06:36.151Z] 23d2d4c4bb30: Waiting [2023-10-11T23:06:36.151Z] c4d48a809fc2: Download complete [2023-10-11T23:06:36.151Z] ad3a456e5733: Verifying Checksum [2023-10-11T23:06:36.151Z] ad3a456e5733: Download complete [2023-10-11T23:06:36.411Z] 33e27b845d1e: Verifying Checksum [2023-10-11T23:06:36.411Z] 33e27b845d1e: Download complete [2023-10-11T23:06:36.411Z] c68163c4e522: Verifying Checksum [2023-10-11T23:06:36.411Z] c68163c4e522: Download complete [2023-10-11T23:06:36.411Z] 7264a8db6415: Download complete [2023-10-11T23:06:36.672Z] 7264a8db6415: Pull complete [2023-10-11T23:06:36.672Z] c4d48a809fc2: Pull complete [2023-10-11T23:06:36.672Z] 23d2d4c4bb30: Verifying Checksum [2023-10-11T23:06:36.672Z] 23d2d4c4bb30: Download complete [2023-10-11T23:06:36.930Z] 4f1c88b9dad5: Verifying Checksum [2023-10-11T23:06:36.930Z] 4f1c88b9dad5: Download complete [2023-10-11T23:06:37.496Z] 50da416c3ac9: Verifying Checksum [2023-10-11T23:06:37.496Z] 50da416c3ac9: Download complete [2023-10-11T23:06:40.784Z] 4f1c88b9dad5: Pull complete [2023-10-11T23:06:40.784Z] ad3a456e5733: Pull complete [2023-10-11T23:06:40.784Z] 33e27b845d1e: Pull complete [2023-10-11T23:06:40.784Z] c68163c4e522: Pull complete [2023-10-11T23:06:42.687Z] 50da416c3ac9: Pull complete [2023-10-11T23:06:43.255Z] 23d2d4c4bb30: Pull complete [2023-10-11T23:06:43.514Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-11T23:06:43.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-11T23:06:43.514Z] ---> 0786185ac409 [2023-10-11T23:06:43.514Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:06:49.255Z] Still waiting to schedule task [2023-10-11T23:06:49.255Z] ‘prd-centos7-blackbox-4c-2g-8677’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:49.255Z] ‘prd-centos7-blackbox-4c-2g-8678’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:49.255Z] ‘prd-ubuntu20.04-docker-8c-8g-8893’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:49.255Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8894’ is offline [2023-10-11T23:06:55.852Z] ---> Running in 18d759973ffe [2023-10-11T23:06:56.117Z] Removing intermediate container 18d759973ffe [2023-10-11T23:06:56.117Z] ---> e3dc5e359ac7 [2023-10-11T23:06:56.117Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:06:56.685Z] ---> Running in cd9d2387d5c6 [2023-10-11T23:06:57.250Z] Removing intermediate container cd9d2387d5c6 [2023-10-11T23:06:57.250Z] ---> e9b0e8ae8522 [2023-10-11T23:06:57.250Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:06:57.250Z] ---> Running in d4bc6d19b634 [2023-10-11T23:06:57.250Z] Removing intermediate container d4bc6d19b634 [2023-10-11T23:06:57.250Z] ---> 29993a2e58cb [2023-10-11T23:06:57.250Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:06:57.250Z] ---> Running in 119f4c16e200 [2023-10-11T23:06:57.250Z] Removing intermediate container 119f4c16e200 [2023-10-11T23:06:57.250Z] ---> 1208fcdf049f [2023-10-11T23:06:57.250Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:06:57.511Z] ---> Running in 87b5b895e701 [2023-10-11T23:06:57.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:57.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:58.030Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T23:06:58.030Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T23:06:58.030Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T23:06:58.030Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T23:06:58.030Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:06:58.030Z] OK: 268 MiB in 56 packages [2023-10-11T23:06:58.597Z] Removing intermediate container 87b5b895e701 [2023-10-11T23:06:58.597Z] ---> 72dc621821e6 [2023-10-11T23:06:58.597Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-11T23:06:58.597Z] ---> Running in b6d0f9cd2d41 [2023-10-11T23:06:58.597Z] Removing intermediate container b6d0f9cd2d41 [2023-10-11T23:06:58.597Z] ---> 3c46cc73457d [2023-10-11T23:06:58.597Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T23:06:58.888Z] ---> 0eab8dc99f33 [2023-10-11T23:06:58.888Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:06:58.888Z] ---> Running in 36852d483c8e [2023-10-11T23:08:20.337Z] Removing intermediate container 36852d483c8e [2023-10-11T23:08:20.337Z] ---> 1b770a5f8ff4 [2023-10-11T23:08:20.337Z] Step 11/12 : COPY . . [2023-10-11T23:08:20.337Z] ---> 5ff74a9ae112 [2023-10-11T23:08:20.337Z] Step 12/12 : RUN $MAKE [2023-10-11T23:08:20.337Z] ---> Running in c13825e0691f [2023-10-11T23:08:20.337Z] noop [2023-10-11T23:08:20.337Z] Removing intermediate container c13825e0691f [2023-10-11T23:08:20.337Z] ---> ccdff3e972b5 [2023-10-11T23:08:20.337Z] Successfully built ccdff3e972b5 [2023-10-11T23:08:20.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:20.798Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:08:20.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:08:20.953Z] prd-ubuntu20.04-docker-8c-8g-8892 does not seem to be running inside a container [2023-10-11T23:08:20.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-350 -v /w/workspace/gexfoundry_device-rest-go_PR-350:/w/workspace/gexfoundry_device-rest-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-350@tmp:/w/workspace/gexfoundry_device-rest-go_PR-350@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 ******** ci-base-image-x86_64 cat [2023-10-11T23:08:21.304Z] $ docker top 2583ca0ca594f01f6cf2837df5e96e2f89b3948c1c29ace15428ce88c9d6f1e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:08:21.711Z] + go version [2023-10-11T23:08:21.711Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-11T23:08:21.732Z] $ docker stop --time=1 2583ca0ca594f01f6cf2837df5e96e2f89b3948c1c29ace15428ce88c9d6f1e9 [2023-10-11T23:08:23.004Z] $ docker rm -f --volumes 2583ca0ca594f01f6cf2837df5e96e2f89b3948c1c29ace15428ce88c9d6f1e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:23.778Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:08:23.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:08:23.931Z] prd-ubuntu20.04-docker-8c-8g-8892 does not seem to be running inside a container [2023-10-11T23:08:23.942Z] $ 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-350 -v /w/workspace/gexfoundry_device-rest-go_PR-350:/w/workspace/gexfoundry_device-rest-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-350@tmp:/w/workspace/gexfoundry_device-rest-go_PR-350@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 ******** ci-base-image-x86_64 cat [2023-10-11T23:08:24.300Z] $ docker top 474fedc7688fbbee26bf75d26690eb100807c9d7e5070f3224f75c2580456009 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:08:24.715Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-350 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:08:25.076Z] + make test [2023-10-11T23:08:25.076Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T23:08:26.449Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-11T23:08:36.408Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-11T23:08:36.408Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements [2023-10-11T23:08:41.663Z] go vet ./... [2023-10-11T23:08:44.943Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:08:44.943Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:08:44.943Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:08:45.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:08:45.016Z] $ docker stop --time=1 474fedc7688fbbee26bf75d26690eb100807c9d7e5070f3224f75c2580456009 [2023-10-11T23:08:49.484Z] $ docker rm -f --volumes 474fedc7688fbbee26bf75d26690eb100807c9d7e5070f3224f75c2580456009 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:08:50.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:08:50.177Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-11T23:08:50.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:08:51.094Z] + ls -al . [2023-10-11T23:08:51.094Z] total 188 [2023-10-11T23:08:51.094Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 23:08 . [2023-10-11T23:08:51.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 .. [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 23:06 .dockerignore [2023-10-11T23:08:51.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:08 .git [2023-10-11T23:08:51.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 .github [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 23:06 .gitignore [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:06 .golangci.yml [2023-10-11T23:08:51.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:06 .semver [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 23:06 Attribution.txt [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 23:06 CHANGELOG.md [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 23:06 Dockerfile [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:06 GOVERNANCE.md [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 23:06 Jenkinsfile [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:06 LICENSE [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 23:06 Makefile [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:06 OWNERS.md [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 23:06 README.md [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:08:51.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:06 bin [2023-10-11T23:08:51.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 cmd [2023-10-11T23:08:51.094Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 23:08 coverage.out [2023-10-11T23:08:51.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:06 driver [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 23:06 go.mod [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 23:06 go.sum [2023-10-11T23:08:51.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 snap [2023-10-11T23:08:51.094Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:51.607Z] + 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=9c1d832aad727939ac1cb66317fdc055b29817d5 --label arch=amd64 --label version=0.0.0 . [2023-10-11T23:08:51.607Z] Sending build context to Docker daemon 10.95MB [2023-10-11T23:08:51.607Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:08:51.607Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-11T23:08:51.607Z] ---> ccdff3e972b5 [2023-10-11T23:08:51.607Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:08:52.173Z] ---> Running in 04f212fde9d0 [2023-10-11T23:08:52.431Z] Removing intermediate container 04f212fde9d0 [2023-10-11T23:08:52.431Z] ---> c521dede4d00 [2023-10-11T23:08:52.431Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:08:52.431Z] ---> Running in c8dfea655e5d [2023-10-11T23:08:52.431Z] Removing intermediate container c8dfea655e5d [2023-10-11T23:08:52.431Z] ---> ab0307fe77ff [2023-10-11T23:08:52.431Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:08:52.431Z] ---> Running in d338bfb32cb6 [2023-10-11T23:08:52.690Z] Removing intermediate container d338bfb32cb6 [2023-10-11T23:08:52.690Z] ---> d3692aef42a2 [2023-10-11T23:08:52.690Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:08:52.690Z] ---> Running in 1a3fa4713010 [2023-10-11T23:08:52.690Z] Removing intermediate container 1a3fa4713010 [2023-10-11T23:08:52.690Z] ---> 6f7f255d7313 [2023-10-11T23:08:52.690Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:08:52.690Z] ---> Running in acf132a4d936 [2023-10-11T23:08:52.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:52.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:53.216Z] OK: 268 MiB in 56 packages [2023-10-11T23:08:53.474Z] Removing intermediate container acf132a4d936 [2023-10-11T23:08:53.474Z] ---> 8912c10da88c [2023-10-11T23:08:53.474Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-11T23:08:53.474Z] ---> Running in 352bd978f693 [2023-10-11T23:08:53.734Z] Removing intermediate container 352bd978f693 [2023-10-11T23:08:53.734Z] ---> 564d856606c9 [2023-10-11T23:08:53.734Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-11T23:08:53.734Z] ---> 07aee15bd104 [2023-10-11T23:08:53.734Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:08:53.734Z] ---> Running in 870be6ae0717 [2023-10-11T23:08:54.761Z] Removing intermediate container 870be6ae0717 [2023-10-11T23:08:54.761Z] ---> 45278e060de1 [2023-10-11T23:08:54.761Z] Step 11/25 : COPY . . [2023-10-11T23:08:55.018Z] ---> 55914da48a23 [2023-10-11T23:08:55.018Z] Step 12/25 : RUN $MAKE [2023-10-11T23:08:55.018Z] ---> Running in d1909662ed6b [2023-10-11T23:08:55.281Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-11T23:09:18.487Z] Removing intermediate container d1909662ed6b [2023-10-11T23:09:18.487Z] ---> 07030cc15906 [2023-10-11T23:09:18.487Z] Step 13/25 : FROM alpine:3.18 [2023-10-11T23:09:19.420Z] 3.18: Pulling from library/alpine [2023-10-11T23:09:19.679Z] 96526aa774ef: Pulling fs layer [2023-10-11T23:09:19.679Z] 96526aa774ef: Verifying Checksum [2023-10-11T23:09:19.679Z] 96526aa774ef: Download complete [2023-10-11T23:09:19.938Z] 96526aa774ef: Pull complete [2023-10-11T23:09:19.938Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:09:19.938Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:09:19.938Z] ---> 8ca4688f4f35 [2023-10-11T23:09:19.938Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:09:20.196Z] ---> Running in ac8cb112d30c [2023-10-11T23:09:20.196Z] Removing intermediate container ac8cb112d30c [2023-10-11T23:09:20.196Z] ---> c77996164d70 [2023-10-11T23:09:20.196Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-11T23:09:20.196Z] ---> Running in be37139023eb [2023-10-11T23:09:20.196Z] Removing intermediate container be37139023eb [2023-10-11T23:09:20.196Z] ---> f9ca37d90075 [2023-10-11T23:09:20.196Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-11T23:09:20.196Z] ---> Running in 3f1bc484f384 [2023-10-11T23:09:20.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:09:20.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:09:20.969Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T23:09:20.969Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:09:20.969Z] OK: 7 MiB in 16 packages [2023-10-11T23:09:21.228Z] Removing intermediate container 3f1bc484f384 [2023-10-11T23:09:21.228Z] ---> 76a504f3e8c5 [2023-10-11T23:09:21.228Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-11T23:09:22.599Z] ---> b3a4fe877037 [2023-10-11T23:09:22.599Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-11T23:09:23.175Z] ---> a49983aabf97 [2023-10-11T23:09:23.175Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-11T23:09:24.107Z] ---> bd8021473efa [2023-10-11T23:09:24.107Z] Step 20/25 : EXPOSE 59986 [2023-10-11T23:09:24.107Z] ---> Running in 034b65a9565d [2023-10-11T23:09:24.107Z] Removing intermediate container 034b65a9565d [2023-10-11T23:09:24.107Z] ---> d05815198e78 [2023-10-11T23:09:24.107Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-11T23:09:24.107Z] ---> Running in 0f816b770533 [2023-10-11T23:09:24.107Z] Removing intermediate container 0f816b770533 [2023-10-11T23:09:24.107Z] ---> 888096f890f3 [2023-10-11T23:09:24.107Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T23:09:24.107Z] ---> Running in 8867f075c4b9 [2023-10-11T23:09:24.365Z] Removing intermediate container 8867f075c4b9 [2023-10-11T23:09:24.365Z] ---> 7f415d06d8f1 [2023-10-11T23:09:24.365Z] Step 23/25 : LABEL arch=amd64 [2023-10-11T23:09:24.365Z] ---> Running in bfa0b4af2ff1 [2023-10-11T23:09:24.365Z] Removing intermediate container bfa0b4af2ff1 [2023-10-11T23:09:24.365Z] ---> 5eb6aa9c1fbd [2023-10-11T23:09:24.365Z] Step 24/25 : LABEL git_sha=9c1d832aad727939ac1cb66317fdc055b29817d5 [2023-10-11T23:09:24.365Z] ---> Running in 3fde6304bb70 [2023-10-11T23:09:24.365Z] Removing intermediate container 3fde6304bb70 [2023-10-11T23:09:24.365Z] ---> b84cc18f098b [2023-10-11T23:09:24.365Z] Step 25/25 : LABEL version=0.0.0 [2023-10-11T23:09:24.365Z] ---> Running in 41f5c419a6a8 [2023-10-11T23:09:24.623Z] Removing intermediate container 41f5c419a6a8 [2023-10-11T23:09:24.623Z] ---> 62bd89dcc66a [2023-10-11T23:09:24.623Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:09:24.623Z] Successfully built 62bd89dcc66a [2023-10-11T23:09:24.623Z] 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-10-11T23:09:25.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:25.501Z] [2023-10-11T23:09:25.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:09:25.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:25.866Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-11T23:09:25.866Z] 5eb5b503b376: Pulling fs layer [2023-10-11T23:09:25.866Z] 5c69ac0246d0: Pulling fs layer [2023-10-11T23:09:25.866Z] ec43610c2a17: Pulling fs layer [2023-10-11T23:09:25.866Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-11T23:09:25.866Z] 33b1e0a273af: Pulling fs layer [2023-10-11T23:09:25.866Z] 3a2ae6a8a46f: Waiting [2023-10-11T23:09:25.866Z] 5d3b04190fa2: Pulling fs layer [2023-10-11T23:09:25.866Z] 2f39f015ded8: Pulling fs layer [2023-10-11T23:09:25.866Z] 33b1e0a273af: Waiting [2023-10-11T23:09:25.866Z] 5d3b04190fa2: Waiting [2023-10-11T23:09:25.866Z] 5c69ac0246d0: Verifying Checksum [2023-10-11T23:09:25.866Z] 5c69ac0246d0: Download complete [2023-10-11T23:09:25.866Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-11T23:09:25.866Z] 3a2ae6a8a46f: Download complete [2023-10-11T23:09:26.124Z] 33b1e0a273af: Verifying Checksum [2023-10-11T23:09:26.124Z] 33b1e0a273af: Download complete [2023-10-11T23:09:26.125Z] 5d3b04190fa2: Verifying Checksum [2023-10-11T23:09:26.125Z] 5d3b04190fa2: Download complete [2023-10-11T23:09:26.125Z] ec43610c2a17: Verifying Checksum [2023-10-11T23:09:26.125Z] ec43610c2a17: Download complete [2023-10-11T23:09:26.125Z] 5eb5b503b376: Verifying Checksum [2023-10-11T23:09:26.125Z] 5eb5b503b376: Download complete [2023-10-11T23:09:26.689Z] 2f39f015ded8: Download complete [2023-10-11T23:09:27.623Z] 5eb5b503b376: Pull complete [2023-10-11T23:09:28.187Z] 5c69ac0246d0: Pull complete [2023-10-11T23:09:28.756Z] ec43610c2a17: Pull complete [2023-10-11T23:09:29.013Z] 3a2ae6a8a46f: Pull complete [2023-10-11T23:09:29.578Z] 33b1e0a273af: Pull complete [2023-10-11T23:09:29.578Z] 5d3b04190fa2: Pull complete [2023-10-11T23:09:33.774Z] 2f39f015ded8: Pull complete [2023-10-11T23:09:33.774Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-11T23:09:33.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:33.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:09:33.999Z] prd-ubuntu20.04-docker-8c-8g-8892 does not seem to be running inside a container [2023-10-11T23:09:34.006Z] $ 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-350 -v /w/workspace/gexfoundry_device-rest-go_PR-350:/w/workspace/gexfoundry_device-rest-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-350@tmp:/w/workspace/gexfoundry_device-rest-go_PR-350@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-lftools-log-publisher:latest cat [2023-10-11T23:09:38.832Z] $ docker top f7b4aa537d072904d7bf7425e69f1e86ccc53a64df05b56ca18f119dd1e22f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:09:39.292Z] ---> job-cost.sh [2023-10-11T23:09:39.292Z] lf-activate-venv: SKIPPING [2023-10-11T23:09:39.292Z] INFO: No Stack... [2023-10-11T23:09:39.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:09:40.117Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:09:40.433Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-350/archives/cost.csv [2023-10-11T23:09:40.433Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T23:09:40.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [2023-10-11T23:09:40.487Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] did not exist. Created. [2023-10-11T23:09:40.487Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:09:40.886Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-11T23:09:40.931Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:09:40.958Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:09:41.019Z] $ docker stop --time=1 f7b4aa537d072904d7bf7425e69f1e86ccc53a64df05b56ca18f119dd1e22f75 [2023-10-11T23:09:42.159Z] $ docker rm -f --volumes f7b4aa537d072904d7bf7425e69f1e86ccc53a64df05b56ca18f119dd1e22f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-11T23:27:51.013Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9061 in /w/workspace/gexfoundry_device-rest-go_PR-350 [Pipeline] { [Pipeline] ws [2023-10-11T23:27:51.078Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-11T23:27:51.164Z] The recommended git tool is: git [2023-10-11T23:27:59.779Z] using credential edgex-jenkins-ssh [2023-10-11T23:27:59.796Z] Cloning the remote Git repository [2023-10-11T23:27:59.855Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T23:27:59.971Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-11T23:28:00.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T23:28:00.140Z] > git --version # timeout=10 [2023-10-11T23:28:00.168Z] > git --version # 'git version 2.25.1' [2023-10-11T23:28:00.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:28:00.357Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:28:02.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-11T23:28:02.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:28:04.283Z] Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 9c1d832aad727939ac1cb66317fdc055b29817d5 [2023-10-11T23:28:04.618Z] Merge succeeded, producing 9c1d832aad727939ac1cb66317fdc055b29817d5 [2023-10-11T23:28:04.618Z] Checking out Revision 9c1d832aad727939ac1cb66317fdc055b29817d5 (PR-350) [2023-10-11T23:28:03.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-11T23:28:03.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T23:28:03.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:28:03.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/350/head:refs/remotes/origin/PR-350 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-11T23:28:04.307Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:28:04.397Z] > git checkout -f 9c1d832aad727939ac1cb66317fdc055b29817d5 # timeout=10 [2023-10-11T23:28:04.504Z] > git remote # timeout=10 [2023-10-11T23:28:04.529Z] > git config --get remote.origin.url # timeout=10 [2023-10-11T23:28:04.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:28:04.565Z] > git merge 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [2023-10-11T23:28:04.599Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-11T23:28:04.628Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:28:04.644Z] > git checkout -f 9c1d832aad727939ac1cb66317fdc055b29817d5 # timeout=10 [2023-10-11T23:28:05.227Z] Commit message: "build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0" [2023-10-11T23:28:05.291Z] > git --version # timeout=10 [2023-10-11T23:28:05.305Z] > git --version # 'git version 2.25.1' [2023-10-11T23:28:05.323Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:28:06.570Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-11T23:28:06.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:28:06.570Z] Dload Upload Total Spent Left Speed [2023-10-11T23:28:06.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-10-11T23:28:07.186Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-11T23:28:07.541Z] + sudo tee /etc/docker/daemon.new [2023-10-11T23:28:07.541Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-11T23:28:07.541Z] { [2023-10-11T23:28:07.541Z] "registry-mirrors": [ [2023-10-11T23:28:07.541Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-11T23:28:07.541Z] ], [2023-10-11T23:28:07.541Z] "bip": "10.250.0.254/24", [2023-10-11T23:28:07.541Z] "hosts": [ [2023-10-11T23:28:07.541Z] "tcp://0.0.0.0:5555", [2023-10-11T23:28:07.541Z] "unix:///var/run/docker.sock" [2023-10-11T23:28:07.541Z] ], [2023-10-11T23:28:07.541Z] "mtu": 1458, [2023-10-11T23:28:07.541Z] "selinux-enabled": true, [2023-10-11T23:28:07.541Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-11T23:28:07.541Z] } [Pipeline] sh [2023-10-11T23:28:07.889Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-11T23:28:08.239Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:28:26.603Z] provisioning config files... [2023-10-11T23:28:26.633Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12106374352100874212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:28:27.035Z] ---> docker-login.sh [2023-10-11T23:28:27.035Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:28:27.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:28:27.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:28:27.625Z] Configure a credential helper to remove this warning. See [2023-10-11T23:28:27.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:28:27.625Z] [2023-10-11T23:28:27.625Z] Login Succeeded [2023-10-11T23:28:27.899Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:28:27.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:28:28.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:28:28.170Z] Configure a credential helper to remove this warning. See [2023-10-11T23:28:28.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:28:28.170Z] [2023-10-11T23:28:28.170Z] Login Succeeded [2023-10-11T23:28:28.170Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:28:28.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:28:28.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:28:28.441Z] Configure a credential helper to remove this warning. See [2023-10-11T23:28:28.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:28:28.441Z] [2023-10-11T23:28:28.441Z] Login Succeeded [2023-10-11T23:28:28.441Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:28:28.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:28:28.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:28:28.987Z] Configure a credential helper to remove this warning. See [2023-10-11T23:28:28.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:28:28.987Z] [2023-10-11T23:28:28.987Z] Login Succeeded [2023-10-11T23:28:28.987Z] docker.io [2023-10-11T23:28:29.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:28:29.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:28:29.527Z] Configure a credential helper to remove this warning. See [2023-10-11T23:28:29.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:28:29.527Z] [2023-10-11T23:28:29.527Z] Login Succeeded [2023-10-11T23:28:29.527Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:28:29.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:28:29.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:28:30.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:28:30.043Z] ========================================================= [2023-10-11T23:28:30.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-11T23:28:30.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:28:30.553Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-11T23:28:30.553Z] Sending build context to Docker daemon 144.4kB [2023-10-11T23:28:30.822Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:28:30.822Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T23:28:31.098Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-11T23:28:31.099Z] 9fda8d8052c6: Pulling fs layer [2023-10-11T23:28:31.099Z] 5d54e960e981: Pulling fs layer [2023-10-11T23:28:31.099Z] c4a7e357bf2a: Pulling fs layer [2023-10-11T23:28:31.099Z] f0e02332f6b5: Pulling fs layer [2023-10-11T23:28:31.099Z] cefa15bbcfad: Pulling fs layer [2023-10-11T23:28:31.099Z] 17808c966233: Pulling fs layer [2023-10-11T23:28:31.099Z] f4c1fc716caa: Pulling fs layer [2023-10-11T23:28:31.099Z] f0e02332f6b5: Waiting [2023-10-11T23:28:31.099Z] cefa15bbcfad: Waiting [2023-10-11T23:28:31.099Z] 17808c966233: Waiting [2023-10-11T23:28:31.099Z] f4c1fc716caa: Waiting [2023-10-11T23:28:31.099Z] 5d54e960e981: Verifying Checksum [2023-10-11T23:28:31.099Z] 5d54e960e981: Download complete [2023-10-11T23:28:31.099Z] f0e02332f6b5: Verifying Checksum [2023-10-11T23:28:31.099Z] f0e02332f6b5: Download complete [2023-10-11T23:28:31.099Z] cefa15bbcfad: Verifying Checksum [2023-10-11T23:28:31.099Z] cefa15bbcfad: Download complete [2023-10-11T23:28:31.099Z] 9fda8d8052c6: Verifying Checksum [2023-10-11T23:28:31.099Z] 9fda8d8052c6: Download complete [2023-10-11T23:28:31.695Z] f4c1fc716caa: Verifying Checksum [2023-10-11T23:28:31.695Z] f4c1fc716caa: Download complete [2023-10-11T23:28:32.292Z] 9fda8d8052c6: Pull complete [2023-10-11T23:28:32.890Z] 5d54e960e981: Pull complete [2023-10-11T23:28:33.158Z] c4a7e357bf2a: Verifying Checksum [2023-10-11T23:28:33.158Z] c4a7e357bf2a: Download complete [2023-10-11T23:28:34.125Z] 17808c966233: Verifying Checksum [2023-10-11T23:28:34.125Z] 17808c966233: Download complete [2023-10-11T23:28:49.274Z] c4a7e357bf2a: Pull complete [2023-10-11T23:28:49.274Z] f0e02332f6b5: Pull complete [2023-10-11T23:28:49.274Z] cefa15bbcfad: Pull complete [2023-10-11T23:28:55.974Z] 17808c966233: Pull complete [2023-10-11T23:28:57.388Z] f4c1fc716caa: Pull complete [2023-10-11T23:28:57.388Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-11T23:28:57.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-11T23:28:57.657Z] ---> ea914061e18c [2023-10-11T23:28:57.657Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:28:59.074Z] ---> Running in 9dbf62bf49cd [2023-10-11T23:28:59.369Z] Removing intermediate container 9dbf62bf49cd [2023-10-11T23:28:59.369Z] ---> 7485cce9c597 [2023-10-11T23:28:59.369Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:28:59.638Z] ---> Running in dd92ee36f6d0 [2023-10-11T23:29:00.226Z] Removing intermediate container dd92ee36f6d0 [2023-10-11T23:29:00.226Z] ---> 8e47518f9662 [2023-10-11T23:29:00.226Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:29:00.226Z] ---> Running in 3a2ed24469bc [2023-10-11T23:29:00.495Z] Removing intermediate container 3a2ed24469bc [2023-10-11T23:29:00.495Z] ---> 126e552b6d69 [2023-10-11T23:29:00.495Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:29:00.495Z] ---> Running in 8202bedd8545 [2023-10-11T23:29:01.083Z] Removing intermediate container 8202bedd8545 [2023-10-11T23:29:01.083Z] ---> 1521d619c35c [2023-10-11T23:29:01.083Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:29:01.083Z] ---> Running in a0a4a34589c4 [2023-10-11T23:29:05.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:29:05.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:29:07.307Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T23:29:07.307Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T23:29:07.307Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T23:29:07.307Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T23:29:07.307Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:29:07.307Z] OK: 270 MiB in 56 packages [2023-10-11T23:29:08.749Z] Removing intermediate container a0a4a34589c4 [2023-10-11T23:29:08.749Z] ---> 06c13bd59c76 [2023-10-11T23:29:08.749Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-11T23:29:08.749Z] ---> Running in d68517e93d79 [2023-10-11T23:29:09.018Z] Removing intermediate container d68517e93d79 [2023-10-11T23:29:09.018Z] ---> e205278c7336 [2023-10-11T23:29:09.018Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T23:29:09.609Z] ---> d1cced75c42c [2023-10-11T23:29:09.609Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:29:09.609Z] ---> Running in 6a7fd7c145ec [2023-10-11T23:31:01.280Z] Removing intermediate container 6a7fd7c145ec [2023-10-11T23:31:01.281Z] ---> 4b1b10cf5fd3 [2023-10-11T23:31:01.281Z] Step 11/12 : COPY . . [2023-10-11T23:31:01.281Z] ---> 6a2da35b126d [2023-10-11T23:31:01.281Z] Step 12/12 : RUN $MAKE [2023-10-11T23:31:01.281Z] ---> Running in ad22d555e5a8 [2023-10-11T23:31:01.281Z] noop [2023-10-11T23:31:01.281Z] Removing intermediate container ad22d555e5a8 [2023-10-11T23:31:01.281Z] ---> e80924e4fc3b [2023-10-11T23:31:01.281Z] Successfully built e80924e4fc3b [2023-10-11T23:31:01.281Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:31:01.760Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:31:01.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:31:02.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-9061 does not seem to be running inside a container [2023-10-11T23:31:02.147Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-10-11T23:31:03.524Z] $ docker top 5325928edea68aebfb4d7017ab29b7ee2a951eb3da73d396f32ba9033f60c87a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:31:04.433Z] + go version [2023-10-11T23:31:04.433Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-11T23:31:04.464Z] $ docker stop --time=1 5325928edea68aebfb4d7017ab29b7ee2a951eb3da73d396f32ba9033f60c87a [2023-10-11T23:31:08.017Z] $ docker rm -f --volumes 5325928edea68aebfb4d7017ab29b7ee2a951eb3da73d396f32ba9033f60c87a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:31:08.898Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:31:08.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:31:09.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-9061 does not seem to be running inside a container [2023-10-11T23:31:09.241Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2023-10-11T23:31:10.555Z] $ docker top 7291f85c29b0a9ba5f50237e6b617871c35009cce7512b3977b75838509afb77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:31:11.463Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:31:12.189Z] + make test [2023-10-11T23:31:12.189Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T23:31:16.445Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-11T23:33:23.127Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-11T23:33:23.127Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 33.2% of statements [2023-10-11T23:33:23.127Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-11T23:33:23.127Z] go vet ./... [2023-10-11T23:33:35.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:33:35.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:33:35.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:33:35.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:33:35.822Z] $ docker stop --time=1 7291f85c29b0a9ba5f50237e6b617871c35009cce7512b3977b75838509afb77 [2023-10-11T23:33:38.175Z] $ docker rm -f --volumes 7291f85c29b0a9ba5f50237e6b617871c35009cce7512b3977b75838509afb77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:33:39.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:33:39.548Z] Warning: overwriting stash ‘coverage-report’ [2023-10-11T23:33:40.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:33:40.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:33:40.959Z] + ls -al . [2023-10-11T23:33:40.959Z] total 184 [2023-10-11T23:33:40.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:31 . [2023-10-11T23:33:40.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:28 .. [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 23:28 .dockerignore [2023-10-11T23:33:40.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:28 .git [2023-10-11T23:33:40.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:28 .github [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 23:28 .gitignore [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:28 .golangci.yml [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 23:28 Attribution.txt [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 23:28 CHANGELOG.md [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 23:28 Dockerfile [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:28 GOVERNANCE.md [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 23:28 Jenkinsfile [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:28 LICENSE [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 23:28 Makefile [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:28 OWNERS.md [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 23:28 README.md [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:33:40.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:28 bin [2023-10-11T23:33:40.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:28 cmd [2023-10-11T23:33:40.959Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 23:33 coverage.out [2023-10-11T23:33:40.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:28 driver [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 23:28 go.mod [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 23:28 go.sum [2023-10-11T23:33:40.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:28 snap [2023-10-11T23:33:40.959Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 23:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:33:41.379Z] + 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=9c1d832aad727939ac1cb66317fdc055b29817d5 --label arch=arm64 --label version=0.0.0 . [2023-10-11T23:33:41.380Z] Sending build context to Docker daemon 159.7kB [2023-10-11T23:33:41.648Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:33:41.648Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-11T23:33:41.648Z] ---> e80924e4fc3b [2023-10-11T23:33:41.648Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:33:41.648Z] ---> Running in ebb017ecf284 [2023-10-11T23:33:42.236Z] Removing intermediate container ebb017ecf284 [2023-10-11T23:33:42.236Z] ---> d0d96d3d4de6 [2023-10-11T23:33:42.236Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:33:42.236Z] ---> Running in a1f274bf2781 [2023-10-11T23:33:42.503Z] Removing intermediate container a1f274bf2781 [2023-10-11T23:33:42.503Z] ---> 7c26ded3b687 [2023-10-11T23:33:42.503Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:33:42.503Z] ---> Running in ba5d3226de82 [2023-10-11T23:33:42.771Z] Removing intermediate container ba5d3226de82 [2023-10-11T23:33:42.771Z] ---> fa4eaf6cbdf3 [2023-10-11T23:33:42.771Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:33:43.047Z] ---> Running in abe9dc296808 [2023-10-11T23:33:43.327Z] Removing intermediate container abe9dc296808 [2023-10-11T23:33:43.327Z] ---> 97f4fce9eb19 [2023-10-11T23:33:43.327Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:33:43.327Z] ---> Running in 91185e964643 [2023-10-11T23:33:44.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:33:44.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:33:46.279Z] OK: 270 MiB in 56 packages [2023-10-11T23:33:47.254Z] Removing intermediate container 91185e964643 [2023-10-11T23:33:47.254Z] ---> 733df47722e2 [2023-10-11T23:33:47.254Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-11T23:33:47.254Z] ---> Running in 967bfc342e11 [2023-10-11T23:33:47.522Z] Removing intermediate container 967bfc342e11 [2023-10-11T23:33:47.522Z] ---> b6c368b2eb65 [2023-10-11T23:33:47.522Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-11T23:33:48.110Z] ---> b4983bcceba6 [2023-10-11T23:33:48.110Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:33:48.110Z] ---> Running in 2d42cc449ff9 [2023-10-11T23:33:50.695Z] Removing intermediate container 2d42cc449ff9 [2023-10-11T23:33:50.695Z] ---> 3b97a31bab99 [2023-10-11T23:33:50.695Z] Step 11/25 : COPY . . [2023-10-11T23:33:50.961Z] ---> d949d6778228 [2023-10-11T23:33:50.961Z] Step 12/25 : RUN $MAKE [2023-10-11T23:33:51.230Z] ---> Running in 1f7be4d4aaf6 [2023-10-11T23:33:52.193Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-11T23:35:58.889Z] Removing intermediate container 1f7be4d4aaf6 [2023-10-11T23:35:58.889Z] ---> 5efa39717995 [2023-10-11T23:35:58.889Z] Step 13/25 : FROM alpine:3.18 [2023-10-11T23:35:58.889Z] 3.18: Pulling from library/alpine [2023-10-11T23:35:58.889Z] 579b34f0a95b: Pulling fs layer [2023-10-11T23:35:58.889Z] 579b34f0a95b: Verifying Checksum [2023-10-11T23:35:58.889Z] 579b34f0a95b: Download complete [2023-10-11T23:35:58.889Z] 579b34f0a95b: Pull complete [2023-10-11T23:35:58.889Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:35:58.889Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:35:58.889Z] ---> 3cc203321400 [2023-10-11T23:35:58.889Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T23:35:58.889Z] ---> Running in ae2fc80c6ea9 [2023-10-11T23:35:58.889Z] Removing intermediate container ae2fc80c6ea9 [2023-10-11T23:35:58.889Z] ---> 777e67d66d7c [2023-10-11T23:35:58.889Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-11T23:35:58.889Z] ---> Running in 703e0ec13e7e [2023-10-11T23:35:58.889Z] Removing intermediate container 703e0ec13e7e [2023-10-11T23:35:58.889Z] ---> a7cc11f6ad89 [2023-10-11T23:35:58.889Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-11T23:35:58.889Z] ---> Running in dd0621813a13 [2023-10-11T23:35:58.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:35:58.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:35:58.889Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T23:35:58.889Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:35:58.889Z] OK: 8 MiB in 16 packages [2023-10-11T23:35:58.889Z] Removing intermediate container dd0621813a13 [2023-10-11T23:35:58.889Z] ---> 92e9d14f3db2 [2023-10-11T23:35:58.889Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-11T23:35:58.889Z] ---> 8d2b0ca88217 [2023-10-11T23:35:58.889Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-11T23:35:58.889Z] ---> 64e08421b74c [2023-10-11T23:35:58.889Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-11T23:35:58.889Z] ---> 0c5a8afbe9ff [2023-10-11T23:35:58.889Z] Step 20/25 : EXPOSE 59986 [2023-10-11T23:35:58.889Z] ---> Running in 40651f8c3926 [2023-10-11T23:35:58.889Z] Removing intermediate container 40651f8c3926 [2023-10-11T23:35:58.889Z] ---> ccf8672241f6 [2023-10-11T23:35:58.889Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-11T23:35:58.889Z] ---> Running in c352ba159aa6 [2023-10-11T23:35:59.154Z] Removing intermediate container c352ba159aa6 [2023-10-11T23:35:59.154Z] ---> d787d6b4388d [2023-10-11T23:35:59.154Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T23:35:59.154Z] ---> Running in 81948fd39a60 [2023-10-11T23:35:59.430Z] Removing intermediate container 81948fd39a60 [2023-10-11T23:35:59.430Z] ---> 1007e40bef39 [2023-10-11T23:35:59.430Z] Step 23/25 : LABEL arch=arm64 [2023-10-11T23:35:59.699Z] ---> Running in bc7785e698ec [2023-10-11T23:35:59.966Z] Removing intermediate container bc7785e698ec [2023-10-11T23:35:59.966Z] ---> c6c9aff828f0 [2023-10-11T23:35:59.966Z] Step 24/25 : LABEL git_sha=9c1d832aad727939ac1cb66317fdc055b29817d5 [2023-10-11T23:35:59.966Z] ---> Running in 49a1f770c90d [2023-10-11T23:36:00.233Z] Removing intermediate container 49a1f770c90d [2023-10-11T23:36:00.233Z] ---> e26207962626 [2023-10-11T23:36:00.233Z] Step 25/25 : LABEL version=0.0.0 [2023-10-11T23:36:00.512Z] ---> Running in 47142d5ca234 [2023-10-11T23:36:00.783Z] Removing intermediate container 47142d5ca234 [2023-10-11T23:36:00.783Z] ---> c746d5db5241 [2023-10-11T23:36:00.783Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:36:00.783Z] Successfully built c746d5db5241 [2023-10-11T23:36:00.783Z] 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-10-11T23:36:01.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:36:01.607Z] [2023-10-11T23:36:01.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:36:02.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:36:02.018Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-11T23:36:02.018Z] 8998bd30e6a1: Pulling fs layer [2023-10-11T23:36:02.018Z] 04944245beec: Pulling fs layer [2023-10-11T23:36:02.018Z] 699f458cf7ca: Pulling fs layer [2023-10-11T23:36:02.018Z] 765212b225bb: Pulling fs layer [2023-10-11T23:36:02.018Z] f23df028b6ca: Pulling fs layer [2023-10-11T23:36:02.018Z] d65c8cfc05b1: Pulling fs layer [2023-10-11T23:36:02.018Z] 2437ff75d9bd: Pulling fs layer [2023-10-11T23:36:02.018Z] f23df028b6ca: Waiting [2023-10-11T23:36:02.018Z] 2437ff75d9bd: Waiting [2023-10-11T23:36:02.018Z] d65c8cfc05b1: Waiting [2023-10-11T23:36:02.018Z] 765212b225bb: Waiting [2023-10-11T23:36:02.289Z] 04944245beec: Verifying Checksum [2023-10-11T23:36:02.289Z] 04944245beec: Download complete [2023-10-11T23:36:02.289Z] 765212b225bb: Verifying Checksum [2023-10-11T23:36:02.289Z] 765212b225bb: Download complete [2023-10-11T23:36:02.289Z] f23df028b6ca: Verifying Checksum [2023-10-11T23:36:02.289Z] f23df028b6ca: Download complete [2023-10-11T23:36:02.289Z] d65c8cfc05b1: Verifying Checksum [2023-10-11T23:36:02.289Z] d65c8cfc05b1: Download complete [2023-10-11T23:36:02.561Z] 699f458cf7ca: Verifying Checksum [2023-10-11T23:36:02.561Z] 699f458cf7ca: Download complete [2023-10-11T23:36:02.831Z] 8998bd30e6a1: Verifying Checksum [2023-10-11T23:36:02.831Z] 8998bd30e6a1: Download complete [2023-10-11T23:36:05.410Z] 2437ff75d9bd: Verifying Checksum [2023-10-11T23:36:05.410Z] 2437ff75d9bd: Download complete [2023-10-11T23:36:07.993Z] 8998bd30e6a1: Pull complete [2023-10-11T23:36:08.260Z] 04944245beec: Pull complete [2023-10-11T23:36:09.782Z] 699f458cf7ca: Pull complete [2023-10-11T23:36:10.060Z] 765212b225bb: Pull complete [2023-10-11T23:36:11.053Z] f23df028b6ca: Pull complete [2023-10-11T23:36:11.330Z] d65c8cfc05b1: Pull complete [2023-10-11T23:36:29.560Z] 2437ff75d9bd: Pull complete [2023-10-11T23:36:29.560Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-11T23:36:29.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:36:29.560Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:36:29.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-9061 does not seem to be running inside a container [2023-10-11T23:36:29.984Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-lftools-log-publisher:arm64 cat [2023-10-11T23:36:32.889Z] $ docker top a1476a8f543bf61f39376462c68a198fb3aade8b7d804fe5608e9dd806c159af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:33.791Z] ---> job-cost.sh [2023-10-11T23:36:33.791Z] lf-activate-venv: SKIPPING [2023-10-11T23:36:33.791Z] INFO: No Stack... [2023-10-11T23:36:34.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-11T23:36:35.013Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:36:35.666Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-11T23:36:35.666Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T23:36:35.748Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [2023-10-11T23:36:35.754Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] did not exist. Created. [2023-10-11T23:36:35.754Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:36:36.494Z] /w/workspace/device-rest-go/1@tmp/durable-f017f07b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-11T23:36:37.159Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-11T23:36:37.201Z] Warning: overwriting stash ‘stack-cost’ [2023-10-11T23:36:37.249Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:36:37.264Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-350-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:36:37.348Z] $ docker stop --time=1 a1476a8f543bf61f39376462c68a198fb3aade8b7d804fe5608e9dd806c159af [2023-10-11T23:36:40.876Z] $ docker rm -f --volumes a1476a8f543bf61f39376462c68a198fb3aade8b7d804fe5608e9dd806c159af [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-10-11T23:36:41.898Z] provisioning config files... [2023-10-11T23:36:41.905Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/config10888429514424888422tmp [Pipeline] { [Pipeline] sh [2023-10-11T23:36:42.264Z] + set +x [2023-10-11T23:36:42.264Z] + curl -s https://codecov.io/bash [2023-10-11T23:36:42.264Z] + bash -s -- [2023-10-11T23:36:42.264Z] [2023-10-11T23:36:42.264Z] _____ _ [2023-10-11T23:36:42.264Z] / ____| | | [2023-10-11T23:36:42.264Z] | | ___ __| | ___ ___ _____ __ [2023-10-11T23:36:42.264Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-11T23:36:42.264Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-11T23:36:42.264Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-11T23:36:42.264Z] Bash-1.0.6 [2023-10-11T23:36:42.264Z] [2023-10-11T23:36:42.264Z] [2023-10-11T23:36:42.264Z] ==> git version 2.25.1 found [2023-10-11T23:36:42.264Z] ==> 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-10-11T23:36:42.264Z] Release-Date: 2020-01-08 [2023-10-11T23:36:42.264Z] 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-10-11T23:36:42.264Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-11T23:36:42.264Z] ==> Jenkins CI detected. [2023-10-11T23:36:42.264Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-350 [2023-10-11T23:36:42.264Z] project root: . [2023-10-11T23:36:42.264Z] --> token set from env [2023-10-11T23:36:42.264Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-11T23:36:42.264Z] ==> Running gcov in . (disable via -X gcov) [2023-10-11T23:36:42.264Z] ==> Python coveragepy not found [2023-10-11T23:36:42.264Z] ==> Searching for coverage reports in: [2023-10-11T23:36:42.264Z] + . [2023-10-11T23:36:42.264Z] -> Found 1 reports [2023-10-11T23:36:42.264Z] ==> Detecting git/mercurial file structure [2023-10-11T23:36:42.264Z] ==> Reading reports [2023-10-11T23:36:42.264Z] + ./coverage.out bytes=14499 [2023-10-11T23:36:42.264Z] ==> Appending adjustments [2023-10-11T23:36:42.264Z] https://docs.codecov.io/docs/fixing-reports [2023-10-11T23:36:42.524Z] + Found adjustments [2023-10-11T23:36:42.524Z] ==> Gzipping contents [2023-10-11T23:36:42.524Z] 4.0K /tmp/codecov.DvTEbb.gz [2023-10-11T23:36:42.524Z] ==> Uploading reports [2023-10-11T23:36:42.524Z] url: https://codecov.io [2023-10-11T23:36:42.524Z] query: branch=PR-350&commit=9c1d832aad727939ac1cb66317fdc055b29817d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-350%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=350&job=&cmd_args= [2023-10-11T23:36:42.524Z] -> Pinging Codecov [2023-10-11T23:36:42.524Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-350&commit=9c1d832aad727939ac1cb66317fdc055b29817d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-350%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=350&job=&cmd_args= [2023-10-11T23:36:42.524Z] -> Uploading to [2023-10-11T23:36:42.524Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-11/4E5D53B4F1F92C436F7061BF334D961C/9c1d832aad727939ac1cb66317fdc055b29817d5/cc4713ef-b8ef-4683-885e-65974dbcc8aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T233642Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d25800a1725df40caac9fdbad0c4278bb1c49931e237294f41ee72dd97f3dec [2023-10-11T23:36:42.524Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:36:42.524Z] Dload Upload Total Spent Left Speed [2023-10-11T23:36:42.784Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12280 --:--:-- --:--:-- --:--:-- 12220 100 2493 0 0 100 2493 0 9065 --:--:-- --:--:-- --:--:-- 9032 [2023-10-11T23:36:42.784Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9c1d832aad727939ac1cb66317fdc055b29817d5 [Pipeline] } [2023-10-11T23:36:42.810Z] 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-10-11T23:36:44.570Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-350/archives ] [2023-10-11T23:36:44.570Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-350/archives [2023-10-11T23:36:44.570Z] total 16 [2023-10-11T23:36:44.570Z] drwxr-xr-x 3 root root 4096 Oct 11 23:09 . [2023-10-11T23:36:44.570Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:36:44.570Z] drwxr-xr-x 2 root root 4096 Oct 11 23:09 cost [2023-10-11T23:36:44.570Z] -rw-r--r-- 1 root root 86 Oct 11 23:09 cost.csv [2023-10-11T23:36:44.570Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-350/archives [2023-10-11T23:36:44.570Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-350/archives [2023-10-11T23:36:44.570Z] total 16 [2023-10-11T23:36:44.570Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:09 . [2023-10-11T23:36:44.570Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:36:44.570Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 23:09 cost [2023-10-11T23:36:44.570Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 11 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:44.901Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:45.784Z] ---> package-listing.sh [2023-10-11T23:36:45.784Z] ++ facter osfamily [2023-10-11T23:36:45.784Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-11T23:36:46.043Z] + OS_FAMILY=debian [2023-10-11T23:36:46.043Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-350 [2023-10-11T23:36:46.043Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-11T23:36:46.043Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-11T23:36:46.043Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-11T23:36:46.043Z] + PACKAGES=/tmp/packages_start.txt [2023-10-11T23:36:46.043Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-350 ']' [2023-10-11T23:36:46.043Z] + PACKAGES=/tmp/packages_end.txt [2023-10-11T23:36:46.043Z] + case "${OS_FAMILY}" in [2023-10-11T23:36:46.043Z] + dpkg -l [2023-10-11T23:36:46.043Z] + grep '^ii' [2023-10-11T23:36:46.043Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-11T23:36:46.043Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-11T23:36:46.043Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-11T23:36:46.043Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-350 ']' [2023-10-11T23:36:46.043Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-350/archives/ [2023-10-11T23:36:46.043Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-350/archives/ [Pipeline] echo [2023-10-11T23:36:46.078Z] 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-350/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-11T23:36:46.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:36:47.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:36:47.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:36:47.155Z] prd-ubuntu20.04-docker-8c-8g-8892 does not seem to be running inside a container [2023-10-11T23:36:47.153Z] $ 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-350/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-350 -v /w/workspace/gexfoundry_device-rest-go_PR-350:/w/workspace/gexfoundry_device-rest-go_PR-350:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-350@tmp:/w/workspace/gexfoundry_device-rest-go_PR-350@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-11T23:36:47.354Z] $ docker top 7214085d2470e983853b05284738de0a1537227cbd673dac9a2c6df7b13bb0b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:36:47.784Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-11T23:36:48.092Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-11T23:36:48.403Z] + ls /var/log/sa-host [2023-10-11T23:36:48.403Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:36:48.541Z] provisioning config files... [2023-10-11T23:36:48.549Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-350@tmp/config13101662631474944878tmp [Pipeline] { [Pipeline] echo [2023-10-11T23:36:48.608Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:48.920Z] ---> create-netrc.sh [Pipeline] } [2023-10-11T23:36:48.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:49.342Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-11T23:36:49.374Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:49.687Z] ---> sudo-logs.sh [2023-10-11T23:36:49.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-11T23:36:49.765Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:50.076Z] ---> job-cost.sh [2023-10-11T23:36:50.076Z] lf-activate-venv: SKIPPING [2023-10-11T23:36:50.076Z] DEBUG: total: 0.2199999988079071 [2023-10-11T23:36:50.076Z] INFO: Retrieving Stack Cost... [2023-10-11T23:36:50.335Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:36:50.902Z] INFO: Archiving Costs [Pipeline] echo [2023-10-11T23:36:50.948Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:36:51.259Z] ---> logs-deploy.sh [2023-10-11T23:36:51.259Z] lf-activate-venv: SKIPPING [2023-10-11T23:36:51.259Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-350/1 [2023-10-11T23:36:51.259Z] INFO: archiving workspace using pattern(s): [2023-10-11T23:36:52.194Z] Archives upload complete. [2023-10-11T23:36:52.194Z] INFO: archiving logs to Nexus