Pull request #293 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 06d09c5e4e6e91def039e352777f80a9eeedfd16+fa0493e2e3feda240b1cb1121ab26136a8f60332 (a13be3f75cfa8db15e01fd325214b03c0344c640) 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-ssh3277572669921416750.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15543352096512299704.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-293/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-293/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13446007230497158698.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-293/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12379929837041178018.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8248012389065273050.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-293/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-293/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9908358782217808342.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8855 in /w/workspace/gexfoundry_device-rest-go_PR-293 [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-293 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa0493e2e3feda240b1cb1121ab26136a8f60332 into PR head commit 06d09c5e4e6e91def039e352777f80a9eeedfd16 Merge succeeded, producing 06d09c5e4e6e91def039e352777f80a9eeedfd16 Checking out Revision 06d09c5e4e6e91def039e352777f80a9eeedfd16 (PR-293) > 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/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06d09c5e4e6e91def039e352777f80a9eeedfd16 # 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 fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06d09c5e4e6e91def039e352777f80a9eeedfd16 # timeout=10 Commit message: "build(deps): bump device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T04:17:01.660Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T04:17:01.840Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T04:17:01.934Z] ========================================================= [2023-04-18T04:17:01.934Z] EdgeX Global Pipelines Version Info [2023-04-18T04:17:01.934Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:17:02.685Z] ------------------- [2023-04-18T04:17:02.685Z] stable info: [2023-04-18T04:17:02.685Z] ------------------- [2023-04-18T04:17:02.685Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T04:17:02.685Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:17:02.685Z] Message: update stable to v1.0.248 [2023-04-18T04:17:03.255Z] ------------------- [2023-04-18T04:17:03.255Z] experimental info: [2023-04-18T04:17:03.255Z] ------------------- [2023-04-18T04:17:03.255Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T04:17:03.255Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T04:17:03.255Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T04:17:03.549Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-18T04:17:03.587Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-18T04:17:03.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T04:17:03.670Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T04:17:03.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T04:17:03.749Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T04:17:03.787Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T04:17:03.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T04:17:03.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T04:17:03.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T04:17:03.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T04:17:04.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-18T04:17:04.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T04:17:04.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T04:17:04.126Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T04:17:04.168Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T04:17:04.213Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:17:04.258Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T04:17:04.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T04:17:04.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T04:17:04.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T04:17:04.423Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T04:17:04.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T04:17:04.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T04:17:04.547Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T04:17:04.590Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T04:17:04.629Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T04:17:04.667Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-293 [Pipeline] echo [2023-04-18T04:17:04.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-293 [Pipeline] echo [2023-04-18T04:17:04.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-293 [Pipeline] echo [2023-04-18T04:17:04.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06d09c5e4e6e91def039e352777f80a9eeedfd16 [Pipeline] echo [2023-04-18T04:17:04.840Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06d09c5 [Pipeline] echo [2023-04-18T04:17:04.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:17:05.052Z] provisioning config files... [2023-04-18T04:17:05.068Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/config6013647020707513106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:17:05.414Z] ---> docker-login.sh [2023-04-18T04:17:05.414Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:17:05.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:05.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:05.673Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:05.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:05.673Z] [2023-04-18T04:17:05.673Z] Login Succeeded [2023-04-18T04:17:05.673Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:17:05.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:05.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:05.933Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:05.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:05.933Z] [2023-04-18T04:17:05.933Z] Login Succeeded [2023-04-18T04:17:05.933Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:17:05.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:05.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:05.933Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:05.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:05.933Z] [2023-04-18T04:17:05.933Z] Login Succeeded [2023-04-18T04:17:05.933Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:17:06.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:06.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:06.202Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:06.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:06.202Z] [2023-04-18T04:17:06.202Z] Login Succeeded [2023-04-18T04:17:06.202Z] docker.io [2023-04-18T04:17:06.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:06.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:06.463Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:06.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:06.463Z] [2023-04-18T04:17:06.463Z] Login Succeeded [2023-04-18T04:17:06.463Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:17:06.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T04:17:07.129Z] + git rev-list -1 --merges 06d09c5e4e6e91def039e352777f80a9eeedfd16~1..06d09c5e4e6e91def039e352777f80a9eeedfd16 [Pipeline] echo [2023-04-18T04:17:07.240Z] -----------> git rev-list -1 --merges 06d09c5e4e6e91def039e352777f80a9eeedfd16~1..06d09c5e4e6e91def039e352777f80a9eeedfd16 06d09c5e4e6e91def039e352777f80a9eeedfd16 [false] [Pipeline] sh [2023-04-18T04:17:07.554Z] + git log --format=format:%s -1 06d09c5e4e6e91def039e352777f80a9eeedfd16 [Pipeline] echo [2023-04-18T04:17:07.594Z] ========================================================= [2023-04-18T04:17:07.594Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T04:17:07.594Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:17:08.032Z] + git log --format=format:%s -1 06d09c5e4e6e91def039e352777f80a9eeedfd16 [Pipeline] echo [2023-04-18T04:17:08.064Z] [semverPrep] GIT_COMMIT: 06d09c5e4e6e91def039e352777f80a9eeedfd16, Commit Message: build(deps): bump device-sdk-go [Pipeline] echo [2023-04-18T04:17:08.094Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T04:17:08.487Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T04:17:08.487Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T04:17:08.487Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T04:17:08.487Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T04:17:08.487Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T04:17:08.487Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T04:17:08.487Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:17:08.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:17:08.969Z] [2023-04-18T04:17:08.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:17:09.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:17:09.340Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T04:17:09.340Z] b85a868b505f: Pulling fs layer [2023-04-18T04:17:09.340Z] e2be974225ed: Pulling fs layer [2023-04-18T04:17:09.340Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T04:17:09.340Z] 988bab9f4d93: Pulling fs layer [2023-04-18T04:17:09.340Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T04:17:09.340Z] eaf3925da568: Pulling fs layer [2023-04-18T04:17:09.340Z] bab4dde63d76: Pulling fs layer [2023-04-18T04:17:09.340Z] bde34c3a00c8: Pulling fs layer [2023-04-18T04:17:09.340Z] b352a97aabf1: Pulling fs layer [2023-04-18T04:17:09.340Z] 4872d77fe225: Pulling fs layer [2023-04-18T04:17:09.340Z] 5851b861e8e6: Pulling fs layer [2023-04-18T04:17:09.340Z] 988bab9f4d93: Waiting [2023-04-18T04:17:09.340Z] 1469e6f7b9e6: Waiting [2023-04-18T04:17:09.340Z] eaf3925da568: Waiting [2023-04-18T04:17:09.340Z] bab4dde63d76: Waiting [2023-04-18T04:17:09.340Z] bde34c3a00c8: Waiting [2023-04-18T04:17:09.340Z] b352a97aabf1: Waiting [2023-04-18T04:17:09.340Z] 4872d77fe225: Waiting [2023-04-18T04:17:09.340Z] 5851b861e8e6: Waiting [2023-04-18T04:17:09.340Z] e2be974225ed: Verifying Checksum [2023-04-18T04:17:09.340Z] e2be974225ed: Download complete [2023-04-18T04:17:09.340Z] 988bab9f4d93: Verifying Checksum [2023-04-18T04:17:09.340Z] 988bab9f4d93: Download complete [2023-04-18T04:17:09.340Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T04:17:09.340Z] 1469e6f7b9e6: Download complete [2023-04-18T04:17:09.599Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T04:17:09.599Z] 339a4e72a1f5: Download complete [2023-04-18T04:17:09.599Z] eaf3925da568: Download complete [2023-04-18T04:17:09.599Z] bde34c3a00c8: Verifying Checksum [2023-04-18T04:17:09.599Z] bde34c3a00c8: Download complete [2023-04-18T04:17:09.599Z] b352a97aabf1: Verifying Checksum [2023-04-18T04:17:09.599Z] b352a97aabf1: Download complete [2023-04-18T04:17:09.599Z] 4872d77fe225: Verifying Checksum [2023-04-18T04:17:09.599Z] 4872d77fe225: Download complete [2023-04-18T04:17:09.599Z] 5851b861e8e6: Download complete [2023-04-18T04:17:09.599Z] b85a868b505f: Verifying Checksum [2023-04-18T04:17:09.599Z] b85a868b505f: Download complete [2023-04-18T04:17:09.861Z] bab4dde63d76: Verifying Checksum [2023-04-18T04:17:09.861Z] bab4dde63d76: Download complete [2023-04-18T04:17:10.802Z] b85a868b505f: Pull complete [2023-04-18T04:17:11.064Z] e2be974225ed: Pull complete [2023-04-18T04:17:11.335Z] 339a4e72a1f5: Pull complete [2023-04-18T04:17:11.596Z] 988bab9f4d93: Pull complete [2023-04-18T04:17:11.855Z] 1469e6f7b9e6: Pull complete [2023-04-18T04:17:11.855Z] eaf3925da568: Pull complete [2023-04-18T04:17:13.760Z] bab4dde63d76: Pull complete [2023-04-18T04:17:13.760Z] bde34c3a00c8: Pull complete [2023-04-18T04:17:13.760Z] b352a97aabf1: Pull complete [2023-04-18T04:17:13.760Z] 4872d77fe225: Pull complete [2023-04-18T04:17:14.019Z] 5851b861e8e6: Pull complete [2023-04-18T04:17:14.019Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T04:17:14.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T04:17:14.019Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:17:14.236Z] prd-ubuntu20.04-docker-8c-8g-8855 does not seem to be running inside a container [2023-04-18T04:17:14.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-293 -v /w/workspace/gexfoundry_device-rest-go_PR-293:/w/workspace/gexfoundry_device-rest-go_PR-293:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-293@tmp:/w/workspace/gexfoundry_device-rest-go_PR-293@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-devops/py-git-semver:0.1.4 cat [2023-04-18T04:17:15.379Z] $ docker top 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 -eo pid,comm [2023-04-18T04:17:15.441Z] 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-04-18T04:17:15.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T04:17:15.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:17:15.576Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:17:15.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:17:15.686Z] $ docker exec 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 ssh-agent [2023-04-18T04:17:15.797Z] SSH_AUTH_SOCK=/tmp/ssh-jlmoIKSJVpjp/agent.32 [2023-04-18T04:17:15.797Z] SSH_AGENT_PID=38 [2023-04-18T04:17:15.802Z] Running ssh-add (command line suppressed) [2023-04-18T04:17:15.897Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-293@tmp/private_key_278274448964881682.key (/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/private_key_278274448964881682.key) [2023-04-18T04:17:15.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:17:16.251Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T04:17:16.271Z] $ docker exec --env ******** --env ******** 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 ssh-agent -k [2023-04-18T04:17:16.361Z] unset SSH_AUTH_SOCK; [2023-04-18T04:17:16.361Z] unset SSH_AGENT_PID; [2023-04-18T04:17:16.361Z] echo Agent pid 38 killed; [2023-04-18T04:17:16.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T04:17:16.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T04:17:16.470Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T04:17:16.582Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T04:17:16.578Z] $ docker exec 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 ssh-agent [2023-04-18T04:17:16.694Z] SSH_AUTH_SOCK=/tmp/ssh-Vqwse4P9eEZC/agent.70 [2023-04-18T04:17:16.694Z] SSH_AGENT_PID=76 [2023-04-18T04:17:16.699Z] Running ssh-add (command line suppressed) [2023-04-18T04:17:16.782Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-293@tmp/private_key_4640923470052924999.key (/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/private_key_4640923470052924999.key) [2023-04-18T04:17:16.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T04:17:17.130Z] + git semver init [2023-04-18T04:17:17.389Z] 2023-04-18 04:17:17,284 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T04:17:17.389Z] 2023-04-18 04:17:17,284 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-293/.semver [2023-04-18T04:17:17.389Z] 2023-04-18 04:17:17,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-293/.semver [2023-04-18T04:17:17.389Z] 2023-04-18 04:17:17,285 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-293/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-293, universal_newlines=False, shell=None, istream=None) [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,166 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-293/.git/info/exclude [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-293/.semver/PR-293 with force:False [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,166 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-293/.semver/PR-293 [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,170 [execute] INFO git cat-file --batch-check [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-293/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,176 [execute] INFO git cat-file --batch [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-293/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T04:17:18.328Z] 2023-04-18 04:17:18,180 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-293/.semver/PR-293 [2023-04-18T04:17:18.328Z] 0.0.0 [Pipeline] } [2023-04-18T04:17:18.345Z] $ docker exec --env ******** --env ******** 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 ssh-agent -k [2023-04-18T04:17:18.440Z] unset SSH_AUTH_SOCK; [2023-04-18T04:17:18.441Z] unset SSH_AGENT_PID; [2023-04-18T04:17:18.441Z] echo Agent pid 76 killed; [2023-04-18T04:17:18.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T04:17:18.920Z] + git semver [Pipeline] } [2023-04-18T04:17:19.194Z] $ docker stop --time=1 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 [2023-04-18T04:17:20.478Z] $ docker rm -f --volumes 92dd4bb7515adeb13e5dc93059d49404735f71a1fbc802e28b7e109f70805ef6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:17:20.882Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T04:17:21.135Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T04:17:21.151Z] [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-04-18T04:17:21.752Z] provisioning config files... [2023-04-18T04:17:21.762Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/config7053341725480539669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:17:22.111Z] ---> docker-login.sh [2023-04-18T04:17:22.111Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:17:22.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:22.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:22.111Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:22.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:22.111Z] [2023-04-18T04:17:22.111Z] Login Succeeded [2023-04-18T04:17:22.111Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:17:22.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:22.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:22.111Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:22.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:22.111Z] [2023-04-18T04:17:22.111Z] Login Succeeded [2023-04-18T04:17:22.111Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:17:22.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:22.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:22.371Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:22.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:22.371Z] [2023-04-18T04:17:22.371Z] Login Succeeded [2023-04-18T04:17:22.371Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:17:22.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:22.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:22.371Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:22.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:22.371Z] [2023-04-18T04:17:22.371Z] Login Succeeded [2023-04-18T04:17:22.371Z] docker.io [2023-04-18T04:17:22.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:17:22.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:17:22.630Z] Configure a credential helper to remove this warning. See [2023-04-18T04:17:22.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:17:22.630Z] [2023-04-18T04:17:22.630Z] Login Succeeded [2023-04-18T04:17:22.630Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:17:22.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T04:17:22.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:17:22.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:17:22.934Z] ========================================================= [2023-04-18T04:17:22.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T04:17:22.934Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:17:23.393Z] + 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-04-18T04:17:23.393Z] Sending build context to Docker daemon 10.89MB [2023-04-18T04:17:23.393Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:17:23.393Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T04:17:23.393Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T04:17:23.393Z] 63b65145d645: Pulling fs layer [2023-04-18T04:17:23.393Z] a2d21d5440eb: Pulling fs layer [2023-04-18T04:17:23.393Z] 935e6c44a52c: Pulling fs layer [2023-04-18T04:17:23.393Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T04:17:23.393Z] 30dea6a524f1: Pulling fs layer [2023-04-18T04:17:23.393Z] a2aff8979fd8: Pulling fs layer [2023-04-18T04:17:23.393Z] 6808be2612f2: Pulling fs layer [2023-04-18T04:17:23.393Z] f25807f1079a: Pulling fs layer [2023-04-18T04:17:23.393Z] 94cc34f8dd06: Waiting [2023-04-18T04:17:23.393Z] 6808be2612f2: Waiting [2023-04-18T04:17:23.393Z] 30dea6a524f1: Waiting [2023-04-18T04:17:23.393Z] f25807f1079a: Waiting [2023-04-18T04:17:23.393Z] a2aff8979fd8: Waiting [2023-04-18T04:17:23.393Z] a2d21d5440eb: Download complete [2023-04-18T04:17:23.652Z] 94cc34f8dd06: Download complete [2023-04-18T04:17:23.652Z] 30dea6a524f1: Download complete [2023-04-18T04:17:23.652Z] 63b65145d645: Verifying Checksum [2023-04-18T04:17:23.652Z] 63b65145d645: Download complete [2023-04-18T04:17:23.652Z] a2aff8979fd8: Download complete [2023-04-18T04:17:23.652Z] 63b65145d645: Pull complete [2023-04-18T04:17:23.911Z] a2d21d5440eb: Pull complete [2023-04-18T04:17:23.911Z] f25807f1079a: Verifying Checksum [2023-04-18T04:17:23.911Z] f25807f1079a: Download complete [2023-04-18T04:17:24.171Z] 935e6c44a52c: Verifying Checksum [2023-04-18T04:17:24.171Z] 935e6c44a52c: Download complete [2023-04-18T04:17:24.429Z] 6808be2612f2: Verifying Checksum [2023-04-18T04:17:24.429Z] 6808be2612f2: Download complete [2023-04-18T04:17:27.712Z] 935e6c44a52c: Pull complete [2023-04-18T04:17:27.712Z] 94cc34f8dd06: Pull complete [2023-04-18T04:17:27.712Z] 30dea6a524f1: Pull complete [2023-04-18T04:17:27.712Z] a2aff8979fd8: Pull complete [2023-04-18T04:17:29.619Z] 6808be2612f2: Pull complete [2023-04-18T04:17:30.558Z] f25807f1079a: Pull complete [2023-04-18T04:17:30.558Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T04:17:30.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T04:17:30.558Z] ---> 3b553350e43f [2023-04-18T04:17:30.558Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:17:31.935Z] ---> Running in 9d6428de08c9 [2023-04-18T04:17:31.935Z] Removing intermediate container 9d6428de08c9 [2023-04-18T04:17:31.935Z] ---> 910e3983b64f [2023-04-18T04:17:31.935Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:17:31.935Z] ---> Running in cbf012bd0980 [2023-04-18T04:17:31.935Z] Removing intermediate container cbf012bd0980 [2023-04-18T04:17:31.935Z] ---> b72d9dc630e8 [2023-04-18T04:17:31.935Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:17:31.935Z] ---> Running in 86cb47391e8e [2023-04-18T04:17:32.195Z] Removing intermediate container 86cb47391e8e [2023-04-18T04:17:32.195Z] ---> 509f6632341d [2023-04-18T04:17:32.195Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:17:32.195Z] ---> Running in 7009a062f9ad [2023-04-18T04:17:32.195Z] Removing intermediate container 7009a062f9ad [2023-04-18T04:17:32.195Z] ---> 447e187d27e8 [2023-04-18T04:17:32.195Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:17:32.195Z] ---> Running in 6303361bb646 [2023-04-18T04:17:32.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:17:32.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:17:32.977Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T04:17:32.977Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T04:17:32.977Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T04:17:32.977Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T04:17:32.977Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:17:32.978Z] OK: 269 MiB in 57 packages [2023-04-18T04:17:33.238Z] Removing intermediate container 6303361bb646 [2023-04-18T04:17:33.238Z] ---> 7718f819f1aa [2023-04-18T04:17:33.238Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T04:17:33.238Z] ---> Running in c660770a1c95 [2023-04-18T04:17:33.239Z] Removing intermediate container c660770a1c95 [2023-04-18T04:17:33.239Z] ---> aeea2a1b234f [2023-04-18T04:17:33.239Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T04:17:33.502Z] ---> d33786d00f85 [2023-04-18T04:17:33.502Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:17:33.502Z] ---> Running in b118ba38043b [2023-04-18T04:17:36.569Z] Still waiting to schedule task [2023-04-18T04:17:36.570Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T04:17:55.448Z] Removing intermediate container b118ba38043b [2023-04-18T04:17:55.448Z] ---> a784c9cc742e [2023-04-18T04:17:55.448Z] Step 11/12 : COPY . . [2023-04-18T04:17:55.448Z] ---> 5bb4d7cb84de [2023-04-18T04:17:55.448Z] Step 12/12 : RUN $MAKE [2023-04-18T04:17:55.448Z] ---> Running in 8fb766d1a954 [2023-04-18T04:17:55.448Z] noop [2023-04-18T04:17:55.448Z] Removing intermediate container 8fb766d1a954 [2023-04-18T04:17:55.448Z] ---> 80d5696ab39d [2023-04-18T04:17:55.448Z] Successfully built 80d5696ab39d [2023-04-18T04:17:55.448Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:17:55.899Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T04:17:55.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:17:56.057Z] prd-ubuntu20.04-docker-8c-8g-8855 does not seem to be running inside a container [2023-04-18T04:17:56.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-293 -v /w/workspace/gexfoundry_device-rest-go_PR-293:/w/workspace/gexfoundry_device-rest-go_PR-293:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-293@tmp:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T04:17:56.440Z] $ docker top 491e017864e905110f03808bc6d5249f83bc7051a1d2d4270bc9fd165053315d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:17:56.849Z] + go version [2023-04-18T04:17:56.849Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T04:17:56.873Z] $ docker stop --time=1 491e017864e905110f03808bc6d5249f83bc7051a1d2d4270bc9fd165053315d [2023-04-18T04:17:58.204Z] $ docker rm -f --volumes 491e017864e905110f03808bc6d5249f83bc7051a1d2d4270bc9fd165053315d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:17:58.961Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T04:17:58.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:17:59.131Z] prd-ubuntu20.04-docker-8c-8g-8855 does not seem to be running inside a container [2023-04-18T04:17:59.162Z] $ 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-293 -v /w/workspace/gexfoundry_device-rest-go_PR-293:/w/workspace/gexfoundry_device-rest-go_PR-293:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-293@tmp:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T04:17:59.509Z] $ docker top 45e5aadd7a65a07471f89d344db22e88667c0fa2d6419506657299bb56d258a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:17:59.918Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-293 [Pipeline] fileExists [Pipeline] sh [2023-04-18T04:18:00.282Z] + make test [2023-04-18T04:18:00.282Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T04:18:05.553Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T04:18:15.532Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T04:18:15.533Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements [2023-04-18T04:18:22.124Z] go vet ./... [2023-04-18T04:18:25.407Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T04:18:25.407Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T04:18:25.407Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T04:18:25.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T04:18:25.471Z] $ docker stop --time=1 45e5aadd7a65a07471f89d344db22e88667c0fa2d6419506657299bb56d258a3 [2023-04-18T04:18:27.233Z] $ docker rm -f --volumes 45e5aadd7a65a07471f89d344db22e88667c0fa2d6419506657299bb56d258a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:18:27.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T04:18:27.841Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T04:18:28.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T04:18:28.844Z] + ls -al . [2023-04-18T04:18:28.844Z] total 184 [2023-04-18T04:18:28.844Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 04:18 . [2023-04-18T04:18:28.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:16 .. [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:16 .dockerignore [2023-04-18T04:18:28.844Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:17 .git [2023-04-18T04:18:28.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:16 .github [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:16 .gitignore [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:16 .golangci.yml [2023-04-18T04:18:28.844Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:17 .semver [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:16 Attribution.txt [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:16 CHANGELOG.md [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:16 Dockerfile [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:16 GOVERNANCE.md [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:16 Jenkinsfile [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:16 LICENSE [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:16 Makefile [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:16 OWNERS.md [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:16 README.md [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 04:17 VERSION [2023-04-18T04:18:28.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:16 bin [2023-04-18T04:18:28.844Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:16 cmd [2023-04-18T04:18:28.844Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:18 coverage.out [2023-04-18T04:18:28.844Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:16 driver [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:16 go.mod [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:16 go.sum [2023-04-18T04:18:28.844Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:16 snap [2023-04-18T04:18:28.844Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:18:29.247Z] + 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=06d09c5e4e6e91def039e352777f80a9eeedfd16 --label arch=amd64 --label version=0.0.0 . [2023-04-18T04:18:29.247Z] Sending build context to Docker daemon 10.9MB [2023-04-18T04:18:29.247Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:18:29.247Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T04:18:29.247Z] ---> 80d5696ab39d [2023-04-18T04:18:29.247Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:18:29.247Z] ---> Running in 43104db1a598 [2023-04-18T04:18:29.247Z] Removing intermediate container 43104db1a598 [2023-04-18T04:18:29.247Z] ---> 7b07028ad142 [2023-04-18T04:18:29.247Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:18:29.506Z] ---> Running in 50d5b87f3b6e [2023-04-18T04:18:29.506Z] Removing intermediate container 50d5b87f3b6e [2023-04-18T04:18:29.506Z] ---> 8cbaa374d51e [2023-04-18T04:18:29.506Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:18:29.506Z] ---> Running in 53f04fb3745f [2023-04-18T04:18:29.506Z] Removing intermediate container 53f04fb3745f [2023-04-18T04:18:29.506Z] ---> 8282791d478e [2023-04-18T04:18:29.506Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:18:29.506Z] ---> Running in 3ca76551ebd5 [2023-04-18T04:18:29.765Z] Removing intermediate container 3ca76551ebd5 [2023-04-18T04:18:29.765Z] ---> 2a60df0ad7e8 [2023-04-18T04:18:29.765Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:18:29.765Z] ---> Running in 5f1d305d4909 [2023-04-18T04:18:30.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:18:30.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:18:30.283Z] OK: 269 MiB in 57 packages [2023-04-18T04:18:30.543Z] Removing intermediate container 5f1d305d4909 [2023-04-18T04:18:30.543Z] ---> db981ef2d6f9 [2023-04-18T04:18:30.543Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T04:18:30.543Z] ---> Running in eb246d7fc365 [2023-04-18T04:18:30.543Z] Removing intermediate container eb246d7fc365 [2023-04-18T04:18:30.543Z] ---> c5a33fa1457f [2023-04-18T04:18:30.543Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T04:18:30.803Z] ---> 111bbd3b691c [2023-04-18T04:18:30.803Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:18:30.803Z] ---> Running in 5702144ab544 [2023-04-18T04:18:31.742Z] Removing intermediate container 5702144ab544 [2023-04-18T04:18:31.742Z] ---> fca1bb9b6550 [2023-04-18T04:18:31.742Z] Step 11/25 : COPY . . [2023-04-18T04:18:31.742Z] ---> b25bb04d6356 [2023-04-18T04:18:31.742Z] Step 12/25 : RUN $MAKE [2023-04-18T04:18:31.742Z] ---> Running in 2285e7443e78 [2023-04-18T04:18:32.001Z] 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-04-18T04:18:50.102Z] Removing intermediate container 2285e7443e78 [2023-04-18T04:18:50.102Z] ---> 422c0dad428c [2023-04-18T04:18:50.102Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T04:18:50.102Z] 3.17: Pulling from library/alpine [2023-04-18T04:18:50.102Z] f56be85fc22e: Pulling fs layer [2023-04-18T04:18:50.102Z] f56be85fc22e: Verifying Checksum [2023-04-18T04:18:50.102Z] f56be85fc22e: Download complete [2023-04-18T04:18:50.102Z] f56be85fc22e: Pull complete [2023-04-18T04:18:50.102Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T04:18:50.102Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T04:18:50.102Z] ---> 9ed4aefc74f6 [2023-04-18T04:18:50.102Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T04:18:50.102Z] ---> Running in 0f2fe0de1d31 [2023-04-18T04:18:50.102Z] Removing intermediate container 0f2fe0de1d31 [2023-04-18T04:18:50.102Z] ---> 2edaee66ae79 [2023-04-18T04:18:50.102Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T04:18:50.102Z] ---> Running in 1bd450c3de45 [2023-04-18T04:18:50.102Z] Removing intermediate container 1bd450c3de45 [2023-04-18T04:18:50.102Z] ---> 6d31709eeac6 [2023-04-18T04:18:50.102Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T04:18:50.102Z] ---> Running in b77100a69437 [2023-04-18T04:18:50.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T04:18:50.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T04:18:50.363Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T04:18:50.363Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:18:50.363Z] OK: 7 MiB in 16 packages [2023-04-18T04:18:50.931Z] Removing intermediate container b77100a69437 [2023-04-18T04:18:50.931Z] ---> 64ecfa9e4686 [2023-04-18T04:18:50.931Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T04:18:51.190Z] ---> bdc33487fa78 [2023-04-18T04:18:51.190Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T04:18:51.450Z] ---> 0d7409ef0cee [2023-04-18T04:18:51.450Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T04:18:51.450Z] ---> a18c65aaf055 [2023-04-18T04:18:51.450Z] Step 20/25 : EXPOSE 59986 [2023-04-18T04:18:51.450Z] ---> Running in ddb0c620b1e5 [2023-04-18T04:18:51.709Z] Removing intermediate container ddb0c620b1e5 [2023-04-18T04:18:51.709Z] ---> 449a1242bce1 [2023-04-18T04:18:51.709Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T04:18:51.709Z] ---> Running in 70c8e885e13c [2023-04-18T04:18:51.709Z] Removing intermediate container 70c8e885e13c [2023-04-18T04:18:51.709Z] ---> 7c1edfe94043 [2023-04-18T04:18:51.709Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T04:18:51.709Z] ---> Running in ff622ebb2a07 [2023-04-18T04:18:51.709Z] Removing intermediate container ff622ebb2a07 [2023-04-18T04:18:51.709Z] ---> 9f6562e45589 [2023-04-18T04:18:51.709Z] Step 23/25 : LABEL arch=amd64 [2023-04-18T04:18:51.709Z] ---> Running in c35a61e49379 [2023-04-18T04:18:51.968Z] Removing intermediate container c35a61e49379 [2023-04-18T04:18:51.968Z] ---> d3f212f25af4 [2023-04-18T04:18:51.968Z] Step 24/25 : LABEL git_sha=06d09c5e4e6e91def039e352777f80a9eeedfd16 [2023-04-18T04:18:51.968Z] ---> Running in f378c2e805ef [2023-04-18T04:18:51.968Z] Removing intermediate container f378c2e805ef [2023-04-18T04:18:51.968Z] ---> 4d40df7acda0 [2023-04-18T04:18:51.968Z] Step 25/25 : LABEL version=0.0.0 [2023-04-18T04:18:51.968Z] ---> Running in bf65f4366138 [2023-04-18T04:18:51.968Z] Removing intermediate container bf65f4366138 [2023-04-18T04:18:51.968Z] ---> ef3b89b686a4 [2023-04-18T04:18:51.968Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T04:18:51.968Z] Successfully built ef3b89b686a4 [2023-04-18T04:18:51.968Z] 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-04-18T04:18:52.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:18:52.831Z] [2023-04-18T04:18:52.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:18:53.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:18:53.205Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T04:18:53.205Z] 5eb5b503b376: Pulling fs layer [2023-04-18T04:18:53.205Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T04:18:53.205Z] ec43610c2a17: Pulling fs layer [2023-04-18T04:18:53.205Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T04:18:53.205Z] 33b1e0a273af: Pulling fs layer [2023-04-18T04:18:53.205Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T04:18:53.205Z] 2f39f015ded8: Pulling fs layer [2023-04-18T04:18:53.205Z] 3a2ae6a8a46f: Waiting [2023-04-18T04:18:53.205Z] 33b1e0a273af: Waiting [2023-04-18T04:18:53.205Z] 5d3b04190fa2: Waiting [2023-04-18T04:18:53.205Z] 2f39f015ded8: Waiting [2023-04-18T04:18:53.205Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T04:18:53.205Z] 5c69ac0246d0: Download complete [2023-04-18T04:18:53.205Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T04:18:53.205Z] 3a2ae6a8a46f: Download complete [2023-04-18T04:18:53.205Z] ec43610c2a17: Verifying Checksum [2023-04-18T04:18:53.205Z] ec43610c2a17: Download complete [2023-04-18T04:18:53.205Z] 33b1e0a273af: Verifying Checksum [2023-04-18T04:18:53.205Z] 33b1e0a273af: Download complete [2023-04-18T04:18:53.205Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T04:18:53.205Z] 5d3b04190fa2: Download complete [2023-04-18T04:18:53.462Z] 5eb5b503b376: Verifying Checksum [2023-04-18T04:18:53.462Z] 5eb5b503b376: Download complete [2023-04-18T04:18:54.027Z] 2f39f015ded8: Download complete [2023-04-18T04:18:54.961Z] 5eb5b503b376: Pull complete [2023-04-18T04:18:54.961Z] 5c69ac0246d0: Pull complete [2023-04-18T04:18:55.218Z] ec43610c2a17: Pull complete [2023-04-18T04:18:55.478Z] 3a2ae6a8a46f: Pull complete [2023-04-18T04:18:55.736Z] 33b1e0a273af: Pull complete [2023-04-18T04:18:55.736Z] 5d3b04190fa2: Pull complete [2023-04-18T04:19:01.004Z] 2f39f015ded8: Pull complete [2023-04-18T04:19:01.004Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T04:19:01.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:19:01.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:19:01.224Z] prd-ubuntu20.04-docker-8c-8g-8855 does not seem to be running inside a container [2023-04-18T04:19:01.250Z] $ 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-293 -v /w/workspace/gexfoundry_device-rest-go_PR-293:/w/workspace/gexfoundry_device-rest-go_PR-293:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-293@tmp:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T04:19:02.373Z] $ docker top 6be40457f6c5be9f16be3c73c2bb90d31872dde9099f25b4105e125538a63076 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:19:02.872Z] ---> job-cost.sh [2023-04-18T04:19:02.872Z] lf-activate-venv: SKIPPING [2023-04-18T04:19:02.872Z] INFO: No Stack... [2023-04-18T04:19:03.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T04:19:03.392Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T04:19:03.709Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-293/archives/cost.csv [2023-04-18T04:19:03.709Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T04:19:03.752Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [2023-04-18T04:19:03.759Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] did not exist. Created. [2023-04-18T04:19:03.759Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T04:19:04.160Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T04:19:04.209Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T04:19:04.236Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T04:19:04.301Z] $ docker stop --time=1 6be40457f6c5be9f16be3c73c2bb90d31872dde9099f25b4105e125538a63076 [2023-04-18T04:19:05.481Z] $ docker rm -f --volumes 6be40457f6c5be9f16be3c73c2bb90d31872dde9099f25b4105e125538a63076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T04:19:15.102Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8856 in /w/workspace/gexfoundry_device-rest-go_PR-293 [Pipeline] { [Pipeline] ws [2023-04-18T04:19:15.165Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T04:19:15.249Z] The recommended git tool is: git [2023-04-18T04:19:20.397Z] using credential edgex-jenkins-ssh [2023-04-18T04:19:20.417Z] Cloning the remote Git repository [2023-04-18T04:19:20.455Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T04:19:20.546Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-18T04:19:20.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T04:19:20.693Z] > git --version # timeout=10 [2023-04-18T04:19:20.716Z] > git --version # 'git version 2.25.1' [2023-04-18T04:19:20.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T04:19:20.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T04:19:24.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-18T04:19:24.677Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T04:19:26.229Z] Merging remotes/origin/main commit fa0493e2e3feda240b1cb1121ab26136a8f60332 into PR head commit 06d09c5e4e6e91def039e352777f80a9eeedfd16 [2023-04-18T04:19:26.528Z] Merge succeeded, producing 06d09c5e4e6e91def039e352777f80a9eeedfd16 [2023-04-18T04:19:26.528Z] Checking out Revision 06d09c5e4e6e91def039e352777f80a9eeedfd16 (PR-293) [2023-04-18T04:19:25.575Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-18T04:19:25.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-18T04:19:25.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T04:19:25.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/293/head:refs/remotes/origin/PR-293 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T04:19:26.241Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T04:19:26.319Z] > git checkout -f 06d09c5e4e6e91def039e352777f80a9eeedfd16 # timeout=10 [2023-04-18T04:19:26.408Z] > git remote # timeout=10 [2023-04-18T04:19:26.431Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T04:19:26.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T04:19:26.476Z] > git merge fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 [2023-04-18T04:19:26.503Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T04:19:26.531Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T04:19:26.547Z] > git checkout -f 06d09c5e4e6e91def039e352777f80a9eeedfd16 # timeout=10 [2023-04-18T04:19:30.034Z] Commit message: "build(deps): bump device-sdk-go" [2023-04-18T04:19:30.085Z] > git --version # timeout=10 [2023-04-18T04:19:30.096Z] > git --version # 'git version 2.25.1' [2023-04-18T04:19:30.109Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:19:31.269Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T04:19:31.269Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T04:19:31.269Z] Dload Upload Total Spent Left Speed [2023-04-18T04:19:31.269Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 65389 0 --:--:-- --:--:-- --:--:-- 65056 100 12751 100 12751 0 0 64725 0 --:--:-- --:--:-- --:--:-- 64725 [Pipeline] sh [2023-04-18T04:19:32.012Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T04:19:32.359Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-04-18T04:19:32.359Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T04:19:32.359Z] { [2023-04-18T04:19:32.359Z] "registry-mirrors": [ [2023-04-18T04:19:32.359Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T04:19:32.359Z] ], [2023-04-18T04:19:32.359Z] "bip": "10.250.0.254/24", [2023-04-18T04:19:32.359Z] "hosts": [ [2023-04-18T04:19:32.359Z] "tcp://0.0.0.0:5555", [2023-04-18T04:19:32.359Z] "unix:///var/run/docker.sock" [2023-04-18T04:19:32.359Z] ], [2023-04-18T04:19:32.359Z] "mtu": 1458, [2023-04-18T04:19:32.359Z] "selinux-enabled": true, [2023-04-18T04:19:32.359Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T04:19:32.359Z] } [Pipeline] sh [2023-04-18T04:19:32.705Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T04:19:33.066Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:19:51.415Z] provisioning config files... [2023-04-18T04:19:51.446Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9622622409608770102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:19:51.842Z] ---> docker-login.sh [2023-04-18T04:19:51.842Z] nexus3.edgexfoundry.org:10001 [2023-04-18T04:19:52.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:19:52.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:19:52.433Z] Configure a credential helper to remove this warning. See [2023-04-18T04:19:52.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:19:52.433Z] [2023-04-18T04:19:52.433Z] Login Succeeded [2023-04-18T04:19:52.433Z] nexus3.edgexfoundry.org:10002 [2023-04-18T04:19:52.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:19:52.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:19:52.702Z] Configure a credential helper to remove this warning. See [2023-04-18T04:19:52.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:19:52.702Z] [2023-04-18T04:19:52.702Z] Login Succeeded [2023-04-18T04:19:52.702Z] nexus3.edgexfoundry.org:10003 [2023-04-18T04:19:52.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:19:53.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:19:53.243Z] Configure a credential helper to remove this warning. See [2023-04-18T04:19:53.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:19:53.243Z] [2023-04-18T04:19:53.243Z] Login Succeeded [2023-04-18T04:19:53.243Z] nexus3.edgexfoundry.org:10004 [2023-04-18T04:19:53.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:19:53.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:19:53.515Z] Configure a credential helper to remove this warning. See [2023-04-18T04:19:53.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:19:53.515Z] [2023-04-18T04:19:53.515Z] Login Succeeded [2023-04-18T04:19:53.515Z] docker.io [2023-04-18T04:19:53.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T04:19:54.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T04:19:54.053Z] Configure a credential helper to remove this warning. See [2023-04-18T04:19:54.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T04:19:54.053Z] [2023-04-18T04:19:54.053Z] Login Succeeded [2023-04-18T04:19:54.053Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T04:19:54.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T04:19:54.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:19:54.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T04:19:54.506Z] ========================================================= [2023-04-18T04:19:54.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T04:19:54.506Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:19:55.007Z] + 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-04-18T04:19:55.007Z] Sending build context to Docker daemon 138.8kB [2023-04-18T04:19:55.274Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:19:55.274Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T04:19:55.274Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T04:19:55.274Z] af6eaf76a39c: Pulling fs layer [2023-04-18T04:19:55.274Z] 55522c791124: Pulling fs layer [2023-04-18T04:19:55.274Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T04:19:55.274Z] 169dfbe0d373: Pulling fs layer [2023-04-18T04:19:55.274Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T04:19:55.274Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T04:19:55.274Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T04:19:55.274Z] 169dfbe0d373: Waiting [2023-04-18T04:19:55.274Z] e1ff8fa3b103: Waiting [2023-04-18T04:19:55.274Z] 52ebb69f0ebf: Waiting [2023-04-18T04:19:55.274Z] 5abe8eddf0d5: Waiting [2023-04-18T04:19:55.546Z] 55522c791124: Verifying Checksum [2023-04-18T04:19:55.546Z] 55522c791124: Download complete [2023-04-18T04:19:55.546Z] 169dfbe0d373: Verifying Checksum [2023-04-18T04:19:55.546Z] 169dfbe0d373: Download complete [2023-04-18T04:19:55.546Z] af6eaf76a39c: Verifying Checksum [2023-04-18T04:19:55.546Z] af6eaf76a39c: Download complete [2023-04-18T04:19:55.546Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T04:19:55.546Z] e1ff8fa3b103: Download complete [2023-04-18T04:19:56.524Z] af6eaf76a39c: Pull complete [2023-04-18T04:19:56.793Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T04:19:56.793Z] 5abe8eddf0d5: Download complete [2023-04-18T04:19:57.063Z] 55522c791124: Pull complete [2023-04-18T04:19:58.025Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T04:19:58.025Z] ce5c4a1c91eb: Download complete [2023-04-18T04:19:58.025Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T04:19:58.025Z] 52ebb69f0ebf: Download complete [2023-04-18T04:20:10.356Z] ce5c4a1c91eb: Pull complete [2023-04-18T04:20:10.356Z] 169dfbe0d373: Pull complete [2023-04-18T04:20:10.356Z] e1ff8fa3b103: Pull complete [2023-04-18T04:20:18.578Z] 52ebb69f0ebf: Pull complete [2023-04-18T04:20:19.176Z] 5abe8eddf0d5: Pull complete [2023-04-18T04:20:19.176Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T04:20:19.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T04:20:19.176Z] ---> 6cb57ee374ae [2023-04-18T04:20:19.176Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:20:21.139Z] ---> Running in 3668c8d118c9 [2023-04-18T04:20:21.139Z] Removing intermediate container 3668c8d118c9 [2023-04-18T04:20:21.139Z] ---> a2e30eec1455 [2023-04-18T04:20:21.139Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:20:21.139Z] ---> Running in efd0fdeeaadd [2023-04-18T04:20:21.407Z] Removing intermediate container efd0fdeeaadd [2023-04-18T04:20:21.407Z] ---> d59dc2dfc7a6 [2023-04-18T04:20:21.407Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:20:21.674Z] ---> Running in 85bb20a4c9c9 [2023-04-18T04:20:21.949Z] Removing intermediate container 85bb20a4c9c9 [2023-04-18T04:20:21.949Z] ---> 215a8972c706 [2023-04-18T04:20:21.949Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:20:21.949Z] ---> Running in 5a386ee214f2 [2023-04-18T04:20:22.218Z] Removing intermediate container 5a386ee214f2 [2023-04-18T04:20:22.218Z] ---> 0794e05e386d [2023-04-18T04:20:22.218Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:20:22.218Z] ---> Running in 330af31af753 [2023-04-18T04:20:23.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:20:23.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:20:25.308Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T04:20:25.308Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T04:20:25.308Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T04:20:25.308Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T04:20:25.308Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:20:25.308Z] OK: 268 MiB in 57 packages [2023-04-18T04:20:26.288Z] Removing intermediate container 330af31af753 [2023-04-18T04:20:26.288Z] ---> be4abf231ee5 [2023-04-18T04:20:26.288Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-18T04:20:26.288Z] ---> Running in 571b8db06556 [2023-04-18T04:20:26.556Z] Removing intermediate container 571b8db06556 [2023-04-18T04:20:26.556Z] ---> 14ee9b650f11 [2023-04-18T04:20:26.556Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T04:20:27.142Z] ---> 13ea569ec8ee [2023-04-18T04:20:27.142Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:20:27.142Z] ---> Running in 1eead92b4bfe [2023-04-18T04:21:35.014Z] Removing intermediate container 1eead92b4bfe [2023-04-18T04:21:35.014Z] ---> 967d2d51fba5 [2023-04-18T04:21:35.014Z] Step 11/12 : COPY . . [2023-04-18T04:21:35.014Z] ---> b1456381ee2b [2023-04-18T04:21:35.014Z] Step 12/12 : RUN $MAKE [2023-04-18T04:21:35.014Z] ---> Running in 7dabfe6a61e3 [2023-04-18T04:21:35.014Z] noop [2023-04-18T04:21:35.014Z] Removing intermediate container 7dabfe6a61e3 [2023-04-18T04:21:35.014Z] ---> 5db2a432ebd9 [2023-04-18T04:21:35.014Z] Successfully built 5db2a432ebd9 [2023-04-18T04:21:35.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:21:35.500Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T04:21:35.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:21:35.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2023-04-18T04:21:35.853Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T04:21:37.123Z] $ docker top a64bf2c82f2e2119e8ef01f139aa5a89b92c7552d71e54a474f44c4fbc53f326 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:21:38.021Z] + go version [2023-04-18T04:21:38.021Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T04:21:38.054Z] $ docker stop --time=1 a64bf2c82f2e2119e8ef01f139aa5a89b92c7552d71e54a474f44c4fbc53f326 [2023-04-18T04:21:39.670Z] $ docker rm -f --volumes a64bf2c82f2e2119e8ef01f139aa5a89b92c7552d71e54a474f44c4fbc53f326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:21:40.508Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T04:21:40.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:21:40.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2023-04-18T04:21:40.820Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T04:21:41.983Z] $ docker top 661610dc9d1d91e2b3eb756010eb786f1ebcf7b3dc18a84a3fd8cb62c8c7add7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:21:42.534Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T04:21:42.918Z] + make test [2023-04-18T04:21:42.918Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T04:22:15.113Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-18T04:24:06.794Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-18T04:24:06.794Z] ok github.com/edgexfoundry/device-rest-go/driver 0.056s coverage: 32.2% of statements [2023-04-18T04:24:06.794Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T04:24:06.794Z] go vet ./... [2023-04-18T04:24:28.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T04:24:28.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T04:24:28.835Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T04:24:28.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T04:24:28.898Z] $ docker stop --time=1 661610dc9d1d91e2b3eb756010eb786f1ebcf7b3dc18a84a3fd8cb62c8c7add7 [2023-04-18T04:24:30.598Z] $ docker rm -f --volumes 661610dc9d1d91e2b3eb756010eb786f1ebcf7b3dc18a84a3fd8cb62c8c7add7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T04:24:31.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T04:24:31.740Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T04:24:32.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T04:24:32.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T04:24:33.078Z] + ls -al . [2023-04-18T04:24:33.078Z] total 180 [2023-04-18T04:24:33.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:21 . [2023-04-18T04:24:33.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:19 .. [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:19 .dockerignore [2023-04-18T04:24:33.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:19 .git [2023-04-18T04:24:33.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:19 .github [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:19 .gitignore [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:19 .golangci.yml [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:19 Attribution.txt [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:19 CHANGELOG.md [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:19 Dockerfile [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:19 GOVERNANCE.md [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:19 Jenkinsfile [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:19 LICENSE [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:19 Makefile [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:19 OWNERS.md [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:19 README.md [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 04:17 VERSION [2023-04-18T04:24:33.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:19 bin [2023-04-18T04:24:33.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:19 cmd [2023-04-18T04:24:33.078Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:23 coverage.out [2023-04-18T04:24:33.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:19 driver [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:19 go.mod [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:19 go.sum [2023-04-18T04:24:33.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:19 snap [2023-04-18T04:24:33.078Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:24:33.508Z] + 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=06d09c5e4e6e91def039e352777f80a9eeedfd16 --label arch=arm64 --label version=0.0.0 . [2023-04-18T04:24:33.508Z] Sending build context to Docker daemon 154.1kB [2023-04-18T04:24:33.773Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T04:24:33.773Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T04:24:33.773Z] ---> 5db2a432ebd9 [2023-04-18T04:24:33.773Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T04:24:33.773Z] ---> Running in 05e7a567f5f3 [2023-04-18T04:24:34.039Z] Removing intermediate container 05e7a567f5f3 [2023-04-18T04:24:34.039Z] ---> 327067288602 [2023-04-18T04:24:34.039Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T04:24:34.039Z] ---> Running in b1d9c13e7758 [2023-04-18T04:24:34.306Z] Removing intermediate container b1d9c13e7758 [2023-04-18T04:24:34.306Z] ---> 56701f0c7cee [2023-04-18T04:24:34.306Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T04:24:34.573Z] ---> Running in 05f333343b4f [2023-04-18T04:24:34.573Z] Removing intermediate container 05f333343b4f [2023-04-18T04:24:34.573Z] ---> 2dd5cc077f8e [2023-04-18T04:24:34.573Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T04:24:34.844Z] ---> Running in 241f59d6aa4f [2023-04-18T04:24:35.111Z] Removing intermediate container 241f59d6aa4f [2023-04-18T04:24:35.111Z] ---> a7afeed0b236 [2023-04-18T04:24:35.111Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T04:24:35.111Z] ---> Running in 87d4ee8f7970 [2023-04-18T04:24:36.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:24:36.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:24:37.603Z] OK: 268 MiB in 57 packages [2023-04-18T04:24:38.185Z] Removing intermediate container 87d4ee8f7970 [2023-04-18T04:24:38.185Z] ---> b661b99fed61 [2023-04-18T04:24:38.185Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-18T04:24:38.185Z] ---> Running in 87aa208161ec [2023-04-18T04:24:38.451Z] Removing intermediate container 87aa208161ec [2023-04-18T04:24:38.451Z] ---> c305efde1a2d [2023-04-18T04:24:38.451Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T04:24:39.031Z] ---> 80b07c74b514 [2023-04-18T04:24:39.031Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T04:24:39.031Z] ---> Running in 2cccb461a704 [2023-04-18T04:24:42.496Z] Removing intermediate container 2cccb461a704 [2023-04-18T04:24:42.496Z] ---> d1a26e261bcf [2023-04-18T04:24:42.496Z] Step 11/25 : COPY . . [2023-04-18T04:24:43.086Z] ---> 8eac8278a896 [2023-04-18T04:24:43.086Z] Step 12/25 : RUN $MAKE [2023-04-18T04:24:43.086Z] ---> Running in 70a7906cff4c [2023-04-18T04:24:44.066Z] 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-04-18T04:26:50.851Z] Removing intermediate container 70a7906cff4c [2023-04-18T04:26:50.851Z] ---> 35e9dd523ef0 [2023-04-18T04:26:50.851Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T04:26:50.851Z] 3.17: Pulling from library/alpine [2023-04-18T04:26:50.851Z] c41833b44d91: Pulling fs layer [2023-04-18T04:26:50.851Z] c41833b44d91: Verifying Checksum [2023-04-18T04:26:50.851Z] c41833b44d91: Download complete [2023-04-18T04:26:50.851Z] c41833b44d91: Pull complete [2023-04-18T04:26:50.851Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T04:26:50.851Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T04:26:50.851Z] ---> 51e60588ff2c [2023-04-18T04:26:50.851Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T04:26:50.851Z] ---> Running in 600f9656722c [2023-04-18T04:26:50.851Z] Removing intermediate container 600f9656722c [2023-04-18T04:26:50.851Z] ---> 698768182919 [2023-04-18T04:26:50.851Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-18T04:26:50.851Z] ---> Running in 2f4345f85887 [2023-04-18T04:26:50.851Z] Removing intermediate container 2f4345f85887 [2023-04-18T04:26:50.851Z] ---> e8da0b6799a1 [2023-04-18T04:26:50.851Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-18T04:26:50.851Z] ---> Running in 3f038eb8682b [2023-04-18T04:26:50.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T04:26:50.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T04:26:50.851Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T04:26:50.851Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T04:26:50.851Z] OK: 8 MiB in 16 packages [2023-04-18T04:26:52.804Z] Removing intermediate container 3f038eb8682b [2023-04-18T04:26:52.804Z] ---> 266865060756 [2023-04-18T04:26:52.804Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-18T04:26:54.221Z] ---> 4655be6fce0e [2023-04-18T04:26:54.221Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-18T04:26:54.488Z] ---> 9279abbf33d3 [2023-04-18T04:26:54.488Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-18T04:26:55.073Z] ---> 74b09b947057 [2023-04-18T04:26:55.073Z] Step 20/25 : EXPOSE 59986 [2023-04-18T04:26:55.073Z] ---> Running in 35a1db490a16 [2023-04-18T04:26:55.340Z] Removing intermediate container 35a1db490a16 [2023-04-18T04:26:55.340Z] ---> e80fee91636f [2023-04-18T04:26:55.340Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-18T04:26:55.340Z] ---> Running in 055c518b53ea [2023-04-18T04:26:55.608Z] Removing intermediate container 055c518b53ea [2023-04-18T04:26:55.608Z] ---> 27cc75cdb0e4 [2023-04-18T04:26:55.608Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T04:26:55.875Z] ---> Running in f8eaa816abac [2023-04-18T04:26:56.140Z] Removing intermediate container f8eaa816abac [2023-04-18T04:26:56.140Z] ---> cbacd3fb73f0 [2023-04-18T04:26:56.140Z] Step 23/25 : LABEL arch=arm64 [2023-04-18T04:26:56.140Z] ---> Running in db1b3ee392e1 [2023-04-18T04:26:56.406Z] Removing intermediate container db1b3ee392e1 [2023-04-18T04:26:56.406Z] ---> 238333ca0d29 [2023-04-18T04:26:56.406Z] Step 24/25 : LABEL git_sha=06d09c5e4e6e91def039e352777f80a9eeedfd16 [2023-04-18T04:26:56.406Z] ---> Running in 07ccde2bf069 [2023-04-18T04:26:56.673Z] Removing intermediate container 07ccde2bf069 [2023-04-18T04:26:56.673Z] ---> 96a72317b1e9 [2023-04-18T04:26:56.673Z] Step 25/25 : LABEL version=0.0.0 [2023-04-18T04:26:56.673Z] ---> Running in 8149e6553d88 [2023-04-18T04:26:56.939Z] Removing intermediate container 8149e6553d88 [2023-04-18T04:26:56.939Z] ---> 38e72f1b240c [2023-04-18T04:26:56.939Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T04:26:56.939Z] Successfully built 38e72f1b240c [2023-04-18T04:26:56.939Z] 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-04-18T04:26:57.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:26:57.734Z] [2023-04-18T04:26:57.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:26:58.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:26:58.130Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T04:26:58.130Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T04:26:58.130Z] 04944245beec: Pulling fs layer [2023-04-18T04:26:58.130Z] 699f458cf7ca: Pulling fs layer [2023-04-18T04:26:58.131Z] 765212b225bb: Pulling fs layer [2023-04-18T04:26:58.131Z] f23df028b6ca: Pulling fs layer [2023-04-18T04:26:58.131Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T04:26:58.131Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T04:26:58.131Z] f23df028b6ca: Waiting [2023-04-18T04:26:58.131Z] d65c8cfc05b1: Waiting [2023-04-18T04:26:58.131Z] 2437ff75d9bd: Waiting [2023-04-18T04:26:58.131Z] 765212b225bb: Waiting [2023-04-18T04:26:58.398Z] 04944245beec: Verifying Checksum [2023-04-18T04:26:58.398Z] 04944245beec: Download complete [2023-04-18T04:26:58.398Z] 765212b225bb: Verifying Checksum [2023-04-18T04:26:58.398Z] 765212b225bb: Download complete [2023-04-18T04:26:58.398Z] f23df028b6ca: Verifying Checksum [2023-04-18T04:26:58.398Z] f23df028b6ca: Download complete [2023-04-18T04:26:58.398Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T04:26:58.398Z] d65c8cfc05b1: Download complete [2023-04-18T04:26:58.398Z] 699f458cf7ca: Verifying Checksum [2023-04-18T04:26:58.398Z] 699f458cf7ca: Download complete [2023-04-18T04:26:58.980Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T04:26:58.980Z] 8998bd30e6a1: Download complete [2023-04-18T04:27:00.937Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T04:27:00.937Z] 2437ff75d9bd: Download complete [2023-04-18T04:27:02.880Z] 8998bd30e6a1: Pull complete [2023-04-18T04:27:02.880Z] 04944245beec: Pull complete [2023-04-18T04:27:05.462Z] 699f458cf7ca: Pull complete [2023-04-18T04:27:05.462Z] 765212b225bb: Pull complete [2023-04-18T04:27:06.423Z] f23df028b6ca: Pull complete [2023-04-18T04:27:06.423Z] d65c8cfc05b1: Pull complete [2023-04-18T04:27:18.726Z] 2437ff75d9bd: Pull complete [2023-04-18T04:27:18.726Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T04:27:18.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T04:27:18.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:27:19.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2023-04-18T04:27:19.096Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T04:27:21.547Z] $ docker top 161d97316109ec1f9b7a3b56d820454f73dab17311136185bf3b4d0b59d42270 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:22.449Z] ---> job-cost.sh [2023-04-18T04:27:22.449Z] lf-activate-venv: SKIPPING [2023-04-18T04:27:22.449Z] INFO: No Stack... [2023-04-18T04:27:22.715Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T04:27:23.672Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T04:27:24.012Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-18T04:27:24.012Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T04:27:24.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [2023-04-18T04:27:24.363Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] did not exist. Created. [2023-04-18T04:27:24.363Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T04:27:25.094Z] /w/workspace/device-rest-go/1@tmp/durable-5d71ecd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T04:27:25.450Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T04:27:25.490Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T04:27:25.534Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T04:27:25.550Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-293-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T04:27:25.632Z] $ docker stop --time=1 161d97316109ec1f9b7a3b56d820454f73dab17311136185bf3b4d0b59d42270 [2023-04-18T04:27:27.134Z] $ docker rm -f --volumes 161d97316109ec1f9b7a3b56d820454f73dab17311136185bf3b4d0b59d42270 [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-04-18T04:27:28.153Z] provisioning config files... [2023-04-18T04:27:28.164Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/config3182843127994688490tmp [Pipeline] { [Pipeline] sh [2023-04-18T04:27:28.505Z] + set +x [2023-04-18T04:27:28.505Z] + curl -s https://codecov.io/bash [2023-04-18T04:27:28.505Z] + bash -s -- [2023-04-18T04:27:28.505Z] [2023-04-18T04:27:28.505Z] _____ _ [2023-04-18T04:27:28.505Z] / ____| | | [2023-04-18T04:27:28.505Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T04:27:28.505Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T04:27:28.505Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T04:27:28.505Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T04:27:28.505Z] Bash-1.0.6 [2023-04-18T04:27:28.505Z] [2023-04-18T04:27:28.505Z] [2023-04-18T04:27:28.505Z] ==> git version 2.25.1 found [2023-04-18T04:27:28.505Z] ==> 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-04-18T04:27:28.505Z] Release-Date: 2020-01-08 [2023-04-18T04:27:28.505Z] 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-04-18T04:27:28.505Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T04:27:28.505Z] ==> Jenkins CI detected. [2023-04-18T04:27:28.505Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-293 [2023-04-18T04:27:28.505Z] project root: . [2023-04-18T04:27:28.505Z] --> token set from env [2023-04-18T04:27:28.505Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T04:27:28.505Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T04:27:28.505Z] ==> Python coveragepy not found [2023-04-18T04:27:28.505Z] ==> Searching for coverage reports in: [2023-04-18T04:27:28.505Z] + . [2023-04-18T04:27:28.505Z] -> Found 1 reports [2023-04-18T04:27:28.505Z] ==> Detecting git/mercurial file structure [2023-04-18T04:27:28.764Z] ==> Reading reports [2023-04-18T04:27:28.764Z] + ./coverage.out bytes=14663 [2023-04-18T04:27:28.764Z] ==> Appending adjustments [2023-04-18T04:27:28.764Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T04:27:28.764Z] + Found adjustments [2023-04-18T04:27:28.764Z] ==> Gzipping contents [2023-04-18T04:27:28.764Z] 4.0K /tmp/codecov.eL3wRQ.gz [2023-04-18T04:27:28.764Z] ==> Uploading reports [2023-04-18T04:27:28.764Z] url: https://codecov.io [2023-04-18T04:27:28.764Z] query: branch=PR-293&commit=06d09c5e4e6e91def039e352777f80a9eeedfd16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-293%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=293&job=&cmd_args= [2023-04-18T04:27:28.764Z] -> Pinging Codecov [2023-04-18T04:27:28.764Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-293&commit=06d09c5e4e6e91def039e352777f80a9eeedfd16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-293%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=293&job=&cmd_args= [2023-04-18T04:27:28.764Z] -> Uploading to [2023-04-18T04:27:28.764Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/4E5D53B4F1F92C436F7061BF334D961C/06d09c5e4e6e91def039e352777f80a9eeedfd16/350c4816-c00b-4bf1-bab4-4ab20ff727c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T042728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa67f02fae60a16d4edabe3662d4f4e53a13f5ecb6037b9c0facdc829352cb94 [2023-04-18T04:27:28.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T04:27:28.764Z] Dload Upload Total Spent Left Speed [2023-04-18T04:27:29.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10329 --:--:-- --:--:-- --:--:-- 10371 [2023-04-18T04:27:29.024Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/06d09c5e4e6e91def039e352777f80a9eeedfd16 [Pipeline] } [2023-04-18T04:27:29.052Z] 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-04-18T04:27:30.777Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-293/archives ] [2023-04-18T04:27:30.777Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-293/archives [2023-04-18T04:27:30.777Z] total 16 [2023-04-18T04:27:30.777Z] drwxr-xr-x 3 root root 4096 Apr 18 04:19 . [2023-04-18T04:27:30.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:19 .. [2023-04-18T04:27:30.777Z] drwxr-xr-x 2 root root 4096 Apr 18 04:19 cost [2023-04-18T04:27:30.777Z] -rw-r--r-- 1 root root 86 Apr 18 04:19 cost.csv [2023-04-18T04:27:30.777Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-293/archives [2023-04-18T04:27:30.777Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-293/archives [2023-04-18T04:27:30.777Z] total 16 [2023-04-18T04:27:30.777Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:19 . [2023-04-18T04:27:30.777Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:19 .. [2023-04-18T04:27:30.778Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 04:19 cost [2023-04-18T04:27:30.778Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:31.141Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:32.022Z] ---> package-listing.sh [2023-04-18T04:27:32.022Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T04:27:32.022Z] ++ facter osfamily [2023-04-18T04:27:32.281Z] + OS_FAMILY=debian [2023-04-18T04:27:32.281Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-293 [2023-04-18T04:27:32.281Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T04:27:32.281Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T04:27:32.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T04:27:32.281Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T04:27:32.281Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-293 ']' [2023-04-18T04:27:32.281Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T04:27:32.281Z] + case "${OS_FAMILY}" in [2023-04-18T04:27:32.281Z] + dpkg -l [2023-04-18T04:27:32.281Z] + grep '^ii' [2023-04-18T04:27:32.281Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T04:27:32.281Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T04:27:32.281Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T04:27:32.281Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-293 ']' [2023-04-18T04:27:32.281Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-293/archives/ [2023-04-18T04:27:32.281Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-293/archives/ [Pipeline] echo [2023-04-18T04:27:32.313Z] 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-293/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T04:27:32.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T04:27:33.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T04:27:33.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T04:27:33.370Z] prd-ubuntu20.04-docker-8c-8g-8855 does not seem to be running inside a container [2023-04-18T04:27:33.389Z] $ 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-293/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-293 -v /w/workspace/gexfoundry_device-rest-go_PR-293:/w/workspace/gexfoundry_device-rest-go_PR-293:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-293@tmp:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T04:27:33.579Z] $ docker top 6a5f90209f709daf612215cb3112467e0134b239ce454add190a6a18c5e1df17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T04:27:33.961Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T04:27:34.267Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T04:27:34.578Z] + ls /var/log/sa-host [2023-04-18T04:27:34.578Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T04:27:34.779Z] provisioning config files... [2023-04-18T04:27:34.787Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-293@tmp/config6779085532334569219tmp [Pipeline] { [Pipeline] echo [2023-04-18T04:27:34.841Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:35.150Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T04:27:35.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:35.576Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T04:27:35.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:35.932Z] ---> sudo-logs.sh [2023-04-18T04:27:35.932Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T04:27:36.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:36.326Z] ---> job-cost.sh [2023-04-18T04:27:36.327Z] lf-activate-venv: SKIPPING [2023-04-18T04:27:36.327Z] DEBUG: total: 0.2199999988079071 [2023-04-18T04:27:36.327Z] INFO: Retrieving Stack Cost... [2023-04-18T04:27:36.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T04:27:37.155Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T04:27:37.188Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T04:27:37.503Z] ---> logs-deploy.sh [2023-04-18T04:27:37.503Z] lf-activate-venv: SKIPPING [2023-04-18T04:27:37.503Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-293/1 [2023-04-18T04:27:37.503Z] INFO: archiving workspace using pattern(s): [2023-04-18T04:27:38.442Z] Archives upload complete. [2023-04-18T04:27:38.442Z] INFO: archiving logs to Nexus