Pull request #320 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca413b70f2f20eb82d45b437542ab34fafcfccf0+6a379586ffcd355aa503b0695be8055d1eb693b2 (fee48756f8e576b7d022b9ba29f142c160fdae3b) 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-ssh14266275676442378913.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9174538458562644248.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-320/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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1987640527567795313.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-320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8747824962349948784.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3034524992236371897.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-320/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-320/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9621083044253992383.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-15778 in /w/workspace/gexfoundry_device-rest-go_PR-320 [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-320 # 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 > 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/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a379586ffcd355aa503b0695be8055d1eb693b2 into PR head commit ca413b70f2f20eb82d45b437542ab34fafcfccf0 Merge succeeded, producing ca413b70f2f20eb82d45b437542ab34fafcfccf0 Checking out Revision ca413b70f2f20eb82d45b437542ab34fafcfccf0 (PR-320) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T20:59:21.303Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T20:59:21.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f ca413b70f2f20eb82d45b437542ab34fafcfccf0 # 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 6a379586ffcd355aa503b0695be8055d1eb693b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca413b70f2f20eb82d45b437542ab34fafcfccf0 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T20:59:21.601Z] ========================================================= [2023-05-16T20:59:21.601Z] EdgeX Global Pipelines Version Info [2023-05-16T20:59:21.601Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T20:59:22.340Z] ------------------- [2023-05-16T20:59:22.340Z] stable info: [2023-05-16T20:59:22.340Z] ------------------- [2023-05-16T20:59:22.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T20:59:22.340Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T20:59:22.340Z] Message: update stable to v1.0.249 [2023-05-16T20:59:22.913Z] ------------------- [2023-05-16T20:59:22.913Z] experimental info: [2023-05-16T20:59:22.913Z] ------------------- [2023-05-16T20:59:22.913Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T20:59:22.913Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T20:59:22.913Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T20:59:23.288Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-16T20:59:23.335Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-16T20:59:23.379Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T20:59:23.423Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T20:59:23.473Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T20:59:23.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T20:59:23.560Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T20:59:23.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T20:59:23.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T20:59:23.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T20:59:23.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T20:59:23.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-16T20:59:23.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T20:59:23.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T20:59:23.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T20:59:23.992Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T20:59:24.039Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T20:59:24.082Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T20:59:24.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T20:59:24.167Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T20:59:24.210Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T20:59:24.251Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T20:59:24.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T20:59:24.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T20:59:24.384Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T20:59:24.427Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T20:59:24.473Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T20:59:24.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-320 [Pipeline] echo [2023-05-16T20:59:24.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-320 [Pipeline] echo [2023-05-16T20:59:24.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-320 [Pipeline] echo [2023-05-16T20:59:24.643Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca413b70f2f20eb82d45b437542ab34fafcfccf0 [Pipeline] echo [2023-05-16T20:59:24.690Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca413b7 [Pipeline] echo [2023-05-16T20:59:24.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T20:59:24.858Z] provisioning config files... [2023-05-16T20:59:24.873Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/config12444819035576824824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T20:59:25.218Z] ---> docker-login.sh [2023-05-16T20:59:25.218Z] nexus3.edgexfoundry.org:10001 [2023-05-16T20:59:25.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:25.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:25.477Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:25.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:25.477Z] [2023-05-16T20:59:25.477Z] Login Succeeded [2023-05-16T20:59:25.477Z] nexus3.edgexfoundry.org:10002 [2023-05-16T20:59:25.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:25.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:25.739Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:25.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:25.739Z] [2023-05-16T20:59:25.739Z] Login Succeeded [2023-05-16T20:59:25.739Z] nexus3.edgexfoundry.org:10003 [2023-05-16T20:59:25.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:25.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:25.739Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:25.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:25.739Z] [2023-05-16T20:59:25.739Z] Login Succeeded [2023-05-16T20:59:25.739Z] nexus3.edgexfoundry.org:10004 [2023-05-16T20:59:25.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:26.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:26.002Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:26.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:26.002Z] [2023-05-16T20:59:26.002Z] Login Succeeded [2023-05-16T20:59:26.002Z] docker.io [2023-05-16T20:59:26.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:26.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:26.265Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:26.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:26.265Z] [2023-05-16T20:59:26.265Z] Login Succeeded [2023-05-16T20:59:26.265Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T20:59:26.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T20:59:26.926Z] + git rev-list -1 --merges ca413b70f2f20eb82d45b437542ab34fafcfccf0~1..ca413b70f2f20eb82d45b437542ab34fafcfccf0 [Pipeline] echo [2023-05-16T20:59:26.993Z] -----------> git rev-list -1 --merges ca413b70f2f20eb82d45b437542ab34fafcfccf0~1..ca413b70f2f20eb82d45b437542ab34fafcfccf0 ca413b70f2f20eb82d45b437542ab34fafcfccf0 [false] [Pipeline] sh [2023-05-16T20:59:27.301Z] + git log --format=format:%s -1 ca413b70f2f20eb82d45b437542ab34fafcfccf0 [Pipeline] echo [2023-05-16T20:59:27.342Z] ========================================================= [2023-05-16T20:59:27.342Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T20:59:27.342Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T20:59:27.776Z] + git log --format=format:%s -1 ca413b70f2f20eb82d45b437542ab34fafcfccf0 [Pipeline] echo [2023-05-16T20:59:27.808Z] [semverPrep] GIT_COMMIT: ca413b70f2f20eb82d45b437542ab34fafcfccf0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-16T20:59:27.833Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T20:59:28.236Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T20:59:28.236Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T20:59:28.236Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T20:59:28.236Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T20:59:28.236Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T20:59:28.236Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T20:59:28.236Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T20:59:28.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T20:59:28.743Z] [2023-05-16T20:59:28.743Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T20:59:29.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T20:59:29.137Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T20:59:29.137Z] b85a868b505f: Pulling fs layer [2023-05-16T20:59:29.137Z] e2be974225ed: Pulling fs layer [2023-05-16T20:59:29.137Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T20:59:29.137Z] 988bab9f4d93: Pulling fs layer [2023-05-16T20:59:29.137Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T20:59:29.137Z] eaf3925da568: Pulling fs layer [2023-05-16T20:59:29.137Z] bab4dde63d76: Pulling fs layer [2023-05-16T20:59:29.137Z] bde34c3a00c8: Pulling fs layer [2023-05-16T20:59:29.137Z] b352a97aabf1: Pulling fs layer [2023-05-16T20:59:29.137Z] 4872d77fe225: Pulling fs layer [2023-05-16T20:59:29.137Z] 5851b861e8e6: Pulling fs layer [2023-05-16T20:59:29.137Z] 1469e6f7b9e6: Waiting [2023-05-16T20:59:29.137Z] eaf3925da568: Waiting [2023-05-16T20:59:29.137Z] bab4dde63d76: Waiting [2023-05-16T20:59:29.137Z] bde34c3a00c8: Waiting [2023-05-16T20:59:29.137Z] 988bab9f4d93: Waiting [2023-05-16T20:59:29.137Z] 4872d77fe225: Waiting [2023-05-16T20:59:29.137Z] b352a97aabf1: Waiting [2023-05-16T20:59:29.137Z] 5851b861e8e6: Waiting [2023-05-16T20:59:29.137Z] e2be974225ed: Download complete [2023-05-16T20:59:29.137Z] 988bab9f4d93: Verifying Checksum [2023-05-16T20:59:29.137Z] 988bab9f4d93: Download complete [2023-05-16T20:59:29.137Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T20:59:29.137Z] 1469e6f7b9e6: Download complete [2023-05-16T20:59:29.137Z] eaf3925da568: Download complete [2023-05-16T20:59:29.137Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T20:59:29.137Z] 339a4e72a1f5: Download complete [2023-05-16T20:59:29.399Z] bde34c3a00c8: Verifying Checksum [2023-05-16T20:59:29.399Z] b352a97aabf1: Download complete [2023-05-16T20:59:29.399Z] 4872d77fe225: Verifying Checksum [2023-05-16T20:59:29.399Z] 4872d77fe225: Download complete [2023-05-16T20:59:29.399Z] 5851b861e8e6: Download complete [2023-05-16T20:59:29.399Z] b85a868b505f: Verifying Checksum [2023-05-16T20:59:29.399Z] b85a868b505f: Download complete [2023-05-16T20:59:29.660Z] bab4dde63d76: Download complete [2023-05-16T20:59:30.599Z] b85a868b505f: Pull complete [2023-05-16T20:59:30.599Z] e2be974225ed: Pull complete [2023-05-16T20:59:31.169Z] 339a4e72a1f5: Pull complete [2023-05-16T20:59:31.169Z] 988bab9f4d93: Pull complete [2023-05-16T20:59:31.431Z] 1469e6f7b9e6: Pull complete [2023-05-16T20:59:31.431Z] eaf3925da568: Pull complete [2023-05-16T20:59:33.353Z] bab4dde63d76: Pull complete [2023-05-16T20:59:33.353Z] bde34c3a00c8: Pull complete [2023-05-16T20:59:33.615Z] b352a97aabf1: Pull complete [2023-05-16T20:59:33.615Z] 4872d77fe225: Pull complete [2023-05-16T20:59:33.615Z] 5851b861e8e6: Pull complete [2023-05-16T20:59:33.615Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T20:59:33.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T20:59:33.615Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T20:59:33.840Z] prd-ubuntu20.04-docker-8c-8g-15778 does not seem to be running inside a container [2023-05-16T20:59:33.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-320 -v /w/workspace/gexfoundry_device-rest-go_PR-320:/w/workspace/gexfoundry_device-rest-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-320@tmp:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T20:59:36.183Z] $ docker top 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 -eo pid,comm [2023-05-16T20:59:36.242Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-16T20:59:36.242Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T20:59:36.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T20:59:36.369Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T20:59:36.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T20:59:36.484Z] $ docker exec 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 ssh-agent [2023-05-16T20:59:36.588Z] SSH_AUTH_SOCK=/tmp/ssh-cfmeDwha9WHs/agent.32 [2023-05-16T20:59:36.588Z] SSH_AGENT_PID=38 [2023-05-16T20:59:36.594Z] Running ssh-add (command line suppressed) [2023-05-16T20:59:36.702Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-320@tmp/private_key_5866266905090027995.key (/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/private_key_5866266905090027995.key) [2023-05-16T20:59:36.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T20:59:37.051Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T20:59:37.079Z] $ docker exec --env ******** --env ******** 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 ssh-agent -k [2023-05-16T20:59:37.189Z] unset SSH_AUTH_SOCK; [2023-05-16T20:59:37.190Z] unset SSH_AGENT_PID; [2023-05-16T20:59:37.190Z] echo Agent pid 38 killed; [2023-05-16T20:59:37.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T20:59:37.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T20:59:37.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T20:59:37.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T20:59:37.403Z] $ docker exec 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 ssh-agent [2023-05-16T20:59:37.501Z] SSH_AUTH_SOCK=/tmp/ssh-yZgs5EaSGJXQ/agent.70 [2023-05-16T20:59:37.501Z] SSH_AGENT_PID=76 [2023-05-16T20:59:37.506Z] Running ssh-add (command line suppressed) [2023-05-16T20:59:37.610Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-320@tmp/private_key_8689521523141749058.key (/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/private_key_8689521523141749058.key) [2023-05-16T20:59:37.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T20:59:37.963Z] + git semver init [2023-05-16T20:59:38.224Z] 2023-05-16 20:59:38,160 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T20:59:38.224Z] 2023-05-16 20:59:38,161 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-320/.semver [2023-05-16T20:59:38.224Z] 2023-05-16 20:59:38,161 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-320/.semver [2023-05-16T20:59:38.224Z] 2023-05-16 20:59:38,162 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-320/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-320, universal_newlines=False, shell=None, istream=None) [2023-05-16T20:59:39.178Z] 2023-05-16 20:59:39,175 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-320/.git/info/exclude [2023-05-16T20:59:39.178Z] 2023-05-16 20:59:39,176 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-320/.semver/PR-320 with force:False [2023-05-16T20:59:39.178Z] 2023-05-16 20:59:39,176 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-320/.semver/PR-320 [2023-05-16T20:59:39.439Z] 2023-05-16 20:59:39,183 [execute] INFO git cat-file --batch-check [2023-05-16T20:59:39.439Z] 2023-05-16 20:59:39,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T20:59:39.439Z] 2023-05-16 20:59:39,187 [execute] INFO git cat-file --batch [2023-05-16T20:59:39.439Z] 2023-05-16 20:59:39,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-320/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T20:59:39.439Z] 2023-05-16 20:59:39,192 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-320/.semver/PR-320 [2023-05-16T20:59:39.439Z] 0.0.0 [Pipeline] } [2023-05-16T20:59:39.473Z] $ docker exec --env ******** --env ******** 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 ssh-agent -k [2023-05-16T20:59:39.571Z] unset SSH_AUTH_SOCK; [2023-05-16T20:59:39.572Z] unset SSH_AGENT_PID; [2023-05-16T20:59:39.572Z] echo Agent pid 76 killed; [2023-05-16T20:59:39.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T20:59:39.997Z] + git semver [Pipeline] } [2023-05-16T20:59:40.282Z] $ docker stop --time=1 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 [2023-05-16T20:59:41.599Z] $ docker rm -f --volumes 738237e30428793195c7006599764ba63d9947798d01489f2b9d23d17c7cd464 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T20:59:42.004Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T20:59:42.294Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T20:59:42.311Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T20:59:42.948Z] provisioning config files... [2023-05-16T20:59:42.961Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/config9858208651310945272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T20:59:43.310Z] ---> docker-login.sh [2023-05-16T20:59:43.310Z] nexus3.edgexfoundry.org:10001 [2023-05-16T20:59:43.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:43.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:43.310Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:43.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:43.310Z] [2023-05-16T20:59:43.310Z] Login Succeeded [2023-05-16T20:59:43.310Z] nexus3.edgexfoundry.org:10002 [2023-05-16T20:59:43.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:43.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:43.310Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:43.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:43.311Z] [2023-05-16T20:59:43.311Z] Login Succeeded [2023-05-16T20:59:43.311Z] nexus3.edgexfoundry.org:10003 [2023-05-16T20:59:43.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:43.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:43.572Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:43.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:43.572Z] [2023-05-16T20:59:43.572Z] Login Succeeded [2023-05-16T20:59:43.572Z] nexus3.edgexfoundry.org:10004 [2023-05-16T20:59:43.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:43.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:43.572Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:43.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:43.572Z] [2023-05-16T20:59:43.572Z] Login Succeeded [2023-05-16T20:59:43.572Z] docker.io [2023-05-16T20:59:43.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T20:59:43.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T20:59:43.832Z] Configure a credential helper to remove this warning. See [2023-05-16T20:59:43.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T20:59:43.832Z] [2023-05-16T20:59:43.832Z] Login Succeeded [2023-05-16T20:59:43.832Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T20:59:43.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T20:59:44.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T20:59:44.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T20:59:44.144Z] ========================================================= [2023-05-16T20:59:44.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T20:59:44.144Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T20:59:44.626Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T20:59:44.626Z] Sending build context to Docker daemon 10.93MB [2023-05-16T20:59:44.626Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T20:59:44.626Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T20:59:44.626Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T20:59:44.626Z] f56be85fc22e: Pulling fs layer [2023-05-16T20:59:44.626Z] 85791d961cd3: Pulling fs layer [2023-05-16T20:59:44.626Z] d694b5ae8c79: Pulling fs layer [2023-05-16T20:59:44.626Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T20:59:44.626Z] 4d19c01a9841: Pulling fs layer [2023-05-16T20:59:44.626Z] 9325e15d5711: Pulling fs layer [2023-05-16T20:59:44.626Z] 556b6ee489ea: Pulling fs layer [2023-05-16T20:59:44.626Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T20:59:44.626Z] 9f32a84ed3da: Waiting [2023-05-16T20:59:44.626Z] 9325e15d5711: Waiting [2023-05-16T20:59:44.626Z] 556b6ee489ea: Waiting [2023-05-16T20:59:44.626Z] c5a4b2cf53e6: Waiting [2023-05-16T20:59:44.626Z] 4d19c01a9841: Waiting [2023-05-16T20:59:44.626Z] 85791d961cd3: Verifying Checksum [2023-05-16T20:59:44.626Z] 85791d961cd3: Download complete [2023-05-16T20:59:44.626Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T20:59:44.626Z] 9f32a84ed3da: Download complete [2023-05-16T20:59:44.887Z] 4d19c01a9841: Verifying Checksum [2023-05-16T20:59:44.887Z] 4d19c01a9841: Download complete [2023-05-16T20:59:44.887Z] f56be85fc22e: Verifying Checksum [2023-05-16T20:59:44.887Z] f56be85fc22e: Download complete [2023-05-16T20:59:44.887Z] 9325e15d5711: Verifying Checksum [2023-05-16T20:59:44.887Z] 9325e15d5711: Download complete [2023-05-16T20:59:44.887Z] f56be85fc22e: Pull complete [2023-05-16T20:59:45.147Z] 85791d961cd3: Pull complete [2023-05-16T20:59:45.406Z] d694b5ae8c79: Verifying Checksum [2023-05-16T20:59:45.406Z] d694b5ae8c79: Download complete [2023-05-16T20:59:45.406Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T20:59:45.406Z] c5a4b2cf53e6: Download complete [2023-05-16T20:59:45.664Z] 556b6ee489ea: Verifying Checksum [2023-05-16T20:59:45.664Z] 556b6ee489ea: Download complete [2023-05-16T20:59:48.949Z] d694b5ae8c79: Pull complete [2023-05-16T20:59:48.949Z] 9f32a84ed3da: Pull complete [2023-05-16T20:59:48.949Z] 4d19c01a9841: Pull complete [2023-05-16T20:59:48.949Z] 9325e15d5711: Pull complete [2023-05-16T20:59:51.492Z] 556b6ee489ea: Pull complete [2023-05-16T20:59:52.060Z] c5a4b2cf53e6: Pull complete [2023-05-16T20:59:52.060Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T20:59:52.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T20:59:52.060Z] ---> c4be618373d6 [2023-05-16T20:59:52.060Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T20:59:55.354Z] ---> Running in 6d64697374fd [2023-05-16T20:59:55.354Z] Removing intermediate container 6d64697374fd [2023-05-16T20:59:55.354Z] ---> 695d4704350b [2023-05-16T20:59:55.354Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T20:59:55.354Z] ---> Running in eb2faf4a687c [2023-05-16T20:59:55.354Z] Removing intermediate container eb2faf4a687c [2023-05-16T20:59:55.354Z] ---> 87f5d4019337 [2023-05-16T20:59:55.354Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T20:59:55.354Z] ---> Running in 14561e905fff [2023-05-16T20:59:55.614Z] Removing intermediate container 14561e905fff [2023-05-16T20:59:55.614Z] ---> f606eff07d82 [2023-05-16T20:59:55.614Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T20:59:55.614Z] ---> Running in 3b48fe28a725 [2023-05-16T20:59:55.614Z] Removing intermediate container 3b48fe28a725 [2023-05-16T20:59:55.614Z] ---> e547c091ae88 [2023-05-16T20:59:55.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T20:59:55.614Z] ---> Running in 1b2f3cb307f0 [2023-05-16T20:59:55.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T20:59:56.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T20:59:56.133Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T20:59:56.133Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T20:59:56.133Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T20:59:56.133Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T20:59:56.133Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T20:59:56.133Z] OK: 269 MiB in 57 packages [2023-05-16T20:59:56.703Z] Removing intermediate container 1b2f3cb307f0 [2023-05-16T20:59:56.703Z] ---> cd055dfec1b4 [2023-05-16T20:59:56.703Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T20:59:56.703Z] ---> Running in 20914e0a161a [2023-05-16T20:59:56.703Z] Removing intermediate container 20914e0a161a [2023-05-16T20:59:56.703Z] ---> 9946340c841f [2023-05-16T20:59:56.703Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T20:59:56.963Z] ---> 33604b0885c4 [2023-05-16T20:59:56.963Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T20:59:56.963Z] ---> Running in 2a9a43d90414 [2023-05-16T20:59:57.750Z] Still waiting to schedule task [2023-05-16T20:59:57.751Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-16T21:00:23.517Z] Removing intermediate container 2a9a43d90414 [2023-05-16T21:00:23.517Z] ---> 5e6f5bca5184 [2023-05-16T21:00:23.517Z] Step 11/12 : COPY . . [2023-05-16T21:00:23.517Z] ---> 9640c09d101b [2023-05-16T21:00:23.517Z] Step 12/12 : RUN $MAKE [2023-05-16T21:00:23.517Z] ---> Running in d892a5b09fdd [2023-05-16T21:00:23.517Z] noop [2023-05-16T21:00:23.517Z] Removing intermediate container d892a5b09fdd [2023-05-16T21:00:23.517Z] ---> e30d20642ff3 [2023-05-16T21:00:23.517Z] Successfully built e30d20642ff3 [2023-05-16T21:00:23.517Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:00:23.989Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T21:00:23.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:00:24.146Z] prd-ubuntu20.04-docker-8c-8g-15778 does not seem to be running inside a container [2023-05-16T21:00:24.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-320 -v /w/workspace/gexfoundry_device-rest-go_PR-320:/w/workspace/gexfoundry_device-rest-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-320@tmp:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T21:00:24.533Z] $ docker top d1117968027040670dc292d9c1aa2e820b0d75048f5b84c838ab1d6c99019de2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T21:00:24.928Z] + go version [2023-05-16T21:00:24.928Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T21:00:24.963Z] $ docker stop --time=1 d1117968027040670dc292d9c1aa2e820b0d75048f5b84c838ab1d6c99019de2 [2023-05-16T21:00:26.222Z] $ docker rm -f --volumes d1117968027040670dc292d9c1aa2e820b0d75048f5b84c838ab1d6c99019de2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:00:26.949Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T21:00:26.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:00:27.106Z] prd-ubuntu20.04-docker-8c-8g-15778 does not seem to be running inside a container [2023-05-16T21:00:27.142Z] $ 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-320 -v /w/workspace/gexfoundry_device-rest-go_PR-320:/w/workspace/gexfoundry_device-rest-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-320@tmp:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T21:00:27.479Z] $ docker top 542bedf85742697717ed6f21573c8cf2b3f55e455607de3e62f78fa82705b417 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T21:00:27.869Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-320 [Pipeline] fileExists [Pipeline] sh [2023-05-16T21:00:28.227Z] + make test [2023-05-16T21:00:28.227Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T21:00:33.500Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T21:00:43.470Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T21:00:43.470Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements [2023-05-16T21:00:50.031Z] go vet ./... [2023-05-16T21:00:53.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T21:00:53.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T21:00:53.313Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T21:00:53.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T21:00:53.399Z] $ docker stop --time=1 542bedf85742697717ed6f21573c8cf2b3f55e455607de3e62f78fa82705b417 [2023-05-16T21:00:56.474Z] $ docker rm -f --volumes 542bedf85742697717ed6f21573c8cf2b3f55e455607de3e62f78fa82705b417 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T21:00:56.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T21:00:57.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T21:00:57.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T21:00:58.174Z] + ls -al . [2023-05-16T21:00:58.174Z] total 184 [2023-05-16T21:00:58.174Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 21:00 . [2023-05-16T21:00:58.174Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 20:59 .. [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 20:59 .dockerignore [2023-05-16T21:00:58.174Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 20:59 .git [2023-05-16T21:00:58.174Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:59 .github [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 20:59 .gitignore [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 20:59 .golangci.yml [2023-05-16T21:00:58.174Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 20:59 .semver [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 20:59 Attribution.txt [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 20:59 CHANGELOG.md [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 20:59 Dockerfile [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 20:59 GOVERNANCE.md [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 20:59 Jenkinsfile [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 20:59 LICENSE [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 20:59 Makefile [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 20:59 OWNERS.md [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 20:59 README.md [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 20:59 VERSION [2023-05-16T21:00:58.174Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:59 bin [2023-05-16T21:00:58.174Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 20:59 cmd [2023-05-16T21:00:58.174Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 21:00 coverage.out [2023-05-16T21:00:58.174Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 20:59 driver [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 20:59 go.mod [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 20:59 go.sum [2023-05-16T21:00:58.174Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 20:59 snap [2023-05-16T21:00:58.174Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:00:58.557Z] + 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=ca413b70f2f20eb82d45b437542ab34fafcfccf0 --label arch=amd64 --label version=0.0.0 . [2023-05-16T21:00:58.557Z] Sending build context to Docker daemon 10.94MB [2023-05-16T21:00:58.557Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T21:00:58.557Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T21:00:58.557Z] ---> e30d20642ff3 [2023-05-16T21:00:58.557Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T21:00:58.557Z] ---> Running in 8a00fa074941 [2023-05-16T21:00:58.817Z] Removing intermediate container 8a00fa074941 [2023-05-16T21:00:58.817Z] ---> f871ec4a6575 [2023-05-16T21:00:58.817Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T21:00:58.817Z] ---> Running in 91da3bbfd0b0 [2023-05-16T21:00:58.817Z] Removing intermediate container 91da3bbfd0b0 [2023-05-16T21:00:58.817Z] ---> 6a4dcfe91cc2 [2023-05-16T21:00:58.817Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T21:00:58.817Z] ---> Running in 3ca14d9edba9 [2023-05-16T21:00:58.817Z] Removing intermediate container 3ca14d9edba9 [2023-05-16T21:00:58.817Z] ---> 32374a61f01c [2023-05-16T21:00:58.817Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T21:00:58.817Z] ---> Running in 4126e8d27818 [2023-05-16T21:00:59.075Z] Removing intermediate container 4126e8d27818 [2023-05-16T21:00:59.075Z] ---> 9e919a104cec [2023-05-16T21:00:59.075Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T21:00:59.075Z] ---> Running in 642ccf5ef8b8 [2023-05-16T21:00:59.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T21:00:59.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T21:00:59.591Z] OK: 269 MiB in 57 packages [2023-05-16T21:00:59.849Z] Removing intermediate container 642ccf5ef8b8 [2023-05-16T21:00:59.849Z] ---> d37f9d7da84b [2023-05-16T21:00:59.849Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T21:00:59.849Z] ---> Running in f405c1dcb33e [2023-05-16T21:01:00.109Z] Removing intermediate container f405c1dcb33e [2023-05-16T21:01:00.109Z] ---> aa1537e08367 [2023-05-16T21:01:00.109Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T21:01:00.109Z] ---> e8219b617d3b [2023-05-16T21:01:00.109Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T21:01:00.109Z] ---> Running in 50a805404670 [2023-05-16T21:01:01.155Z] Removing intermediate container 50a805404670 [2023-05-16T21:01:01.155Z] ---> 0c1fd970e609 [2023-05-16T21:01:01.155Z] Step 11/25 : COPY . . [2023-05-16T21:01:01.416Z] ---> 9e2229bda3c4 [2023-05-16T21:01:01.416Z] Step 12/25 : RUN $MAKE [2023-05-16T21:01:01.416Z] ---> Running in a8d05972da07 [2023-05-16T21:01:01.679Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-16T21:01:19.770Z] Removing intermediate container a8d05972da07 [2023-05-16T21:01:19.770Z] ---> 0e51572a9a20 [2023-05-16T21:01:19.770Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T21:01:20.028Z] 3.17: Pulling from library/alpine [2023-05-16T21:01:20.286Z] f56be85fc22e: Already exists [2023-05-16T21:01:20.286Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T21:01:20.286Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T21:01:20.286Z] ---> 9ed4aefc74f6 [2023-05-16T21:01:20.286Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T21:01:20.286Z] ---> Running in 9705a6fdd9d0 [2023-05-16T21:01:20.545Z] Removing intermediate container 9705a6fdd9d0 [2023-05-16T21:01:20.545Z] ---> 82eb8f5721b4 [2023-05-16T21:01:20.545Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T21:01:20.545Z] ---> Running in eeec5a3481a6 [2023-05-16T21:01:20.545Z] Removing intermediate container eeec5a3481a6 [2023-05-16T21:01:20.545Z] ---> 3b99025a68d9 [2023-05-16T21:01:20.545Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T21:01:20.545Z] ---> Running in 6230e3f9a2b0 [2023-05-16T21:01:20.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T21:01:21.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T21:01:21.321Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T21:01:21.321Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T21:01:21.321Z] OK: 7 MiB in 16 packages [2023-05-16T21:01:21.579Z] Removing intermediate container 6230e3f9a2b0 [2023-05-16T21:01:21.579Z] ---> f8bcaf2fd370 [2023-05-16T21:01:21.579Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T21:01:22.514Z] ---> 4530c22eec5e [2023-05-16T21:01:22.514Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T21:01:22.773Z] ---> d0d5b1e4bcf0 [2023-05-16T21:01:22.773Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T21:01:22.773Z] ---> 2ad1fccdebb0 [2023-05-16T21:01:22.773Z] Step 20/25 : EXPOSE 59986 [2023-05-16T21:01:22.773Z] ---> Running in e406327362af [2023-05-16T21:01:22.773Z] Removing intermediate container e406327362af [2023-05-16T21:01:22.773Z] ---> 4f59a0387250 [2023-05-16T21:01:22.773Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T21:01:22.773Z] ---> Running in 97cf904b193e [2023-05-16T21:01:23.032Z] Removing intermediate container 97cf904b193e [2023-05-16T21:01:23.032Z] ---> 58568a834748 [2023-05-16T21:01:23.032Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T21:01:23.032Z] ---> Running in cf925144a6bb [2023-05-16T21:01:23.032Z] Removing intermediate container cf925144a6bb [2023-05-16T21:01:23.032Z] ---> ad084cd5d31c [2023-05-16T21:01:23.032Z] Step 23/25 : LABEL arch=amd64 [2023-05-16T21:01:23.032Z] ---> Running in 9eedb5296b62 [2023-05-16T21:01:23.032Z] Removing intermediate container 9eedb5296b62 [2023-05-16T21:01:23.032Z] ---> 3e4f96ce574b [2023-05-16T21:01:23.032Z] Step 24/25 : LABEL git_sha=ca413b70f2f20eb82d45b437542ab34fafcfccf0 [2023-05-16T21:01:23.032Z] ---> Running in 57502ee517a3 [2023-05-16T21:01:23.291Z] Removing intermediate container 57502ee517a3 [2023-05-16T21:01:23.291Z] ---> 41d01c9f7c64 [2023-05-16T21:01:23.291Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T21:01:23.291Z] ---> Running in 80a9ceaf9ef9 [2023-05-16T21:01:23.291Z] Removing intermediate container 80a9ceaf9ef9 [2023-05-16T21:01:23.291Z] ---> dab010217f6f [2023-05-16T21:01:23.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T21:01:23.291Z] Successfully built dab010217f6f [2023-05-16T21:01:23.291Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:01:24.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T21:01:24.191Z] [2023-05-16T21:01:24.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:01:24.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T21:01:24.570Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T21:01:24.570Z] 5eb5b503b376: Pulling fs layer [2023-05-16T21:01:24.570Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T21:01:24.570Z] ec43610c2a17: Pulling fs layer [2023-05-16T21:01:24.570Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T21:01:24.570Z] 33b1e0a273af: Pulling fs layer [2023-05-16T21:01:24.570Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T21:01:24.570Z] 2f39f015ded8: Pulling fs layer [2023-05-16T21:01:24.570Z] 33b1e0a273af: Waiting [2023-05-16T21:01:24.570Z] 5d3b04190fa2: Waiting [2023-05-16T21:01:24.570Z] 2f39f015ded8: Waiting [2023-05-16T21:01:24.570Z] 3a2ae6a8a46f: Waiting [2023-05-16T21:01:24.570Z] 5c69ac0246d0: Download complete [2023-05-16T21:01:24.570Z] 3a2ae6a8a46f: Download complete [2023-05-16T21:01:24.570Z] 33b1e0a273af: Verifying Checksum [2023-05-16T21:01:24.570Z] 33b1e0a273af: Download complete [2023-05-16T21:01:24.832Z] ec43610c2a17: Verifying Checksum [2023-05-16T21:01:24.832Z] ec43610c2a17: Download complete [2023-05-16T21:01:24.832Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T21:01:24.832Z] 5d3b04190fa2: Download complete [2023-05-16T21:01:24.832Z] 5eb5b503b376: Verifying Checksum [2023-05-16T21:01:24.832Z] 5eb5b503b376: Download complete [2023-05-16T21:01:25.400Z] 2f39f015ded8: Download complete [2023-05-16T21:01:25.972Z] 5eb5b503b376: Pull complete [2023-05-16T21:01:25.972Z] 5c69ac0246d0: Pull complete [2023-05-16T21:01:26.585Z] ec43610c2a17: Pull complete [2023-05-16T21:01:26.585Z] 3a2ae6a8a46f: Pull complete [2023-05-16T21:01:26.845Z] 33b1e0a273af: Pull complete [2023-05-16T21:01:26.845Z] 5d3b04190fa2: Pull complete [2023-05-16T21:01:31.031Z] 2f39f015ded8: Pull complete [2023-05-16T21:01:31.031Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T21:01:31.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T21:01:31.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:01:31.262Z] prd-ubuntu20.04-docker-8c-8g-15778 does not seem to be running inside a container [2023-05-16T21:01:31.290Z] $ 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-320 -v /w/workspace/gexfoundry_device-rest-go_PR-320:/w/workspace/gexfoundry_device-rest-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-320@tmp:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T21:01:34.039Z] $ docker top 21dfda43f301176439b80ed79dc8c475c918a12912e35dcb78c9a63cfc98224f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:01:34.529Z] ---> job-cost.sh [2023-05-16T21:01:34.529Z] lf-activate-venv: SKIPPING [2023-05-16T21:01:34.529Z] INFO: No Stack... [2023-05-16T21:01:34.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T21:01:35.047Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T21:01:35.359Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-320/archives/cost.csv [2023-05-16T21:01:35.359Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T21:01:35.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [2023-05-16T21:01:35.408Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] did not exist. Created. [2023-05-16T21:01:35.408Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T21:01:35.799Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T21:01:35.861Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T21:01:35.893Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T21:01:35.978Z] $ docker stop --time=1 21dfda43f301176439b80ed79dc8c475c918a12912e35dcb78c9a63cfc98224f [2023-05-16T21:01:36.103Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15779 in /w/workspace/gexfoundry_device-rest-go_PR-320 [2023-05-16T21:01:37.114Z] $ docker rm -f --volumes 21dfda43f301176439b80ed79dc8c475c918a12912e35dcb78c9a63cfc98224f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-05-16T21:01:37.306Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-16T21:01:37.380Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T21:01:42.895Z] using credential edgex-jenkins-ssh [2023-05-16T21:01:42.918Z] Cloning the remote Git repository [2023-05-16T21:01:42.972Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T21:01:43.072Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-16T21:01:43.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T21:01:43.232Z] > git --version # timeout=10 [2023-05-16T21:01:43.255Z] > git --version # 'git version 2.25.1' [2023-05-16T21:01:43.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T21:01:43.409Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T21:01:45.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T21:01:45.276Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T21:01:46.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-16T21:01:46.724Z] Merging remotes/origin/main commit 6a379586ffcd355aa503b0695be8055d1eb693b2 into PR head commit ca413b70f2f20eb82d45b437542ab34fafcfccf0 [2023-05-16T21:01:47.024Z] Merge succeeded, producing ca413b70f2f20eb82d45b437542ab34fafcfccf0 [2023-05-16T21:01:47.025Z] Checking out Revision ca413b70f2f20eb82d45b437542ab34fafcfccf0 (PR-320) [2023-05-16T21:01:47.541Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-16T21:01:46.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-16T21:01:46.210Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T21:01:46.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/320/head:refs/remotes/origin/PR-320 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T21:01:46.744Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T21:01:46.823Z] > git checkout -f ca413b70f2f20eb82d45b437542ab34fafcfccf0 # timeout=10 [2023-05-16T21:01:46.912Z] > git remote # timeout=10 [2023-05-16T21:01:46.932Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T21:01:46.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T21:01:46.979Z] > git merge 6a379586ffcd355aa503b0695be8055d1eb693b2 # timeout=10 [2023-05-16T21:01:47.007Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T21:01:47.031Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T21:01:47.054Z] > git checkout -f ca413b70f2f20eb82d45b437542ab34fafcfccf0 # timeout=10 [2023-05-16T21:01:47.593Z] > git --version # timeout=10 [2023-05-16T21:01:47.608Z] > git --version # 'git version 2.25.1' [2023-05-16T21:01:47.622Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T21:01:48.811Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T21:01:48.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T21:01:48.811Z] Dload Upload Total Spent Left Speed [2023-05-16T21:01:48.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-05-16T21:01:49.520Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T21:01:49.869Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-05-16T21:01:49.869Z] /etc/docker/daemon.new [2023-05-16T21:01:49.869Z] { [2023-05-16T21:01:49.869Z] "registry-mirrors": [ [2023-05-16T21:01:49.869Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T21:01:49.869Z] ], [2023-05-16T21:01:49.869Z] "bip": "10.250.0.254/24", [2023-05-16T21:01:49.869Z] "hosts": [ [2023-05-16T21:01:49.869Z] "tcp://0.0.0.0:5555", [2023-05-16T21:01:49.869Z] "unix:///var/run/docker.sock" [2023-05-16T21:01:49.869Z] ], [2023-05-16T21:01:49.869Z] "mtu": 1458, [2023-05-16T21:01:49.869Z] "selinux-enabled": true, [2023-05-16T21:01:49.869Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T21:01:49.869Z] } [Pipeline] sh [2023-05-16T21:01:50.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T21:01:50.575Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T21:02:08.893Z] provisioning config files... [2023-05-16T21:02:08.920Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7777438157755335718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:02:09.306Z] ---> docker-login.sh [2023-05-16T21:02:09.306Z] nexus3.edgexfoundry.org:10001 [2023-05-16T21:02:09.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T21:02:09.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T21:02:09.894Z] Configure a credential helper to remove this warning. See [2023-05-16T21:02:09.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T21:02:09.894Z] [2023-05-16T21:02:09.894Z] Login Succeeded [2023-05-16T21:02:09.894Z] nexus3.edgexfoundry.org:10002 [2023-05-16T21:02:10.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T21:02:10.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T21:02:10.164Z] Configure a credential helper to remove this warning. See [2023-05-16T21:02:10.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T21:02:10.164Z] [2023-05-16T21:02:10.164Z] Login Succeeded [2023-05-16T21:02:10.164Z] nexus3.edgexfoundry.org:10003 [2023-05-16T21:02:10.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T21:02:10.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T21:02:10.703Z] Configure a credential helper to remove this warning. See [2023-05-16T21:02:10.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T21:02:10.703Z] [2023-05-16T21:02:10.703Z] Login Succeeded [2023-05-16T21:02:10.703Z] nexus3.edgexfoundry.org:10004 [2023-05-16T21:02:10.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T21:02:10.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T21:02:10.972Z] Configure a credential helper to remove this warning. See [2023-05-16T21:02:10.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T21:02:10.972Z] [2023-05-16T21:02:10.972Z] Login Succeeded [2023-05-16T21:02:10.972Z] docker.io [2023-05-16T21:02:11.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T21:02:11.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T21:02:11.511Z] Configure a credential helper to remove this warning. See [2023-05-16T21:02:11.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T21:02:11.511Z] [2023-05-16T21:02:11.511Z] Login Succeeded [2023-05-16T21:02:11.511Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T21:02:11.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T21:02:11.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T21:02:11.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T21:02:11.996Z] ========================================================= [2023-05-16T21:02:11.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T21:02:11.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:02:12.505Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T21:02:12.506Z] Sending build context to Docker daemon 139.3kB [2023-05-16T21:02:12.776Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T21:02:12.776Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T21:02:12.776Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T21:02:12.776Z] c41833b44d91: Pulling fs layer [2023-05-16T21:02:12.776Z] ed15518f5707: Pulling fs layer [2023-05-16T21:02:12.776Z] feae8fd75edb: Pulling fs layer [2023-05-16T21:02:12.776Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T21:02:12.776Z] 3cdef696dda3: Pulling fs layer [2023-05-16T21:02:12.776Z] 2ced38df9373: Pulling fs layer [2023-05-16T21:02:12.776Z] 58f1dce35555: Pulling fs layer [2023-05-16T21:02:12.776Z] 3cdef696dda3: Waiting [2023-05-16T21:02:12.776Z] 2ced38df9373: Waiting [2023-05-16T21:02:12.776Z] 242c74f7c9fa: Waiting [2023-05-16T21:02:12.776Z] 58f1dce35555: Waiting [2023-05-16T21:02:13.046Z] ed15518f5707: Verifying Checksum [2023-05-16T21:02:13.046Z] ed15518f5707: Download complete [2023-05-16T21:02:13.046Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T21:02:13.046Z] 242c74f7c9fa: Download complete [2023-05-16T21:02:13.046Z] 3cdef696dda3: Download complete [2023-05-16T21:02:13.046Z] c41833b44d91: Verifying Checksum [2023-05-16T21:02:13.046Z] c41833b44d91: Download complete [2023-05-16T21:02:14.023Z] c41833b44d91: Pull complete [2023-05-16T21:02:14.294Z] 58f1dce35555: Verifying Checksum [2023-05-16T21:02:14.294Z] 58f1dce35555: Download complete [2023-05-16T21:02:15.265Z] feae8fd75edb: Verifying Checksum [2023-05-16T21:02:15.265Z] feae8fd75edb: Download complete [2023-05-16T21:02:15.532Z] 2ced38df9373: Verifying Checksum [2023-05-16T21:02:15.532Z] 2ced38df9373: Download complete [2023-05-16T21:02:16.117Z] ed15518f5707: Pull complete [2023-05-16T21:02:26.323Z] feae8fd75edb: Pull complete [2023-05-16T21:02:26.323Z] 242c74f7c9fa: Pull complete [2023-05-16T21:02:26.591Z] 3cdef696dda3: Pull complete [2023-05-16T21:02:33.249Z] 2ced38df9373: Pull complete [2023-05-16T21:02:34.217Z] 58f1dce35555: Pull complete [2023-05-16T21:02:34.217Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T21:02:34.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T21:02:34.217Z] ---> fadd8f120f05 [2023-05-16T21:02:34.217Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T21:02:36.181Z] ---> Running in 5345d37ee3ec [2023-05-16T21:02:36.181Z] Removing intermediate container 5345d37ee3ec [2023-05-16T21:02:36.181Z] ---> 7b06e7d5f644 [2023-05-16T21:02:36.181Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T21:02:36.455Z] ---> Running in 98c01360e347 [2023-05-16T21:02:36.726Z] Removing intermediate container 98c01360e347 [2023-05-16T21:02:36.726Z] ---> eac50ffc8335 [2023-05-16T21:02:36.726Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T21:02:36.726Z] ---> Running in a708a2057bd4 [2023-05-16T21:02:36.994Z] Removing intermediate container a708a2057bd4 [2023-05-16T21:02:36.994Z] ---> 72e50ff147ad [2023-05-16T21:02:36.994Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T21:02:37.264Z] ---> Running in 58c174933728 [2023-05-16T21:02:37.535Z] Removing intermediate container 58c174933728 [2023-05-16T21:02:37.535Z] ---> 8ddb29f19714 [2023-05-16T21:02:37.535Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T21:02:37.535Z] ---> Running in e09422b97d81 [2023-05-16T21:02:38.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T21:02:39.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T21:02:40.499Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T21:02:40.499Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T21:02:40.499Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T21:02:40.499Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T21:02:40.499Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T21:02:40.499Z] OK: 268 MiB in 57 packages [2023-05-16T21:02:41.466Z] Removing intermediate container e09422b97d81 [2023-05-16T21:02:41.466Z] ---> 79bf4c1b03a6 [2023-05-16T21:02:41.466Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-16T21:02:41.466Z] ---> Running in 970f5c9e029d [2023-05-16T21:02:41.741Z] Removing intermediate container 970f5c9e029d [2023-05-16T21:02:41.741Z] ---> 4ab887a14873 [2023-05-16T21:02:41.741Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T21:02:42.354Z] ---> 3bb59fe43413 [2023-05-16T21:02:42.354Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T21:02:42.354Z] ---> Running in 68641ee6bc31 [2023-05-16T21:03:50.262Z] Removing intermediate container 68641ee6bc31 [2023-05-16T21:03:50.262Z] ---> 25176add55ba [2023-05-16T21:03:50.262Z] Step 11/12 : COPY . . [2023-05-16T21:03:50.262Z] ---> 0c48a4efeedc [2023-05-16T21:03:50.262Z] Step 12/12 : RUN $MAKE [2023-05-16T21:03:50.262Z] ---> Running in 44e872a0afb3 [2023-05-16T21:03:50.262Z] noop [2023-05-16T21:03:50.262Z] Removing intermediate container 44e872a0afb3 [2023-05-16T21:03:50.262Z] ---> 5f53488922b9 [2023-05-16T21:03:50.262Z] Successfully built 5f53488922b9 [2023-05-16T21:03:50.262Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:03:50.743Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T21:03:50.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:03:51.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-15779 does not seem to be running inside a container [2023-05-16T21:03:51.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T21:03:52.348Z] $ docker top f61757c6cb7a81bc24acfee57fc27f6fb6568e5ee3754cf913b83c01dc012f9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T21:03:53.244Z] + go version [2023-05-16T21:03:53.244Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T21:03:53.280Z] $ docker stop --time=1 f61757c6cb7a81bc24acfee57fc27f6fb6568e5ee3754cf913b83c01dc012f9d [2023-05-16T21:03:54.921Z] $ docker rm -f --volumes f61757c6cb7a81bc24acfee57fc27f6fb6568e5ee3754cf913b83c01dc012f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:03:55.798Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T21:03:55.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:03:56.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-15779 does not seem to be running inside a container [2023-05-16T21:03:56.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T21:03:57.212Z] $ docker top af820c1c204dacb2027496a5b2d8e40c29b4014c2b60aaa8f3fc02c954482567 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T21:03:58.090Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T21:03:58.491Z] + make test [2023-05-16T21:03:58.762Z] go test ./... -coverprofile=coverage.out ./... [2023-05-16T21:04:31.002Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-16T21:06:22.685Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-16T21:06:22.685Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 32.2% of statements [2023-05-16T21:06:22.685Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T21:06:22.685Z] go vet ./... [2023-05-16T21:06:44.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T21:06:44.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T21:06:44.775Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T21:06:44.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T21:06:44.844Z] $ docker stop --time=1 af820c1c204dacb2027496a5b2d8e40c29b4014c2b60aaa8f3fc02c954482567 [2023-05-16T21:06:46.615Z] $ docker rm -f --volumes af820c1c204dacb2027496a5b2d8e40c29b4014c2b60aaa8f3fc02c954482567 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T21:06:47.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T21:06:47.855Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T21:06:48.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T21:06:48.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T21:06:49.247Z] + ls -al . [2023-05-16T21:06:49.247Z] total 180 [2023-05-16T21:06:49.247Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 21:04 . [2023-05-16T21:06:49.247Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 21:01 .. [2023-05-16T21:06:49.247Z] -rw-rw-r-- 1 jenkins jenkins 151 May 16 21:01 .dockerignore [2023-05-16T21:06:49.248Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 21:01 .git [2023-05-16T21:06:49.248Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 21:01 .github [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 329 May 16 21:01 .gitignore [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 21:01 .golangci.yml [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 16 21:01 Attribution.txt [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 16 21:01 CHANGELOG.md [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 16 21:01 Dockerfile [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 21:01 GOVERNANCE.md [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 680 May 16 21:01 Jenkinsfile [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 21:01 LICENSE [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 16 21:01 Makefile [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 21:01 OWNERS.md [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 16 21:01 README.md [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 20:59 VERSION [2023-05-16T21:06:49.248Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 21:01 bin [2023-05-16T21:06:49.248Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 21:01 cmd [2023-05-16T21:06:49.248Z] -rw-r--r-- 1 jenkins jenkins 14663 May 16 21:06 coverage.out [2023-05-16T21:06:49.248Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 21:01 driver [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 16 21:01 go.mod [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 16 21:01 go.sum [2023-05-16T21:06:49.248Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 21:01 snap [2023-05-16T21:06:49.248Z] -rw-rw-r-- 1 jenkins jenkins 713 May 16 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:06:49.675Z] + 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=ca413b70f2f20eb82d45b437542ab34fafcfccf0 --label arch=arm64 --label version=0.0.0 . [2023-05-16T21:06:49.675Z] Sending build context to Docker daemon 154.6kB [2023-05-16T21:06:49.944Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T21:06:49.944Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-16T21:06:49.944Z] ---> 5f53488922b9 [2023-05-16T21:06:49.944Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-16T21:06:49.944Z] ---> Running in 033c8a61c9b3 [2023-05-16T21:06:50.212Z] Removing intermediate container 033c8a61c9b3 [2023-05-16T21:06:50.212Z] ---> 3dd02e316908 [2023-05-16T21:06:50.212Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T21:06:50.212Z] ---> Running in 18c819ffe3c8 [2023-05-16T21:06:50.482Z] Removing intermediate container 18c819ffe3c8 [2023-05-16T21:06:50.482Z] ---> 2f839350cfa9 [2023-05-16T21:06:50.482Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T21:06:50.763Z] ---> Running in 14e880cf6792 [2023-05-16T21:06:51.030Z] Removing intermediate container 14e880cf6792 [2023-05-16T21:06:51.030Z] ---> bd8c5adcaafd [2023-05-16T21:06:51.030Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T21:06:51.030Z] ---> Running in 384c6114e855 [2023-05-16T21:06:51.297Z] Removing intermediate container 384c6114e855 [2023-05-16T21:06:51.297Z] ---> df1ab49b4f37 [2023-05-16T21:06:51.297Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T21:06:51.297Z] ---> Running in 6a900b9835a7 [2023-05-16T21:06:52.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T21:06:52.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T21:06:53.811Z] OK: 268 MiB in 57 packages [2023-05-16T21:06:54.397Z] Removing intermediate container 6a900b9835a7 [2023-05-16T21:06:54.397Z] ---> 6f9f3be4edc2 [2023-05-16T21:06:54.397Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-16T21:06:54.397Z] ---> Running in e97d9b2e98d9 [2023-05-16T21:06:54.984Z] Removing intermediate container e97d9b2e98d9 [2023-05-16T21:06:54.984Z] ---> a1bc16eb8cab [2023-05-16T21:06:54.984Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-16T21:06:55.256Z] ---> aabaa5ce8194 [2023-05-16T21:06:55.256Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T21:06:55.256Z] ---> Running in 3536054d2713 [2023-05-16T21:06:58.715Z] Removing intermediate container 3536054d2713 [2023-05-16T21:06:58.715Z] ---> 2a54ec78f391 [2023-05-16T21:06:58.715Z] Step 11/25 : COPY . . [2023-05-16T21:06:59.304Z] ---> e8cfc82029d8 [2023-05-16T21:06:59.304Z] Step 12/25 : RUN $MAKE [2023-05-16T21:06:59.304Z] ---> Running in c443821bb011 [2023-05-16T21:07:00.388Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-16T21:09:07.120Z] Removing intermediate container c443821bb011 [2023-05-16T21:09:07.120Z] ---> 99e30b235747 [2023-05-16T21:09:07.120Z] Step 13/25 : FROM alpine:3.17 [2023-05-16T21:09:07.120Z] 3.17: Pulling from library/alpine [2023-05-16T21:09:07.120Z] c41833b44d91: Already exists [2023-05-16T21:09:07.120Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T21:09:07.120Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T21:09:07.120Z] ---> 51e60588ff2c [2023-05-16T21:09:07.120Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T21:09:07.120Z] ---> Running in 039acf9106ff [2023-05-16T21:09:07.120Z] Removing intermediate container 039acf9106ff [2023-05-16T21:09:07.120Z] ---> 52c9282b2f09 [2023-05-16T21:09:07.120Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-16T21:09:07.120Z] ---> Running in 21f64e22ef0c [2023-05-16T21:09:07.120Z] Removing intermediate container 21f64e22ef0c [2023-05-16T21:09:07.120Z] ---> bdfb217e6af7 [2023-05-16T21:09:07.120Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-16T21:09:07.120Z] ---> Running in e12e9c525fae [2023-05-16T21:09:07.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T21:09:07.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T21:09:07.120Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T21:09:07.120Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T21:09:07.120Z] OK: 8 MiB in 16 packages [2023-05-16T21:09:07.120Z] Removing intermediate container e12e9c525fae [2023-05-16T21:09:07.120Z] ---> 5b1168ade5a1 [2023-05-16T21:09:07.120Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-16T21:09:07.120Z] ---> 735f308437a7 [2023-05-16T21:09:07.120Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-16T21:09:07.120Z] ---> 89fe9e0623b0 [2023-05-16T21:09:07.121Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-16T21:09:07.121Z] ---> beb2f4954c3b [2023-05-16T21:09:07.121Z] Step 20/25 : EXPOSE 59986 [2023-05-16T21:09:07.121Z] ---> Running in 277053c176e5 [2023-05-16T21:09:07.391Z] Removing intermediate container 277053c176e5 [2023-05-16T21:09:07.391Z] ---> afef0ea962fb [2023-05-16T21:09:07.391Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-16T21:09:07.660Z] ---> Running in 0f22c22b4ca1 [2023-05-16T21:09:07.928Z] Removing intermediate container 0f22c22b4ca1 [2023-05-16T21:09:07.928Z] ---> decd9738cd3b [2023-05-16T21:09:07.928Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-16T21:09:07.928Z] ---> Running in 95f06085ed29 [2023-05-16T21:09:08.196Z] Removing intermediate container 95f06085ed29 [2023-05-16T21:09:08.196Z] ---> db3519fb6081 [2023-05-16T21:09:08.196Z] Step 23/25 : LABEL arch=arm64 [2023-05-16T21:09:08.196Z] ---> Running in 2201ed6bd28d [2023-05-16T21:09:08.462Z] Removing intermediate container 2201ed6bd28d [2023-05-16T21:09:08.462Z] ---> ba18804c94f7 [2023-05-16T21:09:08.462Z] Step 24/25 : LABEL git_sha=ca413b70f2f20eb82d45b437542ab34fafcfccf0 [2023-05-16T21:09:08.462Z] ---> Running in c42f1bf2f2db [2023-05-16T21:09:08.728Z] Removing intermediate container c42f1bf2f2db [2023-05-16T21:09:08.728Z] ---> 6d7049c97e11 [2023-05-16T21:09:08.728Z] Step 25/25 : LABEL version=0.0.0 [2023-05-16T21:09:09.000Z] ---> Running in f8e01ceb977f [2023-05-16T21:09:09.269Z] Removing intermediate container f8e01ceb977f [2023-05-16T21:09:09.269Z] ---> 8769919ef507 [2023-05-16T21:09:09.269Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T21:09:09.269Z] Successfully built 8769919ef507 [2023-05-16T21:09:09.269Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:09:10.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T21:09:10.158Z] [2023-05-16T21:09:10.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:09:10.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T21:09:10.582Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T21:09:10.582Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T21:09:10.582Z] 04944245beec: Pulling fs layer [2023-05-16T21:09:10.582Z] 699f458cf7ca: Pulling fs layer [2023-05-16T21:09:10.582Z] 765212b225bb: Pulling fs layer [2023-05-16T21:09:10.582Z] f23df028b6ca: Pulling fs layer [2023-05-16T21:09:10.582Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T21:09:10.582Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T21:09:10.582Z] f23df028b6ca: Waiting [2023-05-16T21:09:10.582Z] d65c8cfc05b1: Waiting [2023-05-16T21:09:10.582Z] 2437ff75d9bd: Waiting [2023-05-16T21:09:10.582Z] 765212b225bb: Waiting [2023-05-16T21:09:10.850Z] 04944245beec: Verifying Checksum [2023-05-16T21:09:10.850Z] 04944245beec: Download complete [2023-05-16T21:09:10.850Z] 765212b225bb: Verifying Checksum [2023-05-16T21:09:10.850Z] 765212b225bb: Download complete [2023-05-16T21:09:10.850Z] f23df028b6ca: Download complete [2023-05-16T21:09:10.850Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T21:09:10.850Z] d65c8cfc05b1: Download complete [2023-05-16T21:09:10.850Z] 699f458cf7ca: Verifying Checksum [2023-05-16T21:09:10.850Z] 699f458cf7ca: Download complete [2023-05-16T21:09:11.438Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T21:09:11.438Z] 8998bd30e6a1: Download complete [2023-05-16T21:09:13.383Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T21:09:13.383Z] 2437ff75d9bd: Download complete [2023-05-16T21:09:14.792Z] 8998bd30e6a1: Pull complete [2023-05-16T21:09:15.376Z] 04944245beec: Pull complete [2023-05-16T21:09:16.791Z] 699f458cf7ca: Pull complete [2023-05-16T21:09:16.791Z] 765212b225bb: Pull complete [2023-05-16T21:09:17.389Z] f23df028b6ca: Pull complete [2023-05-16T21:09:17.659Z] d65c8cfc05b1: Pull complete [2023-05-16T21:09:32.654Z] 2437ff75d9bd: Pull complete [2023-05-16T21:09:32.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T21:09:32.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T21:09:32.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:09:32.988Z] prd-ubuntu20.04-docker-arm64-4c-16g-15779 does not seem to be running inside a container [2023-05-16T21:09:33.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T21:09:35.534Z] $ docker top 7730f4183978f06502ae1e5f5b2b5d38c72459aa392b8b8b8e4d1469b3b55052 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:36.439Z] ---> job-cost.sh [2023-05-16T21:09:36.439Z] lf-activate-venv: SKIPPING [2023-05-16T21:09:36.439Z] INFO: No Stack... [2023-05-16T21:09:37.023Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T21:09:37.606Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T21:09:37.951Z] + cut -d,+ -f6 [2023-05-16T21:09:37.952Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-05-16T21:09:38.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [2023-05-16T21:09:38.283Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] did not exist. Created. [2023-05-16T21:09:38.283Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T21:09:38.699Z] /w/workspace/device-rest-go/1@tmp/durable-c9ea7581/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T21:09:39.318Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T21:09:39.357Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T21:09:39.399Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T21:09:39.414Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T21:09:39.475Z] $ docker stop --time=1 7730f4183978f06502ae1e5f5b2b5d38c72459aa392b8b8b8e4d1469b3b55052 [2023-05-16T21:09:40.953Z] $ docker rm -f --volumes 7730f4183978f06502ae1e5f5b2b5d38c72459aa392b8b8b8e4d1469b3b55052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-16T21:09:41.943Z] provisioning config files... [2023-05-16T21:09:41.951Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/config1737040222864207361tmp [Pipeline] { [Pipeline] sh [2023-05-16T21:09:42.298Z] + set +x [2023-05-16T21:09:42.298Z] + curl -s https://codecov.io/bash [2023-05-16T21:09:42.298Z] + bash -s -- [2023-05-16T21:09:42.298Z] [2023-05-16T21:09:42.298Z] _____ _ [2023-05-16T21:09:42.298Z] / ____| | | [2023-05-16T21:09:42.298Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T21:09:42.298Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T21:09:42.298Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T21:09:42.298Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T21:09:42.298Z] Bash-1.0.6 [2023-05-16T21:09:42.298Z] [2023-05-16T21:09:42.298Z] [2023-05-16T21:09:42.298Z] ==> git version 2.25.1 found [2023-05-16T21:09:42.298Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-16T21:09:42.298Z] Release-Date: 2020-01-08 [2023-05-16T21:09:42.298Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-16T21:09:42.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T21:09:42.298Z] ==> Jenkins CI detected. [2023-05-16T21:09:42.298Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-320 [2023-05-16T21:09:42.298Z] project root: . [2023-05-16T21:09:42.298Z] --> token set from env [2023-05-16T21:09:42.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T21:09:42.298Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T21:09:42.298Z] ==> Python coveragepy not found [2023-05-16T21:09:42.298Z] ==> Searching for coverage reports in: [2023-05-16T21:09:42.298Z] + . [2023-05-16T21:09:42.298Z] -> Found 1 reports [2023-05-16T21:09:42.298Z] ==> Detecting git/mercurial file structure [2023-05-16T21:09:42.298Z] ==> Reading reports [2023-05-16T21:09:42.558Z] + ./coverage.out bytes=14663 [2023-05-16T21:09:42.558Z] ==> Appending adjustments [2023-05-16T21:09:42.558Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T21:09:42.558Z] + Found adjustments [2023-05-16T21:09:42.558Z] ==> Gzipping contents [2023-05-16T21:09:42.558Z] 4.0K /tmp/codecov.hsDKMz.gz [2023-05-16T21:09:42.558Z] ==> Uploading reports [2023-05-16T21:09:42.558Z] url: https://codecov.io [2023-05-16T21:09:42.558Z] query: branch=PR-320&commit=ca413b70f2f20eb82d45b437542ab34fafcfccf0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=320&job=&cmd_args= [2023-05-16T21:09:42.558Z] -> Pinging Codecov [2023-05-16T21:09:42.558Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-320&commit=ca413b70f2f20eb82d45b437542ab34fafcfccf0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=320&job=&cmd_args= [2023-05-16T21:09:42.820Z] -> Uploading to [2023-05-16T21:09:42.820Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/ca413b70f2f20eb82d45b437542ab34fafcfccf0/3faba4f9-4b96-40f8-994d-67dad7eb6a8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T210942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=199462d609c8ef64017af0fdec7731955f7b1b71c4f5ee184a3ccb9a92fe0141 [2023-05-16T21:09:42.820Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T21:09:42.820Z] Dload Upload Total Spent Left Speed [2023-05-16T21:09:42.820Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10680 --:--:-- --:--:-- --:--:-- 10635 [2023-05-16T21:09:43.082Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ca413b70f2f20eb82d45b437542ab34fafcfccf0 [Pipeline] } [2023-05-16T21:09:43.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-16T21:09:44.821Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-320/archives ] [2023-05-16T21:09:44.821Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-320/archives [2023-05-16T21:09:44.821Z] total 16 [2023-05-16T21:09:44.821Z] drwxr-xr-x 3 root root 4096 May 16 21:01 . [2023-05-16T21:09:44.821Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 21:01 .. [2023-05-16T21:09:44.821Z] drwxr-xr-x 2 root root 4096 May 16 21:01 cost [2023-05-16T21:09:44.821Z] -rw-r--r-- 1 root root 86 May 16 21:01 cost.csv [2023-05-16T21:09:44.821Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-320/archives [2023-05-16T21:09:44.821Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-320/archives [2023-05-16T21:09:44.821Z] total 16 [2023-05-16T21:09:44.821Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 21:01 . [2023-05-16T21:09:44.821Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 21:01 .. [2023-05-16T21:09:44.821Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 21:01 cost [2023-05-16T21:09:44.821Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:45.148Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:46.038Z] ---> package-listing.sh [2023-05-16T21:09:46.038Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T21:09:46.038Z] ++ facter osfamily [2023-05-16T21:09:46.297Z] + OS_FAMILY=debian [2023-05-16T21:09:46.297Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-320 [2023-05-16T21:09:46.297Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T21:09:46.297Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T21:09:46.297Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T21:09:46.297Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T21:09:46.297Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-320 ']' [2023-05-16T21:09:46.297Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T21:09:46.297Z] + case "${OS_FAMILY}" in [2023-05-16T21:09:46.297Z] + dpkg -l [2023-05-16T21:09:46.297Z] + grep '^ii' [2023-05-16T21:09:46.297Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T21:09:46.297Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T21:09:46.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T21:09:46.297Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-320 ']' [2023-05-16T21:09:46.297Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-320/archives/ [2023-05-16T21:09:46.297Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-320/archives/ [Pipeline] echo [2023-05-16T21:09:46.325Z] 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-320/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T21:09:46.615Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T21:09:47.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T21:09:47.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T21:09:47.387Z] prd-ubuntu20.04-docker-8c-8g-15778 does not seem to be running inside a container [2023-05-16T21:09:47.411Z] $ 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-320/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-320 -v /w/workspace/gexfoundry_device-rest-go_PR-320:/w/workspace/gexfoundry_device-rest-go_PR-320:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-320@tmp:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T21:09:47.622Z] $ docker top 42fe75a1a223261cf5a160d0fa161713899676dbbb24f93c9bb6c05f381d51e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T21:09:48.007Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T21:09:48.319Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T21:09:48.638Z] + ls /var/log/sa-host [2023-05-16T21:09:48.638Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T21:09:48.872Z] provisioning config files... [2023-05-16T21:09:48.883Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-320@tmp/config5805379370307652484tmp [Pipeline] { [Pipeline] echo [2023-05-16T21:09:48.932Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:49.241Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T21:09:49.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:49.685Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T21:09:49.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:50.031Z] ---> sudo-logs.sh [2023-05-16T21:09:50.031Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T21:09:50.119Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:50.430Z] ---> job-cost.sh [2023-05-16T21:09:50.430Z] lf-activate-venv: SKIPPING [2023-05-16T21:09:50.430Z] DEBUG: total: 0.2199999988079071 [2023-05-16T21:09:50.430Z] INFO: Retrieving Stack Cost... [2023-05-16T21:09:50.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T21:09:51.258Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T21:09:51.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T21:09:51.606Z] ---> logs-deploy.sh [2023-05-16T21:09:51.606Z] lf-activate-venv: SKIPPING [2023-05-16T21:09:51.606Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-320/1 [2023-05-16T21:09:51.606Z] INFO: archiving workspace using pattern(s): [2023-05-16T21:09:52.542Z] Archives upload complete. [2023-05-16T21:09:52.802Z] INFO: archiving logs to Nexus [2023-05-16T21:09:53.371Z] ---> uname -a: [2023-05-16T21:09:53.371Z] Linux prd-ubuntu20-04-docker-8c-8g-15778 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-16T21:09:53.371Z] [2023-05-16T21:09:53.371Z] [2023-05-16T21:09:53.371Z] ---> lscpu: [2023-05-16T21:09:53.371Z] Architecture: x86_64 [2023-05-16T21:09:53.371Z] CPU op-mode(s): 32-bit, 64-bit [2023-05-16T21:09:53.371Z] Byte Order: Little Endian [2023-05-16T21:09:53.371Z] Address sizes: 40 bits physical, 48 bits virtual [2023-05-16T21:09:53.371Z] CPU(s): 8 [2023-05-16T21:09:53.371Z] On-line CPU(s) list: 0-7 [2023-05-16T21:09:53.371Z] Thread(s) per core: 1 [2023-05-16T21:09:53.371Z] Core(s) per socket: 1 [2023-05-16T21:09:53.371Z] Socket(s): 8 [2023-05-16T21:09:53.371Z] NUMA node(s): 1 [2023-05-16T21:09:53.371Z] Vendor ID: AuthenticAMD [2023-05-16T21:09:53.371Z] CPU family: 23 [2023-05-16T21:09:53.371Z] Model: 49 [2023-05-16T21:09:53.371Z] Model name: AMD EPYC-Rome Processor [2023-05-16T21:09:53.371Z] Stepping: 0 [2023-05-16T21:09:53.371Z] CPU MHz: 2799.998 [2023-05-16T21:09:53.371Z] BogoMIPS: 5599.99 [2023-05-16T21:09:53.371Z] Virtualization: AMD-V [2023-05-16T21:09:53.371Z] Hypervisor vendor: KVM [2023-05-16T21:09:53.371Z] Virtualization type: full [2023-05-16T21:09:53.371Z] L1d cache: 256 KiB [2023-05-16T21:09:53.371Z] L1i cache: 256 KiB [2023-05-16T21:09:53.371Z] L2 cache: 4 MiB [2023-05-16T21:09:53.371Z] L3 cache: 128 MiB [2023-05-16T21:09:53.371Z] NUMA node0 CPU(s): 0-7 [2023-05-16T21:09:53.371Z] Vulnerability Itlb multihit: Not affected [2023-05-16T21:09:53.371Z] Vulnerability L1tf: Not affected [2023-05-16T21:09:53.371Z] Vulnerability Mds: Not affected [2023-05-16T21:09:53.371Z] Vulnerability Meltdown: Not affected [2023-05-16T21:09:53.371Z] Vulnerability Mmio stale data: Not affected [2023-05-16T21:09:53.371Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-05-16T21:09:53.371Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-05-16T21:09:53.371Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-05-16T21:09:53.371Z] Vulnerability Srbds: Not affected [2023-05-16T21:09:53.371Z] Vulnerability Tsx async abort: Not affected [2023-05-16T21:09:53.371Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-05-16T21:09:53.371Z] [2023-05-16T21:09:53.371Z]