Pull request #319 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3960dc5242141c2aea7f41e09034b22aa9f5aa10+e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (4fec9bdd86f9c01ea1547321af58db3869973e27) 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-ssh10476807161884067511.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-ssh6702102617763314409.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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15499494665548823480.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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh214460143312635121.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-ssh4126150309992379898.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12105629127246858970.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15535 in /w/workspace/gexfoundry_device-rest-go_PR-319 [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-319 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 3960dc5242141c2aea7f41e09034b22aa9f5aa10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 3960dc5242141c2aea7f41e09034b22aa9f5aa10 Checking out Revision 3960dc5242141c2aea7f41e09034b22aa9f5aa10 (PR-319) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T09:53:55.788Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T09:53:55.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T09:53:56.079Z] ========================================================= [2023-05-16T09:53:56.079Z] EdgeX Global Pipelines Version Info [2023-05-16T09:53:56.079Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 [2023-05-16T09:53:56.843Z] ------------------- [2023-05-16T09:53:56.843Z] stable info: [2023-05-16T09:53:56.843Z] ------------------- [2023-05-16T09:53:56.843Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T09:53:56.843Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T09:53:56.843Z] Message: update stable to v1.0.249 [2023-05-16T09:53:57.421Z] ------------------- [2023-05-16T09:53:57.421Z] experimental info: [2023-05-16T09:53:57.421Z] ------------------- [2023-05-16T09:53:57.421Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T09:53:57.421Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T09:53:57.421Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T09:53:57.732Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-16T09:53:57.772Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-16T09:53:57.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T09:53:57.853Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T09:53:57.893Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T09:53:57.933Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T09:53:57.977Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T09:53:58.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T09:53:58.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T09:53:58.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T09:53:58.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T09:53:58.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-16T09:53:58.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T09:53:58.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T09:53:58.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T09:53:58.356Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T09:53:58.392Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T09:53:58.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T09:53:58.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T09:53:58.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T09:53:58.562Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T09:53:58.604Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T09:53:58.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T09:53:58.688Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T09:53:58.726Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T09:53:58.767Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T09:53:58.813Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T09:53:58.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo [2023-05-16T09:53:58.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo [2023-05-16T09:53:58.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo [2023-05-16T09:53:58.985Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo [2023-05-16T09:53:59.025Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3960dc5 [Pipeline] echo [2023-05-16T09:53:59.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T09:53:59.198Z] provisioning config files... [2023-05-16T09:53:59.225Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config16458254513720538076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T09:53:59.578Z] ---> docker-login.sh [2023-05-16T09:53:59.578Z] nexus3.edgexfoundry.org:10001 [2023-05-16T09:53:59.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:00.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:00.100Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:00.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:00.100Z] [2023-05-16T09:54:00.100Z] Login Succeeded [2023-05-16T09:54:00.100Z] nexus3.edgexfoundry.org:10002 [2023-05-16T09:54:00.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:00.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:00.100Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:00.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:00.100Z] [2023-05-16T09:54:00.100Z] Login Succeeded [2023-05-16T09:54:00.100Z] nexus3.edgexfoundry.org:10003 [2023-05-16T09:54:00.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:00.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:00.362Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:00.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:00.362Z] [2023-05-16T09:54:00.362Z] Login Succeeded [2023-05-16T09:54:00.362Z] nexus3.edgexfoundry.org:10004 [2023-05-16T09:54:00.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:00.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:00.362Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:00.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:00.362Z] [2023-05-16T09:54:00.362Z] Login Succeeded [2023-05-16T09:54:00.362Z] docker.io [2023-05-16T09:54:00.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:00.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:00.623Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:00.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:00.623Z] [2023-05-16T09:54:00.623Z] Login Succeeded [2023-05-16T09:54:00.623Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T09:54:00.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T09:54:01.286Z] + git rev-list -1 --merges 3960dc5242141c2aea7f41e09034b22aa9f5aa10~1..3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo [2023-05-16T09:54:01.359Z] -----------> git rev-list -1 --merges 3960dc5242141c2aea7f41e09034b22aa9f5aa10~1..3960dc5242141c2aea7f41e09034b22aa9f5aa10 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [false] [Pipeline] sh [2023-05-16T09:54:01.671Z] + git log --format=format:%s -1 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo [2023-05-16T09:54:01.711Z] ========================================================= [2023-05-16T09:54:01.711Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T09:54:01.711Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T09:54:02.154Z] + git log --format=format:%s -1 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo [2023-05-16T09:54:02.199Z] [semverPrep] GIT_COMMIT: 3960dc5242141c2aea7f41e09034b22aa9f5aa10, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo [2023-05-16T09:54:02.230Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T09:54:02.620Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T09:54:02.620Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T09:54:02.620Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T09:54:02.620Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T09:54:02.620Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T09:54:02.620Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T09:54:02.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:54:03.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T09:54:03.054Z] [2023-05-16T09:54:03.054Z] 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-16T09:54:03.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T09:54:03.453Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T09:54:03.453Z] b85a868b505f: Pulling fs layer [2023-05-16T09:54:03.453Z] e2be974225ed: Pulling fs layer [2023-05-16T09:54:03.453Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T09:54:03.453Z] 988bab9f4d93: Pulling fs layer [2023-05-16T09:54:03.453Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T09:54:03.453Z] eaf3925da568: Pulling fs layer [2023-05-16T09:54:03.453Z] bab4dde63d76: Pulling fs layer [2023-05-16T09:54:03.453Z] bde34c3a00c8: Pulling fs layer [2023-05-16T09:54:03.453Z] b352a97aabf1: Pulling fs layer [2023-05-16T09:54:03.453Z] 4872d77fe225: Pulling fs layer [2023-05-16T09:54:03.453Z] 5851b861e8e6: Pulling fs layer [2023-05-16T09:54:03.453Z] 1469e6f7b9e6: Waiting [2023-05-16T09:54:03.453Z] eaf3925da568: Waiting [2023-05-16T09:54:03.453Z] bde34c3a00c8: Waiting [2023-05-16T09:54:03.453Z] 4872d77fe225: Waiting [2023-05-16T09:54:03.453Z] 5851b861e8e6: Waiting [2023-05-16T09:54:03.453Z] bab4dde63d76: Waiting [2023-05-16T09:54:03.453Z] 988bab9f4d93: Waiting [2023-05-16T09:54:03.453Z] b352a97aabf1: Waiting [2023-05-16T09:54:03.453Z] e2be974225ed: Download complete [2023-05-16T09:54:03.453Z] 988bab9f4d93: Verifying Checksum [2023-05-16T09:54:03.453Z] 988bab9f4d93: Download complete [2023-05-16T09:54:03.453Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T09:54:03.453Z] 1469e6f7b9e6: Download complete [2023-05-16T09:54:03.722Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T09:54:03.722Z] 339a4e72a1f5: Download complete [2023-05-16T09:54:03.722Z] eaf3925da568: Verifying Checksum [2023-05-16T09:54:03.722Z] eaf3925da568: Download complete [2023-05-16T09:54:03.722Z] bde34c3a00c8: Download complete [2023-05-16T09:54:03.722Z] b352a97aabf1: Verifying Checksum [2023-05-16T09:54:03.722Z] b352a97aabf1: Download complete [2023-05-16T09:54:03.722Z] 4872d77fe225: Download complete [2023-05-16T09:54:03.722Z] 5851b861e8e6: Verifying Checksum [2023-05-16T09:54:03.722Z] 5851b861e8e6: Download complete [2023-05-16T09:54:03.722Z] b85a868b505f: Verifying Checksum [2023-05-16T09:54:03.722Z] b85a868b505f: Download complete [2023-05-16T09:54:03.982Z] bab4dde63d76: Verifying Checksum [2023-05-16T09:54:03.982Z] bab4dde63d76: Download complete [2023-05-16T09:54:04.928Z] b85a868b505f: Pull complete [2023-05-16T09:54:05.189Z] e2be974225ed: Pull complete [2023-05-16T09:54:05.759Z] 339a4e72a1f5: Pull complete [2023-05-16T09:54:05.759Z] 988bab9f4d93: Pull complete [2023-05-16T09:54:06.019Z] 1469e6f7b9e6: Pull complete [2023-05-16T09:54:06.019Z] eaf3925da568: Pull complete [2023-05-16T09:54:07.930Z] bab4dde63d76: Pull complete [2023-05-16T09:54:07.930Z] bde34c3a00c8: Pull complete [2023-05-16T09:54:08.191Z] b352a97aabf1: Pull complete [2023-05-16T09:54:08.191Z] 4872d77fe225: Pull complete [2023-05-16T09:54:08.191Z] 5851b861e8e6: Pull complete [2023-05-16T09:54:08.191Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T09:54:08.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T09:54:08.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:54:08.434Z] prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container [2023-05-16T09:54:08.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T09:54:14.548Z] $ docker top f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 -eo pid,comm [2023-05-16T09:54:14.595Z] 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-16T09:54:14.595Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T09:54:14.748Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T09:54:14.748Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T09:54:14.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T09:54:14.878Z] $ docker exec f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent [2023-05-16T09:54:14.981Z] SSH_AUTH_SOCK=/tmp/ssh-BbCsyyxGJKQx/agent.33 [2023-05-16T09:54:14.981Z] SSH_AGENT_PID=39 [2023-05-16T09:54:14.987Z] Running ssh-add (command line suppressed) [2023-05-16T09:54:15.097Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_10098907131500862801.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_10098907131500862801.key) [2023-05-16T09:54:15.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T09:54:15.438Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T09:54:15.468Z] $ docker exec --env ******** --env ******** f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent -k [2023-05-16T09:54:15.577Z] unset SSH_AUTH_SOCK; [2023-05-16T09:54:15.577Z] unset SSH_AGENT_PID; [2023-05-16T09:54:15.577Z] echo Agent pid 39 killed; [2023-05-16T09:54:15.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T09:54:15.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T09:54:15.673Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T09:54:15.782Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T09:54:15.789Z] $ docker exec f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent [2023-05-16T09:54:15.897Z] SSH_AUTH_SOCK=/tmp/ssh-7Hq4nHFwdPbt/agent.71 [2023-05-16T09:54:15.897Z] SSH_AGENT_PID=77 [2023-05-16T09:54:15.902Z] Running ssh-add (command line suppressed) [2023-05-16T09:54:16.016Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_13479425106058079330.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_13479425106058079330.key) [2023-05-16T09:54:16.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T09:54:16.364Z] + git semver init [2023-05-16T09:54:16.624Z] 2023-05-16 09:54:16,548 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T09:54:16.624Z] 2023-05-16 09:54:16,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver [2023-05-16T09:54:16.624Z] 2023-05-16 09:54:16,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-319/.semver [2023-05-16T09:54:16.624Z] 2023-05-16 09:54:16,550 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-319/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319, universal_newlines=False, shell=None, istream=None) [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,608 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.git/info/exclude [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 with force:False [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,608 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,611 [execute] INFO git cat-file --batch-check [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,616 [execute] INFO git cat-file --batch [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T09:54:18.012Z] 2023-05-16 09:54:17,621 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 [2023-05-16T09:54:18.012Z] 0.0.0 [Pipeline] } [2023-05-16T09:54:18.043Z] $ docker exec --env ******** --env ******** f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent -k [2023-05-16T09:54:18.139Z] unset SSH_AUTH_SOCK; [2023-05-16T09:54:18.139Z] unset SSH_AGENT_PID; [2023-05-16T09:54:18.140Z] echo Agent pid 77 killed; [2023-05-16T09:54:18.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T09:54:18.594Z] + git semver [Pipeline] } [2023-05-16T09:54:18.883Z] $ docker stop --time=1 f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 [2023-05-16T09:54:20.275Z] $ docker rm -f --volumes f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T09:54:20.676Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T09:54:20.954Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T09:54:20.972Z] [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-16T09:54:21.610Z] provisioning config files... [2023-05-16T09:54:21.620Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config14073807655671746816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T09:54:21.975Z] ---> docker-login.sh [2023-05-16T09:54:21.975Z] nexus3.edgexfoundry.org:10001 [2023-05-16T09:54:21.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:21.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:21.975Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:21.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:21.975Z] [2023-05-16T09:54:21.975Z] Login Succeeded [2023-05-16T09:54:21.975Z] nexus3.edgexfoundry.org:10002 [2023-05-16T09:54:21.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:21.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:21.975Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:21.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:21.975Z] [2023-05-16T09:54:21.975Z] Login Succeeded [2023-05-16T09:54:21.975Z] nexus3.edgexfoundry.org:10003 [2023-05-16T09:54:22.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:22.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:22.233Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:22.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:22.233Z] [2023-05-16T09:54:22.233Z] Login Succeeded [2023-05-16T09:54:22.233Z] nexus3.edgexfoundry.org:10004 [2023-05-16T09:54:22.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:22.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:22.233Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:22.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:22.233Z] [2023-05-16T09:54:22.233Z] Login Succeeded [2023-05-16T09:54:22.233Z] docker.io [2023-05-16T09:54:22.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:54:22.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:54:22.492Z] Configure a credential helper to remove this warning. See [2023-05-16T09:54:22.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:54:22.492Z] [2023-05-16T09:54:22.492Z] Login Succeeded [2023-05-16T09:54:22.492Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T09:54:22.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T09:54:22.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T09:54:22.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T09:54:22.785Z] ========================================================= [2023-05-16T09:54:22.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T09:54:22.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:54:23.289Z] + 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-16T09:54:23.289Z] Sending build context to Docker daemon 10.93MB [2023-05-16T09:54:23.289Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T09:54:23.289Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T09:54:23.289Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T09:54:23.289Z] f56be85fc22e: Pulling fs layer [2023-05-16T09:54:23.289Z] 85791d961cd3: Pulling fs layer [2023-05-16T09:54:23.289Z] d694b5ae8c79: Pulling fs layer [2023-05-16T09:54:23.289Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T09:54:23.289Z] 4d19c01a9841: Pulling fs layer [2023-05-16T09:54:23.289Z] 9325e15d5711: Pulling fs layer [2023-05-16T09:54:23.289Z] 556b6ee489ea: Pulling fs layer [2023-05-16T09:54:23.289Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T09:54:23.289Z] 9f32a84ed3da: Waiting [2023-05-16T09:54:23.289Z] 9325e15d5711: Waiting [2023-05-16T09:54:23.289Z] 4d19c01a9841: Waiting [2023-05-16T09:54:23.289Z] 556b6ee489ea: Waiting [2023-05-16T09:54:23.552Z] 85791d961cd3: Verifying Checksum [2023-05-16T09:54:23.552Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T09:54:23.552Z] 9f32a84ed3da: Download complete [2023-05-16T09:54:23.552Z] 4d19c01a9841: Verifying Checksum [2023-05-16T09:54:23.552Z] 4d19c01a9841: Download complete [2023-05-16T09:54:23.552Z] f56be85fc22e: Verifying Checksum [2023-05-16T09:54:23.552Z] f56be85fc22e: Download complete [2023-05-16T09:54:23.552Z] 9325e15d5711: Verifying Checksum [2023-05-16T09:54:23.552Z] 9325e15d5711: Download complete [2023-05-16T09:54:23.552Z] f56be85fc22e: Pull complete [2023-05-16T09:54:23.813Z] 85791d961cd3: Pull complete [2023-05-16T09:54:24.075Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T09:54:24.075Z] c5a4b2cf53e6: Download complete [2023-05-16T09:54:24.075Z] d694b5ae8c79: Verifying Checksum [2023-05-16T09:54:24.075Z] d694b5ae8c79: Download complete [2023-05-16T09:54:24.334Z] 556b6ee489ea: Verifying Checksum [2023-05-16T09:54:27.620Z] d694b5ae8c79: Pull complete [2023-05-16T09:54:27.620Z] 9f32a84ed3da: Pull complete [2023-05-16T09:54:27.620Z] 4d19c01a9841: Pull complete [2023-05-16T09:54:27.620Z] 9325e15d5711: Pull complete [2023-05-16T09:54:30.147Z] 556b6ee489ea: Pull complete [2023-05-16T09:54:31.083Z] c5a4b2cf53e6: Pull complete [2023-05-16T09:54:31.083Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T09:54:31.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T09:54:31.083Z] ---> c4be618373d6 [2023-05-16T09:54:31.083Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T09:54:36.409Z] Still waiting to schedule task [2023-05-16T09:54:36.409Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T09:54:41.112Z] ---> Running in 97fe0754279d [2023-05-16T09:54:41.112Z] Removing intermediate container 97fe0754279d [2023-05-16T09:54:41.112Z] ---> 618605921f0c [2023-05-16T09:54:41.112Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T09:54:41.112Z] ---> Running in 5632d8dabfd1 [2023-05-16T09:54:41.112Z] Removing intermediate container 5632d8dabfd1 [2023-05-16T09:54:41.112Z] ---> 6a0901be1941 [2023-05-16T09:54:41.112Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T09:54:41.112Z] ---> Running in 827e3bcf82c4 [2023-05-16T09:54:41.112Z] Removing intermediate container 827e3bcf82c4 [2023-05-16T09:54:41.112Z] ---> 68f8dd519b29 [2023-05-16T09:54:41.112Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T09:54:41.112Z] ---> Running in 002876f04298 [2023-05-16T09:54:41.112Z] Removing intermediate container 002876f04298 [2023-05-16T09:54:41.112Z] ---> ccae8ee8d60d [2023-05-16T09:54:41.112Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T09:54:41.112Z] ---> Running in d37712dfbfe5 [2023-05-16T09:54:41.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T09:54:41.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T09:54:41.112Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T09:54:41.112Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T09:54:41.112Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T09:54:41.112Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T09:54:41.112Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T09:54:41.112Z] OK: 269 MiB in 57 packages [2023-05-16T09:54:41.371Z] Removing intermediate container d37712dfbfe5 [2023-05-16T09:54:41.371Z] ---> d6663d819f4a [2023-05-16T09:54:41.371Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T09:54:41.371Z] ---> Running in 6fe8000fc3a5 [2023-05-16T09:54:41.371Z] Removing intermediate container 6fe8000fc3a5 [2023-05-16T09:54:41.371Z] ---> 1ba4f390ce66 [2023-05-16T09:54:41.371Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T09:54:41.371Z] ---> 002dbc196338 [2023-05-16T09:54:41.371Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T09:54:41.630Z] ---> Running in d074026264e7 [2023-05-16T09:55:13.760Z] Removing intermediate container d074026264e7 [2023-05-16T09:55:13.760Z] ---> 4da4897cde99 [2023-05-16T09:55:13.760Z] Step 11/12 : COPY . . [2023-05-16T09:55:13.760Z] ---> 256625d79ca0 [2023-05-16T09:55:13.760Z] Step 12/12 : RUN $MAKE [2023-05-16T09:55:13.760Z] ---> Running in e227b43ec69f [2023-05-16T09:55:13.760Z] noop [2023-05-16T09:55:13.760Z] Removing intermediate container e227b43ec69f [2023-05-16T09:55:13.760Z] ---> 1b82ab551b31 [2023-05-16T09:55:13.760Z] Successfully built 1b82ab551b31 [2023-05-16T09:55:13.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:55:14.222Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T09:55:14.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:55:14.398Z] prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container [2023-05-16T09:55:14.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T09:55:14.756Z] $ docker top 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T09:55:15.151Z] + go version [2023-05-16T09:55:15.151Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T09:55:15.188Z] $ docker stop --time=1 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a [2023-05-16T09:55:16.479Z] $ docker rm -f --volumes 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:55:17.206Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T09:55:17.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:55:17.364Z] prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container [2023-05-16T09:55:17.403Z] $ 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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T09:55:17.758Z] $ docker top 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T09:55:18.155Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] fileExists [Pipeline] sh [2023-05-16T09:55:18.527Z] + make test [2023-05-16T09:55:18.527Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T09:55:23.802Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T09:55:32.086Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T09:55:32.086Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 32.2% of statements [2023-05-16T09:55:37.348Z] go vet ./... [2023-05-16T09:55:40.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T09:55:40.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T09:55:40.632Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T09:55:40.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T09:55:40.705Z] $ docker stop --time=1 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb [2023-05-16T09:55:45.095Z] $ docker rm -f --volumes 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T09:55:45.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T09:55:45.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T09:55:46.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T09:55:46.652Z] + ls -al . [2023-05-16T09:55:46.652Z] total 184 [2023-05-16T09:55:46.652Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:55 . [2023-05-16T09:55:46.652Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:53 .. [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 09:53 .dockerignore [2023-05-16T09:55:46.652Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:54 .git [2023-05-16T09:55:46.652Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:53 .github [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:53 .gitignore [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:53 .golangci.yml [2023-05-16T09:55:46.652Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:54 .semver [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 09:53 Attribution.txt [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 09:53 CHANGELOG.md [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 09:53 Dockerfile [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:53 GOVERNANCE.md [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 09:53 Jenkinsfile [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:53 LICENSE [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 09:53 Makefile [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:53 OWNERS.md [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 09:53 README.md [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION [2023-05-16T09:55:46.652Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:53 bin [2023-05-16T09:55:46.652Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:53 cmd [2023-05-16T09:55:46.652Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 09:55 coverage.out [2023-05-16T09:55:46.652Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:53 driver [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 09:53 go.mod [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:53 go.sum [2023-05-16T09:55:46.652Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:53 snap [2023-05-16T09:55:46.652Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 09:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:55:47.133Z] + 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=3960dc5242141c2aea7f41e09034b22aa9f5aa10 --label arch=amd64 --label version=0.0.0 . [2023-05-16T09:55:47.133Z] Sending build context to Docker daemon 10.94MB [2023-05-16T09:55:47.133Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T09:55:47.133Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T09:55:47.133Z] ---> 1b82ab551b31 [2023-05-16T09:55:47.133Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T09:55:47.393Z] ---> Running in edc344ebe178 [2023-05-16T09:55:47.393Z] Removing intermediate container edc344ebe178 [2023-05-16T09:55:47.393Z] ---> f9c3e8205055 [2023-05-16T09:55:47.393Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T09:55:47.393Z] ---> Running in 92c4e7379557 [2023-05-16T09:55:47.393Z] Removing intermediate container 92c4e7379557 [2023-05-16T09:55:47.393Z] ---> 26e309f9ac0f [2023-05-16T09:55:47.393Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T09:55:47.393Z] ---> Running in 2a7828da4acd [2023-05-16T09:55:47.651Z] Removing intermediate container 2a7828da4acd [2023-05-16T09:55:47.651Z] ---> c8a30d2f350c [2023-05-16T09:55:47.651Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T09:55:47.651Z] ---> Running in 1990f718364a [2023-05-16T09:55:47.651Z] Removing intermediate container 1990f718364a [2023-05-16T09:55:47.651Z] ---> 9361d7103ded [2023-05-16T09:55:47.651Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T09:55:47.652Z] ---> Running in 81189a7f98cc [2023-05-16T09:55:47.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T09:55:48.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T09:55:48.431Z] OK: 269 MiB in 57 packages [2023-05-16T09:55:48.691Z] Removing intermediate container 81189a7f98cc [2023-05-16T09:55:48.691Z] ---> 9248d2586f73 [2023-05-16T09:55:48.691Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T09:55:48.691Z] ---> Running in 1850dcea6506 [2023-05-16T09:55:48.691Z] Removing intermediate container 1850dcea6506 [2023-05-16T09:55:48.691Z] ---> 4b107824e553 [2023-05-16T09:55:48.691Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T09:55:48.951Z] ---> ba9fa0af9966 [2023-05-16T09:55:48.951Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T09:55:48.951Z] ---> Running in c30770c9a30a [2023-05-16T09:55:49.911Z] Removing intermediate container c30770c9a30a [2023-05-16T09:55:49.911Z] ---> cb302a6f4f92 [2023-05-16T09:55:49.911Z] Step 11/25 : COPY . . [2023-05-16T09:55:50.172Z] ---> 105fc92cefea [2023-05-16T09:55:50.172Z] Step 12/25 : RUN $MAKE [2023-05-16T09:55:50.172Z] ---> Running in 2faeea97ff60 [2023-05-16T09:55:50.431Z] 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-16T09:56:12.431Z] Removing intermediate container 2faeea97ff60 [2023-05-16T09:56:12.431Z] ---> f1b74b058f96 [2023-05-16T09:56:12.431Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T09:56:12.431Z] 3.17: Pulling from library/alpine [2023-05-16T09:56:12.431Z] f56be85fc22e: Already exists [2023-05-16T09:56:12.431Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T09:56:12.431Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T09:56:12.431Z] ---> 9ed4aefc74f6 [2023-05-16T09:56:12.431Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T09:56:12.431Z] ---> Running in fd29e17ca5ae [2023-05-16T09:56:12.431Z] Removing intermediate container fd29e17ca5ae [2023-05-16T09:56:12.431Z] ---> c91325021c0a [2023-05-16T09:56:12.431Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T09:56:12.431Z] ---> Running in 3666ed406bc4 [2023-05-16T09:56:12.431Z] Removing intermediate container 3666ed406bc4 [2023-05-16T09:56:12.431Z] ---> f1280ae279b4 [2023-05-16T09:56:12.431Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T09:56:12.431Z] ---> Running in 27651da7d5b8 [2023-05-16T09:56:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T09:56:12.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T09:56:12.431Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T09:56:12.431Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T09:56:12.431Z] OK: 7 MiB in 16 packages [2023-05-16T09:56:12.431Z] Removing intermediate container 27651da7d5b8 [2023-05-16T09:56:12.431Z] ---> df9bbf9f3ca1 [2023-05-16T09:56:12.431Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T09:56:12.692Z] ---> 5d636da840a4 [2023-05-16T09:56:12.692Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T09:56:12.692Z] ---> bdce9b6d2845 [2023-05-16T09:56:12.692Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T09:56:12.953Z] ---> 2b401f09c3be [2023-05-16T09:56:12.953Z] Step 20/25 : EXPOSE 59986 [2023-05-16T09:56:12.953Z] ---> Running in 6223f5980ee3 [2023-05-16T09:56:12.953Z] Removing intermediate container 6223f5980ee3 [2023-05-16T09:56:12.953Z] ---> f264b5adfdcb [2023-05-16T09:56:12.953Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T09:56:12.953Z] ---> Running in e7e157ee30df [2023-05-16T09:56:13.213Z] Removing intermediate container e7e157ee30df [2023-05-16T09:56:13.213Z] ---> 699a5b1bb5bd [2023-05-16T09:56:13.213Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T09:56:13.213Z] ---> Running in 22059b8b6b9f [2023-05-16T09:56:13.213Z] Removing intermediate container 22059b8b6b9f [2023-05-16T09:56:13.213Z] ---> bf517aaa4d65 [2023-05-16T09:56:13.213Z] Step 23/25 : LABEL arch=amd64 [2023-05-16T09:56:13.213Z] ---> Running in 4807eb418ee5 [2023-05-16T09:56:13.213Z] Removing intermediate container 4807eb418ee5 [2023-05-16T09:56:13.213Z] ---> 2e7164553df3 [2023-05-16T09:56:13.213Z] Step 24/25 : LABEL git_sha=3960dc5242141c2aea7f41e09034b22aa9f5aa10 [2023-05-16T09:56:13.213Z] ---> Running in 2d208c152481 [2023-05-16T09:56:13.472Z] Removing intermediate container 2d208c152481 [2023-05-16T09:56:13.472Z] ---> 4be50f88fff5 [2023-05-16T09:56:13.472Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T09:56:13.472Z] ---> Running in 06a31ec1ee1b [2023-05-16T09:56:13.472Z] Removing intermediate container 06a31ec1ee1b [2023-05-16T09:56:13.472Z] ---> ddc1dba65d00 [2023-05-16T09:56:13.472Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T09:56:13.472Z] Successfully built ddc1dba65d00 [2023-05-16T09:56:13.472Z] 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-16T09:56:14.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T09:56:14.501Z] [2023-05-16T09:56:14.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:56:14.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T09:56:14.889Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T09:56:14.889Z] 5eb5b503b376: Pulling fs layer [2023-05-16T09:56:14.889Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T09:56:14.889Z] ec43610c2a17: Pulling fs layer [2023-05-16T09:56:14.889Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T09:56:14.889Z] 33b1e0a273af: Pulling fs layer [2023-05-16T09:56:14.889Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T09:56:14.889Z] 2f39f015ded8: Pulling fs layer [2023-05-16T09:56:14.889Z] 33b1e0a273af: Waiting [2023-05-16T09:56:14.889Z] 5d3b04190fa2: Waiting [2023-05-16T09:56:14.889Z] 2f39f015ded8: Waiting [2023-05-16T09:56:14.889Z] 3a2ae6a8a46f: Waiting [2023-05-16T09:56:14.889Z] 5c69ac0246d0: Download complete [2023-05-16T09:56:14.889Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T09:56:14.889Z] 3a2ae6a8a46f: Download complete [2023-05-16T09:56:14.889Z] ec43610c2a17: Verifying Checksum [2023-05-16T09:56:14.889Z] ec43610c2a17: Download complete [2023-05-16T09:56:14.889Z] 33b1e0a273af: Verifying Checksum [2023-05-16T09:56:14.889Z] 33b1e0a273af: Download complete [2023-05-16T09:56:14.889Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T09:56:14.889Z] 5d3b04190fa2: Download complete [2023-05-16T09:56:15.149Z] 5eb5b503b376: Verifying Checksum [2023-05-16T09:56:15.149Z] 5eb5b503b376: Download complete [2023-05-16T09:56:15.717Z] 2f39f015ded8: Verifying Checksum [2023-05-16T09:56:15.717Z] 2f39f015ded8: Download complete [2023-05-16T09:56:16.287Z] 5eb5b503b376: Pull complete [2023-05-16T09:56:16.546Z] 5c69ac0246d0: Pull complete [2023-05-16T09:56:16.803Z] ec43610c2a17: Pull complete [2023-05-16T09:56:16.803Z] 3a2ae6a8a46f: Pull complete [2023-05-16T09:56:17.061Z] 33b1e0a273af: Pull complete [2023-05-16T09:56:17.061Z] 5d3b04190fa2: Pull complete [2023-05-16T09:56:21.257Z] 2f39f015ded8: Pull complete [2023-05-16T09:56:21.257Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T09:56:21.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T09:56:21.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:56:21.496Z] prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container [2023-05-16T09:56:21.531Z] $ 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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T09:56:30.069Z] $ docker top 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T09:56:30.594Z] ---> job-cost.sh [2023-05-16T09:56:30.594Z] lf-activate-venv: SKIPPING [2023-05-16T09:56:30.594Z] INFO: No Stack... [2023-05-16T09:56:31.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T09:56:31.422Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T09:56:31.802Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-319/archives/cost.csv [2023-05-16T09:56:31.802Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T09:56:31.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [2023-05-16T09:56:31.853Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] did not exist. Created. [2023-05-16T09:56:31.853Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T09:56:32.247Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T09:56:32.295Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T09:56:32.324Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T09:56:32.404Z] $ docker stop --time=1 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 [2023-05-16T09:56:34.321Z] $ docker rm -f --volumes 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T09:56:56.778Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15542 in /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] { [Pipeline] ws [2023-05-16T09:56:56.844Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-16T09:56:56.937Z] The recommended git tool is: git [2023-05-16T09:57:03.535Z] using credential edgex-jenkins-ssh [2023-05-16T09:57:03.555Z] Cloning the remote Git repository [2023-05-16T09:57:03.619Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T09:57:03.745Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-16T09:57:03.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T09:57:03.950Z] > git --version # timeout=10 [2023-05-16T09:57:03.977Z] > git --version # 'git version 2.25.1' [2023-05-16T09:57:03.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T09:57:04.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T09:57:06.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T09:57:06.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T09:57:07.943Z] Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [2023-05-16T09:57:08.257Z] Merge succeeded, producing 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [2023-05-16T09:57:08.258Z] Checking out Revision 3960dc5242141c2aea7f41e09034b22aa9f5aa10 (PR-319) [2023-05-16T09:57:07.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T09:57:07.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T09:57:07.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T09:57:07.427Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T09:57:07.967Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T09:57:08.045Z] > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 [2023-05-16T09:57:08.141Z] > git remote # timeout=10 [2023-05-16T09:57:08.166Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T09:57:08.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T09:57:08.210Z] > git merge e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 [2023-05-16T09:57:08.242Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T09:57:08.268Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T09:57:08.295Z] > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 [2023-05-16T09:57:08.841Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" [2023-05-16T09:57:08.908Z] > git --version # timeout=10 [2023-05-16T09:57:08.922Z] > git --version # 'git version 2.25.1' [2023-05-16T09:57:08.943Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T09:57:10.122Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T09:57:10.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T09:57:10.122Z] Dload Upload Total Spent Left Speed [2023-05-16T09:57:10.122Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-05-16T09:57:10.817Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T09:57:11.193Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T09:57:11.193Z] + sudo tee /etc/docker/daemon.new [2023-05-16T09:57:11.193Z] { [2023-05-16T09:57:11.193Z] "registry-mirrors": [ [2023-05-16T09:57:11.193Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T09:57:11.193Z] ], [2023-05-16T09:57:11.193Z] "bip": "10.250.0.254/24", [2023-05-16T09:57:11.193Z] "hosts": [ [2023-05-16T09:57:11.193Z] "tcp://0.0.0.0:5555", [2023-05-16T09:57:11.193Z] "unix:///var/run/docker.sock" [2023-05-16T09:57:11.193Z] ], [2023-05-16T09:57:11.193Z] "mtu": 1458, [2023-05-16T09:57:11.193Z] "selinux-enabled": true, [2023-05-16T09:57:11.193Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T09:57:11.193Z] } [Pipeline] sh [2023-05-16T09:57:11.560Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T09:57:11.954Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T09:57:30.352Z] provisioning config files... [2023-05-16T09:57:30.387Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11677562934482974958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T09:57:30.796Z] ---> docker-login.sh [2023-05-16T09:57:30.796Z] nexus3.edgexfoundry.org:10001 [2023-05-16T09:57:31.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:57:31.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:57:31.389Z] Configure a credential helper to remove this warning. See [2023-05-16T09:57:31.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:57:31.389Z] [2023-05-16T09:57:31.389Z] Login Succeeded [2023-05-16T09:57:31.389Z] nexus3.edgexfoundry.org:10002 [2023-05-16T09:57:31.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:57:31.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:57:31.934Z] Configure a credential helper to remove this warning. See [2023-05-16T09:57:31.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:57:31.934Z] [2023-05-16T09:57:31.934Z] Login Succeeded [2023-05-16T09:57:31.934Z] nexus3.edgexfoundry.org:10003 [2023-05-16T09:57:31.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:57:32.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:57:32.207Z] Configure a credential helper to remove this warning. See [2023-05-16T09:57:32.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:57:32.207Z] [2023-05-16T09:57:32.207Z] Login Succeeded [2023-05-16T09:57:32.207Z] nexus3.edgexfoundry.org:10004 [2023-05-16T09:57:32.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:57:32.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:57:32.481Z] Configure a credential helper to remove this warning. See [2023-05-16T09:57:32.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:57:32.481Z] [2023-05-16T09:57:32.481Z] Login Succeeded [2023-05-16T09:57:32.481Z] docker.io [2023-05-16T09:57:32.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T09:57:33.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T09:57:33.033Z] Configure a credential helper to remove this warning. See [2023-05-16T09:57:33.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T09:57:33.033Z] [2023-05-16T09:57:33.033Z] Login Succeeded [2023-05-16T09:57:33.310Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T09:57:33.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T09:57:33.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T09:57:33.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T09:57:33.876Z] ========================================================= [2023-05-16T09:57:33.876Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T09:57:33.876Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:57:34.419Z] + 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-16T09:57:34.419Z] Sending build context to Docker daemon 139.3kB [2023-05-16T09:57:34.692Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T09:57:34.692Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T09:57:34.965Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T09:57:34.965Z] c41833b44d91: Pulling fs layer [2023-05-16T09:57:34.965Z] ed15518f5707: Pulling fs layer [2023-05-16T09:57:34.965Z] feae8fd75edb: Pulling fs layer [2023-05-16T09:57:34.965Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T09:57:34.965Z] 3cdef696dda3: Pulling fs layer [2023-05-16T09:57:34.965Z] 2ced38df9373: Pulling fs layer [2023-05-16T09:57:34.965Z] 58f1dce35555: Pulling fs layer [2023-05-16T09:57:34.965Z] 3cdef696dda3: Waiting [2023-05-16T09:57:34.965Z] 2ced38df9373: Waiting [2023-05-16T09:57:34.965Z] 242c74f7c9fa: Waiting [2023-05-16T09:57:34.965Z] 58f1dce35555: Waiting [2023-05-16T09:57:34.965Z] ed15518f5707: Verifying Checksum [2023-05-16T09:57:34.965Z] ed15518f5707: Download complete [2023-05-16T09:57:34.965Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T09:57:34.965Z] 242c74f7c9fa: Download complete [2023-05-16T09:57:34.965Z] 3cdef696dda3: Download complete [2023-05-16T09:57:34.965Z] c41833b44d91: Download complete [2023-05-16T09:57:36.432Z] c41833b44d91: Pull complete [2023-05-16T09:57:36.709Z] 58f1dce35555: Verifying Checksum [2023-05-16T09:57:36.709Z] 58f1dce35555: Download complete [2023-05-16T09:57:36.985Z] ed15518f5707: Pull complete [2023-05-16T09:57:37.971Z] feae8fd75edb: Verifying Checksum [2023-05-16T09:57:37.971Z] feae8fd75edb: Download complete [2023-05-16T09:57:37.971Z] 2ced38df9373: Verifying Checksum [2023-05-16T09:57:37.971Z] 2ced38df9373: Download complete [2023-05-16T09:57:50.365Z] feae8fd75edb: Pull complete [2023-05-16T09:57:50.365Z] 242c74f7c9fa: Pull complete [2023-05-16T09:57:50.365Z] 3cdef696dda3: Pull complete [2023-05-16T09:57:57.152Z] 2ced38df9373: Pull complete [2023-05-16T09:57:59.124Z] 58f1dce35555: Pull complete [2023-05-16T09:57:59.124Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T09:57:59.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T09:57:59.124Z] ---> fadd8f120f05 [2023-05-16T09:57:59.124Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T09:58:01.094Z] ---> Running in 9656cd02daa3 [2023-05-16T09:58:01.363Z] Removing intermediate container 9656cd02daa3 [2023-05-16T09:58:01.363Z] ---> 102c964d2489 [2023-05-16T09:58:01.363Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T09:58:01.363Z] ---> Running in 132a86106e00 [2023-05-16T09:58:01.960Z] Removing intermediate container 132a86106e00 [2023-05-16T09:58:01.960Z] ---> 30482a9352fb [2023-05-16T09:58:01.960Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T09:58:01.960Z] ---> Running in 10e932e30767 [2023-05-16T09:58:02.232Z] Removing intermediate container 10e932e30767 [2023-05-16T09:58:02.232Z] ---> 0ea07324c42d [2023-05-16T09:58:02.232Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T09:58:02.232Z] ---> Running in 5c71ea5b044e [2023-05-16T09:58:02.830Z] Removing intermediate container 5c71ea5b044e [2023-05-16T09:58:02.830Z] ---> a454a35adf74 [2023-05-16T09:58:02.830Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T09:58:02.830Z] ---> Running in bd9b5da4c9a8 [2023-05-16T09:58:04.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T09:58:04.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T09:58:06.322Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T09:58:06.322Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T09:58:06.322Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T09:58:06.322Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T09:58:06.322Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T09:58:06.323Z] OK: 268 MiB in 57 packages [2023-05-16T09:58:07.763Z] Removing intermediate container bd9b5da4c9a8 [2023-05-16T09:58:07.764Z] ---> 1b6f6b771be9 [2023-05-16T09:58:07.764Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T09:58:07.764Z] ---> Running in 3b04a3b5b05f [2023-05-16T09:58:08.035Z] Removing intermediate container 3b04a3b5b05f [2023-05-16T09:58:08.035Z] ---> 97d1fd51c312 [2023-05-16T09:58:08.035Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T09:58:08.630Z] ---> 5331ce1dd27e [2023-05-16T09:58:08.630Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T09:58:08.904Z] ---> Running in 061bc1dd0633 [2023-05-16T09:59:17.611Z] Removing intermediate container 061bc1dd0633 [2023-05-16T09:59:17.611Z] ---> b343502ab1d4 [2023-05-16T09:59:17.611Z] Step 11/12 : COPY . . [2023-05-16T09:59:17.611Z] ---> ec4450ed65f5 [2023-05-16T09:59:17.611Z] Step 12/12 : RUN $MAKE [2023-05-16T09:59:17.611Z] ---> Running in f8d2579d7f54 [2023-05-16T09:59:17.611Z] noop [2023-05-16T09:59:18.214Z] Removing intermediate container f8d2579d7f54 [2023-05-16T09:59:18.214Z] ---> 7314fe5a2f95 [2023-05-16T09:59:18.214Z] Successfully built 7314fe5a2f95 [2023-05-16T09:59:18.214Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:59:18.726Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T09:59:18.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:59:19.053Z] prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container [2023-05-16T09:59:19.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T09:59:20.488Z] $ docker top 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T09:59:21.437Z] + go version [2023-05-16T09:59:21.437Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T09:59:21.476Z] $ docker stop --time=1 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf [2023-05-16T09:59:23.177Z] $ docker rm -f --volumes 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T09:59:24.100Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T09:59:24.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T09:59:24.397Z] prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container [2023-05-16T09:59:24.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T09:59:25.850Z] $ docker top a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T09:59:26.814Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T09:59:27.550Z] + make test [2023-05-16T09:59:27.550Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T10:00:14.489Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T10:02:56.283Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T10:02:56.283Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 32.2% of statements [2023-05-16T10:02:56.283Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:02:56.283Z] go vet ./... [2023-05-16T10:03:28.591Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:03:28.591Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:03:28.591Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:03:28.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:03:28.689Z] $ docker stop --time=1 a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 [2023-05-16T10:03:30.670Z] $ docker rm -f --volumes a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:03:32.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:03:32.323Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:03:33.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:03:33.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:03:34.026Z] + ls -al . [2023-05-16T10:03:34.026Z] total 180 [2023-05-16T10:03:34.026Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:59 . [2023-05-16T10:03:34.026Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 .. [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 09:57 .dockerignore [2023-05-16T10:03:34.026Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:57 .git [2023-05-16T10:03:34.026Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 .github [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:57 .gitignore [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:57 .golangci.yml [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 09:57 Attribution.txt [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 09:57 CHANGELOG.md [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 09:57 Dockerfile [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:57 GOVERNANCE.md [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 09:57 Jenkinsfile [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:57 LICENSE [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 09:57 Makefile [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:57 OWNERS.md [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 09:57 README.md [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION [2023-05-16T10:03:34.026Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:57 bin [2023-05-16T10:03:34.026Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 cmd [2023-05-16T10:03:34.026Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 10:02 coverage.out [2023-05-16T10:03:34.026Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:57 driver [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 09:57 go.mod [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:57 go.sum [2023-05-16T10:03:34.026Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 snap [2023-05-16T10:03:34.026Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 09:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:03:34.584Z] + 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=3960dc5242141c2aea7f41e09034b22aa9f5aa10 --label arch=arm64 --label version=0.0.0 . [2023-05-16T10:03:34.584Z] Sending build context to Docker daemon 154.6kB [2023-05-16T10:03:34.862Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:03:34.862Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T10:03:34.862Z] ---> 7314fe5a2f95 [2023-05-16T10:03:34.862Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:03:35.135Z] ---> Running in 12b64a732a16 [2023-05-16T10:03:35.434Z] Removing intermediate container 12b64a732a16 [2023-05-16T10:03:35.434Z] ---> 5fdee1f66411 [2023-05-16T10:03:35.434Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:03:35.714Z] ---> Running in 1e293e85ebcb [2023-05-16T10:03:35.987Z] Removing intermediate container 1e293e85ebcb [2023-05-16T10:03:35.987Z] ---> 3339de0e784f [2023-05-16T10:03:35.987Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:03:35.987Z] ---> Running in 02d40f9ba127 [2023-05-16T10:03:36.581Z] Removing intermediate container 02d40f9ba127 [2023-05-16T10:03:36.581Z] ---> 70edb7dfdddf [2023-05-16T10:03:36.581Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:03:36.581Z] ---> Running in 1ed0dba057bb [2023-05-16T10:03:36.856Z] Removing intermediate container 1ed0dba057bb [2023-05-16T10:03:36.856Z] ---> 342ca1b7bd48 [2023-05-16T10:03:36.856Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:03:37.127Z] ---> Running in 0b6f1c6df952 [2023-05-16T10:03:38.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:03:39.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:03:40.510Z] OK: 268 MiB in 57 packages [2023-05-16T10:03:41.516Z] Removing intermediate container 0b6f1c6df952 [2023-05-16T10:03:41.516Z] ---> 7c21afeba01e [2023-05-16T10:03:41.516Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T10:03:41.516Z] ---> Running in ebef1bebdc7c [2023-05-16T10:03:41.792Z] Removing intermediate container ebef1bebdc7c [2023-05-16T10:03:41.792Z] ---> 8293a0909963 [2023-05-16T10:03:41.792Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T10:03:42.384Z] ---> bed24c9ac242 [2023-05-16T10:03:42.384Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:03:42.654Z] ---> Running in 056517a2d698 [2023-05-16T10:03:45.268Z] Removing intermediate container 056517a2d698 [2023-05-16T10:03:45.268Z] ---> 391539878c78 [2023-05-16T10:03:45.268Z] Step 11/25 : COPY . . [2023-05-16T10:03:46.237Z] ---> c11a00741aa4 [2023-05-16T10:03:46.237Z] Step 12/25 : RUN $MAKE [2023-05-16T10:03:46.237Z] ---> Running in 79dfb5d9b4c1 [2023-05-16T10:03:47.208Z] 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-16T10:06:39.058Z] Removing intermediate container 79dfb5d9b4c1 [2023-05-16T10:06:39.058Z] ---> d005fafad7db [2023-05-16T10:06:39.058Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T10:06:39.058Z] 3.17: Pulling from library/alpine [2023-05-16T10:06:39.058Z] c41833b44d91: Already exists [2023-05-16T10:06:39.058Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:06:39.058Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:06:39.058Z] ---> 51e60588ff2c [2023-05-16T10:06:39.058Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T10:06:39.058Z] ---> Running in ff642dc4e1e8 [2023-05-16T10:06:39.058Z] Removing intermediate container ff642dc4e1e8 [2023-05-16T10:06:39.058Z] ---> b25424d35b36 [2023-05-16T10:06:39.058Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T10:06:39.058Z] ---> Running in 80cb90579f77 [2023-05-16T10:06:39.058Z] Removing intermediate container 80cb90579f77 [2023-05-16T10:06:39.058Z] ---> 62eef3c5af3c [2023-05-16T10:06:39.058Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:06:39.058Z] ---> Running in 5427af4aa463 [2023-05-16T10:06:39.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:06:39.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:06:39.058Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:06:39.058Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:06:39.058Z] OK: 8 MiB in 16 packages [2023-05-16T10:06:39.058Z] Removing intermediate container 5427af4aa463 [2023-05-16T10:06:39.058Z] ---> 6fa0b210bab8 [2023-05-16T10:06:39.058Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T10:06:39.653Z] ---> 7213e0a643da [2023-05-16T10:06:39.653Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T10:06:40.255Z] ---> dc1c5521b8b9 [2023-05-16T10:06:40.255Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T10:06:40.849Z] ---> fac5a978307a [2023-05-16T10:06:40.849Z] Step 20/25 : EXPOSE 59986 [2023-05-16T10:06:40.849Z] ---> Running in 129703259fc0 [2023-05-16T10:06:41.445Z] Removing intermediate container 129703259fc0 [2023-05-16T10:06:41.445Z] ---> 25442aea858e [2023-05-16T10:06:41.445Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T10:06:41.445Z] ---> Running in 327bbf5400b0 [2023-05-16T10:06:41.719Z] Removing intermediate container 327bbf5400b0 [2023-05-16T10:06:41.719Z] ---> 7559ed12e30c [2023-05-16T10:06:41.719Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T10:06:41.719Z] ---> Running in 8822695fae57 [2023-05-16T10:06:42.310Z] Removing intermediate container 8822695fae57 [2023-05-16T10:06:42.310Z] ---> 40ae27118f24 [2023-05-16T10:06:42.310Z] Step 23/25 : LABEL arch=arm64 [2023-05-16T10:06:42.310Z] ---> Running in 73ca0816a9db [2023-05-16T10:06:42.586Z] Removing intermediate container 73ca0816a9db [2023-05-16T10:06:42.586Z] ---> e72e546b4cb3 [2023-05-16T10:06:42.586Z] Step 24/25 : LABEL git_sha=3960dc5242141c2aea7f41e09034b22aa9f5aa10 [2023-05-16T10:06:42.586Z] ---> Running in 395f2e218bdc [2023-05-16T10:06:43.255Z] Removing intermediate container 395f2e218bdc [2023-05-16T10:06:43.255Z] ---> 1d39c8ca5137 [2023-05-16T10:06:43.255Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T10:06:43.255Z] ---> Running in 87b0e91bafe6 [2023-05-16T10:06:43.530Z] Removing intermediate container 87b0e91bafe6 [2023-05-16T10:06:43.530Z] ---> a51fe4b9b4b6 [2023-05-16T10:06:43.530Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:06:43.530Z] Successfully built a51fe4b9b4b6 [2023-05-16T10:06:43.530Z] 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-16T10:06:44.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:06:44.422Z] [2023-05-16T10:06:44.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:06:44.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:06:45.153Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:06:45.153Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:06:45.153Z] 04944245beec: Pulling fs layer [2023-05-16T10:06:45.153Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:06:45.153Z] 765212b225bb: Pulling fs layer [2023-05-16T10:06:45.153Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:06:45.153Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:06:45.153Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:06:45.153Z] 765212b225bb: Waiting [2023-05-16T10:06:45.153Z] f23df028b6ca: Waiting [2023-05-16T10:06:45.153Z] d65c8cfc05b1: Waiting [2023-05-16T10:06:45.153Z] 2437ff75d9bd: Waiting [2023-05-16T10:06:45.153Z] 04944245beec: Verifying Checksum [2023-05-16T10:06:45.153Z] 04944245beec: Download complete [2023-05-16T10:06:45.153Z] 765212b225bb: Verifying Checksum [2023-05-16T10:06:45.153Z] 765212b225bb: Download complete [2023-05-16T10:06:45.153Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:06:45.153Z] f23df028b6ca: Download complete [2023-05-16T10:06:45.153Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:06:45.153Z] d65c8cfc05b1: Download complete [2023-05-16T10:06:45.439Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:06:45.439Z] 699f458cf7ca: Download complete [2023-05-16T10:06:45.741Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T10:06:45.741Z] 8998bd30e6a1: Download complete [2023-05-16T10:06:48.362Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T10:06:48.362Z] 2437ff75d9bd: Download complete [2023-05-16T10:06:50.317Z] 8998bd30e6a1: Pull complete [2023-05-16T10:06:50.589Z] 04944245beec: Pull complete [2023-05-16T10:06:52.012Z] 699f458cf7ca: Pull complete [2023-05-16T10:06:52.286Z] 765212b225bb: Pull complete [2023-05-16T10:06:53.256Z] f23df028b6ca: Pull complete [2023-05-16T10:06:53.256Z] d65c8cfc05b1: Pull complete [2023-05-16T10:07:08.295Z] 2437ff75d9bd: Pull complete [2023-05-16T10:07:08.295Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:07:08.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:07:08.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:07:08.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container [2023-05-16T10:07:08.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T10:07:11.931Z] $ docker top eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:12.874Z] ---> job-cost.sh [2023-05-16T10:07:12.874Z] lf-activate-venv: SKIPPING [2023-05-16T10:07:12.874Z] INFO: No Stack... [2023-05-16T10:07:13.466Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:07:14.058Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:07:14.753Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-16T10:07:14.753Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:07:14.819Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [2023-05-16T10:07:14.824Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] did not exist. Created. [2023-05-16T10:07:14.824Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:07:15.586Z] /w/workspace/device-rest-go/1@tmp/durable-aa9d2ca3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:07:16.290Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:07:16.329Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:07:16.394Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:07:16.411Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:07:16.510Z] $ docker stop --time=1 eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 [2023-05-16T10:07:18.087Z] $ docker rm -f --volumes eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 [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-16T10:07:19.181Z] provisioning config files... [2023-05-16T10:07:19.192Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config4028810116945417954tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:07:19.541Z] + set +x [2023-05-16T10:07:19.541Z] + curl -s https://codecov.io/bash [2023-05-16T10:07:19.541Z] + bash -s -- [2023-05-16T10:07:19.541Z] [2023-05-16T10:07:19.541Z] _____ _ [2023-05-16T10:07:19.541Z] / ____| | | [2023-05-16T10:07:19.541Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:07:19.541Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:07:19.541Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:07:19.541Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:07:19.541Z] Bash-1.0.6 [2023-05-16T10:07:19.541Z] [2023-05-16T10:07:19.541Z] [2023-05-16T10:07:19.541Z] ==> git version 2.25.1 found [2023-05-16T10:07:19.541Z] ==> 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-16T10:07:19.541Z] Release-Date: 2020-01-08 [2023-05-16T10:07:19.541Z] 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-16T10:07:19.541Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:07:19.541Z] ==> Jenkins CI detected. [2023-05-16T10:07:19.541Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-319 [2023-05-16T10:07:19.541Z] project root: . [2023-05-16T10:07:19.541Z] --> token set from env [2023-05-16T10:07:19.541Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:07:19.541Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:07:19.541Z] ==> Python coveragepy not found [2023-05-16T10:07:19.541Z] ==> Searching for coverage reports in: [2023-05-16T10:07:19.541Z] + . [2023-05-16T10:07:19.541Z] -> Found 1 reports [2023-05-16T10:07:19.541Z] ==> Detecting git/mercurial file structure [2023-05-16T10:07:19.801Z] ==> Reading reports [2023-05-16T10:07:19.801Z] + ./coverage.out bytes=14663 [2023-05-16T10:07:19.801Z] ==> Appending adjustments [2023-05-16T10:07:19.801Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:07:19.801Z] + Found adjustments [2023-05-16T10:07:19.801Z] ==> Gzipping contents [2023-05-16T10:07:19.801Z] 4.0K /tmp/codecov.iTLw1i.gz [2023-05-16T10:07:19.801Z] ==> Uploading reports [2023-05-16T10:07:19.801Z] url: https://codecov.io [2023-05-16T10:07:19.801Z] query: branch=PR-319&commit=3960dc5242141c2aea7f41e09034b22aa9f5aa10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2023-05-16T10:07:19.801Z] -> Pinging Codecov [2023-05-16T10:07:19.801Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-319&commit=3960dc5242141c2aea7f41e09034b22aa9f5aa10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= [2023-05-16T10:07:20.060Z] -> Uploading to [2023-05-16T10:07:20.060Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/3960dc5242141c2aea7f41e09034b22aa9f5aa10/43c18555-179b-4790-b817-88fcb703f3da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T100719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae688b0c88031051d3d30f16f6c40caad4ff504e9228b4e962af3c914fc42555 [2023-05-16T10:07:20.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:07:20.060Z] Dload Upload Total Spent Left Speed [2023-05-16T10:07:20.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12806 --:--:-- --:--:-- --:--:-- 12806 [2023-05-16T10:07:20.060Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] } [2023-05-16T10:07:20.091Z] 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-16T10:07:21.920Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-319/archives ] [2023-05-16T10:07:21.920Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:07:21.920Z] total 16 [2023-05-16T10:07:21.920Z] drwxr-xr-x 3 root root 4096 May 16 09:56 . [2023-05-16T10:07:21.920Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. [2023-05-16T10:07:21.920Z] drwxr-xr-x 2 root root 4096 May 16 09:56 cost [2023-05-16T10:07:21.920Z] -rw-r--r-- 1 root root 86 May 16 09:56 cost.csv [2023-05-16T10:07:21.920Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:07:21.920Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives [2023-05-16T10:07:21.920Z] total 16 [2023-05-16T10:07:21.920Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:56 . [2023-05-16T10:07:21.920Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. [2023-05-16T10:07:21.920Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:56 cost [2023-05-16T10:07:21.920Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 09:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:22.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:23.169Z] ---> package-listing.sh [2023-05-16T10:07:23.169Z] ++ facter osfamily [2023-05-16T10:07:23.169Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:07:23.428Z] + OS_FAMILY=debian [2023-05-16T10:07:23.428Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-319 [2023-05-16T10:07:23.428Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:07:23.428Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:07:23.428Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:07:23.428Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:07:23.428Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' [2023-05-16T10:07:23.428Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:07:23.428Z] + case "${OS_FAMILY}" in [2023-05-16T10:07:23.428Z] + dpkg -l [2023-05-16T10:07:23.428Z] + grep '^ii' [2023-05-16T10:07:23.428Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:07:23.428Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:07:23.428Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:07:23.428Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' [2023-05-16T10:07:23.428Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ [2023-05-16T10:07:23.428Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ [Pipeline] echo [2023-05-16T10:07:23.466Z] 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T10:07:23.760Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:07:24.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:07:24.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:07:24.559Z] prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container [2023-05-16T10:07:24.595Z] $ 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-319/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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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-16T10:07:24.766Z] $ docker top 668b0c30d3477c924418ddbd3b3797cabeb9f5e3add75988d7c6599f069ee442 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:07:25.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:07:25.471Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:07:25.803Z] + ls /var/log/sa-host [2023-05-16T10:07:25.803Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:07:25.946Z] provisioning config files... [2023-05-16T10:07:25.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config4031728271136568770tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:07:26.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:26.330Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:07:26.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:26.766Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:07:26.800Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:27.108Z] ---> sudo-logs.sh [2023-05-16T10:07:27.108Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:07:27.202Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:27.522Z] ---> job-cost.sh [2023-05-16T10:07:27.522Z] lf-activate-venv: SKIPPING [2023-05-16T10:07:27.522Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:07:27.522Z] INFO: Retrieving Stack Cost... [2023-05-16T10:07:28.093Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:07:28.354Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:07:28.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:07:28.700Z] ---> logs-deploy.sh [2023-05-16T10:07:28.700Z] lf-activate-venv: SKIPPING [2023-05-16T10:07:28.700Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-319/1 [2023-05-16T10:07:28.700Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:07:29.638Z] Archives upload complete. [2023-05-16T10:07:29.638Z] INFO: archiving logs to Nexus