Pull request #339 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92bcd6d69ec96fb54b40ef7829184fccd396eb83+7661139dd1c3d848a7247d8835c5c2fde1868ee5 (c8485f12553fdff3f22714d24e856a2932fec8f5) 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-ssh16408693557375934081.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-ssh10166513824543710004.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-339/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1344485233608530406.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 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-ssh10027472504430910962.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-339/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh112338036562996764.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-centos7-blackbox-4c-2g-5675’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5676’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6006’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6007’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6008’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6011’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6020’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6012’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6013’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6014’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6015’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6017’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6029 in /w/workspace/gexfoundry_device-rest-go_PR-339 [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-339 # 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 Merging remotes/origin/main commit 7661139dd1c3d848a7247d8835c5c2fde1868ee5 into PR head commit 92bcd6d69ec96fb54b40ef7829184fccd396eb83 Merge succeeded, producing ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc Checking out Revision ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc (PR-339) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config 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/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # 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 7661139dd1c3d848a7247d8835c5c2fde1868ee5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc # timeout=10 Commit message: "Merge commit '7661139dd1c3d848a7247d8835c5c2fde1868ee5' into HEAD" > git rev-list --no-walk 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T22:05:06.943Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T22:05:06.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T22:05:07.020Z] ========================================================= [2023-09-12T22:05:07.020Z] EdgeX Global Pipelines Version Info [2023-09-12T22:05:07.020Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:05:07.735Z] ------------------- [2023-09-12T22:05:07.735Z] stable info: [2023-09-12T22:05:07.735Z] ------------------- [2023-09-12T22:05:07.735Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T22:05:07.735Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:05:07.735Z] Message: update stable to v1.0.254 [2023-09-12T22:05:08.306Z] ------------------- [2023-09-12T22:05:08.306Z] experimental info: [2023-09-12T22:05:08.306Z] ------------------- [2023-09-12T22:05:08.306Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T22:05:08.306Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:05:08.306Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T22:05:08.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-12T22:05:08.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-12T22:05:08.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T22:05:08.534Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T22:05:08.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T22:05:08.574Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T22:05:08.590Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T22:05:08.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T22:05:08.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T22:05:08.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T22:05:08.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T22:05:08.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-12T22:05:08.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T22:05:08.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T22:05:08.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:05:08.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:05:08.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:05:08.772Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:05:08.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T22:05:08.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T22:05:08.815Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T22:05:08.828Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T22:05:08.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T22:05:08.860Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T22:05:08.872Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T22:05:08.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T22:05:08.906Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T22:05:08.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-339 [Pipeline] echo [2023-09-12T22:05:08.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-339 [Pipeline] echo [2023-09-12T22:05:08.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-339 [Pipeline] echo [2023-09-12T22:05:08.969Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [Pipeline] echo [2023-09-12T22:05:08.984Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef60b43 [Pipeline] echo [2023-09-12T22:05:09.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:05:09.044Z] provisioning config files... [2023-09-12T22:05:09.055Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config9232700517080944134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:05:09.357Z] ---> docker-login.sh [2023-09-12T22:05:09.357Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:05:09.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:09.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:09.622Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:09.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:09.622Z] [2023-09-12T22:05:09.622Z] Login Succeeded [2023-09-12T22:05:09.622Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:05:09.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:09.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:09.622Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:09.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:09.622Z] [2023-09-12T22:05:09.622Z] Login Succeeded [2023-09-12T22:05:09.622Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:05:09.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:09.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:09.881Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:09.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:09.881Z] [2023-09-12T22:05:09.881Z] Login Succeeded [2023-09-12T22:05:09.881Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:05:09.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:09.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:09.881Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:09.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:09.881Z] [2023-09-12T22:05:09.881Z] Login Succeeded [2023-09-12T22:05:09.881Z] docker.io [2023-09-12T22:05:10.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:10.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:10.403Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:10.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:10.403Z] [2023-09-12T22:05:10.403Z] Login Succeeded [2023-09-12T22:05:10.403Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:05:10.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T22:05:10.777Z] + git rev-list -1 --merges ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc~1..ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [Pipeline] echo [2023-09-12T22:05:10.822Z] -----------> git rev-list -1 --merges ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc~1..ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [2023-09-12T22:05:10.822Z] ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [false] [Pipeline] sh [2023-09-12T22:05:11.105Z] + git log --format=format:%s -1 ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [Pipeline] echo [2023-09-12T22:05:11.120Z] ========================================================= [2023-09-12T22:05:11.120Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T22:05:11.120Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:05:11.445Z] + git log --format=format:%s -1 ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [Pipeline] echo [2023-09-12T22:05:11.457Z] [semverPrep] GIT_COMMIT: ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc, Commit Message: Merge commit '7661139dd1c3d848a7247d8835c5c2fde1868ee5' into HEAD [Pipeline] echo [2023-09-12T22:05:11.466Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T22:05:11.824Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:05:11.824Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T22:05:11.824Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T22:05:11.824Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T22:05:11.824Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T22:05:11.824Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T22:05:11.824Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:05:12.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:05:12.193Z] [2023-09-12T22:05:12.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:05:12.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:05:12.500Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T22:05:12.500Z] b85a868b505f: Pulling fs layer [2023-09-12T22:05:12.500Z] e2be974225ed: Pulling fs layer [2023-09-12T22:05:12.500Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T22:05:12.500Z] 988bab9f4d93: Pulling fs layer [2023-09-12T22:05:12.500Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T22:05:12.500Z] eaf3925da568: Pulling fs layer [2023-09-12T22:05:12.500Z] bab4dde63d76: Pulling fs layer [2023-09-12T22:05:12.500Z] bde34c3a00c8: Pulling fs layer [2023-09-12T22:05:12.500Z] b352a97aabf1: Pulling fs layer [2023-09-12T22:05:12.500Z] 4872d77fe225: Pulling fs layer [2023-09-12T22:05:12.500Z] 5851b861e8e6: Pulling fs layer [2023-09-12T22:05:12.500Z] 1469e6f7b9e6: Waiting [2023-09-12T22:05:12.500Z] eaf3925da568: Waiting [2023-09-12T22:05:12.500Z] bab4dde63d76: Waiting [2023-09-12T22:05:12.500Z] 5851b861e8e6: Waiting [2023-09-12T22:05:12.500Z] bde34c3a00c8: Waiting [2023-09-12T22:05:12.500Z] b352a97aabf1: Waiting [2023-09-12T22:05:12.500Z] 4872d77fe225: Waiting [2023-09-12T22:05:12.500Z] 988bab9f4d93: Waiting [2023-09-12T22:05:12.500Z] e2be974225ed: Verifying Checksum [2023-09-12T22:05:12.500Z] e2be974225ed: Download complete [2023-09-12T22:05:12.500Z] 988bab9f4d93: Verifying Checksum [2023-09-12T22:05:12.500Z] 988bab9f4d93: Download complete [2023-09-12T22:05:12.500Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T22:05:12.500Z] 339a4e72a1f5: Download complete [2023-09-12T22:05:12.500Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T22:05:12.500Z] 1469e6f7b9e6: Download complete [2023-09-12T22:05:12.500Z] eaf3925da568: Verifying Checksum [2023-09-12T22:05:12.500Z] eaf3925da568: Download complete [2023-09-12T22:05:12.771Z] bde34c3a00c8: Verifying Checksum [2023-09-12T22:05:12.771Z] bde34c3a00c8: Download complete [2023-09-12T22:05:12.771Z] b352a97aabf1: Verifying Checksum [2023-09-12T22:05:12.771Z] b352a97aabf1: Download complete [2023-09-12T22:05:12.771Z] 4872d77fe225: Verifying Checksum [2023-09-12T22:05:12.771Z] 4872d77fe225: Download complete [2023-09-12T22:05:12.771Z] 5851b861e8e6: Verifying Checksum [2023-09-12T22:05:12.771Z] 5851b861e8e6: Download complete [2023-09-12T22:05:12.771Z] b85a868b505f: Verifying Checksum [2023-09-12T22:05:12.771Z] b85a868b505f: Download complete [2023-09-12T22:05:13.035Z] bab4dde63d76: Verifying Checksum [2023-09-12T22:05:13.035Z] bab4dde63d76: Download complete [2023-09-12T22:05:13.973Z] b85a868b505f: Pull complete [2023-09-12T22:05:14.233Z] e2be974225ed: Pull complete [2023-09-12T22:05:14.802Z] 339a4e72a1f5: Pull complete [2023-09-12T22:05:14.802Z] 988bab9f4d93: Pull complete [2023-09-12T22:05:15.062Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:05:15.062Z] eaf3925da568: Pull complete [2023-09-12T22:05:16.966Z] bab4dde63d76: Pull complete [2023-09-12T22:05:16.966Z] bde34c3a00c8: Pull complete [2023-09-12T22:05:17.226Z] b352a97aabf1: Pull complete [2023-09-12T22:05:17.226Z] 4872d77fe225: Pull complete [2023-09-12T22:05:17.226Z] 5851b861e8e6: Pull complete [2023-09-12T22:05:17.226Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:05:17.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:05:17.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:05:17.327Z] prd-ubuntu20.04-docker-8c-8g-6029 does not seem to be running inside a container [2023-09-12T22:05:17.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:05:21.050Z] $ docker top 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb -eo pid,comm [2023-09-12T22:05:21.121Z] 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-09-12T22:05:21.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:05:21.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:05:21.154Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:05:21.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:05:21.263Z] $ docker exec 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb ssh-agent [2023-09-12T22:05:21.382Z] SSH_AUTH_SOCK=/tmp/ssh-J8IyM7HJODMy/agent.32 [2023-09-12T22:05:21.382Z] SSH_AGENT_PID=37 [2023-09-12T22:05:21.388Z] Running ssh-add (command line suppressed) [2023-09-12T22:05:21.490Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_16809115236892696434.key (/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_16809115236892696434.key) [2023-09-12T22:05:21.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:05:21.803Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:05:21.815Z] $ docker exec --env ******** --env ******** 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb ssh-agent -k [2023-09-12T22:05:21.928Z] unset SSH_AUTH_SOCK; [2023-09-12T22:05:21.928Z] unset SSH_AGENT_PID; [2023-09-12T22:05:21.928Z] echo Agent pid 37 killed; [2023-09-12T22:05:21.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:05:21.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:05:21.975Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:05:22.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:05:22.083Z] $ docker exec 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb ssh-agent [2023-09-12T22:05:22.205Z] SSH_AUTH_SOCK=/tmp/ssh-STZdYBbUfaBW/agent.69 [2023-09-12T22:05:22.205Z] SSH_AGENT_PID=75 [2023-09-12T22:05:22.209Z] Running ssh-add (command line suppressed) [2023-09-12T22:05:22.315Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_2966445016674422859.key (/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/private_key_2966445016674422859.key) [2023-09-12T22:05:22.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:05:22.622Z] + git semver init [2023-09-12T22:05:22.880Z] 2023-09-12 22:05:22,811 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:05:22.880Z] 2023-09-12 22:05:22,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver [2023-09-12T22:05:22.880Z] 2023-09-12 22:05:22,812 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-339/.semver [2023-09-12T22:05:22.880Z] 2023-09-12 22:05:22,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-339/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-339/.git/info/exclude [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 with force:False [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,857 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,862 [execute] INFO git cat-file --batch-check [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,868 [execute] INFO git cat-file --batch [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-339/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:05:24.257Z] 2023-09-12 22:05:23,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-339/.semver/PR-339 [2023-09-12T22:05:24.257Z] 0.0.0 [Pipeline] } [2023-09-12T22:05:24.260Z] $ docker exec --env ******** --env ******** 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb ssh-agent -k [2023-09-12T22:05:24.353Z] unset SSH_AUTH_SOCK; [2023-09-12T22:05:24.354Z] unset SSH_AGENT_PID; [2023-09-12T22:05:24.354Z] echo Agent pid 75 killed; [2023-09-12T22:05:24.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:05:24.678Z] + git semver [Pipeline] } [2023-09-12T22:05:24.944Z] $ docker stop --time=1 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb [2023-09-12T22:05:26.248Z] $ docker rm -f --volumes 6e5aed7a688c5e2725fa904ab8e323243492cb5a1cc6f06dd5e8a284298fe6bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:05:26.590Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:05:26.818Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:05:26.820Z] [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-09-12T22:05:26.972Z] provisioning config files... [2023-09-12T22:05:27.122Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config13600129876572728206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:05:27.415Z] ---> docker-login.sh [2023-09-12T22:05:27.415Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:05:27.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:27.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:27.415Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:27.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:27.415Z] [2023-09-12T22:05:27.415Z] Login Succeeded [2023-09-12T22:05:27.415Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:05:27.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:27.674Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:27.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:27.674Z] [2023-09-12T22:05:27.674Z] Login Succeeded [2023-09-12T22:05:27.674Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:05:27.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:27.674Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:27.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:27.674Z] [2023-09-12T22:05:27.674Z] Login Succeeded [2023-09-12T22:05:27.674Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:05:27.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:27.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:27.933Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:27.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:27.933Z] [2023-09-12T22:05:27.933Z] Login Succeeded [2023-09-12T22:05:27.933Z] docker.io [2023-09-12T22:05:27.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:05:28.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:05:28.192Z] Configure a credential helper to remove this warning. See [2023-09-12T22:05:28.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:05:28.192Z] [2023-09-12T22:05:28.192Z] Login Succeeded [2023-09-12T22:05:28.192Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:05:28.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:05:28.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:05:28.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:05:28.291Z] ========================================================= [2023-09-12T22:05:28.291Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:05:28.291Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:05:28.611Z] + 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-09-12T22:05:28.611Z] Sending build context to Docker daemon 10.94MB [2023-09-12T22:05:28.611Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:05:28.611Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:05:28.611Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:05:28.611Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:05:28.611Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:05:28.611Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:05:28.611Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:05:28.611Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:05:28.611Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:05:28.611Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:05:28.611Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:05:28.611Z] ad3a456e5733: Waiting [2023-09-12T22:05:28.611Z] 9e4f439ed901: Waiting [2023-09-12T22:05:28.611Z] feaf6a47b606: Waiting [2023-09-12T22:05:28.611Z] 5e8b037d7d82: Waiting [2023-09-12T22:05:28.611Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:05:28.611Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:05:28.611Z] 9250d5d63582: Waiting [2023-09-12T22:05:28.611Z] 6db16350a2e2: Waiting [2023-09-12T22:05:28.611Z] 8ac70367396e: Waiting [2023-09-12T22:05:28.611Z] c4d48a809fc2: Download complete [2023-09-12T22:05:28.611Z] ad3a456e5733: Download complete [2023-09-12T22:05:28.611Z] 9e4f439ed901: Download complete [2023-09-12T22:05:28.873Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:05:28.873Z] 7264a8db6415: Download complete [2023-09-12T22:05:28.873Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:05:28.873Z] feaf6a47b606: Download complete [2023-09-12T22:05:28.873Z] 7264a8db6415: Pull complete [2023-09-12T22:05:29.133Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:05:29.133Z] 8ac70367396e: Download complete [2023-09-12T22:05:29.133Z] c4d48a809fc2: Pull complete [2023-09-12T22:05:29.133Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T22:05:29.133Z] 4f1c88b9dad5: Download complete [2023-09-12T22:05:29.392Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:05:29.392Z] 6db16350a2e2: Download complete [2023-09-12T22:05:29.650Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:05:29.650Z] 9250d5d63582: Download complete [2023-09-12T22:05:29.650Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T22:05:29.650Z] 5e8b037d7d82: Download complete [2023-09-12T22:05:32.175Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:05:32.175Z] ad3a456e5733: Pull complete [2023-09-12T22:05:32.433Z] 9e4f439ed901: Pull complete [2023-09-12T22:05:32.433Z] feaf6a47b606: Pull complete [2023-09-12T22:05:34.962Z] 5e8b037d7d82: Pull complete [2023-09-12T22:05:35.527Z] 8ac70367396e: Pull complete [2023-09-12T22:05:35.786Z] 6db16350a2e2: Pull complete [2023-09-12T22:05:36.353Z] 9250d5d63582: Pull complete [2023-09-12T22:05:36.353Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:05:36.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:05:36.353Z] ---> fa269f55d9b9 [2023-09-12T22:05:36.353Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:05:41.641Z] ---> Running in 2c4c9977baaa [2023-09-12T22:05:41.641Z] Removing intermediate container 2c4c9977baaa [2023-09-12T22:05:41.641Z] ---> 35d4ad572e4d [2023-09-12T22:05:41.641Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:05:41.641Z] ---> Running in 28102f1b3b52 [2023-09-12T22:05:41.641Z] Removing intermediate container 28102f1b3b52 [2023-09-12T22:05:41.641Z] ---> d4450f308918 [2023-09-12T22:05:41.641Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:05:41.641Z] ---> Running in b3218b16cdd8 [2023-09-12T22:05:41.641Z] Removing intermediate container b3218b16cdd8 [2023-09-12T22:05:41.641Z] ---> 4cc7b5fef895 [2023-09-12T22:05:41.641Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:05:41.641Z] ---> Running in cf49b7e91786 [2023-09-12T22:05:41.641Z] Removing intermediate container cf49b7e91786 [2023-09-12T22:05:41.641Z] ---> 734fb7bbb253 [2023-09-12T22:05:41.641Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:05:41.641Z] ---> Running in e05cecdf981c [2023-09-12T22:05:41.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:05:41.918Z] Still waiting to schedule task [2023-09-12T22:05:41.918Z] ‘prd-centos7-blackbox-4c-2g-5675’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:05:41.918Z] ‘prd-centos7-blackbox-4c-2g-5676’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-12T22:05:41.918Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6031’ is offline [2023-09-12T22:05:42.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:05:42.419Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:05:42.419Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:05:42.419Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:05:42.419Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:05:42.419Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:05:42.419Z] OK: 270 MiB in 60 packages [2023-09-12T22:05:42.986Z] Removing intermediate container e05cecdf981c [2023-09-12T22:05:42.986Z] ---> 2bc2f30e8ec3 [2023-09-12T22:05:42.986Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T22:05:42.986Z] ---> Running in 7d9b3edb1f6b [2023-09-12T22:05:42.986Z] Removing intermediate container 7d9b3edb1f6b [2023-09-12T22:05:42.986Z] ---> 00f6a6ef573b [2023-09-12T22:05:42.986Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:05:43.245Z] ---> ca423f6cb160 [2023-09-12T22:05:43.245Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:05:43.245Z] ---> Running in fcb5d61cd4bf [2023-09-12T22:06:15.419Z] Removing intermediate container fcb5d61cd4bf [2023-09-12T22:06:15.419Z] ---> b31340e0e368 [2023-09-12T22:06:15.419Z] Step 11/12 : COPY . . [2023-09-12T22:06:15.419Z] ---> eda087dbcced [2023-09-12T22:06:15.419Z] Step 12/12 : RUN $MAKE [2023-09-12T22:06:15.419Z] ---> Running in 63dbc573fc4f [2023-09-12T22:06:15.419Z] noop [2023-09-12T22:06:15.419Z] Removing intermediate container 63dbc573fc4f [2023-09-12T22:06:15.419Z] ---> a140b84f5c66 [2023-09-12T22:06:15.419Z] Successfully built a140b84f5c66 [2023-09-12T22:06:15.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:15.725Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:06:15.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:15.798Z] prd-ubuntu20.04-docker-8c-8g-6029 does not seem to be running inside a container [2023-09-12T22:06:15.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T22:06:16.140Z] $ docker top 889077a330787833d1675341fec8935dc657b321fde232179bf84e9cb4e0c183 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:16.474Z] + go version [2023-09-12T22:06:16.474Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:06:16.489Z] $ docker stop --time=1 889077a330787833d1675341fec8935dc657b321fde232179bf84e9cb4e0c183 [2023-09-12T22:06:17.730Z] $ docker rm -f --volumes 889077a330787833d1675341fec8935dc657b321fde232179bf84e9cb4e0c183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:18.122Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:06:18.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:18.193Z] prd-ubuntu20.04-docker-8c-8g-6029 does not seem to be running inside a container [2023-09-12T22:06:18.230Z] $ 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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T22:06:18.548Z] $ docker top 5ba9be6e625fa565debf5426794c6e86ec12257a455df8da4d3f11b34c0cde43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:18.888Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-339 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:06:19.184Z] + make test [2023-09-12T22:06:19.184Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:06:20.560Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T22:06:30.530Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T22:06:30.530Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-09-12T22:06:37.082Z] go vet ./... [2023-09-12T22:06:39.614Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:06:39.614Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:06:39.614Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:06:39.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:06:39.897Z] $ docker stop --time=1 5ba9be6e625fa565debf5426794c6e86ec12257a455df8da4d3f11b34c0cde43 [2023-09-12T22:06:43.609Z] $ docker rm -f --volumes 5ba9be6e625fa565debf5426794c6e86ec12257a455df8da4d3f11b34c0cde43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:06:44.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:06:44.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:06:44.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:06:44.795Z] + ls -al . [2023-09-12T22:06:44.795Z] total 188 [2023-09-12T22:06:44.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:06 . [2023-09-12T22:06:44.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:05 .. [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:05 .dockerignore [2023-09-12T22:06:44.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:06 .git [2023-09-12T22:06:44.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:05 .github [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:05 .gitignore [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:05 .golangci.yml [2023-09-12T22:06:44.795Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:05 .semver [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:05 Attribution.txt [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:05 CHANGELOG.md [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:05 Dockerfile [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:05 GOVERNANCE.md [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:05 Jenkinsfile [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:05 LICENSE [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:05 Makefile [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:05 OWNERS.md [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:05 README.md [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 22:05 VERSION [2023-09-12T22:06:44.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:05 bin [2023-09-12T22:06:44.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:05 cmd [2023-09-12T22:06:44.795Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:06 coverage.out [2023-09-12T22:06:44.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:05 driver [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:05 go.mod [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:05 go.sum [2023-09-12T22:06:44.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:05 snap [2023-09-12T22:06:44.795Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:45.096Z] + 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=ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc --label arch=amd64 --label version=0.0.0 . [2023-09-12T22:06:45.097Z] Sending build context to Docker daemon 10.95MB [2023-09-12T22:06:45.097Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:06:45.097Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:06:45.097Z] ---> a140b84f5c66 [2023-09-12T22:06:45.097Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:06:45.355Z] ---> Running in 1eef35dff403 [2023-09-12T22:06:45.355Z] Removing intermediate container 1eef35dff403 [2023-09-12T22:06:45.355Z] ---> 39742dce15a5 [2023-09-12T22:06:45.355Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:06:45.355Z] ---> Running in 3d1dab1bff9d [2023-09-12T22:06:45.355Z] Removing intermediate container 3d1dab1bff9d [2023-09-12T22:06:45.355Z] ---> ade5efb5df01 [2023-09-12T22:06:45.355Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:06:45.355Z] ---> Running in af6aef0913d8 [2023-09-12T22:06:45.614Z] Removing intermediate container af6aef0913d8 [2023-09-12T22:06:45.614Z] ---> 87059de9520e [2023-09-12T22:06:45.614Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:06:45.614Z] ---> Running in 388a7f7668f4 [2023-09-12T22:06:45.614Z] Removing intermediate container 388a7f7668f4 [2023-09-12T22:06:45.614Z] ---> 36c5d629f0ad [2023-09-12T22:06:45.614Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:06:45.614Z] ---> Running in 0b31c9c68891 [2023-09-12T22:06:45.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:06:45.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:06:46.133Z] OK: 270 MiB in 60 packages [2023-09-12T22:06:46.396Z] Removing intermediate container 0b31c9c68891 [2023-09-12T22:06:46.396Z] ---> fa0b03276c73 [2023-09-12T22:06:46.396Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T22:06:46.396Z] ---> Running in 07dde8db5bbe [2023-09-12T22:06:46.657Z] Removing intermediate container 07dde8db5bbe [2023-09-12T22:06:46.657Z] ---> 4833ead426f1 [2023-09-12T22:06:46.657Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:06:46.657Z] ---> 1488df2c0d2c [2023-09-12T22:06:46.657Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:06:46.657Z] ---> Running in 16af9fbcb653 [2023-09-12T22:06:47.695Z] Removing intermediate container 16af9fbcb653 [2023-09-12T22:06:47.695Z] ---> e95d3e81ee55 [2023-09-12T22:06:47.695Z] Step 11/25 : COPY . . [2023-09-12T22:06:47.953Z] ---> beb36173a2ac [2023-09-12T22:06:47.953Z] Step 12/25 : RUN $MAKE [2023-09-12T22:06:47.953Z] ---> Running in 2f20eec6557b [2023-09-12T22:06:48.211Z] 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.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T22:07:10.177Z] Removing intermediate container 2f20eec6557b [2023-09-12T22:07:10.177Z] ---> 79b927df1369 [2023-09-12T22:07:10.177Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:07:10.177Z] 3.18: Pulling from library/alpine [2023-09-12T22:07:10.177Z] 7264a8db6415: Already exists [2023-09-12T22:07:10.177Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:07:10.177Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:07:10.177Z] ---> 7e01a0d0a1dc [2023-09-12T22:07:10.177Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T22:07:10.177Z] ---> Running in 69189c0225bc [2023-09-12T22:07:10.177Z] Removing intermediate container 69189c0225bc [2023-09-12T22:07:10.177Z] ---> f86923a2662e [2023-09-12T22:07:10.177Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T22:07:10.177Z] ---> Running in 947225f355b6 [2023-09-12T22:07:10.177Z] Removing intermediate container 947225f355b6 [2023-09-12T22:07:10.177Z] ---> 6228069ef307 [2023-09-12T22:07:10.177Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:07:10.177Z] ---> Running in 181368bf86e5 [2023-09-12T22:07:10.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:07:10.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:07:10.177Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:07:10.177Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:07:10.177Z] OK: 7 MiB in 16 packages [2023-09-12T22:07:10.177Z] Removing intermediate container 181368bf86e5 [2023-09-12T22:07:10.177Z] ---> 0ba4e7a1dab0 [2023-09-12T22:07:10.177Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T22:07:10.177Z] ---> 10075224d4db [2023-09-12T22:07:10.177Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T22:07:10.177Z] ---> f8a02f5e14e2 [2023-09-12T22:07:10.177Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T22:07:10.177Z] ---> 76a7428f0929 [2023-09-12T22:07:10.177Z] Step 20/25 : EXPOSE 59986 [2023-09-12T22:07:10.177Z] ---> Running in 54c99c0d38ad [2023-09-12T22:07:10.177Z] Removing intermediate container 54c99c0d38ad [2023-09-12T22:07:10.177Z] ---> 11ec7fb78895 [2023-09-12T22:07:10.177Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T22:07:10.177Z] ---> Running in ff3a70787645 [2023-09-12T22:07:10.177Z] Removing intermediate container ff3a70787645 [2023-09-12T22:07:10.177Z] ---> 595610d9fa20 [2023-09-12T22:07:10.177Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:07:10.177Z] ---> Running in ae876df74b1d [2023-09-12T22:07:10.177Z] Removing intermediate container ae876df74b1d [2023-09-12T22:07:10.177Z] ---> f7daeda925b7 [2023-09-12T22:07:10.177Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T22:07:10.177Z] ---> Running in cbfe7724b63e [2023-09-12T22:07:10.177Z] Removing intermediate container cbfe7724b63e [2023-09-12T22:07:10.177Z] ---> fda222679ca4 [2023-09-12T22:07:10.177Z] Step 24/25 : LABEL git_sha=ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [2023-09-12T22:07:10.177Z] ---> Running in 8d699bea275a [2023-09-12T22:07:10.177Z] Removing intermediate container 8d699bea275a [2023-09-12T22:07:10.177Z] ---> 3c38f171e4a9 [2023-09-12T22:07:10.177Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T22:07:10.177Z] ---> Running in 481ba5c91734 [2023-09-12T22:07:10.177Z] Removing intermediate container 481ba5c91734 [2023-09-12T22:07:10.177Z] ---> 8107b91c3b9a [2023-09-12T22:07:10.177Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:07:10.177Z] Successfully built 8107b91c3b9a [2023-09-12T22:07:10.177Z] 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-09-12T22:07:10.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:07:10.631Z] [2023-09-12T22:07:10.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:07:10.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:07:10.931Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:07:10.931Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:07:10.931Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:07:10.931Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:07:10.931Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:07:10.931Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:07:10.931Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:07:10.931Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:07:10.931Z] 33b1e0a273af: Waiting [2023-09-12T22:07:10.931Z] 2f39f015ded8: Waiting [2023-09-12T22:07:10.931Z] 5d3b04190fa2: Waiting [2023-09-12T22:07:10.931Z] 5c69ac0246d0: Download complete [2023-09-12T22:07:10.931Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T22:07:10.931Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:07:10.931Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:07:10.931Z] 33b1e0a273af: Download complete [2023-09-12T22:07:10.931Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T22:07:10.931Z] 5d3b04190fa2: Download complete [2023-09-12T22:07:10.931Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:07:10.931Z] ec43610c2a17: Download complete [2023-09-12T22:07:11.196Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:07:11.196Z] 5eb5b503b376: Download complete [2023-09-12T22:07:11.762Z] 2f39f015ded8: Download complete [2023-09-12T22:07:12.326Z] 5eb5b503b376: Pull complete [2023-09-12T22:07:12.326Z] 5c69ac0246d0: Pull complete [2023-09-12T22:07:12.585Z] ec43610c2a17: Pull complete [2023-09-12T22:07:12.844Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:07:13.102Z] 33b1e0a273af: Pull complete [2023-09-12T22:07:13.102Z] 5d3b04190fa2: Pull complete [2023-09-12T22:07:17.283Z] 2f39f015ded8: Pull complete [2023-09-12T22:07:17.283Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:07:17.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:07:17.284Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:07:17.359Z] prd-ubuntu20.04-docker-8c-8g-6029 does not seem to be running inside a container [2023-09-12T22:07:17.393Z] $ 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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:07:21.341Z] $ docker top c746e807178f1150044ecb9908b4dd7215fca3ba5ee3368c6dea1edaa0b7cad4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:07:21.714Z] ---> job-cost.sh [2023-09-12T22:07:21.714Z] lf-activate-venv: SKIPPING [2023-09-12T22:07:21.714Z] INFO: No Stack... [2023-09-12T22:07:21.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:07:22.231Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:07:22.516Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-339/archives/cost.csv [2023-09-12T22:07:22.516Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:07:22.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [2023-09-12T22:07:22.536Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] did not exist. Created. [2023-09-12T22:07:22.536Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:07:22.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:07:22.871Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:07:22.877Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:07:22.895Z] $ docker stop --time=1 c746e807178f1150044ecb9908b4dd7215fca3ba5ee3368c6dea1edaa0b7cad4 [2023-09-12T22:07:24.039Z] $ docker rm -f --volumes c746e807178f1150044ecb9908b4dd7215fca3ba5ee3368c6dea1edaa0b7cad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:10:59.651Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6033 in /w/workspace/gexfoundry_device-rest-go_PR-339 [Pipeline] { [Pipeline] ws [2023-09-12T22:10:59.661Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-09-12T22:10:59.800Z] The recommended git tool is: git [2023-09-12T22:11:10.424Z] using credential edgex-jenkins-ssh [2023-09-12T22:11:10.446Z] Cloning the remote Git repository [2023-09-12T22:11:10.480Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T22:11:10.631Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-09-12T22:11:10.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T22:11:10.946Z] > git --version # timeout=10 [2023-09-12T22:11:11.015Z] > git --version # 'git version 2.25.1' [2023-09-12T22:11:11.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:11:11.385Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:11:13.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-12T22:11:13.769Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:11:14.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-12T22:11:14.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-12T22:11:14.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:11:14.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/339/head:refs/remotes/origin/PR-339 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T22:11:15.497Z] Merging remotes/origin/main commit 7661139dd1c3d848a7247d8835c5c2fde1868ee5 into PR head commit 92bcd6d69ec96fb54b40ef7829184fccd396eb83 [2023-09-12T22:11:15.838Z] Merge succeeded, producing 1c263cfde55c68dd67d5d71d1a7f193cdac03124 [2023-09-12T22:11:15.838Z] Checking out Revision 1c263cfde55c68dd67d5d71d1a7f193cdac03124 (PR-339) [2023-09-12T22:11:15.497Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:11:15.571Z] > git checkout -f 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 [2023-09-12T22:11:15.661Z] > git remote # timeout=10 [2023-09-12T22:11:15.682Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T22:11:15.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:11:15.730Z] > git merge 7661139dd1c3d848a7247d8835c5c2fde1868ee5 # timeout=10 [2023-09-12T22:11:15.796Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T22:11:15.822Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:11:15.843Z] > git checkout -f 1c263cfde55c68dd67d5d71d1a7f193cdac03124 # timeout=10 [2023-09-12T22:11:19.561Z] Commit message: "Merge commit '7661139dd1c3d848a7247d8835c5c2fde1868ee5' into HEAD" [2023-09-12T22:11:19.546Z] > git rev-list --no-walk 92bcd6d69ec96fb54b40ef7829184fccd396eb83 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:11:20.548Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:11:20.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:11:20.548Z] Dload Upload Total Spent Left Speed [2023-09-12T22:11:20.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-09-12T22:11:21.280Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:11:21.630Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:11:21.631Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:11:21.631Z] { [2023-09-12T22:11:21.631Z] "registry-mirrors": [ [2023-09-12T22:11:21.631Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:11:21.631Z] ], [2023-09-12T22:11:21.631Z] "bip": "10.250.0.254/24", [2023-09-12T22:11:21.631Z] "hosts": [ [2023-09-12T22:11:21.631Z] "tcp://0.0.0.0:5555", [2023-09-12T22:11:21.631Z] "unix:///var/run/docker.sock" [2023-09-12T22:11:21.631Z] ], [2023-09-12T22:11:21.631Z] "mtu": 1458, [2023-09-12T22:11:21.631Z] "selinux-enabled": true, [2023-09-12T22:11:21.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:11:21.631Z] } [Pipeline] sh [2023-09-12T22:11:21.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:11:22.319Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:11:41.667Z] provisioning config files... [2023-09-12T22:11:41.695Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config12568666398948456444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:11:42.047Z] ---> docker-login.sh [2023-09-12T22:11:42.047Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:11:42.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:42.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:42.639Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:42.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:42.639Z] [2023-09-12T22:11:42.639Z] Login Succeeded [2023-09-12T22:11:42.639Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:11:42.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:43.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:43.187Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:43.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:43.187Z] [2023-09-12T22:11:43.187Z] Login Succeeded [2023-09-12T22:11:43.187Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:11:43.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:43.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:43.459Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:43.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:43.459Z] [2023-09-12T22:11:43.459Z] Login Succeeded [2023-09-12T22:11:43.459Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:11:43.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:44.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:44.006Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:44.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:44.006Z] [2023-09-12T22:11:44.006Z] Login Succeeded [2023-09-12T22:11:44.006Z] docker.io [2023-09-12T22:11:44.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:11:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:11:44.548Z] Configure a credential helper to remove this warning. See [2023-09-12T22:11:44.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:11:44.548Z] [2023-09-12T22:11:44.548Z] Login Succeeded [2023-09-12T22:11:44.548Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:11:44.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:11:44.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:11:44.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:11:44.887Z] ========================================================= [2023-09-12T22:11:44.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:11:44.887Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:11:45.243Z] + 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-09-12T22:11:45.244Z] Sending build context to Docker daemon 143.4kB [2023-09-12T22:11:45.517Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:11:45.517Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:11:45.792Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:11:45.792Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:11:45.792Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:11:45.792Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:11:45.792Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:11:45.792Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:11:45.792Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:11:45.792Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:11:45.792Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:11:45.792Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:11:45.792Z] 1baf3a5c0e64: Waiting [2023-09-12T22:11:45.792Z] 9a37bb91b891: Waiting [2023-09-12T22:11:45.792Z] a29adfc67d43: Waiting [2023-09-12T22:11:45.792Z] d5de9f91c1a4: Waiting [2023-09-12T22:11:45.792Z] f0e02332f6b5: Waiting [2023-09-12T22:11:45.792Z] 66412af1f25a: Waiting [2023-09-12T22:11:45.792Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:11:45.792Z] 5d54e960e981: Download complete [2023-09-12T22:11:45.792Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:11:45.792Z] f0e02332f6b5: Download complete [2023-09-12T22:11:45.792Z] 66412af1f25a: Download complete [2023-09-12T22:11:45.792Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T22:11:45.792Z] 9fda8d8052c6: Download complete [2023-09-12T22:11:46.382Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:11:46.382Z] 9a37bb91b891: Download complete [2023-09-12T22:11:47.000Z] 9fda8d8052c6: Pull complete [2023-09-12T22:11:47.000Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:11:47.000Z] a29adfc67d43: Download complete [2023-09-12T22:11:47.593Z] 5d54e960e981: Pull complete [2023-09-12T22:11:47.866Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:11:47.866Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:11:47.866Z] c4a7e357bf2a: Download complete [2023-09-12T22:11:48.837Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:11:48.837Z] 1baf3a5c0e64: Download complete [2023-09-12T22:12:01.194Z] c4a7e357bf2a: Pull complete [2023-09-12T22:12:01.194Z] f0e02332f6b5: Pull complete [2023-09-12T22:12:01.194Z] 66412af1f25a: Pull complete [2023-09-12T22:12:06.559Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:12:07.152Z] 9a37bb91b891: Pull complete [2023-09-12T22:12:08.117Z] a29adfc67d43: Pull complete [2023-09-12T22:12:09.533Z] d5de9f91c1a4: Pull complete [2023-09-12T22:12:09.533Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:12:09.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:12:09.533Z] ---> 746ca1b523b5 [2023-09-12T22:12:09.533Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:12:12.129Z] ---> Running in beded4b28ecf [2023-09-12T22:12:12.129Z] Removing intermediate container beded4b28ecf [2023-09-12T22:12:12.129Z] ---> 4d4b82512743 [2023-09-12T22:12:12.129Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:12:12.129Z] ---> Running in 4632e00522a9 [2023-09-12T22:12:12.398Z] Removing intermediate container 4632e00522a9 [2023-09-12T22:12:12.398Z] ---> 4cf8db6a674b [2023-09-12T22:12:12.398Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:12:12.398Z] ---> Running in 211d1b35093b [2023-09-12T22:12:13.000Z] Removing intermediate container 211d1b35093b [2023-09-12T22:12:13.000Z] ---> b56cf960f4a1 [2023-09-12T22:12:13.000Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:12:13.000Z] ---> Running in 500639888db5 [2023-09-12T22:12:13.270Z] Removing intermediate container 500639888db5 [2023-09-12T22:12:13.270Z] ---> 4ed4a0aab0b2 [2023-09-12T22:12:13.270Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:12:13.270Z] ---> Running in 8fde80573160 [2023-09-12T22:12:14.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:12:14.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:12:16.369Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:12:16.369Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:12:16.369Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:12:16.369Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:12:16.369Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:12:16.369Z] OK: 272 MiB in 60 packages [2023-09-12T22:12:17.347Z] Removing intermediate container 8fde80573160 [2023-09-12T22:12:17.347Z] ---> 6487cf5ccf28 [2023-09-12T22:12:17.347Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-12T22:12:17.619Z] ---> Running in 6b9607174fcf [2023-09-12T22:12:17.888Z] Removing intermediate container 6b9607174fcf [2023-09-12T22:12:17.888Z] ---> 7a52d7e87819 [2023-09-12T22:12:17.888Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:12:18.476Z] ---> d5f6bea200ac [2023-09-12T22:12:18.476Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:12:18.476Z] ---> Running in 279f56bd4ffd [2023-09-12T22:13:40.148Z] Removing intermediate container 279f56bd4ffd [2023-09-12T22:13:40.148Z] ---> e26145a15c9c [2023-09-12T22:13:40.148Z] Step 11/12 : COPY . . [2023-09-12T22:13:40.148Z] ---> 0b46c6b4b114 [2023-09-12T22:13:40.148Z] Step 12/12 : RUN $MAKE [2023-09-12T22:13:40.148Z] ---> Running in 730bcb76dd2d [2023-09-12T22:13:40.148Z] noop [2023-09-12T22:13:40.148Z] Removing intermediate container 730bcb76dd2d [2023-09-12T22:13:40.148Z] ---> 883dab74a8dc [2023-09-12T22:13:40.148Z] Successfully built 883dab74a8dc [2023-09-12T22:13:40.148Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:40.511Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:13:40.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:40.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-6033 does not seem to be running inside a container [2023-09-12T22:13:40.821Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:13:42.153Z] $ docker top 274823d70ef62c4b347c08c44299612fb812fed384466b3bcd2c948c5aa9a519 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:13:43.037Z] + go version [2023-09-12T22:13:43.037Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:13:43.072Z] $ docker stop --time=1 274823d70ef62c4b347c08c44299612fb812fed384466b3bcd2c948c5aa9a519 [2023-09-12T22:13:44.752Z] $ docker rm -f --volumes 274823d70ef62c4b347c08c44299612fb812fed384466b3bcd2c948c5aa9a519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:45.305Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:13:45.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:45.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-6033 does not seem to be running inside a container [2023-09-12T22:13:45.583Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:13:46.863Z] $ docker top 5eb0817daa637dd930aa576577a6bf1713ee4ca18db81cb0587051c3167961ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:13:47.721Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:13:48.377Z] + make test [2023-09-12T22:13:48.377Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T22:13:53.734Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-12T22:15:45.444Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-12T22:15:45.444Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements [2023-09-12T22:15:45.444Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:15:45.444Z] go vet ./... [2023-09-12T22:15:55.519Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:15:55.519Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:15:55.519Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:15:55.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:15:55.569Z] $ docker stop --time=1 5eb0817daa637dd930aa576577a6bf1713ee4ca18db81cb0587051c3167961ec [2023-09-12T22:15:57.427Z] $ docker rm -f --volumes 5eb0817daa637dd930aa576577a6bf1713ee4ca18db81cb0587051c3167961ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:15:58.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:15:58.597Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:15:59.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:15:59.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:15:59.754Z] + ls -al . [2023-09-12T22:15:59.754Z] total 184 [2023-09-12T22:15:59.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:13 . [2023-09-12T22:15:59.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:11 .. [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 12 22:11 .dockerignore [2023-09-12T22:15:59.754Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:11 .git [2023-09-12T22:15:59.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:11 .github [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 22:11 .gitignore [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:11 .golangci.yml [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 12 22:11 Attribution.txt [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 12 22:11 CHANGELOG.md [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 12 22:11 Dockerfile [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:11 GOVERNANCE.md [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 12 22:11 Jenkinsfile [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:11 LICENSE [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 12 22:11 Makefile [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:11 OWNERS.md [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 12 22:11 README.md [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 22:05 VERSION [2023-09-12T22:15:59.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:11 bin [2023-09-12T22:15:59.754Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:11 cmd [2023-09-12T22:15:59.754Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 12 22:15 coverage.out [2023-09-12T22:15:59.754Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:11 driver [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 12 22:11 go.mod [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 22:11 go.sum [2023-09-12T22:15:59.754Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:11 snap [2023-09-12T22:15:59.754Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 12 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:16:00.158Z] + 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=1c263cfde55c68dd67d5d71d1a7f193cdac03124 --label arch=arm64 --label version=0.0.0 . [2023-09-12T22:16:00.158Z] Sending build context to Docker daemon 158.7kB [2023-09-12T22:16:00.431Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:16:00.431Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T22:16:00.431Z] ---> 883dab74a8dc [2023-09-12T22:16:00.431Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:16:00.431Z] ---> Running in b2dbdeb00ecf [2023-09-12T22:16:00.704Z] Removing intermediate container b2dbdeb00ecf [2023-09-12T22:16:00.704Z] ---> b9835a106c8b [2023-09-12T22:16:00.704Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:16:01.100Z] ---> Running in 77c816644011 [2023-09-12T22:16:01.100Z] Removing intermediate container 77c816644011 [2023-09-12T22:16:01.100Z] ---> ce1bd0d170e8 [2023-09-12T22:16:01.100Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:16:01.375Z] ---> Running in 9d48c9ab355b [2023-09-12T22:16:01.658Z] Removing intermediate container 9d48c9ab355b [2023-09-12T22:16:01.658Z] ---> fbacf59d7d4e [2023-09-12T22:16:01.658Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:16:01.658Z] ---> Running in 596853166f15 [2023-09-12T22:16:01.936Z] Removing intermediate container 596853166f15 [2023-09-12T22:16:01.936Z] ---> 88e314758cc8 [2023-09-12T22:16:01.936Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:16:01.936Z] ---> Running in e41fe82da52a [2023-09-12T22:16:02.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:16:03.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:16:04.482Z] OK: 272 MiB in 60 packages [2023-09-12T22:16:05.447Z] Removing intermediate container e41fe82da52a [2023-09-12T22:16:05.447Z] ---> 2149c75bf120 [2023-09-12T22:16:05.447Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-12T22:16:05.447Z] ---> Running in d3800236e929 [2023-09-12T22:16:05.713Z] Removing intermediate container d3800236e929 [2023-09-12T22:16:05.713Z] ---> 26296c076926 [2023-09-12T22:16:05.713Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-12T22:16:09.064Z] ---> fdce838cd303 [2023-09-12T22:16:09.064Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:16:09.064Z] ---> Running in 3a4865f6ca8f [2023-09-12T22:16:11.012Z] Removing intermediate container 3a4865f6ca8f [2023-09-12T22:16:11.012Z] ---> 782f71178f2c [2023-09-12T22:16:11.012Z] Step 11/25 : COPY . . [2023-09-12T22:16:11.598Z] ---> 4374a1061ded [2023-09-12T22:16:11.598Z] Step 12/25 : RUN $MAKE [2023-09-12T22:16:11.598Z] ---> Running in 442400c43439 [2023-09-12T22:16:12.560Z] 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.22" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-12T22:18:04.233Z] Removing intermediate container 442400c43439 [2023-09-12T22:18:04.233Z] ---> 7853ae331224 [2023-09-12T22:18:04.233Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T22:18:04.233Z] 3.18: Pulling from library/alpine [2023-09-12T22:18:04.233Z] 9fda8d8052c6: Already exists [2023-09-12T22:18:04.233Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:18:04.233Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:18:04.233Z] ---> f6648c04cd6c [2023-09-12T22:18:04.233Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T22:18:04.233Z] ---> Running in 1bc42c776804 [2023-09-12T22:18:04.233Z] Removing intermediate container 1bc42c776804 [2023-09-12T22:18:04.233Z] ---> 78b3d4c98daa [2023-09-12T22:18:04.233Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-12T22:18:04.233Z] ---> Running in 6abc9d3aebb4 [2023-09-12T22:18:04.233Z] Removing intermediate container 6abc9d3aebb4 [2023-09-12T22:18:04.233Z] ---> 94e1a197269f [2023-09-12T22:18:04.233Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:18:04.233Z] ---> Running in 12fb909438ee [2023-09-12T22:18:04.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:18:04.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:18:04.233Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:18:04.233Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:18:04.233Z] OK: 8 MiB in 16 packages [2023-09-12T22:18:04.504Z] Removing intermediate container 12fb909438ee [2023-09-12T22:18:04.504Z] ---> 7291ee4b74ba [2023-09-12T22:18:04.504Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-12T22:18:05.913Z] ---> c345d3ed8f03 [2023-09-12T22:18:05.913Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-12T22:18:06.495Z] ---> 6d7d8a7d275b [2023-09-12T22:18:06.495Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-12T22:18:06.763Z] ---> 2efa260e396d [2023-09-12T22:18:06.763Z] Step 20/25 : EXPOSE 59986 [2023-09-12T22:18:07.029Z] ---> Running in ce9d41aaa599 [2023-09-12T22:18:10.373Z] Removing intermediate container ce9d41aaa599 [2023-09-12T22:18:10.373Z] ---> b6f95b6acf4f [2023-09-12T22:18:10.373Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-12T22:18:10.373Z] ---> Running in 6376ca1beaab [2023-09-12T22:18:10.639Z] Removing intermediate container 6376ca1beaab [2023-09-12T22:18:10.639Z] ---> 2e53f20feedd [2023-09-12T22:18:10.639Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T22:18:10.639Z] ---> Running in d3beec4365d7 [2023-09-12T22:18:10.907Z] Removing intermediate container d3beec4365d7 [2023-09-12T22:18:10.907Z] ---> 84e48530948a [2023-09-12T22:18:10.907Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T22:18:11.183Z] ---> Running in 887e1413ad94 [2023-09-12T22:18:11.447Z] Removing intermediate container 887e1413ad94 [2023-09-12T22:18:11.448Z] ---> b1aedaf2e1d3 [2023-09-12T22:18:11.448Z] Step 24/25 : LABEL git_sha=1c263cfde55c68dd67d5d71d1a7f193cdac03124 [2023-09-12T22:18:11.448Z] ---> Running in d69446d83bf5 [2023-09-12T22:18:11.715Z] Removing intermediate container d69446d83bf5 [2023-09-12T22:18:11.715Z] ---> 3cfcb5a07900 [2023-09-12T22:18:11.715Z] Step 25/25 : LABEL version=0.0.0 [2023-09-12T22:18:11.715Z] ---> Running in fa254ebde6b5 [2023-09-12T22:18:11.980Z] Removing intermediate container fa254ebde6b5 [2023-09-12T22:18:11.980Z] ---> 60279d5f68b9 [2023-09-12T22:18:11.980Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:18:11.980Z] Successfully built 60279d5f68b9 [2023-09-12T22:18:11.980Z] 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-09-12T22:18:12.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:18:12.437Z] [2023-09-12T22:18:12.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:18:12.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:18:13.031Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:18:13.031Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:18:13.031Z] 04944245beec: Pulling fs layer [2023-09-12T22:18:13.031Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:18:13.031Z] 765212b225bb: Pulling fs layer [2023-09-12T22:18:13.031Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:18:13.031Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:18:13.031Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:18:13.031Z] 765212b225bb: Waiting [2023-09-12T22:18:13.031Z] d65c8cfc05b1: Waiting [2023-09-12T22:18:13.031Z] 2437ff75d9bd: Waiting [2023-09-12T22:18:13.031Z] f23df028b6ca: Waiting [2023-09-12T22:18:13.031Z] 04944245beec: Verifying Checksum [2023-09-12T22:18:13.031Z] 04944245beec: Download complete [2023-09-12T22:18:13.031Z] 765212b225bb: Verifying Checksum [2023-09-12T22:18:13.031Z] 765212b225bb: Download complete [2023-09-12T22:18:13.031Z] f23df028b6ca: Verifying Checksum [2023-09-12T22:18:13.031Z] f23df028b6ca: Download complete [2023-09-12T22:18:13.031Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:18:13.031Z] d65c8cfc05b1: Download complete [2023-09-12T22:18:13.296Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:18:13.296Z] 699f458cf7ca: Download complete [2023-09-12T22:18:13.564Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:18:13.564Z] 8998bd30e6a1: Download complete [2023-09-12T22:18:16.147Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:18:17.553Z] 8998bd30e6a1: Pull complete [2023-09-12T22:18:17.819Z] 04944245beec: Pull complete [2023-09-12T22:18:19.226Z] 699f458cf7ca: Pull complete [2023-09-12T22:18:19.226Z] 765212b225bb: Pull complete [2023-09-12T22:18:20.184Z] f23df028b6ca: Pull complete [2023-09-12T22:18:20.184Z] d65c8cfc05b1: Pull complete [2023-09-12T22:18:35.180Z] 2437ff75d9bd: Pull complete [2023-09-12T22:18:35.180Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:18:35.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:18:35.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:18:35.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-6033 does not seem to be running inside a container [2023-09-12T22:18:35.463Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T22:18:37.949Z] $ docker top b436f7ba2d5613fccbe80703dc04ed0640ff1df8e0aecd41d948a414130d101b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:38.445Z] ---> job-cost.sh [2023-09-12T22:18:38.712Z] lf-activate-venv: SKIPPING [2023-09-12T22:18:38.712Z] INFO: No Stack... [2023-09-12T22:18:38.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:18:39.935Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:18:40.251Z] + cat+ cut -d, -f6 [2023-09-12T22:18:40.251Z] /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2023-09-12T22:18:40.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [2023-09-12T22:18:40.584Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] did not exist. Created. [2023-09-12T22:18:40.584Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:18:40.915Z] /w/workspace/device-rest-go/2@tmp/durable-4254dc86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:18:41.248Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:18:41.269Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:18:41.313Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:18:41.319Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-339-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:18:41.358Z] $ docker stop --time=1 b436f7ba2d5613fccbe80703dc04ed0640ff1df8e0aecd41d948a414130d101b [2023-09-12T22:18:42.844Z] $ docker rm -f --volumes b436f7ba2d5613fccbe80703dc04ed0640ff1df8e0aecd41d948a414130d101b [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-09-12T22:18:43.187Z] provisioning config files... [2023-09-12T22:18:43.194Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config15436829071791198880tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:18:43.487Z] + set +x [2023-09-12T22:18:43.487Z] + curl+ -s https://codecov.io/bash [2023-09-12T22:18:43.487Z] bash -s -- [2023-09-12T22:18:43.487Z] [2023-09-12T22:18:43.487Z] _____ _ [2023-09-12T22:18:43.487Z] / ____| | | [2023-09-12T22:18:43.487Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:18:43.487Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:18:43.487Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:18:43.487Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:18:43.487Z] Bash-1.0.6 [2023-09-12T22:18:43.487Z] [2023-09-12T22:18:43.487Z] [2023-09-12T22:18:43.487Z] ==> git version 2.25.1 found [2023-09-12T22:18:43.487Z] ==> 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-09-12T22:18:43.487Z] Release-Date: 2020-01-08 [2023-09-12T22:18:43.487Z] 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-09-12T22:18:43.487Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:18:43.487Z] ==> Jenkins CI detected. [2023-09-12T22:18:43.487Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-339 [2023-09-12T22:18:43.487Z] project root: . [2023-09-12T22:18:43.487Z] --> token set from env [2023-09-12T22:18:43.487Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:18:43.487Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:18:43.487Z] ==> Python coveragepy not found [2023-09-12T22:18:43.487Z] ==> Searching for coverage reports in: [2023-09-12T22:18:43.487Z] + . [2023-09-12T22:18:43.487Z] -> Found 1 reports [2023-09-12T22:18:43.487Z] ==> Detecting git/mercurial file structure [2023-09-12T22:18:43.746Z] ==> Reading reports [2023-09-12T22:18:43.746Z] + ./coverage.out bytes=14499 [2023-09-12T22:18:43.746Z] ==> Appending adjustments [2023-09-12T22:18:43.746Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:18:43.746Z] + Found adjustments [2023-09-12T22:18:43.746Z] ==> Gzipping contents [2023-09-12T22:18:43.746Z] 4.0K /tmp/codecov.K6wFWS.gz [2023-09-12T22:18:43.746Z] ==> Uploading reports [2023-09-12T22:18:43.746Z] url: https://codecov.io [2023-09-12T22:18:43.746Z] query: branch=PR-339&commit=ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-339%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-09-12T22:18:43.746Z] -> Pinging Codecov [2023-09-12T22:18:43.746Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-339&commit=ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-339%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=339&job=&cmd_args= [2023-09-12T22:18:43.746Z] -> Uploading to [2023-09-12T22:18:43.746Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/4E5D53B4F1F92C436F7061BF334D961C/ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc/51c7b6b0-60e8-48cf-a82a-47e319c2aa28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca9601dfe58303c30e22db8c309fde7a46fb492a9475ad29693c76755c3f9a53 [2023-09-12T22:18:43.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:18:43.746Z] Dload Upload Total Spent Left Speed [2023-09-12T22:18:44.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12527 --:--:-- --:--:-- --:--:-- 12527 [2023-09-12T22:18:44.006Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ef60b4318f4b2e4c9ca6647f600192d5dd4f60bc [Pipeline] } [2023-09-12T22:18:44.015Z] 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-09-12T22:18:44.704Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-339/archives ] [2023-09-12T22:18:44.704Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-339/archives [2023-09-12T22:18:44.704Z] total 16 [2023-09-12T22:18:44.704Z] drwxr-xr-x 3 root root 4096 Sep 12 22:07 . [2023-09-12T22:18:44.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:07 .. [2023-09-12T22:18:44.704Z] drwxr-xr-x 2 root root 4096 Sep 12 22:07 cost [2023-09-12T22:18:44.704Z] -rw-r--r-- 1 root root 86 Sep 12 22:07 cost.csv [2023-09-12T22:18:44.704Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-339/archives [2023-09-12T22:18:44.704Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-339/archives [2023-09-12T22:18:44.704Z] total 16 [2023-09-12T22:18:44.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:07 . [2023-09-12T22:18:44.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:07 .. [2023-09-12T22:18:44.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:07 cost [2023-09-12T22:18:44.704Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 22:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:44.995Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:45.853Z] ---> package-listing.sh [2023-09-12T22:18:45.853Z] ++ facter osfamily [2023-09-12T22:18:45.853Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:18:46.112Z] + OS_FAMILY=debian [2023-09-12T22:18:46.112Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-339 [2023-09-12T22:18:46.112Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:18:46.112Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:18:46.112Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:18:46.112Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:18:46.112Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-339 ']' [2023-09-12T22:18:46.112Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:18:46.112Z] + case "${OS_FAMILY}" in [2023-09-12T22:18:46.112Z] + dpkg -l [2023-09-12T22:18:46.112Z] + grep '^ii' [2023-09-12T22:18:46.112Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:18:46.112Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:18:46.112Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:18:46.112Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-339 ']' [2023-09-12T22:18:46.112Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-339/archives/ [2023-09-12T22:18:46.112Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-339/archives/ [Pipeline] echo [2023-09-12T22:18:46.122Z] 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-339/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T22:18:46.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:18:46.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:18:46.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:18:47.053Z] prd-ubuntu20.04-docker-8c-8g-6029 does not seem to be running inside a container [2023-09-12T22:18:47.096Z] $ 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-339/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-339 -v /w/workspace/gexfoundry_device-rest-go_PR-339:/w/workspace/gexfoundry_device-rest-go_PR-339:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-339@tmp:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:18:47.281Z] $ docker top fa926af61942f36b53d370565bef660a398d8886c31b8306243371ce9919e01d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:18:47.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:18:47.918Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:18:48.204Z] + ls /var/log/sa-host [2023-09-12T22:18:48.204Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:18:48.267Z] provisioning config files... [2023-09-12T22:18:48.275Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-339@tmp/config14256633360063276081tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:18:48.290Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:48.575Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:18:48.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:48.899Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:18:48.908Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:49.192Z] ---> sudo-logs.sh [2023-09-12T22:18:49.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:18:49.214Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:49.498Z] ---> job-cost.sh [2023-09-12T22:18:49.498Z] lf-activate-venv: SKIPPING [2023-09-12T22:18:49.498Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:18:49.498Z] INFO: Retrieving Stack Cost... [2023-09-12T22:18:50.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:18:50.324Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:18:50.335Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:18:50.617Z] ---> logs-deploy.sh [2023-09-12T22:18:50.617Z] lf-activate-venv: SKIPPING [2023-09-12T22:18:50.617Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-339/2 [2023-09-12T22:18:50.617Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:18:51.552Z] Archives upload complete. [2023-09-12T22:18:51.552Z] INFO: archiving logs to Nexus