Pull request #315 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 951443b8098106d8f8acb1d6b73cac3b5f71ba9d+ec2da75f3e3e567a377e035f33bd2cfaed15f48d (95b2151709a9fb982192436b4e9b314ec7bed95d) 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-ssh7557325280913950605.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9027407923514837641.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14260237726046474560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3218877921907587647.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8003483475329615117.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3037881971245089911.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14953 in /w/workspace/gexfoundry_device-rest-go_PR-315 [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-315 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit 951443b8098106d8f8acb1d6b73cac3b5f71ba9d Merge succeeded, producing 951443b8098106d8f8acb1d6b73cac3b5f71ba9d Checking out Revision 951443b8098106d8f8acb1d6b73cac3b5f71ba9d (PR-315) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 951443b8098106d8f8acb1d6b73cac3b5f71ba9d # 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 ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 951443b8098106d8f8acb1d6b73cac3b5f71ba9d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T20:31:18.303Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T20:31:18.503Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T20:31:18.616Z] ========================================================= [2023-05-10T20:31:18.616Z] EdgeX Global Pipelines Version Info [2023-05-10T20:31:18.616Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:31:19.362Z] ------------------- [2023-05-10T20:31:19.362Z] stable info: [2023-05-10T20:31:19.362Z] ------------------- [2023-05-10T20:31:19.362Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T20:31:19.362Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T20:31:19.362Z] Message: update stable to v1.0.249 [2023-05-10T20:31:19.928Z] ------------------- [2023-05-10T20:31:19.928Z] experimental info: [2023-05-10T20:31:19.928Z] ------------------- [2023-05-10T20:31:19.928Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T20:31:19.928Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T20:31:19.928Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T20:31:20.263Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-10T20:31:20.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-10T20:31:20.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T20:31:20.394Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T20:31:20.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T20:31:20.477Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T20:31:20.521Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T20:31:20.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T20:31:20.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T20:31:20.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T20:31:20.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T20:31:20.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-10T20:31:20.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T20:31:20.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T20:31:20.869Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T20:31:20.909Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T20:31:20.954Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T20:31:20.999Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T20:31:21.043Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T20:31:21.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T20:31:21.130Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T20:31:21.169Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T20:31:21.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T20:31:21.249Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T20:31:21.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T20:31:21.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T20:31:21.375Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T20:31:21.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-315 [Pipeline] echo [2023-05-10T20:31:21.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-315 [Pipeline] echo [2023-05-10T20:31:21.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-315 [Pipeline] echo [2023-05-10T20:31:21.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [Pipeline] echo [2023-05-10T20:31:21.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 951443b [Pipeline] echo [2023-05-10T20:31:21.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T20:31:21.746Z] provisioning config files... [2023-05-10T20:31:21.764Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/config7599586431669722306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:31:22.116Z] ---> docker-login.sh [2023-05-10T20:31:22.116Z] nexus3.edgexfoundry.org:10001 [2023-05-10T20:31:22.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:22.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:22.378Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:22.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:22.378Z] [2023-05-10T20:31:22.378Z] Login Succeeded [2023-05-10T20:31:22.378Z] nexus3.edgexfoundry.org:10002 [2023-05-10T20:31:22.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:22.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:22.640Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:22.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:22.640Z] [2023-05-10T20:31:22.640Z] Login Succeeded [2023-05-10T20:31:22.640Z] nexus3.edgexfoundry.org:10003 [2023-05-10T20:31:22.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:22.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:22.640Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:22.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:22.640Z] [2023-05-10T20:31:22.640Z] Login Succeeded [2023-05-10T20:31:22.640Z] nexus3.edgexfoundry.org:10004 [2023-05-10T20:31:22.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:22.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:22.640Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:22.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:22.640Z] [2023-05-10T20:31:22.640Z] Login Succeeded [2023-05-10T20:31:22.640Z] docker.io [2023-05-10T20:31:22.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:23.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:23.160Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:23.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:23.160Z] [2023-05-10T20:31:23.160Z] Login Succeeded [2023-05-10T20:31:23.160Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T20:31:23.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T20:31:23.862Z] + git rev-list -1 --merges 951443b8098106d8f8acb1d6b73cac3b5f71ba9d~1..951443b8098106d8f8acb1d6b73cac3b5f71ba9d [Pipeline] echo [2023-05-10T20:31:23.930Z] -----------> git rev-list -1 --merges 951443b8098106d8f8acb1d6b73cac3b5f71ba9d~1..951443b8098106d8f8acb1d6b73cac3b5f71ba9d 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [false] [Pipeline] sh [2023-05-10T20:31:24.242Z] + git log --format=format:%s -1 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [Pipeline] echo [2023-05-10T20:31:24.279Z] ========================================================= [2023-05-10T20:31:24.279Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T20:31:24.279Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T20:31:24.722Z] + git log --format=format:%s -1 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [Pipeline] echo [2023-05-10T20:31:24.761Z] [semverPrep] GIT_COMMIT: 951443b8098106d8f8acb1d6b73cac3b5f71ba9d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-10T20:31:24.787Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T20:31:25.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T20:31:25.167Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T20:31:25.167Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T20:31:25.167Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T20:31:25.167Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T20:31:25.167Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T20:31:25.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:31:25.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T20:31:25.603Z] [2023-05-10T20:31:25.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:31:25.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T20:31:25.984Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T20:31:25.984Z] b85a868b505f: Pulling fs layer [2023-05-10T20:31:25.984Z] e2be974225ed: Pulling fs layer [2023-05-10T20:31:25.984Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T20:31:25.984Z] 988bab9f4d93: Pulling fs layer [2023-05-10T20:31:25.984Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T20:31:25.984Z] eaf3925da568: Pulling fs layer [2023-05-10T20:31:25.984Z] bab4dde63d76: Pulling fs layer [2023-05-10T20:31:25.984Z] bde34c3a00c8: Pulling fs layer [2023-05-10T20:31:25.984Z] b352a97aabf1: Pulling fs layer [2023-05-10T20:31:25.984Z] 4872d77fe225: Pulling fs layer [2023-05-10T20:31:25.984Z] 5851b861e8e6: Pulling fs layer [2023-05-10T20:31:25.984Z] bab4dde63d76: Waiting [2023-05-10T20:31:25.984Z] b352a97aabf1: Waiting [2023-05-10T20:31:25.984Z] bde34c3a00c8: Waiting [2023-05-10T20:31:25.984Z] 4872d77fe225: Waiting [2023-05-10T20:31:25.984Z] 5851b861e8e6: Waiting [2023-05-10T20:31:25.984Z] eaf3925da568: Waiting [2023-05-10T20:31:25.984Z] e2be974225ed: Download complete [2023-05-10T20:31:25.984Z] 988bab9f4d93: Download complete [2023-05-10T20:31:26.245Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T20:31:26.245Z] 1469e6f7b9e6: Download complete [2023-05-10T20:31:26.245Z] eaf3925da568: Download complete [2023-05-10T20:31:26.245Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T20:31:26.245Z] 339a4e72a1f5: Download complete [2023-05-10T20:31:26.245Z] bde34c3a00c8: Download complete [2023-05-10T20:31:26.245Z] b352a97aabf1: Verifying Checksum [2023-05-10T20:31:26.245Z] b352a97aabf1: Download complete [2023-05-10T20:31:26.245Z] 5851b861e8e6: Download complete [2023-05-10T20:31:26.504Z] b85a868b505f: Download complete [2023-05-10T20:31:26.768Z] bab4dde63d76: Verifying Checksum [2023-05-10T20:31:26.768Z] bab4dde63d76: Download complete [2023-05-10T20:31:27.704Z] b85a868b505f: Pull complete [2023-05-10T20:31:27.704Z] e2be974225ed: Pull complete [2023-05-10T20:31:28.272Z] 339a4e72a1f5: Pull complete [2023-05-10T20:31:28.272Z] 988bab9f4d93: Pull complete [2023-05-10T20:31:28.533Z] 1469e6f7b9e6: Pull complete [2023-05-10T20:31:28.533Z] eaf3925da568: Pull complete [2023-05-10T20:31:30.437Z] bab4dde63d76: Pull complete [2023-05-10T20:31:30.437Z] bde34c3a00c8: Pull complete [2023-05-10T20:31:30.437Z] b352a97aabf1: Pull complete [2023-05-10T20:31:30.696Z] 4872d77fe225: Pull complete [2023-05-10T20:31:30.696Z] 5851b861e8e6: Pull complete [2023-05-10T20:31:30.696Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T20:31:30.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T20:31:30.696Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:31:30.939Z] prd-ubuntu20.04-docker-8c-8g-14953 does not seem to be running inside a container [2023-05-10T20:31:30.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-315 -v /w/workspace/gexfoundry_device-rest-go_PR-315:/w/workspace/gexfoundry_device-rest-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-315@tmp:/w/workspace/gexfoundry_device-rest-go_PR-315@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T20:31:32.941Z] $ docker top a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 -eo pid,comm [2023-05-10T20:31:32.991Z] 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-05-10T20:31:32.991Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T20:31:33.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T20:31:33.125Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T20:31:33.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T20:31:33.244Z] $ docker exec a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 ssh-agent [2023-05-10T20:31:33.344Z] SSH_AUTH_SOCK=/tmp/ssh-ys4LPwmUwjB9/agent.32 [2023-05-10T20:31:33.344Z] SSH_AGENT_PID=38 [2023-05-10T20:31:33.350Z] Running ssh-add (command line suppressed) [2023-05-10T20:31:33.471Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-315@tmp/private_key_15614591793948939624.key (/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/private_key_15614591793948939624.key) [2023-05-10T20:31:33.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T20:31:33.814Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T20:31:33.845Z] $ docker exec --env ******** --env ******** a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 ssh-agent -k [2023-05-10T20:31:33.945Z] unset SSH_AUTH_SOCK; [2023-05-10T20:31:33.945Z] unset SSH_AGENT_PID; [2023-05-10T20:31:33.946Z] echo Agent pid 38 killed; [2023-05-10T20:31:33.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T20:31:34.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T20:31:34.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T20:31:34.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T20:31:34.174Z] $ docker exec a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 ssh-agent [2023-05-10T20:31:34.279Z] SSH_AUTH_SOCK=/tmp/ssh-dJpkyIPdBoIf/agent.70 [2023-05-10T20:31:34.279Z] SSH_AGENT_PID=76 [2023-05-10T20:31:34.285Z] Running ssh-add (command line suppressed) [2023-05-10T20:31:34.396Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-315@tmp/private_key_10905628526722240321.key (/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/private_key_10905628526722240321.key) [2023-05-10T20:31:34.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T20:31:34.741Z] + git semver init [2023-05-10T20:31:35.004Z] 2023-05-10 20:31:34,924 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T20:31:35.004Z] 2023-05-10 20:31:34,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-315/.semver [2023-05-10T20:31:35.004Z] 2023-05-10 20:31:34,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-315/.semver [2023-05-10T20:31:35.004Z] 2023-05-10 20:31:34,926 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-315/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-315, universal_newlines=False, shell=None, istream=None) [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,848 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-315/.git/info/exclude [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,848 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-315/.semver/PR-315 with force:False [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,849 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-315/.semver/PR-315 [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,854 [execute] INFO git cat-file --batch-check [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,860 [execute] INFO git cat-file --batch [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T20:31:35.942Z] 2023-05-10 20:31:35,866 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-315/.semver/PR-315 [2023-05-10T20:31:35.942Z] 0.0.0 [Pipeline] } [2023-05-10T20:31:35.978Z] $ docker exec --env ******** --env ******** a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 ssh-agent -k [2023-05-10T20:31:36.085Z] unset SSH_AUTH_SOCK; [2023-05-10T20:31:36.086Z] unset SSH_AGENT_PID; [2023-05-10T20:31:36.086Z] echo Agent pid 76 killed; [2023-05-10T20:31:36.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T20:31:36.508Z] + git semver [Pipeline] } [2023-05-10T20:31:36.799Z] $ docker stop --time=1 a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 [2023-05-10T20:31:38.138Z] $ docker rm -f --volumes a0ed22f537b288c5c9aa7f0e6bb49a3b4ea0ea0767e3e6db22d7e93712f28941 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T20:31:38.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T20:31:38.825Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T20:31:38.843Z] [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-05-10T20:31:39.388Z] provisioning config files... [2023-05-10T20:31:39.398Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/config499200278359691502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:31:39.731Z] ---> docker-login.sh [2023-05-10T20:31:39.731Z] nexus3.edgexfoundry.org:10001 [2023-05-10T20:31:39.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:39.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:39.731Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:39.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:39.731Z] [2023-05-10T20:31:39.731Z] Login Succeeded [2023-05-10T20:31:39.731Z] nexus3.edgexfoundry.org:10002 [2023-05-10T20:31:39.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:39.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:39.731Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:39.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:39.731Z] [2023-05-10T20:31:39.731Z] Login Succeeded [2023-05-10T20:31:39.731Z] nexus3.edgexfoundry.org:10003 [2023-05-10T20:31:39.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:39.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:39.996Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:39.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:39.996Z] [2023-05-10T20:31:39.996Z] Login Succeeded [2023-05-10T20:31:39.996Z] nexus3.edgexfoundry.org:10004 [2023-05-10T20:31:39.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:39.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:39.996Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:39.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:39.996Z] [2023-05-10T20:31:39.996Z] Login Succeeded [2023-05-10T20:31:39.996Z] docker.io [2023-05-10T20:31:40.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:31:40.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:31:40.256Z] Configure a credential helper to remove this warning. See [2023-05-10T20:31:40.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:31:40.256Z] [2023-05-10T20:31:40.256Z] Login Succeeded [2023-05-10T20:31:40.256Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T20:31:40.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T20:31:40.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T20:31:40.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T20:31:40.533Z] ========================================================= [2023-05-10T20:31:40.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T20:31:40.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:31:41.009Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T20:31:41.009Z] Sending build context to Docker daemon 10.92MB [2023-05-10T20:31:41.009Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T20:31:41.009Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T20:31:41.009Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T20:31:41.010Z] f56be85fc22e: Pulling fs layer [2023-05-10T20:31:41.010Z] 85791d961cd3: Pulling fs layer [2023-05-10T20:31:41.010Z] d694b5ae8c79: Pulling fs layer [2023-05-10T20:31:41.010Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T20:31:41.010Z] 4d19c01a9841: Pulling fs layer [2023-05-10T20:31:41.010Z] 9325e15d5711: Pulling fs layer [2023-05-10T20:31:41.010Z] 556b6ee489ea: Pulling fs layer [2023-05-10T20:31:41.010Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T20:31:41.010Z] 9f32a84ed3da: Waiting [2023-05-10T20:31:41.010Z] 4d19c01a9841: Waiting [2023-05-10T20:31:41.010Z] 9325e15d5711: Waiting [2023-05-10T20:31:41.010Z] 556b6ee489ea: Waiting [2023-05-10T20:31:41.010Z] 85791d961cd3: Download complete [2023-05-10T20:31:41.010Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T20:31:41.277Z] 4d19c01a9841: Download complete [2023-05-10T20:31:41.277Z] f56be85fc22e: Verifying Checksum [2023-05-10T20:31:41.277Z] f56be85fc22e: Download complete [2023-05-10T20:31:41.277Z] 9325e15d5711: Verifying Checksum [2023-05-10T20:31:41.277Z] 9325e15d5711: Download complete [2023-05-10T20:31:41.277Z] f56be85fc22e: Pull complete [2023-05-10T20:31:41.591Z] 85791d961cd3: Pull complete [2023-05-10T20:31:41.851Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T20:31:41.851Z] c5a4b2cf53e6: Download complete [2023-05-10T20:31:42.109Z] d694b5ae8c79: Verifying Checksum [2023-05-10T20:31:42.109Z] d694b5ae8c79: Download complete [2023-05-10T20:31:42.109Z] 556b6ee489ea: Verifying Checksum [2023-05-10T20:31:42.109Z] 556b6ee489ea: Download complete [2023-05-10T20:31:45.402Z] d694b5ae8c79: Pull complete [2023-05-10T20:31:45.402Z] 9f32a84ed3da: Pull complete [2023-05-10T20:31:45.402Z] 4d19c01a9841: Pull complete [2023-05-10T20:31:45.660Z] 9325e15d5711: Pull complete [2023-05-10T20:31:48.191Z] 556b6ee489ea: Pull complete [2023-05-10T20:31:48.764Z] c5a4b2cf53e6: Pull complete [2023-05-10T20:31:48.764Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T20:31:48.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T20:31:48.764Z] ---> c4be618373d6 [2023-05-10T20:31:48.764Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T20:31:52.059Z] ---> Running in c36633f0f7a1 [2023-05-10T20:31:52.059Z] Removing intermediate container c36633f0f7a1 [2023-05-10T20:31:52.059Z] ---> 5e2a90e1b287 [2023-05-10T20:31:52.059Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T20:31:52.059Z] ---> Running in 297309e7fbe0 [2023-05-10T20:31:52.059Z] Removing intermediate container 297309e7fbe0 [2023-05-10T20:31:52.059Z] ---> 3f0e8d4bebfd [2023-05-10T20:31:52.059Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T20:31:52.059Z] ---> Running in 6b8ac93c2c89 [2023-05-10T20:31:52.059Z] Removing intermediate container 6b8ac93c2c89 [2023-05-10T20:31:52.059Z] ---> ba0cdf13b218 [2023-05-10T20:31:52.059Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T20:31:52.059Z] ---> Running in 2baacabd2bba [2023-05-10T20:31:52.059Z] Removing intermediate container 2baacabd2bba [2023-05-10T20:31:52.059Z] ---> d814faea36eb [2023-05-10T20:31:52.059Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T20:31:52.059Z] ---> Running in 31169f98ccbd [2023-05-10T20:31:52.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T20:31:52.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T20:31:52.577Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T20:31:52.577Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T20:31:52.577Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T20:31:52.577Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T20:31:52.577Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T20:31:52.577Z] OK: 269 MiB in 57 packages [2023-05-10T20:31:53.143Z] Removing intermediate container 31169f98ccbd [2023-05-10T20:31:53.144Z] ---> b60ec76c24d6 [2023-05-10T20:31:53.144Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T20:31:53.144Z] ---> Running in 1fbb11591753 [2023-05-10T20:31:53.144Z] Removing intermediate container 1fbb11591753 [2023-05-10T20:31:53.144Z] ---> b3b5e3c259f7 [2023-05-10T20:31:53.144Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T20:31:53.144Z] ---> ee215e10204a [2023-05-10T20:31:53.144Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T20:31:53.403Z] ---> Running in ac728ffb2d20 [2023-05-10T20:31:54.231Z] Still waiting to schedule task [2023-05-10T20:31:54.232Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14954’ is offline [2023-05-10T20:32:15.356Z] Removing intermediate container ac728ffb2d20 [2023-05-10T20:32:15.356Z] ---> 6427e0f8dd6d [2023-05-10T20:32:15.356Z] Step 11/12 : COPY . . [2023-05-10T20:32:15.356Z] ---> 9a0f39eef318 [2023-05-10T20:32:15.356Z] Step 12/12 : RUN $MAKE [2023-05-10T20:32:15.356Z] ---> Running in 18c63cb4e57e [2023-05-10T20:32:15.616Z] noop [2023-05-10T20:32:15.874Z] Removing intermediate container 18c63cb4e57e [2023-05-10T20:32:15.874Z] ---> 9b71bc69df10 [2023-05-10T20:32:15.874Z] Successfully built 9b71bc69df10 [2023-05-10T20:32:15.874Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:32:16.328Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T20:32:16.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:32:16.480Z] prd-ubuntu20.04-docker-8c-8g-14953 does not seem to be running inside a container [2023-05-10T20:32:16.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-315 -v /w/workspace/gexfoundry_device-rest-go_PR-315:/w/workspace/gexfoundry_device-rest-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-315@tmp:/w/workspace/gexfoundry_device-rest-go_PR-315@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 ******** ci-base-image-x86_64 cat [2023-05-10T20:32:16.872Z] $ docker top d08d6d281abb74b6cc328e82852d2f983ad8aabba47fad835d2276928ddae6ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T20:32:17.266Z] + go version [2023-05-10T20:32:17.266Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T20:32:17.305Z] $ docker stop --time=1 d08d6d281abb74b6cc328e82852d2f983ad8aabba47fad835d2276928ddae6ac [2023-05-10T20:32:18.584Z] $ docker rm -f --volumes d08d6d281abb74b6cc328e82852d2f983ad8aabba47fad835d2276928ddae6ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:32:19.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T20:32:19.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:32:19.456Z] prd-ubuntu20.04-docker-8c-8g-14953 does not seem to be running inside a container [2023-05-10T20:32:19.487Z] $ 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-315 -v /w/workspace/gexfoundry_device-rest-go_PR-315:/w/workspace/gexfoundry_device-rest-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-315@tmp:/w/workspace/gexfoundry_device-rest-go_PR-315@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 ******** ci-base-image-x86_64 cat [2023-05-10T20:32:19.846Z] $ docker top 29e9834c1b8c1f17b6635129573c2653a122e1d6daa29dc69e6bbad3bcb98bf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T20:32:20.234Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-315 [Pipeline] fileExists [Pipeline] sh [2023-05-10T20:32:20.587Z] + make test [2023-05-10T20:32:20.587Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T20:32:25.858Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T20:32:35.834Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T20:32:35.834Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-10T20:32:43.987Z] go vet ./... [2023-05-10T20:32:47.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T20:32:47.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T20:32:47.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T20:32:47.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T20:32:47.446Z] $ docker stop --time=1 29e9834c1b8c1f17b6635129573c2653a122e1d6daa29dc69e6bbad3bcb98bf9 [2023-05-10T20:32:50.011Z] $ docker rm -f --volumes 29e9834c1b8c1f17b6635129573c2653a122e1d6daa29dc69e6bbad3bcb98bf9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T20:32:50.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T20:32:50.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T20:32:51.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T20:32:51.509Z] + ls -al . [2023-05-10T20:32:51.509Z] total 184 [2023-05-10T20:32:51.509Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 20:32 . [2023-05-10T20:32:51.509Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:31 .. [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 20:31 .dockerignore [2023-05-10T20:32:51.509Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:31 .git [2023-05-10T20:32:51.509Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:31 .github [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 20:31 .gitignore [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 20:31 .golangci.yml [2023-05-10T20:32:51.509Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:31 .semver [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 20:31 Attribution.txt [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 20:31 CHANGELOG.md [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 20:31 Dockerfile [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:31 GOVERNANCE.md [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 20:31 Jenkinsfile [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:31 LICENSE [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 20:31 Makefile [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 20:31 OWNERS.md [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 10 20:31 README.md [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:31 VERSION [2023-05-10T20:32:51.509Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:31 bin [2023-05-10T20:32:51.509Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:31 cmd [2023-05-10T20:32:51.509Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 20:32 coverage.out [2023-05-10T20:32:51.509Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:31 driver [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 20:31 go.mod [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 20:31 go.sum [2023-05-10T20:32:51.509Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:31 snap [2023-05-10T20:32:51.509Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:32:51.898Z] + 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=951443b8098106d8f8acb1d6b73cac3b5f71ba9d --label arch=amd64 --label version=0.0.0 . [2023-05-10T20:32:51.898Z] Sending build context to Docker daemon 10.93MB [2023-05-10T20:32:51.898Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T20:32:51.898Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T20:32:51.898Z] ---> 9b71bc69df10 [2023-05-10T20:32:51.898Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T20:32:52.156Z] ---> Running in dc0f6974062c [2023-05-10T20:32:52.156Z] Removing intermediate container dc0f6974062c [2023-05-10T20:32:52.156Z] ---> 03d2dd582f37 [2023-05-10T20:32:52.156Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T20:32:52.156Z] ---> Running in 33ac12d3e9c5 [2023-05-10T20:32:52.156Z] Removing intermediate container 33ac12d3e9c5 [2023-05-10T20:32:52.156Z] ---> c761906ebb62 [2023-05-10T20:32:52.156Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T20:32:52.156Z] ---> Running in c476bafe96bb [2023-05-10T20:32:52.156Z] Removing intermediate container c476bafe96bb [2023-05-10T20:32:52.156Z] ---> 19390eddb378 [2023-05-10T20:32:52.156Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T20:32:52.416Z] ---> Running in 6ab07e7022c2 [2023-05-10T20:32:52.416Z] Removing intermediate container 6ab07e7022c2 [2023-05-10T20:32:52.416Z] ---> 6325575794de [2023-05-10T20:32:52.416Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T20:32:52.416Z] ---> Running in 61dbbe597f0d [2023-05-10T20:32:52.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T20:32:52.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T20:32:52.935Z] OK: 269 MiB in 57 packages [2023-05-10T20:32:53.505Z] Removing intermediate container 61dbbe597f0d [2023-05-10T20:32:53.505Z] ---> b1d7f87d5599 [2023-05-10T20:32:53.505Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T20:32:53.505Z] ---> Running in 8de58bf53a5a [2023-05-10T20:32:53.505Z] Removing intermediate container 8de58bf53a5a [2023-05-10T20:32:53.505Z] ---> b1e939286c2e [2023-05-10T20:32:53.505Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T20:32:53.505Z] ---> 05024f13c6a5 [2023-05-10T20:32:53.505Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T20:32:53.505Z] ---> Running in e6914a422729 [2023-05-10T20:32:54.468Z] Removing intermediate container e6914a422729 [2023-05-10T20:32:54.468Z] ---> b104382f4350 [2023-05-10T20:32:54.468Z] Step 11/25 : COPY . . [2023-05-10T20:32:54.728Z] ---> 72aa124d1305 [2023-05-10T20:32:54.728Z] Step 12/25 : RUN $MAKE [2023-05-10T20:32:54.728Z] ---> Running in 3b2009924eff [2023-05-10T20:32:54.986Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-10T20:33:17.005Z] Removing intermediate container 3b2009924eff [2023-05-10T20:33:17.005Z] ---> 1f672a684222 [2023-05-10T20:33:17.005Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T20:33:17.005Z] 3.17: Pulling from library/alpine [2023-05-10T20:33:17.005Z] f56be85fc22e: Already exists [2023-05-10T20:33:17.005Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T20:33:17.005Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T20:33:17.005Z] ---> 9ed4aefc74f6 [2023-05-10T20:33:17.005Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T20:33:17.005Z] ---> Running in 41b35ce43aa6 [2023-05-10T20:33:17.005Z] Removing intermediate container 41b35ce43aa6 [2023-05-10T20:33:17.005Z] ---> e6459f835d70 [2023-05-10T20:33:17.005Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T20:33:17.005Z] ---> Running in b7f35bfb6ff4 [2023-05-10T20:33:17.005Z] Removing intermediate container b7f35bfb6ff4 [2023-05-10T20:33:17.005Z] ---> a215f188457e [2023-05-10T20:33:17.005Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T20:33:17.005Z] ---> Running in 074d05a383ba [2023-05-10T20:33:17.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T20:33:17.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T20:33:17.005Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T20:33:17.005Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T20:33:17.005Z] OK: 7 MiB in 16 packages [2023-05-10T20:33:17.005Z] Removing intermediate container 074d05a383ba [2023-05-10T20:33:17.005Z] ---> f8ba7fdf9166 [2023-05-10T20:33:17.005Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T20:33:17.005Z] ---> 7aa57957a491 [2023-05-10T20:33:17.005Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T20:33:17.005Z] ---> e84fc31cc62a [2023-05-10T20:33:17.005Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T20:33:17.005Z] ---> da012b909127 [2023-05-10T20:33:17.005Z] Step 20/25 : EXPOSE 59986 [2023-05-10T20:33:17.005Z] ---> Running in d4b90c73eec8 [2023-05-10T20:33:17.005Z] Removing intermediate container d4b90c73eec8 [2023-05-10T20:33:17.005Z] ---> 16616c974ac8 [2023-05-10T20:33:17.005Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T20:33:17.005Z] ---> Running in 4abae381a946 [2023-05-10T20:33:17.005Z] Removing intermediate container 4abae381a946 [2023-05-10T20:33:17.005Z] ---> 579926d3ba6f [2023-05-10T20:33:17.005Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T20:33:17.005Z] ---> Running in 0e594203b330 [2023-05-10T20:33:17.005Z] Removing intermediate container 0e594203b330 [2023-05-10T20:33:17.005Z] ---> ab5b748425e3 [2023-05-10T20:33:17.005Z] Step 23/25 : LABEL arch=amd64 [2023-05-10T20:33:17.005Z] ---> Running in 2b5db927a7f2 [2023-05-10T20:33:17.005Z] Removing intermediate container 2b5db927a7f2 [2023-05-10T20:33:17.005Z] ---> db4517fe78d8 [2023-05-10T20:33:17.005Z] Step 24/25 : LABEL git_sha=951443b8098106d8f8acb1d6b73cac3b5f71ba9d [2023-05-10T20:33:17.005Z] ---> Running in 837db1030990 [2023-05-10T20:33:17.005Z] Removing intermediate container 837db1030990 [2023-05-10T20:33:17.005Z] ---> 62e60e1659dc [2023-05-10T20:33:17.005Z] Step 25/25 : LABEL version=0.0.0 [2023-05-10T20:33:17.005Z] ---> Running in 5232e504a8b5 [2023-05-10T20:33:17.264Z] Removing intermediate container 5232e504a8b5 [2023-05-10T20:33:17.264Z] ---> 96d789e16ef5 [2023-05-10T20:33:17.264Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T20:33:17.264Z] Successfully built 96d789e16ef5 [2023-05-10T20:33:17.264Z] 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-05-10T20:33:18.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T20:33:18.139Z] [2023-05-10T20:33:18.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:33:18.515Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T20:33:18.515Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T20:33:18.515Z] 5eb5b503b376: Pulling fs layer [2023-05-10T20:33:18.515Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T20:33:18.515Z] ec43610c2a17: Pulling fs layer [2023-05-10T20:33:18.515Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T20:33:18.515Z] 33b1e0a273af: Pulling fs layer [2023-05-10T20:33:18.515Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T20:33:18.515Z] 2f39f015ded8: Pulling fs layer [2023-05-10T20:33:18.515Z] 5d3b04190fa2: Waiting [2023-05-10T20:33:18.515Z] 3a2ae6a8a46f: Waiting [2023-05-10T20:33:18.515Z] 33b1e0a273af: Waiting [2023-05-10T20:33:18.515Z] 2f39f015ded8: Waiting [2023-05-10T20:33:18.779Z] 5c69ac0246d0: Verifying Checksum [2023-05-10T20:33:18.779Z] 5c69ac0246d0: Download complete [2023-05-10T20:33:18.779Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T20:33:18.779Z] 3a2ae6a8a46f: Download complete [2023-05-10T20:33:18.779Z] 33b1e0a273af: Verifying Checksum [2023-05-10T20:33:18.779Z] 33b1e0a273af: Download complete [2023-05-10T20:33:18.779Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T20:33:18.779Z] 5d3b04190fa2: Download complete [2023-05-10T20:33:18.779Z] ec43610c2a17: Verifying Checksum [2023-05-10T20:33:18.779Z] ec43610c2a17: Download complete [2023-05-10T20:33:19.045Z] 5eb5b503b376: Verifying Checksum [2023-05-10T20:33:19.045Z] 5eb5b503b376: Download complete [2023-05-10T20:33:20.427Z] 5eb5b503b376: Pull complete [2023-05-10T20:33:20.427Z] 5c69ac0246d0: Pull complete [2023-05-10T20:33:20.994Z] ec43610c2a17: Pull complete [2023-05-10T20:33:20.994Z] 3a2ae6a8a46f: Pull complete [2023-05-10T20:33:21.564Z] 33b1e0a273af: Pull complete [2023-05-10T20:33:21.564Z] 5d3b04190fa2: Pull complete [2023-05-10T20:33:25.761Z] 2f39f015ded8: Pull complete [2023-05-10T20:33:25.761Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T20:33:25.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T20:33:25.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:33:26.000Z] prd-ubuntu20.04-docker-8c-8g-14953 does not seem to be running inside a container [2023-05-10T20:33:26.041Z] $ 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-315 -v /w/workspace/gexfoundry_device-rest-go_PR-315:/w/workspace/gexfoundry_device-rest-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-315@tmp:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T20:33:28.184Z] $ docker top 3772be839ca8ae56e44ee9c986787cb2f2a217d9998c29aadfbf47570f195f37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:33:28.607Z] ---> job-cost.sh [2023-05-10T20:33:28.607Z] lf-activate-venv: SKIPPING [2023-05-10T20:33:28.607Z] INFO: No Stack... [2023-05-10T20:33:28.866Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T20:33:29.125Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T20:33:29.449Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-315/archives/cost.csv [2023-05-10T20:33:29.449Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T20:33:29.491Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [2023-05-10T20:33:29.496Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] did not exist. Created. [2023-05-10T20:33:29.496Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T20:33:29.907Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T20:33:29.966Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T20:33:30.002Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T20:33:30.080Z] $ docker stop --time=1 3772be839ca8ae56e44ee9c986787cb2f2a217d9998c29aadfbf47570f195f37 [2023-05-10T20:33:31.255Z] $ docker rm -f --volumes 3772be839ca8ae56e44ee9c986787cb2f2a217d9998c29aadfbf47570f195f37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T20:34:15.466Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14956 in /w/workspace/gexfoundry_device-rest-go_PR-315 [Pipeline] { [Pipeline] ws [2023-05-10T20:34:15.523Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-10T20:34:15.604Z] The recommended git tool is: git [2023-05-10T20:34:21.538Z] using credential edgex-jenkins-ssh [2023-05-10T20:34:21.562Z] Cloning the remote Git repository [2023-05-10T20:34:21.622Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T20:34:21.738Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-10T20:34:21.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T20:34:21.920Z] > git --version # timeout=10 [2023-05-10T20:34:21.944Z] > git --version # 'git version 2.25.1' [2023-05-10T20:34:21.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T20:34:22.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T20:34:24.118Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-10T20:34:24.140Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T20:34:25.648Z] Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [2023-05-10T20:34:25.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-10T20:34:25.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T20:34:25.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T20:34:25.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-10T20:34:25.673Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T20:34:25.764Z] > git checkout -f 951443b8098106d8f8acb1d6b73cac3b5f71ba9d # timeout=10 [2023-05-10T20:34:25.982Z] Merge succeeded, producing 951443b8098106d8f8acb1d6b73cac3b5f71ba9d [2023-05-10T20:34:25.983Z] Checking out Revision 951443b8098106d8f8acb1d6b73cac3b5f71ba9d (PR-315) [2023-05-10T20:34:26.571Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-10T20:34:26.641Z] > git --version # timeout=10 [2023-05-10T20:34:26.654Z] > git --version # 'git version 2.25.1' [2023-05-10T20:34:26.676Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T20:34:25.859Z] > git remote # timeout=10 [2023-05-10T20:34:25.880Z] > git config --get remote.origin.url # timeout=10 [2023-05-10T20:34:25.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T20:34:25.927Z] > git merge ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 [2023-05-10T20:34:25.964Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-10T20:34:25.994Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T20:34:26.016Z] > git checkout -f 951443b8098106d8f8acb1d6b73cac3b5f71ba9d # timeout=10 [2023-05-10T20:34:27.818Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T20:34:27.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T20:34:27.818Z] Dload Upload Total Spent Left Speed [2023-05-10T20:34:27.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-05-10T20:34:28.444Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T20:34:28.793Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T20:34:28.793Z] + sudo tee /etc/docker/daemon.new [2023-05-10T20:34:28.793Z] { [2023-05-10T20:34:28.793Z] "registry-mirrors": [ [2023-05-10T20:34:28.793Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T20:34:28.793Z] ], [2023-05-10T20:34:28.793Z] "bip": "10.250.0.254/24", [2023-05-10T20:34:28.793Z] "hosts": [ [2023-05-10T20:34:28.793Z] "tcp://0.0.0.0:5555", [2023-05-10T20:34:28.793Z] "unix:///var/run/docker.sock" [2023-05-10T20:34:28.793Z] ], [2023-05-10T20:34:28.793Z] "mtu": 1458, [2023-05-10T20:34:28.793Z] "selinux-enabled": true, [2023-05-10T20:34:28.793Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T20:34:28.793Z] } [Pipeline] sh [2023-05-10T20:34:29.148Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T20:34:29.500Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T20:34:47.850Z] provisioning config files... [2023-05-10T20:34:47.882Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17155318120709087218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:34:48.283Z] ---> docker-login.sh [2023-05-10T20:34:48.283Z] nexus3.edgexfoundry.org:10001 [2023-05-10T20:34:48.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:34:48.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:34:48.871Z] Configure a credential helper to remove this warning. See [2023-05-10T20:34:48.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:34:48.871Z] [2023-05-10T20:34:48.871Z] Login Succeeded [2023-05-10T20:34:48.871Z] nexus3.edgexfoundry.org:10002 [2023-05-10T20:34:49.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:34:49.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:34:49.146Z] Configure a credential helper to remove this warning. See [2023-05-10T20:34:49.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:34:49.146Z] [2023-05-10T20:34:49.146Z] Login Succeeded [2023-05-10T20:34:49.146Z] nexus3.edgexfoundry.org:10003 [2023-05-10T20:34:49.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:34:49.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:34:49.686Z] Configure a credential helper to remove this warning. See [2023-05-10T20:34:49.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:34:49.686Z] [2023-05-10T20:34:49.686Z] Login Succeeded [2023-05-10T20:34:49.686Z] nexus3.edgexfoundry.org:10004 [2023-05-10T20:34:49.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:34:49.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:34:49.957Z] Configure a credential helper to remove this warning. See [2023-05-10T20:34:49.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:34:49.957Z] [2023-05-10T20:34:49.957Z] Login Succeeded [2023-05-10T20:34:49.957Z] docker.io [2023-05-10T20:34:50.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T20:34:50.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T20:34:50.498Z] Configure a credential helper to remove this warning. See [2023-05-10T20:34:50.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T20:34:50.498Z] [2023-05-10T20:34:50.498Z] Login Succeeded [2023-05-10T20:34:50.498Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T20:34:50.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T20:34:50.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T20:34:50.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T20:34:50.960Z] ========================================================= [2023-05-10T20:34:50.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T20:34:50.960Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:34:51.448Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T20:34:51.448Z] Sending build context to Docker daemon 139.3kB [2023-05-10T20:34:51.722Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T20:34:51.722Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T20:34:51.722Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T20:34:51.722Z] c41833b44d91: Pulling fs layer [2023-05-10T20:34:51.722Z] ed15518f5707: Pulling fs layer [2023-05-10T20:34:51.722Z] feae8fd75edb: Pulling fs layer [2023-05-10T20:34:51.722Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T20:34:51.722Z] 3cdef696dda3: Pulling fs layer [2023-05-10T20:34:51.722Z] 2ced38df9373: Pulling fs layer [2023-05-10T20:34:51.722Z] 58f1dce35555: Pulling fs layer [2023-05-10T20:34:51.722Z] 242c74f7c9fa: Waiting [2023-05-10T20:34:51.722Z] 3cdef696dda3: Waiting [2023-05-10T20:34:51.722Z] 2ced38df9373: Waiting [2023-05-10T20:34:51.722Z] 58f1dce35555: Waiting [2023-05-10T20:34:52.000Z] ed15518f5707: Verifying Checksum [2023-05-10T20:34:52.000Z] ed15518f5707: Download complete [2023-05-10T20:34:52.000Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T20:34:52.000Z] 242c74f7c9fa: Download complete [2023-05-10T20:34:52.000Z] 3cdef696dda3: Verifying Checksum [2023-05-10T20:34:52.000Z] 3cdef696dda3: Download complete [2023-05-10T20:34:52.000Z] c41833b44d91: Verifying Checksum [2023-05-10T20:34:52.000Z] c41833b44d91: Download complete [2023-05-10T20:34:52.984Z] c41833b44d91: Pull complete [2023-05-10T20:34:53.252Z] 58f1dce35555: Verifying Checksum [2023-05-10T20:34:53.252Z] 58f1dce35555: Download complete [2023-05-10T20:34:54.671Z] feae8fd75edb: Verifying Checksum [2023-05-10T20:34:54.671Z] feae8fd75edb: Download complete [2023-05-10T20:34:54.671Z] 2ced38df9373: Verifying Checksum [2023-05-10T20:34:54.671Z] 2ced38df9373: Download complete [2023-05-10T20:34:55.635Z] ed15518f5707: Pull complete [2023-05-10T20:35:10.770Z] feae8fd75edb: Pull complete [2023-05-10T20:35:10.770Z] 242c74f7c9fa: Pull complete [2023-05-10T20:35:10.770Z] 3cdef696dda3: Pull complete [2023-05-10T20:35:17.447Z] 2ced38df9373: Pull complete [2023-05-10T20:35:19.444Z] 58f1dce35555: Pull complete [2023-05-10T20:35:19.711Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T20:35:19.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T20:35:19.711Z] ---> fadd8f120f05 [2023-05-10T20:35:19.711Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T20:35:21.658Z] ---> Running in 62908f582d61 [2023-05-10T20:35:21.929Z] Removing intermediate container 62908f582d61 [2023-05-10T20:35:21.929Z] ---> dfad03d20816 [2023-05-10T20:35:21.929Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T20:35:21.929Z] ---> Running in 0b52a2bd86f9 [2023-05-10T20:35:22.199Z] Removing intermediate container 0b52a2bd86f9 [2023-05-10T20:35:22.200Z] ---> d08371026f66 [2023-05-10T20:35:22.200Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T20:35:22.470Z] ---> Running in f90ff7cdc582 [2023-05-10T20:35:22.742Z] Removing intermediate container f90ff7cdc582 [2023-05-10T20:35:22.742Z] ---> 58c4eb834237 [2023-05-10T20:35:22.742Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T20:35:22.742Z] ---> Running in cbe733bf1b88 [2023-05-10T20:35:23.333Z] Removing intermediate container cbe733bf1b88 [2023-05-10T20:35:23.333Z] ---> 2f5017c2d0b4 [2023-05-10T20:35:23.333Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T20:35:23.333Z] ---> Running in 43fa61956b00 [2023-05-10T20:35:24.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T20:35:25.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T20:35:26.243Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T20:35:26.243Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T20:35:26.243Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T20:35:26.243Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T20:35:26.243Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T20:35:26.243Z] OK: 268 MiB in 57 packages [2023-05-10T20:35:27.680Z] Removing intermediate container 43fa61956b00 [2023-05-10T20:35:27.680Z] ---> f83e5d8b5df3 [2023-05-10T20:35:27.680Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T20:35:27.680Z] ---> Running in 55f386522107 [2023-05-10T20:35:27.680Z] Removing intermediate container 55f386522107 [2023-05-10T20:35:27.680Z] ---> 7b5802b1d35a [2023-05-10T20:35:27.680Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T20:35:28.271Z] ---> 5e18e55702b9 [2023-05-10T20:35:28.271Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T20:35:28.271Z] ---> Running in b066f3fec0a3 [2023-05-10T20:36:36.192Z] Removing intermediate container b066f3fec0a3 [2023-05-10T20:36:36.192Z] ---> f9a9c647fcbf [2023-05-10T20:36:36.192Z] Step 11/12 : COPY . . [2023-05-10T20:36:36.192Z] ---> ac9721d513b9 [2023-05-10T20:36:36.192Z] Step 12/12 : RUN $MAKE [2023-05-10T20:36:36.192Z] ---> Running in 8a9d859dccb3 [2023-05-10T20:36:36.192Z] noop [2023-05-10T20:36:36.192Z] Removing intermediate container 8a9d859dccb3 [2023-05-10T20:36:36.192Z] ---> 8c75768f782d [2023-05-10T20:36:36.192Z] Successfully built 8c75768f782d [2023-05-10T20:36:36.192Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:36:36.681Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T20:36:36.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:36:37.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-14956 does not seem to be running inside a container [2023-05-10T20:36:37.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T20:36:38.434Z] $ docker top 3284053fc840fd13a63f36770717e2e8f7973c4fbc5a26c1182959e51a01ad34 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T20:36:39.357Z] + go version [2023-05-10T20:36:39.357Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T20:36:39.394Z] $ docker stop --time=1 3284053fc840fd13a63f36770717e2e8f7973c4fbc5a26c1182959e51a01ad34 [2023-05-10T20:36:41.086Z] $ docker rm -f --volumes 3284053fc840fd13a63f36770717e2e8f7973c4fbc5a26c1182959e51a01ad34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:36:41.998Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T20:36:41.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:36:42.269Z] prd-ubuntu20.04-docker-arm64-4c-16g-14956 does not seem to be running inside a container [2023-05-10T20:36:42.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T20:36:43.578Z] $ docker top 15288f4b744af9b8b7542e8e93e3db9e04be227333c71494b2df7f65f2e443c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T20:36:44.486Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-10T20:36:45.203Z] + make test [2023-05-10T20:36:45.203Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T20:37:24.133Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T20:39:45.941Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T20:39:45.941Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 32.2% of statements [2023-05-10T20:39:45.941Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T20:39:45.941Z] go vet ./... [2023-05-10T20:40:08.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T20:40:08.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T20:40:08.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T20:40:08.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T20:40:08.110Z] $ docker stop --time=1 15288f4b744af9b8b7542e8e93e3db9e04be227333c71494b2df7f65f2e443c9 [2023-05-10T20:40:10.031Z] $ docker rm -f --volumes 15288f4b744af9b8b7542e8e93e3db9e04be227333c71494b2df7f65f2e443c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T20:40:11.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T20:40:11.451Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T20:40:12.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T20:40:12.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T20:40:12.976Z] + ls -al . [2023-05-10T20:40:12.976Z] total 180 [2023-05-10T20:40:12.976Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:36 . [2023-05-10T20:40:12.976Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:34 .. [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 20:34 .dockerignore [2023-05-10T20:40:12.976Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 20:34 .git [2023-05-10T20:40:12.976Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:34 .github [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 20:34 .gitignore [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 20:34 .golangci.yml [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 20:34 Attribution.txt [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 20:34 CHANGELOG.md [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 20:34 Dockerfile [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 20:34 GOVERNANCE.md [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 20:34 Jenkinsfile [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 20:34 LICENSE [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 20:34 Makefile [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 20:34 OWNERS.md [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 10 20:34 README.md [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 20:31 VERSION [2023-05-10T20:40:12.976Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:34 bin [2023-05-10T20:40:12.976Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 20:34 cmd [2023-05-10T20:40:12.976Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 20:39 coverage.out [2023-05-10T20:40:12.976Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 20:34 driver [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 20:34 go.mod [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 20:34 go.sum [2023-05-10T20:40:12.976Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 20:34 snap [2023-05-10T20:40:12.976Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:40:13.417Z] + 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=951443b8098106d8f8acb1d6b73cac3b5f71ba9d --label arch=arm64 --label version=0.0.0 . [2023-05-10T20:40:13.418Z] Sending build context to Docker daemon 154.6kB [2023-05-10T20:40:13.688Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T20:40:13.688Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T20:40:13.688Z] ---> 8c75768f782d [2023-05-10T20:40:13.688Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T20:40:13.688Z] ---> Running in 8840ba580aa0 [2023-05-10T20:40:14.280Z] Removing intermediate container 8840ba580aa0 [2023-05-10T20:40:14.280Z] ---> 961922cf3d28 [2023-05-10T20:40:14.280Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T20:40:14.280Z] ---> Running in d0f1c2d9a157 [2023-05-10T20:40:14.549Z] Removing intermediate container d0f1c2d9a157 [2023-05-10T20:40:14.549Z] ---> 0776a77e586c [2023-05-10T20:40:14.549Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T20:40:14.549Z] ---> Running in 98acc572eee4 [2023-05-10T20:40:14.822Z] Removing intermediate container 98acc572eee4 [2023-05-10T20:40:14.822Z] ---> 2941a6af9fb4 [2023-05-10T20:40:14.822Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T20:40:15.092Z] ---> Running in 6fffc71681d1 [2023-05-10T20:40:15.362Z] Removing intermediate container 6fffc71681d1 [2023-05-10T20:40:15.362Z] ---> 6f6745b3ca2f [2023-05-10T20:40:15.362Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T20:40:15.362Z] ---> Running in 87e8540f2f3b [2023-05-10T20:40:16.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T20:40:17.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T20:40:18.253Z] OK: 268 MiB in 57 packages [2023-05-10T20:40:18.839Z] Removing intermediate container 87e8540f2f3b [2023-05-10T20:40:18.840Z] ---> 160fcff44db6 [2023-05-10T20:40:18.840Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T20:40:19.107Z] ---> Running in 2bcba809ed1e [2023-05-10T20:40:19.377Z] Removing intermediate container 2bcba809ed1e [2023-05-10T20:40:19.377Z] ---> 7f9de3ab4b96 [2023-05-10T20:40:19.377Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T20:40:19.963Z] ---> d08f391fa5a1 [2023-05-10T20:40:19.963Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T20:40:19.963Z] ---> Running in ad8a0ce81b29 [2023-05-10T20:40:22.556Z] Removing intermediate container ad8a0ce81b29 [2023-05-10T20:40:22.556Z] ---> 8302c3567120 [2023-05-10T20:40:22.556Z] Step 11/25 : COPY . . [2023-05-10T20:40:23.154Z] ---> ecc81df3ee4f [2023-05-10T20:40:23.154Z] Step 12/25 : RUN $MAKE [2023-05-10T20:40:23.154Z] ---> Running in aec18e957427 [2023-05-10T20:40:24.123Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-10T20:42:46.457Z] Removing intermediate container aec18e957427 [2023-05-10T20:42:46.457Z] ---> 3f0337cb9700 [2023-05-10T20:42:46.457Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T20:42:46.457Z] 3.17: Pulling from library/alpine [2023-05-10T20:42:46.457Z] c41833b44d91: Already exists [2023-05-10T20:42:46.457Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T20:42:46.457Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T20:42:46.457Z] ---> 51e60588ff2c [2023-05-10T20:42:46.457Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T20:42:46.457Z] ---> Running in 85cd5db67dd2 [2023-05-10T20:42:46.457Z] Removing intermediate container 85cd5db67dd2 [2023-05-10T20:42:46.457Z] ---> d4368ccbe74a [2023-05-10T20:42:46.457Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T20:42:46.457Z] ---> Running in 21cf443ae431 [2023-05-10T20:42:46.457Z] Removing intermediate container 21cf443ae431 [2023-05-10T20:42:46.457Z] ---> 8c6ae602cdd8 [2023-05-10T20:42:46.457Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T20:42:46.457Z] ---> Running in 8adfd220933a [2023-05-10T20:42:46.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T20:42:46.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T20:42:46.457Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T20:42:46.457Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T20:42:46.457Z] OK: 8 MiB in 16 packages [2023-05-10T20:42:47.419Z] Removing intermediate container 8adfd220933a [2023-05-10T20:42:47.419Z] ---> 2ab7b89102ad [2023-05-10T20:42:47.419Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T20:42:48.836Z] ---> e9a5cea814be [2023-05-10T20:42:48.836Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T20:42:49.421Z] ---> a11dc070bd21 [2023-05-10T20:42:49.422Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T20:42:50.009Z] ---> 284a7f442f9a [2023-05-10T20:42:50.009Z] Step 20/25 : EXPOSE 59986 [2023-05-10T20:42:50.009Z] ---> Running in 55c923ae51e3 [2023-05-10T20:42:50.277Z] Removing intermediate container 55c923ae51e3 [2023-05-10T20:42:50.277Z] ---> 943e76f8bcb1 [2023-05-10T20:42:50.277Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T20:42:50.277Z] ---> Running in b06c64ee71e2 [2023-05-10T20:42:50.546Z] Removing intermediate container b06c64ee71e2 [2023-05-10T20:42:50.546Z] ---> ec082666f271 [2023-05-10T20:42:50.546Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T20:42:50.546Z] ---> Running in c9530153cdfb [2023-05-10T20:42:50.814Z] Removing intermediate container c9530153cdfb [2023-05-10T20:42:50.814Z] ---> e97662b777b7 [2023-05-10T20:42:50.814Z] Step 23/25 : LABEL arch=arm64 [2023-05-10T20:42:51.082Z] ---> Running in f017becacec7 [2023-05-10T20:42:51.350Z] Removing intermediate container f017becacec7 [2023-05-10T20:42:51.350Z] ---> 198a61237434 [2023-05-10T20:42:51.350Z] Step 24/25 : LABEL git_sha=951443b8098106d8f8acb1d6b73cac3b5f71ba9d [2023-05-10T20:42:51.350Z] ---> Running in ab8ea4b8810e [2023-05-10T20:42:51.619Z] Removing intermediate container ab8ea4b8810e [2023-05-10T20:42:51.619Z] ---> dc5d08bf9a9f [2023-05-10T20:42:51.619Z] Step 25/25 : LABEL version=0.0.0 [2023-05-10T20:42:51.888Z] ---> Running in b32520053639 [2023-05-10T20:42:52.157Z] Removing intermediate container b32520053639 [2023-05-10T20:42:52.158Z] ---> 3f0e93ecff64 [2023-05-10T20:42:52.158Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T20:42:52.158Z] Successfully built 3f0e93ecff64 [2023-05-10T20:42:52.158Z] 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-05-10T20:42:53.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T20:42:53.025Z] [2023-05-10T20:42:53.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:42:53.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T20:42:53.441Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T20:42:53.441Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T20:42:53.441Z] 04944245beec: Pulling fs layer [2023-05-10T20:42:53.441Z] 699f458cf7ca: Pulling fs layer [2023-05-10T20:42:53.441Z] 765212b225bb: Pulling fs layer [2023-05-10T20:42:53.441Z] f23df028b6ca: Pulling fs layer [2023-05-10T20:42:53.441Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T20:42:53.441Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T20:42:53.441Z] f23df028b6ca: Waiting [2023-05-10T20:42:53.441Z] d65c8cfc05b1: Waiting [2023-05-10T20:42:53.441Z] 765212b225bb: Waiting [2023-05-10T20:42:53.441Z] 2437ff75d9bd: Waiting [2023-05-10T20:42:53.713Z] 04944245beec: Verifying Checksum [2023-05-10T20:42:53.713Z] 04944245beec: Download complete [2023-05-10T20:42:53.713Z] 765212b225bb: Verifying Checksum [2023-05-10T20:42:53.713Z] 765212b225bb: Download complete [2023-05-10T20:42:53.713Z] f23df028b6ca: Download complete [2023-05-10T20:42:53.713Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T20:42:53.713Z] d65c8cfc05b1: Download complete [2023-05-10T20:42:53.984Z] 699f458cf7ca: Verifying Checksum [2023-05-10T20:42:53.984Z] 699f458cf7ca: Download complete [2023-05-10T20:42:54.255Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T20:42:54.255Z] 8998bd30e6a1: Download complete [2023-05-10T20:42:56.974Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T20:42:56.974Z] 2437ff75d9bd: Download complete [2023-05-10T20:42:58.981Z] 8998bd30e6a1: Pull complete [2023-05-10T20:42:59.272Z] 04944245beec: Pull complete [2023-05-10T20:43:00.727Z] 699f458cf7ca: Pull complete [2023-05-10T20:43:00.727Z] 765212b225bb: Pull complete [2023-05-10T20:43:01.703Z] f23df028b6ca: Pull complete [2023-05-10T20:43:01.971Z] d65c8cfc05b1: Pull complete [2023-05-10T20:43:16.991Z] 2437ff75d9bd: Pull complete [2023-05-10T20:43:16.991Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T20:43:16.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T20:43:16.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:43:17.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-14956 does not seem to be running inside a container [2023-05-10T20:43:17.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-10T20:43:20.058Z] $ docker top 0a622400dd93cb3e22d49147b49a35dccf3d44fb3a184df5c4acc46e748b1b92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:20.956Z] ---> job-cost.sh [2023-05-10T20:43:20.956Z] lf-activate-venv: SKIPPING [2023-05-10T20:43:20.956Z] INFO: No Stack... [2023-05-10T20:43:21.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T20:43:22.191Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T20:43:22.543Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-10T20:43:22.543Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T20:43:22.906Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [2023-05-10T20:43:22.911Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] did not exist. Created. [2023-05-10T20:43:22.911Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T20:43:23.634Z] /w/workspace/device-rest-go/1@tmp/durable-cc0cf85f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T20:43:24.315Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T20:43:24.353Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T20:43:24.401Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T20:43:24.416Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T20:43:24.490Z] $ docker stop --time=1 0a622400dd93cb3e22d49147b49a35dccf3d44fb3a184df5c4acc46e748b1b92 [2023-05-10T20:43:26.924Z] $ docker rm -f --volumes 0a622400dd93cb3e22d49147b49a35dccf3d44fb3a184df5c4acc46e748b1b92 [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-05-10T20:43:27.922Z] provisioning config files... [2023-05-10T20:43:27.931Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/config18125843145537570383tmp [Pipeline] { [Pipeline] sh [2023-05-10T20:43:28.269Z] + set +x [2023-05-10T20:43:28.269Z] + curl -s https://codecov.io/bash [2023-05-10T20:43:28.269Z] + bash -s -- [2023-05-10T20:43:28.269Z] [2023-05-10T20:43:28.269Z] _____ _ [2023-05-10T20:43:28.269Z] / ____| | | [2023-05-10T20:43:28.269Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T20:43:28.269Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T20:43:28.269Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T20:43:28.269Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T20:43:28.269Z] Bash-1.0.6 [2023-05-10T20:43:28.269Z] [2023-05-10T20:43:28.269Z] [2023-05-10T20:43:28.269Z] ==> git version 2.25.1 found [2023-05-10T20:43:28.269Z] ==> 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-05-10T20:43:28.269Z] Release-Date: 2020-01-08 [2023-05-10T20:43:28.269Z] 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-05-10T20:43:28.269Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T20:43:28.269Z] ==> Jenkins CI detected. [2023-05-10T20:43:28.269Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-315 [2023-05-10T20:43:28.269Z] project root: . [2023-05-10T20:43:28.269Z] --> token set from env [2023-05-10T20:43:28.269Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T20:43:28.269Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T20:43:28.269Z] ==> Python coveragepy not found [2023-05-10T20:43:28.269Z] ==> Searching for coverage reports in: [2023-05-10T20:43:28.269Z] + . [2023-05-10T20:43:28.269Z] -> Found 1 reports [2023-05-10T20:43:28.269Z] ==> Detecting git/mercurial file structure [2023-05-10T20:43:28.269Z] ==> Reading reports [2023-05-10T20:43:28.269Z] + ./coverage.out bytes=14663 [2023-05-10T20:43:28.269Z] ==> Appending adjustments [2023-05-10T20:43:28.269Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T20:43:28.528Z] + Found adjustments [2023-05-10T20:43:28.528Z] ==> Gzipping contents [2023-05-10T20:43:28.528Z] 4.0K /tmp/codecov.U4Azwr.gz [2023-05-10T20:43:28.528Z] ==> Uploading reports [2023-05-10T20:43:28.528Z] url: https://codecov.io [2023-05-10T20:43:28.528Z] query: branch=PR-315&commit=951443b8098106d8f8acb1d6b73cac3b5f71ba9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=315&job=&cmd_args= [2023-05-10T20:43:28.528Z] -> Pinging Codecov [2023-05-10T20:43:28.528Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-315&commit=951443b8098106d8f8acb1d6b73cac3b5f71ba9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=315&job=&cmd_args= [2023-05-10T20:43:28.528Z] -> Uploading to [2023-05-10T20:43:28.528Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/951443b8098106d8f8acb1d6b73cac3b5f71ba9d/6ce2ea56-ebc0-4ae0-900e-0273a0154313.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T204328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a83adbe5950e65dea1294550a91eb73d0707259046efbaa925a0aaabc732662 [2023-05-10T20:43:28.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T20:43:28.528Z] Dload Upload Total Spent Left Speed [2023-05-10T20:43:28.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11461 --:--:-- --:--:-- --:--:-- 11461 [2023-05-10T20:43:28.787Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/951443b8098106d8f8acb1d6b73cac3b5f71ba9d [Pipeline] } [2023-05-10T20:43:28.815Z] 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-05-10T20:43:30.646Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-315/archives ] [2023-05-10T20:43:30.646Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-315/archives [2023-05-10T20:43:30.646Z] total 16 [2023-05-10T20:43:30.646Z] drwxr-xr-x 3 root root 4096 May 10 20:33 . [2023-05-10T20:43:30.646Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 20:33 .. [2023-05-10T20:43:30.646Z] drwxr-xr-x 2 root root 4096 May 10 20:33 cost [2023-05-10T20:43:30.646Z] -rw-r--r-- 1 root root 86 May 10 20:33 cost.csv [2023-05-10T20:43:30.646Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-315/archives [2023-05-10T20:43:30.646Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-315/archives [2023-05-10T20:43:30.646Z] total 16 [2023-05-10T20:43:30.646Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 20:33 . [2023-05-10T20:43:30.646Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 20:33 .. [2023-05-10T20:43:30.646Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 20:33 cost [2023-05-10T20:43:30.646Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 20:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:30.975Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:31.888Z] ---> package-listing.sh [2023-05-10T20:43:31.889Z] ++ facter osfamily [2023-05-10T20:43:31.889Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T20:43:32.148Z] + OS_FAMILY=debian [2023-05-10T20:43:32.148Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-315 [2023-05-10T20:43:32.148Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T20:43:32.148Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T20:43:32.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T20:43:32.148Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T20:43:32.148Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-315 ']' [2023-05-10T20:43:32.148Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T20:43:32.148Z] + case "${OS_FAMILY}" in [2023-05-10T20:43:32.148Z] + dpkg -l [2023-05-10T20:43:32.148Z] + grep '^ii' [2023-05-10T20:43:32.148Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T20:43:32.148Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T20:43:32.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T20:43:32.148Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-315 ']' [2023-05-10T20:43:32.148Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-315/archives/ [2023-05-10T20:43:32.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-315/archives/ [Pipeline] echo [2023-05-10T20:43:32.181Z] 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-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T20:43:32.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T20:43:33.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T20:43:33.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T20:43:33.254Z] prd-ubuntu20.04-docker-8c-8g-14953 does not seem to be running inside a container [2023-05-10T20:43:33.289Z] $ 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-315/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-315 -v /w/workspace/gexfoundry_device-rest-go_PR-315:/w/workspace/gexfoundry_device-rest-go_PR-315:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-315@tmp:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T20:43:33.795Z] $ docker top 0ab094aa69d809db563a36d606fb7e7d7e09146af3845f742644a4a5de454407 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T20:43:34.188Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T20:43:34.536Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T20:43:34.849Z] + ls /var/log/sa-host [2023-05-10T20:43:34.850Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T20:43:34.991Z] provisioning config files... [2023-05-10T20:43:35.000Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-315@tmp/config7967281059500854927tmp [Pipeline] { [Pipeline] echo [2023-05-10T20:43:35.044Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:35.354Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T20:43:35.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:35.774Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T20:43:35.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:36.124Z] ---> sudo-logs.sh [2023-05-10T20:43:36.125Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T20:43:36.208Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:36.523Z] ---> job-cost.sh [2023-05-10T20:43:36.523Z] lf-activate-venv: SKIPPING [2023-05-10T20:43:36.523Z] DEBUG: total: 0.2199999988079071 [2023-05-10T20:43:36.523Z] INFO: Retrieving Stack Cost... [2023-05-10T20:43:37.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T20:43:37.357Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T20:43:37.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T20:43:37.709Z] ---> logs-deploy.sh [2023-05-10T20:43:37.709Z] lf-activate-venv: SKIPPING [2023-05-10T20:43:37.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-315/1 [2023-05-10T20:43:37.709Z] INFO: archiving workspace using pattern(s): [2023-05-10T20:43:38.647Z] Archives upload complete. [2023-05-10T20:43:38.647Z] INFO: archiving logs to Nexus