Pull request #337 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b10af917403d11f083c9e6f632079bdea01628c+57a7e4fe794bb86fec7da1c819e454c45e75ed90 (9262e42da2e51f61124f41a39bfa14570ed78b1e) 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-ssh18094947453015495041.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh9099980087965697497.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-337/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-337/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9131799510036523360.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-337/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4483626986267042753.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh14252804279115553874.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-337/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-337/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2109013284980302145.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5480’ Running on prd-ubuntu20.04-docker-8c-8g-5482 in /w/workspace/gexfoundry_device-rest-go_PR-337 [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-337 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 57a7e4fe794bb86fec7da1c819e454c45e75ed90 into PR head commit 5b10af917403d11f083c9e6f632079bdea01628c Merge succeeded, producing 5b10af917403d11f083c9e6f632079bdea01628c Checking out Revision 5b10af917403d11f083c9e6f632079bdea01628c (PR-337) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } > 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/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b10af917403d11f083c9e6f632079bdea01628c # 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 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b10af917403d11f083c9e6f632079bdea01628c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-06T20:49:07.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T20:49:07.305Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T20:49:07.408Z] ========================================================= [2023-09-06T20:49:07.408Z] EdgeX Global Pipelines Version Info [2023-09-06T20:49:07.408Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T20:49:08.167Z] ------------------- [2023-09-06T20:49:08.167Z] stable info: [2023-09-06T20:49:08.167Z] ------------------- [2023-09-06T20:49:08.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T20:49:08.167Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T20:49:08.167Z] Message: update stable to v1.0.253 [2023-09-06T20:49:08.739Z] ------------------- [2023-09-06T20:49:08.739Z] experimental info: [2023-09-06T20:49:08.739Z] ------------------- [2023-09-06T20:49:08.739Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T20:49:08.739Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T20:49:08.739Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T20:49:09.055Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-06T20:49:09.101Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-06T20:49:09.147Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T20:49:09.191Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T20:49:09.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T20:49:09.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T20:49:09.312Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T20:49:09.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-06T20:49:09.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T20:49:09.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T20:49:09.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T20:49:09.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-06T20:49:09.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T20:49:09.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T20:49:09.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T20:49:09.696Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T20:49:09.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T20:49:09.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T20:49:09.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T20:49:09.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T20:49:09.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-06T20:49:09.956Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-06T20:49:10.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T20:49:10.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T20:49:10.092Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T20:49:10.138Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T20:49:10.181Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T20:49:10.224Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo [2023-09-06T20:49:10.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo [2023-09-06T20:49:10.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo [2023-09-06T20:49:10.342Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b10af917403d11f083c9e6f632079bdea01628c [Pipeline] echo [2023-09-06T20:49:10.384Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b10af9 [Pipeline] echo [2023-09-06T20:49:10.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T20:49:10.551Z] provisioning config files... [2023-09-06T20:49:10.588Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/config14694702926707062846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T20:49:10.929Z] ---> docker-login.sh [2023-09-06T20:49:10.929Z] nexus3.edgexfoundry.org:10001 [2023-09-06T20:49:11.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:11.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:11.448Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:11.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:11.448Z] [2023-09-06T20:49:11.448Z] Login Succeeded [2023-09-06T20:49:11.448Z] nexus3.edgexfoundry.org:10002 [2023-09-06T20:49:11.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:11.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:11.448Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:11.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:11.448Z] [2023-09-06T20:49:11.448Z] Login Succeeded [2023-09-06T20:49:11.448Z] nexus3.edgexfoundry.org:10003 [2023-09-06T20:49:11.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:11.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:11.448Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:11.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:11.448Z] [2023-09-06T20:49:11.448Z] Login Succeeded [2023-09-06T20:49:11.448Z] nexus3.edgexfoundry.org:10004 [2023-09-06T20:49:11.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:11.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:11.707Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:11.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:11.707Z] [2023-09-06T20:49:11.707Z] Login Succeeded [2023-09-06T20:49:11.707Z] docker.io [2023-09-06T20:49:11.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:11.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:11.968Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:11.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:11.968Z] [2023-09-06T20:49:11.968Z] Login Succeeded [2023-09-06T20:49:11.968Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T20:49:11.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T20:49:12.621Z] + git rev-list -1 --merges 5b10af917403d11f083c9e6f632079bdea01628c~1..5b10af917403d11f083c9e6f632079bdea01628c [Pipeline] echo [2023-09-06T20:49:12.655Z] -----------> git rev-list -1 --merges 5b10af917403d11f083c9e6f632079bdea01628c~1..5b10af917403d11f083c9e6f632079bdea01628c 5b10af917403d11f083c9e6f632079bdea01628c [false] [Pipeline] sh [2023-09-06T20:49:12.959Z] + git log --format=format:%s -1 5b10af917403d11f083c9e6f632079bdea01628c [Pipeline] echo [2023-09-06T20:49:12.989Z] ========================================================= [2023-09-06T20:49:12.990Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T20:49:12.990Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T20:49:13.422Z] + git log --format=format:%s -1 5b10af917403d11f083c9e6f632079bdea01628c [Pipeline] echo [2023-09-06T20:49:13.453Z] [semverPrep] GIT_COMMIT: 5b10af917403d11f083c9e6f632079bdea01628c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-06T20:49:13.481Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T20:49:13.873Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T20:49:13.873Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T20:49:13.873Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T20:49:13.873Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T20:49:13.873Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T20:49:13.873Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T20:49:13.873Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:49:14.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T20:49:14.352Z] [2023-09-06T20:49:14.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:49:14.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T20:49:14.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T20:49:14.731Z] b85a868b505f: Pulling fs layer [2023-09-06T20:49:14.731Z] e2be974225ed: Pulling fs layer [2023-09-06T20:49:14.731Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T20:49:14.731Z] 988bab9f4d93: Pulling fs layer [2023-09-06T20:49:14.731Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T20:49:14.731Z] eaf3925da568: Pulling fs layer [2023-09-06T20:49:14.731Z] bab4dde63d76: Pulling fs layer [2023-09-06T20:49:14.731Z] bde34c3a00c8: Pulling fs layer [2023-09-06T20:49:14.731Z] b352a97aabf1: Pulling fs layer [2023-09-06T20:49:14.731Z] 4872d77fe225: Pulling fs layer [2023-09-06T20:49:14.731Z] 5851b861e8e6: Pulling fs layer [2023-09-06T20:49:14.731Z] 988bab9f4d93: Waiting [2023-09-06T20:49:14.731Z] 1469e6f7b9e6: Waiting [2023-09-06T20:49:14.731Z] eaf3925da568: Waiting [2023-09-06T20:49:14.731Z] b352a97aabf1: Waiting [2023-09-06T20:49:14.731Z] bab4dde63d76: Waiting [2023-09-06T20:49:14.731Z] bde34c3a00c8: Waiting [2023-09-06T20:49:14.731Z] 4872d77fe225: Waiting [2023-09-06T20:49:14.731Z] 5851b861e8e6: Waiting [2023-09-06T20:49:14.731Z] e2be974225ed: Download complete [2023-09-06T20:49:14.990Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T20:49:14.990Z] 1469e6f7b9e6: Download complete [2023-09-06T20:49:14.990Z] eaf3925da568: Download complete [2023-09-06T20:49:14.990Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T20:49:14.990Z] 339a4e72a1f5: Download complete [2023-09-06T20:49:14.990Z] bde34c3a00c8: Verifying Checksum [2023-09-06T20:49:14.990Z] bde34c3a00c8: Download complete [2023-09-06T20:49:14.990Z] b352a97aabf1: Verifying Checksum [2023-09-06T20:49:14.990Z] b352a97aabf1: Download complete [2023-09-06T20:49:14.990Z] 4872d77fe225: Verifying Checksum [2023-09-06T20:49:14.990Z] 4872d77fe225: Download complete [2023-09-06T20:49:14.990Z] 5851b861e8e6: Download complete [2023-09-06T20:49:14.990Z] b85a868b505f: Download complete [2023-09-06T20:49:15.248Z] bab4dde63d76: Verifying Checksum [2023-09-06T20:49:15.248Z] bab4dde63d76: Download complete [2023-09-06T20:49:16.622Z] b85a868b505f: Pull complete [2023-09-06T20:49:16.622Z] e2be974225ed: Pull complete [2023-09-06T20:49:16.882Z] 339a4e72a1f5: Pull complete [2023-09-06T20:49:17.145Z] 988bab9f4d93: Pull complete [2023-09-06T20:49:17.403Z] 1469e6f7b9e6: Pull complete [2023-09-06T20:49:17.403Z] eaf3925da568: Pull complete [2023-09-06T20:49:19.314Z] bab4dde63d76: Pull complete [2023-09-06T20:49:19.314Z] bde34c3a00c8: Pull complete [2023-09-06T20:49:19.314Z] b352a97aabf1: Pull complete [2023-09-06T20:49:19.575Z] 4872d77fe225: Pull complete [2023-09-06T20:49:19.575Z] 5851b861e8e6: Pull complete [2023-09-06T20:49:19.575Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T20:49:19.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T20:49:19.575Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:49:19.785Z] prd-ubuntu20.04-docker-8c-8g-5482 does not seem to be running inside a container [2023-09-06T20:49:19.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-337 -v /w/workspace/gexfoundry_device-rest-go_PR-337:/w/workspace/gexfoundry_device-rest-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-337@tmp:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T20:49:22.627Z] $ docker top 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 -eo pid,comm [2023-09-06T20:49:22.683Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-06T20:49:22.683Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T20:49:22.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T20:49:22.818Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T20:49:22.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T20:49:22.936Z] $ docker exec 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 ssh-agent [2023-09-06T20:49:23.046Z] SSH_AUTH_SOCK=/tmp/ssh-LR1PNAeNLp4A/agent.32 [2023-09-06T20:49:23.046Z] SSH_AGENT_PID=38 [2023-09-06T20:49:23.052Z] Running ssh-add (command line suppressed) [2023-09-06T20:49:23.153Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-337@tmp/private_key_851582215129208307.key (/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/private_key_851582215129208307.key) [2023-09-06T20:49:23.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T20:49:23.492Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T20:49:23.520Z] $ docker exec --env ******** --env ******** 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 ssh-agent -k [2023-09-06T20:49:23.630Z] unset SSH_AUTH_SOCK; [2023-09-06T20:49:23.631Z] unset SSH_AGENT_PID; [2023-09-06T20:49:23.631Z] echo Agent pid 38 killed; [2023-09-06T20:49:23.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T20:49:23.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T20:49:23.733Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T20:49:23.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T20:49:23.842Z] $ docker exec 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 ssh-agent [2023-09-06T20:49:23.951Z] SSH_AUTH_SOCK=/tmp/ssh-zC8SXlH2gmTM/agent.71 [2023-09-06T20:49:23.951Z] SSH_AGENT_PID=77 [2023-09-06T20:49:23.955Z] Running ssh-add (command line suppressed) [2023-09-06T20:49:24.090Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-337@tmp/private_key_6262902982410046319.key (/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/private_key_6262902982410046319.key) [2023-09-06T20:49:24.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T20:49:24.443Z] + git semver init [2023-09-06T20:49:24.701Z] 2023-09-06 20:49:24,611 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T20:49:24.701Z] 2023-09-06 20:49:24,612 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-337/.semver [2023-09-06T20:49:24.702Z] 2023-09-06 20:49:24,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-337/.semver [2023-09-06T20:49:24.702Z] 2023-09-06 20:49:24,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-337/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-337, universal_newlines=False, shell=None, istream=None) [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,612 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-337/.git/info/exclude [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-337/.semver/PR-337 with force:False [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,613 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-337/.semver/PR-337 [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,618 [execute] INFO git cat-file --batch-check [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-337/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,624 [execute] INFO git cat-file --batch [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-337/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T20:49:25.639Z] 2023-09-06 20:49:25,629 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-337/.semver/PR-337 [2023-09-06T20:49:25.639Z] 0.0.0 [Pipeline] } [2023-09-06T20:49:25.917Z] $ docker exec --env ******** --env ******** 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 ssh-agent -k [2023-09-06T20:49:26.021Z] unset SSH_AUTH_SOCK; [2023-09-06T20:49:26.022Z] unset SSH_AGENT_PID; [2023-09-06T20:49:26.022Z] echo Agent pid 77 killed; [2023-09-06T20:49:26.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T20:49:26.457Z] + git semver [Pipeline] } [2023-09-06T20:49:26.742Z] $ docker stop --time=1 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 [2023-09-06T20:49:28.043Z] $ docker rm -f --volumes 37e7797c63e64a562c2a4bc3175645f637570b36f72b174cac67e0852913ff54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T20:49:28.450Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T20:49:28.718Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T20:49:28.735Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T20:49:29.346Z] provisioning config files... [2023-09-06T20:49:29.354Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/config8610611602207434988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T20:49:29.705Z] ---> docker-login.sh [2023-09-06T20:49:29.705Z] nexus3.edgexfoundry.org:10001 [2023-09-06T20:49:29.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:29.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:29.705Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:29.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:29.705Z] [2023-09-06T20:49:29.705Z] Login Succeeded [2023-09-06T20:49:29.705Z] nexus3.edgexfoundry.org:10002 [2023-09-06T20:49:29.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:29.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:29.705Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:29.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:29.705Z] [2023-09-06T20:49:29.705Z] Login Succeeded [2023-09-06T20:49:29.705Z] nexus3.edgexfoundry.org:10003 [2023-09-06T20:49:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:29.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:29.965Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:29.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:29.965Z] [2023-09-06T20:49:29.965Z] Login Succeeded [2023-09-06T20:49:29.965Z] nexus3.edgexfoundry.org:10004 [2023-09-06T20:49:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:29.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:29.965Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:29.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:29.965Z] [2023-09-06T20:49:29.965Z] Login Succeeded [2023-09-06T20:49:29.965Z] docker.io [2023-09-06T20:49:30.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:49:30.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:49:30.224Z] Configure a credential helper to remove this warning. See [2023-09-06T20:49:30.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:49:30.224Z] [2023-09-06T20:49:30.224Z] Login Succeeded [2023-09-06T20:49:30.224Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T20:49:30.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T20:49:30.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T20:49:30.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T20:49:30.535Z] ========================================================= [2023-09-06T20:49:30.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T20:49:30.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:49:31.005Z] + 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-09-06T20:49:31.005Z] Sending build context to Docker daemon 10.93MB [2023-09-06T20:49:31.005Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T20:49:31.005Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-06T20:49:31.005Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T20:49:31.005Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T20:49:31.005Z] 6911f1a30b25: Pulling fs layer [2023-09-06T20:49:31.005Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T20:49:31.005Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T20:49:31.005Z] ec0bb842ea78: Pulling fs layer [2023-09-06T20:49:31.005Z] 6863d3e3a2b1: Waiting [2023-09-06T20:49:31.005Z] 40a00589a448: Pulling fs layer [2023-09-06T20:49:31.005Z] 6c08303d61cc: Pulling fs layer [2023-09-06T20:49:31.005Z] 798269fcf238: Pulling fs layer [2023-09-06T20:49:31.005Z] ec0bb842ea78: Waiting [2023-09-06T20:49:31.005Z] 40a00589a448: Waiting [2023-09-06T20:49:31.005Z] 6c08303d61cc: Waiting [2023-09-06T20:49:31.005Z] 798269fcf238: Waiting [2023-09-06T20:49:31.005Z] 6911f1a30b25: Download complete [2023-09-06T20:49:31.005Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T20:49:31.005Z] 6863d3e3a2b1: Download complete [2023-09-06T20:49:31.005Z] ec0bb842ea78: Verifying Checksum [2023-09-06T20:49:31.005Z] ec0bb842ea78: Download complete [2023-09-06T20:49:31.264Z] 4db1b89c0bd1: Verifying Checksum [2023-09-06T20:49:31.264Z] 4db1b89c0bd1: Download complete [2023-09-06T20:49:31.264Z] 40a00589a448: Verifying Checksum [2023-09-06T20:49:31.264Z] 40a00589a448: Download complete [2023-09-06T20:49:31.264Z] 4db1b89c0bd1: Pull complete [2023-09-06T20:49:31.524Z] 6911f1a30b25: Pull complete [2023-09-06T20:49:31.524Z] 798269fcf238: Verifying Checksum [2023-09-06T20:49:31.524Z] 798269fcf238: Download complete [2023-09-06T20:49:31.783Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T20:49:31.783Z] e194b8c5c2a9: Download complete [2023-09-06T20:49:32.041Z] 6c08303d61cc: Verifying Checksum [2023-09-06T20:49:32.041Z] 6c08303d61cc: Download complete [2023-09-06T20:49:35.316Z] e194b8c5c2a9: Pull complete [2023-09-06T20:49:35.316Z] 6863d3e3a2b1: Pull complete [2023-09-06T20:49:35.316Z] ec0bb842ea78: Pull complete [2023-09-06T20:49:35.316Z] 40a00589a448: Pull complete [2023-09-06T20:49:37.842Z] 6c08303d61cc: Pull complete [2023-09-06T20:49:38.775Z] 798269fcf238: Pull complete [2023-09-06T20:49:38.775Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T20:49:38.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T20:49:38.775Z] ---> ec979cd7f677 [2023-09-06T20:49:38.775Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-06T20:49:44.091Z] ---> Running in e29426970e19 [2023-09-06T20:49:44.091Z] Removing intermediate container e29426970e19 [2023-09-06T20:49:44.091Z] ---> 20dba8ba7f32 [2023-09-06T20:49:44.091Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T20:49:44.091Z] ---> Running in 49274a485fc1 [2023-09-06T20:49:44.091Z] Removing intermediate container 49274a485fc1 [2023-09-06T20:49:44.091Z] ---> 830658f6ebda [2023-09-06T20:49:44.091Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T20:49:44.091Z] ---> Running in 93a9416deb7d [2023-09-06T20:49:44.091Z] Removing intermediate container 93a9416deb7d [2023-09-06T20:49:44.091Z] ---> fc919aba6957 [2023-09-06T20:49:44.091Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T20:49:44.165Z] Still waiting to schedule task [2023-09-06T20:49:44.165Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5481’ [2023-09-06T20:49:44.350Z] ---> Running in f8e13ad4fc51 [2023-09-06T20:49:44.350Z] Removing intermediate container f8e13ad4fc51 [2023-09-06T20:49:44.350Z] ---> 55cb8ade9f09 [2023-09-06T20:49:44.350Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T20:49:44.350Z] ---> Running in c96f35fe6068 [2023-09-06T20:49:44.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T20:49:44.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T20:49:45.127Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-06T20:49:45.127Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-06T20:49:45.127Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-06T20:49:45.127Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-06T20:49:45.127Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T20:49:45.127Z] OK: 269 MiB in 57 packages [2023-09-06T20:49:45.696Z] Removing intermediate container c96f35fe6068 [2023-09-06T20:49:45.696Z] ---> d9836c4877eb [2023-09-06T20:49:45.696Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-06T20:49:45.696Z] ---> Running in 659f9b51014f [2023-09-06T20:49:45.696Z] Removing intermediate container 659f9b51014f [2023-09-06T20:49:45.696Z] ---> 6d10ddd0c21b [2023-09-06T20:49:45.696Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-06T20:49:45.954Z] ---> 364da942abd6 [2023-09-06T20:49:45.954Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T20:49:45.954Z] ---> Running in fa6cf367e395 [2023-09-06T20:50:18.057Z] Removing intermediate container fa6cf367e395 [2023-09-06T20:50:18.057Z] ---> 5abdd568a94b [2023-09-06T20:50:18.057Z] Step 11/12 : COPY . . [2023-09-06T20:50:18.057Z] ---> 7ac698444101 [2023-09-06T20:50:18.057Z] Step 12/12 : RUN $MAKE [2023-09-06T20:50:18.057Z] ---> Running in b76a314b1c0f [2023-09-06T20:50:18.316Z] noop [2023-09-06T20:50:18.887Z] Removing intermediate container b76a314b1c0f [2023-09-06T20:50:18.887Z] ---> 8c3300d09ff3 [2023-09-06T20:50:18.887Z] Successfully built 8c3300d09ff3 [2023-09-06T20:50:18.887Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:50:19.344Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T20:50:19.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:50:19.504Z] prd-ubuntu20.04-docker-8c-8g-5482 does not seem to be running inside a container [2023-09-06T20:50:19.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-337 -v /w/workspace/gexfoundry_device-rest-go_PR-337:/w/workspace/gexfoundry_device-rest-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-337@tmp:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T20:50:19.916Z] $ docker top 141750ece4153671ee0081fcb9794d676bfc46f43c6ade8012ed96fa6f19fdfc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T20:50:20.358Z] + go version [2023-09-06T20:50:20.358Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T20:50:20.399Z] $ docker stop --time=1 141750ece4153671ee0081fcb9794d676bfc46f43c6ade8012ed96fa6f19fdfc [2023-09-06T20:50:21.672Z] $ docker rm -f --volumes 141750ece4153671ee0081fcb9794d676bfc46f43c6ade8012ed96fa6f19fdfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:50:22.380Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T20:50:22.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:50:22.534Z] prd-ubuntu20.04-docker-8c-8g-5482 does not seem to be running inside a container [2023-09-06T20:50:22.568Z] $ 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-337 -v /w/workspace/gexfoundry_device-rest-go_PR-337:/w/workspace/gexfoundry_device-rest-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-337@tmp:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T20:50:22.928Z] $ docker top d75d89723b06753058dafa955bd798fc97e41237a6d80c378365441a8258ae05 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T20:50:23.311Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-337 [Pipeline] fileExists [Pipeline] sh [2023-09-06T20:50:23.672Z] + make test [2023-09-06T20:50:23.672Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T20:50:28.940Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-06T20:50:40.546Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-06T20:50:40.546Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-09-06T20:50:47.101Z] go vet ./... [2023-09-06T20:50:50.393Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T20:50:50.393Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T20:50:50.393Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T20:50:50.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T20:50:50.471Z] $ docker stop --time=1 d75d89723b06753058dafa955bd798fc97e41237a6d80c378365441a8258ae05 [2023-09-06T20:50:54.560Z] $ docker rm -f --volumes d75d89723b06753058dafa955bd798fc97e41237a6d80c378365441a8258ae05 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T20:50:55.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T20:50:55.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-06T20:50:55.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T20:50:56.055Z] + ls -al . [2023-09-06T20:50:56.055Z] total 188 [2023-09-06T20:50:56.055Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 20:50 . [2023-09-06T20:50:56.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 20:49 .. [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 6 20:49 .dockerignore [2023-09-06T20:50:56.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 20:49 .git [2023-09-06T20:50:56.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 20:49 .github [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 6 20:49 .gitignore [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 20:49 .golangci.yml [2023-09-06T20:50:56.055Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 20:49 .semver [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 6 20:49 Attribution.txt [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 6 20:49 CHANGELOG.md [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 6 20:49 Dockerfile [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 20:49 GOVERNANCE.md [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 6 20:49 Jenkinsfile [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 20:49 LICENSE [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 6 20:49 Makefile [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 20:49 OWNERS.md [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 6 20:49 README.md [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 20:49 VERSION [2023-09-06T20:50:56.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 20:49 bin [2023-09-06T20:50:56.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 20:49 cmd [2023-09-06T20:50:56.055Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 6 20:50 coverage.out [2023-09-06T20:50:56.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 20:49 driver [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 6 20:49 go.mod [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 6 20:49 go.sum [2023-09-06T20:50:56.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 20:49 snap [2023-09-06T20:50:56.055Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 6 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:50:56.467Z] + 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=5b10af917403d11f083c9e6f632079bdea01628c --label arch=amd64 --label version=0.0.0 . [2023-09-06T20:50:56.467Z] Sending build context to Docker daemon 10.94MB [2023-09-06T20:50:56.467Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T20:50:56.467Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-06T20:50:56.467Z] ---> 8c3300d09ff3 [2023-09-06T20:50:56.467Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-06T20:50:56.726Z] ---> Running in f7c25c838cb7 [2023-09-06T20:50:56.986Z] Removing intermediate container f7c25c838cb7 [2023-09-06T20:50:56.986Z] ---> 13c748c438be [2023-09-06T20:50:56.986Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T20:50:56.986Z] ---> Running in 2699853b5542 [2023-09-06T20:50:56.986Z] Removing intermediate container 2699853b5542 [2023-09-06T20:50:56.986Z] ---> 19f67ac546d6 [2023-09-06T20:50:56.986Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T20:50:56.986Z] ---> Running in bfbb7179af74 [2023-09-06T20:50:56.986Z] Removing intermediate container bfbb7179af74 [2023-09-06T20:50:56.986Z] ---> 2bc2f4efcae6 [2023-09-06T20:50:56.986Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T20:50:56.986Z] ---> Running in 31368c11ab3f [2023-09-06T20:50:57.245Z] Removing intermediate container 31368c11ab3f [2023-09-06T20:50:57.245Z] ---> 2b02ce74fdc1 [2023-09-06T20:50:57.245Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T20:50:57.245Z] ---> Running in 648381258c09 [2023-09-06T20:50:57.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T20:50:57.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T20:50:58.021Z] OK: 269 MiB in 57 packages [2023-09-06T20:50:58.278Z] Removing intermediate container 648381258c09 [2023-09-06T20:50:58.278Z] ---> 53b02f3ce96d [2023-09-06T20:50:58.278Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-06T20:50:58.278Z] ---> Running in f85f63475e8d [2023-09-06T20:50:58.278Z] Removing intermediate container f85f63475e8d [2023-09-06T20:50:58.278Z] ---> e5b62ec98d13 [2023-09-06T20:50:58.278Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-06T20:50:58.535Z] ---> 3f292358b350 [2023-09-06T20:50:58.535Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T20:50:58.535Z] ---> Running in 220d00080417 [2023-09-06T20:50:59.102Z] Removing intermediate container 220d00080417 [2023-09-06T20:50:59.103Z] ---> 793eb63fa221 [2023-09-06T20:50:59.103Z] Step 11/25 : COPY . . [2023-09-06T20:50:59.668Z] ---> db5f521295ed [2023-09-06T20:50:59.668Z] Step 12/25 : RUN $MAKE [2023-09-06T20:50:59.668Z] ---> Running in bd639f68538b [2023-09-06T20:50:59.927Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-06T20:51:21.849Z] Removing intermediate container bd639f68538b [2023-09-06T20:51:21.849Z] ---> 1137a7882e96 [2023-09-06T20:51:21.849Z] Step 13/25 : FROM alpine:3.17 [2023-09-06T20:51:21.849Z] 3.17: Pulling from library/alpine [2023-09-06T20:51:21.849Z] 9398808236ff: Pulling fs layer [2023-09-06T20:51:21.849Z] 9398808236ff: Verifying Checksum [2023-09-06T20:51:21.849Z] 9398808236ff: Download complete [2023-09-06T20:51:21.849Z] 9398808236ff: Pull complete [2023-09-06T20:51:21.849Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T20:51:21.849Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T20:51:21.849Z] ---> 1e0b8b5322fc [2023-09-06T20:51:21.849Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T20:51:21.849Z] ---> Running in f7a5a49c6c5e [2023-09-06T20:51:22.106Z] Removing intermediate container f7a5a49c6c5e [2023-09-06T20:51:22.106Z] ---> 5ed1a69d0e62 [2023-09-06T20:51:22.106Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-06T20:51:22.106Z] ---> Running in 42d5cb266576 [2023-09-06T20:51:22.106Z] Removing intermediate container 42d5cb266576 [2023-09-06T20:51:22.106Z] ---> 523b44e0f61f [2023-09-06T20:51:22.106Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-06T20:51:22.106Z] ---> Running in 65a1e0ea8a10 [2023-09-06T20:51:22.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T20:51:22.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T20:51:22.934Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-06T20:51:22.934Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T20:51:22.934Z] OK: 7 MiB in 16 packages [2023-09-06T20:51:23.194Z] Removing intermediate container 65a1e0ea8a10 [2023-09-06T20:51:23.194Z] ---> fc9962fc61c5 [2023-09-06T20:51:23.194Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-06T20:51:24.725Z] ---> ca3dee712e63 [2023-09-06T20:51:24.725Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-06T20:51:24.725Z] ---> 72602658da2e [2023-09-06T20:51:24.725Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-06T20:51:24.725Z] ---> be565bd25767 [2023-09-06T20:51:24.725Z] Step 20/25 : EXPOSE 59986 [2023-09-06T20:51:24.725Z] ---> Running in d165e041f5b2 [2023-09-06T20:51:24.986Z] Removing intermediate container d165e041f5b2 [2023-09-06T20:51:24.986Z] ---> e61aace87ca3 [2023-09-06T20:51:24.986Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-06T20:51:24.986Z] ---> Running in 591860b7761d [2023-09-06T20:51:24.986Z] Removing intermediate container 591860b7761d [2023-09-06T20:51:24.986Z] ---> 19586b6b2615 [2023-09-06T20:51:24.986Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-06T20:51:24.986Z] ---> Running in 5c160a1c2250 [2023-09-06T20:51:24.986Z] Removing intermediate container 5c160a1c2250 [2023-09-06T20:51:24.986Z] ---> 7a597dbb97ef [2023-09-06T20:51:24.986Z] Step 23/25 : LABEL arch=amd64 [2023-09-06T20:51:24.986Z] ---> Running in dd9e8b79c965 [2023-09-06T20:51:25.246Z] Removing intermediate container dd9e8b79c965 [2023-09-06T20:51:25.246Z] ---> 71847b981d10 [2023-09-06T20:51:25.246Z] Step 24/25 : LABEL git_sha=5b10af917403d11f083c9e6f632079bdea01628c [2023-09-06T20:51:25.246Z] ---> Running in 9fd65f0d9f32 [2023-09-06T20:51:25.246Z] Removing intermediate container 9fd65f0d9f32 [2023-09-06T20:51:25.246Z] ---> 2a1d095b13d6 [2023-09-06T20:51:25.246Z] Step 25/25 : LABEL version=0.0.0 [2023-09-06T20:51:25.246Z] ---> Running in 1a68ed19c6f2 [2023-09-06T20:51:25.505Z] Removing intermediate container 1a68ed19c6f2 [2023-09-06T20:51:25.505Z] ---> e991271947aa [2023-09-06T20:51:25.505Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T20:51:25.505Z] Successfully built e991271947aa [2023-09-06T20:51:25.505Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:51:26.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T20:51:26.355Z] [2023-09-06T20:51:26.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:51:26.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T20:51:26.730Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T20:51:26.730Z] 5eb5b503b376: Pulling fs layer [2023-09-06T20:51:26.730Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T20:51:26.730Z] ec43610c2a17: Pulling fs layer [2023-09-06T20:51:26.730Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T20:51:26.730Z] 33b1e0a273af: Pulling fs layer [2023-09-06T20:51:26.730Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T20:51:26.730Z] 2f39f015ded8: Pulling fs layer [2023-09-06T20:51:26.730Z] 3a2ae6a8a46f: Waiting [2023-09-06T20:51:26.730Z] 2f39f015ded8: Waiting [2023-09-06T20:51:26.730Z] 33b1e0a273af: Waiting [2023-09-06T20:51:26.730Z] 5d3b04190fa2: Waiting [2023-09-06T20:51:26.730Z] 5c69ac0246d0: Download complete [2023-09-06T20:51:26.730Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T20:51:26.730Z] 3a2ae6a8a46f: Download complete [2023-09-06T20:51:26.730Z] 33b1e0a273af: Verifying Checksum [2023-09-06T20:51:26.730Z] 33b1e0a273af: Download complete [2023-09-06T20:51:26.730Z] 5d3b04190fa2: Verifying Checksum [2023-09-06T20:51:26.730Z] 5d3b04190fa2: Download complete [2023-09-06T20:51:26.730Z] ec43610c2a17: Verifying Checksum [2023-09-06T20:51:26.730Z] ec43610c2a17: Download complete [2023-09-06T20:51:26.989Z] 5eb5b503b376: Verifying Checksum [2023-09-06T20:51:26.989Z] 5eb5b503b376: Download complete [2023-09-06T20:51:27.555Z] 2f39f015ded8: Download complete [2023-09-06T20:51:28.142Z] 5eb5b503b376: Pull complete [2023-09-06T20:51:28.142Z] 5c69ac0246d0: Pull complete [2023-09-06T20:51:28.705Z] ec43610c2a17: Pull complete [2023-09-06T20:51:28.705Z] 3a2ae6a8a46f: Pull complete [2023-09-06T20:51:28.964Z] 33b1e0a273af: Pull complete [2023-09-06T20:51:28.964Z] 5d3b04190fa2: Pull complete [2023-09-06T20:51:33.144Z] 2f39f015ded8: Pull complete [2023-09-06T20:51:33.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T20:51:33.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T20:51:33.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:51:33.352Z] prd-ubuntu20.04-docker-8c-8g-5482 does not seem to be running inside a container [2023-09-06T20:51:33.390Z] $ 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-337 -v /w/workspace/gexfoundry_device-rest-go_PR-337:/w/workspace/gexfoundry_device-rest-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-337@tmp:/w/workspace/gexfoundry_device-rest-go_PR-337@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-09-06T20:51:39.340Z] $ docker top 37c350802fca48191ea04f64caeb215069f1c75f8f6a16bf7f091f607be605d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T20:51:39.795Z] ---> job-cost.sh [2023-09-06T20:51:39.795Z] lf-activate-venv: SKIPPING [2023-09-06T20:51:39.795Z] INFO: No Stack... [2023-09-06T20:51:40.054Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T20:51:40.314Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T20:51:40.620Z] + + cut -d, -f6 [2023-09-06T20:51:40.620Z] cat /w/workspace/gexfoundry_device-rest-go_PR-337/archives/cost.csv [Pipeline] lock [2023-09-06T20:51:40.656Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [2023-09-06T20:51:40.661Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] did not exist. Created. [2023-09-06T20:51:40.661Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T20:51:41.040Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T20:51:41.088Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T20:51:41.116Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T20:51:41.196Z] $ docker stop --time=1 37c350802fca48191ea04f64caeb215069f1c75f8f6a16bf7f091f607be605d8 [2023-09-06T20:51:42.350Z] $ docker rm -f --volumes 37c350802fca48191ea04f64caeb215069f1c75f8f6a16bf7f091f607be605d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T20:53:12.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5483 in /w/workspace/gexfoundry_device-rest-go_PR-337 [Pipeline] { [Pipeline] ws [2023-09-06T20:53:12.663Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-06T20:53:12.734Z] The recommended git tool is: git [2023-09-06T20:53:18.300Z] using credential edgex-jenkins-ssh [2023-09-06T20:53:18.315Z] Cloning the remote Git repository [2023-09-06T20:53:18.352Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-06T20:53:18.440Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-06T20:53:18.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-06T20:53:18.590Z] > git --version # timeout=10 [2023-09-06T20:53:18.615Z] > git --version # 'git version 2.25.1' [2023-09-06T20:53:18.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T20:53:18.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T20:53:20.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-06T20:53:20.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T20:53:21.353Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-06T20:53:21.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-06T20:53:21.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T20:53:21.401Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-06T20:53:21.846Z] Merging remotes/origin/main commit 57a7e4fe794bb86fec7da1c819e454c45e75ed90 into PR head commit 5b10af917403d11f083c9e6f632079bdea01628c [2023-09-06T20:53:22.121Z] Merge succeeded, producing 5b10af917403d11f083c9e6f632079bdea01628c [2023-09-06T20:53:22.122Z] Checking out Revision 5b10af917403d11f083c9e6f632079bdea01628c (PR-337) [2023-09-06T20:53:22.577Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-06T20:53:22.623Z] > git --version # timeout=10 [2023-09-06T20:53:22.633Z] > git --version # 'git version 2.25.1' [2023-09-06T20:53:22.657Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T20:53:21.862Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T20:53:21.940Z] > git checkout -f 5b10af917403d11f083c9e6f632079bdea01628c # timeout=10 [2023-09-06T20:53:22.017Z] > git remote # timeout=10 [2023-09-06T20:53:22.039Z] > git config --get remote.origin.url # timeout=10 [2023-09-06T20:53:22.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T20:53:22.074Z] > git merge 57a7e4fe794bb86fec7da1c819e454c45e75ed90 # timeout=10 [2023-09-06T20:53:22.099Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-06T20:53:22.127Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T20:53:22.147Z] > git checkout -f 5b10af917403d11f083c9e6f632079bdea01628c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T20:53:23.726Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T20:53:23.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T20:53:23.726Z] Dload Upload Total Spent Left Speed [2023-09-06T20:53:23.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-09-06T20:53:24.270Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T20:53:24.612Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T20:53:24.612Z] + sudo tee /etc/docker/daemon.new [2023-09-06T20:53:24.612Z] { [2023-09-06T20:53:24.612Z] "registry-mirrors": [ [2023-09-06T20:53:24.612Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T20:53:24.612Z] ], [2023-09-06T20:53:24.612Z] "bip": "10.250.0.254/24", [2023-09-06T20:53:24.612Z] "hosts": [ [2023-09-06T20:53:24.612Z] "tcp://0.0.0.0:5555", [2023-09-06T20:53:24.612Z] "unix:///var/run/docker.sock" [2023-09-06T20:53:24.612Z] ], [2023-09-06T20:53:24.612Z] "mtu": 1458, [2023-09-06T20:53:24.612Z] "selinux-enabled": true, [2023-09-06T20:53:24.612Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T20:53:24.612Z] } [Pipeline] sh [2023-09-06T20:53:24.946Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T20:53:25.296Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T20:53:43.620Z] provisioning config files... [2023-09-06T20:53:43.647Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5650319615515830590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T20:53:44.030Z] ---> docker-login.sh [2023-09-06T20:53:44.030Z] nexus3.edgexfoundry.org:10001 [2023-09-06T20:53:44.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:53:44.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:53:44.584Z] Configure a credential helper to remove this warning. See [2023-09-06T20:53:44.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:53:44.584Z] [2023-09-06T20:53:44.584Z] Login Succeeded [2023-09-06T20:53:44.584Z] nexus3.edgexfoundry.org:10002 [2023-09-06T20:53:44.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:53:44.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:53:44.853Z] Configure a credential helper to remove this warning. See [2023-09-06T20:53:44.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:53:44.853Z] [2023-09-06T20:53:44.853Z] Login Succeeded [2023-09-06T20:53:45.124Z] nexus3.edgexfoundry.org:10003 [2023-09-06T20:53:45.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:53:45.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:53:45.394Z] Configure a credential helper to remove this warning. See [2023-09-06T20:53:45.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:53:45.394Z] [2023-09-06T20:53:45.394Z] Login Succeeded [2023-09-06T20:53:45.394Z] nexus3.edgexfoundry.org:10004 [2023-09-06T20:53:45.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:53:45.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:53:45.669Z] Configure a credential helper to remove this warning. See [2023-09-06T20:53:45.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:53:45.670Z] [2023-09-06T20:53:45.670Z] Login Succeeded [2023-09-06T20:53:45.670Z] docker.io [2023-09-06T20:53:45.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T20:53:46.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T20:53:46.206Z] Configure a credential helper to remove this warning. See [2023-09-06T20:53:46.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T20:53:46.206Z] [2023-09-06T20:53:46.206Z] Login Succeeded [2023-09-06T20:53:46.206Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T20:53:46.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T20:53:46.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T20:53:46.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T20:53:46.672Z] ========================================================= [2023-09-06T20:53:46.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T20:53:46.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:53:47.165Z] + 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-09-06T20:53:47.165Z] Sending build context to Docker daemon 143.4kB [2023-09-06T20:53:47.434Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T20:53:47.434Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-06T20:53:47.434Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T20:53:47.434Z] edb6bdbacee9: Pulling fs layer [2023-09-06T20:53:47.434Z] 5f9638ab2659: Pulling fs layer [2023-09-06T20:53:47.434Z] 8d51d6327a98: Pulling fs layer [2023-09-06T20:53:47.434Z] 8b374f2dd631: Pulling fs layer [2023-09-06T20:53:47.434Z] ec14aa9079de: Pulling fs layer [2023-09-06T20:53:47.434Z] 2f466654f4bb: Pulling fs layer [2023-09-06T20:53:47.434Z] 554e91adad29: Pulling fs layer [2023-09-06T20:53:47.434Z] 2f466654f4bb: Waiting [2023-09-06T20:53:47.434Z] 8b374f2dd631: Waiting [2023-09-06T20:53:47.434Z] ec14aa9079de: Waiting [2023-09-06T20:53:47.434Z] 554e91adad29: Waiting [2023-09-06T20:53:47.434Z] 5f9638ab2659: Verifying Checksum [2023-09-06T20:53:47.434Z] 5f9638ab2659: Download complete [2023-09-06T20:53:47.434Z] 8b374f2dd631: Download complete [2023-09-06T20:53:47.709Z] ec14aa9079de: Verifying Checksum [2023-09-06T20:53:47.709Z] ec14aa9079de: Download complete [2023-09-06T20:53:47.709Z] edb6bdbacee9: Verifying Checksum [2023-09-06T20:53:48.690Z] edb6bdbacee9: Pull complete [2023-09-06T20:53:48.963Z] 554e91adad29: Verifying Checksum [2023-09-06T20:53:48.963Z] 554e91adad29: Download complete [2023-09-06T20:53:49.232Z] 5f9638ab2659: Pull complete [2023-09-06T20:53:50.202Z] 2f466654f4bb: Verifying Checksum [2023-09-06T20:53:50.202Z] 2f466654f4bb: Download complete [2023-09-06T20:53:50.202Z] 8d51d6327a98: Verifying Checksum [2023-09-06T20:53:50.202Z] 8d51d6327a98: Download complete [2023-09-06T20:54:02.641Z] 8d51d6327a98: Pull complete [2023-09-06T20:54:02.641Z] 8b374f2dd631: Pull complete [2023-09-06T20:54:02.641Z] ec14aa9079de: Pull complete [2023-09-06T20:54:08.022Z] 2f466654f4bb: Pull complete [2023-09-06T20:54:10.612Z] 554e91adad29: Pull complete [2023-09-06T20:54:10.612Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T20:54:10.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T20:54:10.612Z] ---> 1e15ea492957 [2023-09-06T20:54:10.612Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-06T20:54:12.560Z] ---> Running in e7c2360f9f98 [2023-09-06T20:54:12.560Z] Removing intermediate container e7c2360f9f98 [2023-09-06T20:54:12.560Z] ---> 205dbb75ebb3 [2023-09-06T20:54:12.560Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T20:54:12.560Z] ---> Running in d40bf53b6584 [2023-09-06T20:54:12.828Z] Removing intermediate container d40bf53b6584 [2023-09-06T20:54:12.828Z] ---> 959d06f09cfc [2023-09-06T20:54:12.828Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T20:54:13.095Z] ---> Running in 4a51368a61a2 [2023-09-06T20:54:13.363Z] Removing intermediate container 4a51368a61a2 [2023-09-06T20:54:13.363Z] ---> f56da42e1113 [2023-09-06T20:54:13.363Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T20:54:13.363Z] ---> Running in c5c28fc19bd0 [2023-09-06T20:54:13.636Z] Removing intermediate container c5c28fc19bd0 [2023-09-06T20:54:13.636Z] ---> f9131c0b99d3 [2023-09-06T20:54:13.636Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T20:54:13.636Z] ---> Running in 7e76f4410b00 [2023-09-06T20:54:14.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T20:54:15.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T20:54:16.189Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-06T20:54:16.189Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-06T20:54:16.189Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-06T20:54:16.189Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-06T20:54:16.189Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T20:54:16.455Z] OK: 268 MiB in 57 packages [2023-09-06T20:54:17.417Z] Removing intermediate container 7e76f4410b00 [2023-09-06T20:54:17.417Z] ---> 9c89902accda [2023-09-06T20:54:17.417Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-06T20:54:17.417Z] ---> Running in 73c46e1c30f8 [2023-09-06T20:54:17.686Z] Removing intermediate container 73c46e1c30f8 [2023-09-06T20:54:17.686Z] ---> c816898adb3a [2023-09-06T20:54:17.686Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-06T20:54:18.269Z] ---> a6bbc0839df4 [2023-09-06T20:54:18.269Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T20:54:18.269Z] ---> Running in e0e073798369 [2023-09-06T20:55:26.113Z] Removing intermediate container e0e073798369 [2023-09-06T20:55:26.113Z] ---> 91e280b8e0c1 [2023-09-06T20:55:26.113Z] Step 11/12 : COPY . . [2023-09-06T20:55:26.113Z] ---> ba4f5983e891 [2023-09-06T20:55:26.113Z] Step 12/12 : RUN $MAKE [2023-09-06T20:55:26.113Z] ---> Running in bf41fbfdb03c [2023-09-06T20:55:26.113Z] noop [2023-09-06T20:55:26.113Z] Removing intermediate container bf41fbfdb03c [2023-09-06T20:55:26.113Z] ---> c3785f326ee1 [2023-09-06T20:55:26.113Z] Successfully built c3785f326ee1 [2023-09-06T20:55:26.113Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:55:26.593Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T20:55:26.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:55:26.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-09-06T20:55:26.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T20:55:28.072Z] $ docker top 2765f8cddf04181e5e648ce759b54b3a581fc83c5cc87a1efcd02263b7cd117b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T20:55:28.927Z] + go version [2023-09-06T20:55:28.927Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T20:55:28.965Z] $ docker stop --time=1 2765f8cddf04181e5e648ce759b54b3a581fc83c5cc87a1efcd02263b7cd117b [2023-09-06T20:55:33.175Z] $ docker rm -f --volumes 2765f8cddf04181e5e648ce759b54b3a581fc83c5cc87a1efcd02263b7cd117b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:55:33.998Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T20:55:33.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T20:55:34.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-09-06T20:55:34.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T20:55:35.466Z] $ docker top 86f7af741c18a71551ac3cb0e7f55593a868bb2caa8f899cfd8080d91d130cd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T20:55:36.026Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-06T20:55:36.422Z] + make test [2023-09-06T20:55:36.423Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T20:56:08.633Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-06T20:58:00.282Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-06T20:58:02.870Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 33.2% of statements [2023-09-06T20:58:03.137Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T20:58:03.137Z] go vet ./... [2023-09-06T20:58:35.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T20:58:35.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T20:58:35.367Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T20:58:35.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T20:58:35.440Z] $ docker stop --time=1 86f7af741c18a71551ac3cb0e7f55593a868bb2caa8f899cfd8080d91d130cd5 [2023-09-06T20:58:37.254Z] $ docker rm -f --volumes 86f7af741c18a71551ac3cb0e7f55593a868bb2caa8f899cfd8080d91d130cd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T20:58:38.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T20:58:38.730Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T20:58:39.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T20:58:39.756Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T20:58:40.089Z] + ls -al . [2023-09-06T20:58:40.089Z] total 184 [2023-09-06T20:58:40.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 20:55 . [2023-09-06T20:58:40.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 20:53 .. [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 6 20:53 .dockerignore [2023-09-06T20:58:40.089Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 20:53 .git [2023-09-06T20:58:40.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 20:53 .github [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 6 20:53 .gitignore [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 20:53 .golangci.yml [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 6 20:53 Attribution.txt [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 6 20:53 CHANGELOG.md [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 6 20:53 Dockerfile [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 20:53 GOVERNANCE.md [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 6 20:53 Jenkinsfile [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 20:53 LICENSE [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 6 20:53 Makefile [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 6 20:53 OWNERS.md [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 6 20:53 README.md [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 20:49 VERSION [2023-09-06T20:58:40.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 20:53 bin [2023-09-06T20:58:40.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 20:53 cmd [2023-09-06T20:58:40.089Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 6 20:58 coverage.out [2023-09-06T20:58:40.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 20:53 driver [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 6 20:53 go.mod [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 6 20:53 go.sum [2023-09-06T20:58:40.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 20:53 snap [2023-09-06T20:58:40.089Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 6 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T20:58:40.594Z] + 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=5b10af917403d11f083c9e6f632079bdea01628c --label arch=arm64 --label version=0.0.0 . [2023-09-06T20:58:40.594Z] Sending build context to Docker daemon 158.7kB [2023-09-06T20:58:40.858Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T20:58:40.858Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-06T20:58:40.858Z] ---> c3785f326ee1 [2023-09-06T20:58:40.858Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-06T20:58:40.858Z] ---> Running in c0ae6cced647 [2023-09-06T20:58:41.126Z] Removing intermediate container c0ae6cced647 [2023-09-06T20:58:41.126Z] ---> fe6790e4c429 [2023-09-06T20:58:41.126Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T20:58:41.126Z] ---> Running in e6a57c32336f [2023-09-06T20:58:41.391Z] Removing intermediate container e6a57c32336f [2023-09-06T20:58:41.391Z] ---> fb1868fd4763 [2023-09-06T20:58:41.391Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-06T20:58:41.657Z] ---> Running in 29f5d8ecbad1 [2023-09-06T20:58:41.657Z] Removing intermediate container 29f5d8ecbad1 [2023-09-06T20:58:41.657Z] ---> d8211787f429 [2023-09-06T20:58:41.657Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-06T20:58:41.922Z] ---> Running in 822c6ff269b7 [2023-09-06T20:58:42.188Z] Removing intermediate container 822c6ff269b7 [2023-09-06T20:58:42.188Z] ---> 9c8b11e9c296 [2023-09-06T20:58:42.188Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T20:58:42.188Z] ---> Running in 03dc1ff7ea6b [2023-09-06T20:58:43.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T20:58:43.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T20:58:44.683Z] OK: 268 MiB in 57 packages [2023-09-06T20:58:45.265Z] Removing intermediate container 03dc1ff7ea6b [2023-09-06T20:58:45.265Z] ---> 545720584825 [2023-09-06T20:58:45.265Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-06T20:58:45.265Z] ---> Running in cedafc24db36 [2023-09-06T20:58:45.845Z] Removing intermediate container cedafc24db36 [2023-09-06T20:58:45.845Z] ---> f3a00e126881 [2023-09-06T20:58:45.845Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-06T20:58:46.110Z] ---> 9ac1e47c68b7 [2023-09-06T20:58:46.110Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T20:58:46.110Z] ---> Running in c17b5f39d59b [2023-09-06T20:58:48.048Z] Removing intermediate container c17b5f39d59b [2023-09-06T20:58:48.048Z] ---> b17fa2ff5604 [2023-09-06T20:58:48.048Z] Step 11/25 : COPY . . [2023-09-06T20:58:48.630Z] ---> f17207ad0e0d [2023-09-06T20:58:48.630Z] Step 12/25 : RUN $MAKE [2023-09-06T20:58:48.630Z] ---> Running in 7f655608df0a [2023-09-06T20:58:49.588Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-06T21:00:56.247Z] Removing intermediate container 7f655608df0a [2023-09-06T21:00:56.247Z] ---> b43929e08b96 [2023-09-06T21:00:56.247Z] Step 13/25 : FROM alpine:3.17 [2023-09-06T21:00:56.247Z] 3.17: Pulling from library/alpine [2023-09-06T21:00:56.247Z] 4060ece20d7a: Pulling fs layer [2023-09-06T21:00:56.247Z] 4060ece20d7a: Verifying Checksum [2023-09-06T21:00:56.247Z] 4060ece20d7a: Download complete [2023-09-06T21:00:56.247Z] 4060ece20d7a: Pull complete [2023-09-06T21:00:56.247Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T21:00:56.247Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T21:00:56.247Z] ---> 8650cd65339b [2023-09-06T21:00:56.247Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-06T21:00:56.247Z] ---> Running in e877a16076ce [2023-09-06T21:00:56.247Z] Removing intermediate container e877a16076ce [2023-09-06T21:00:56.247Z] ---> 1ad66bf90370 [2023-09-06T21:00:56.247Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-06T21:00:56.247Z] ---> Running in 37d59f20750d [2023-09-06T21:00:56.517Z] Removing intermediate container 37d59f20750d [2023-09-06T21:00:56.517Z] ---> c14887c2b537 [2023-09-06T21:00:56.517Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-06T21:00:56.517Z] ---> Running in 0b5d1409f121 [2023-09-06T21:00:57.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T21:00:58.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T21:00:59.025Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-06T21:00:59.025Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T21:00:59.025Z] OK: 8 MiB in 16 packages [2023-09-06T21:00:59.986Z] Removing intermediate container 0b5d1409f121 [2023-09-06T21:00:59.986Z] ---> 70b503e85302 [2023-09-06T21:00:59.986Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-06T21:01:01.405Z] ---> 60e5dc7001ff [2023-09-06T21:01:01.405Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-06T21:01:01.674Z] ---> 8ff64412fc63 [2023-09-06T21:01:01.674Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-06T21:01:02.258Z] ---> d3cbf10e7855 [2023-09-06T21:01:02.258Z] Step 20/25 : EXPOSE 59986 [2023-09-06T21:01:02.258Z] ---> Running in caca70a0116e [2023-09-06T21:01:02.525Z] Removing intermediate container caca70a0116e [2023-09-06T21:01:02.525Z] ---> 6db0d9701fe5 [2023-09-06T21:01:02.525Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-06T21:01:02.525Z] ---> Running in ba6d651cc4d5 [2023-09-06T21:01:02.798Z] Removing intermediate container ba6d651cc4d5 [2023-09-06T21:01:02.798Z] ---> 880bbc34464b [2023-09-06T21:01:02.798Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-06T21:01:02.798Z] ---> Running in f242fc43ce72 [2023-09-06T21:01:03.078Z] Removing intermediate container f242fc43ce72 [2023-09-06T21:01:03.078Z] ---> c9b628f352b9 [2023-09-06T21:01:03.078Z] Step 23/25 : LABEL arch=arm64 [2023-09-06T21:01:03.346Z] ---> Running in 459206dc05d3 [2023-09-06T21:01:03.612Z] Removing intermediate container 459206dc05d3 [2023-09-06T21:01:03.612Z] ---> e312198ae73d [2023-09-06T21:01:03.612Z] Step 24/25 : LABEL git_sha=5b10af917403d11f083c9e6f632079bdea01628c [2023-09-06T21:01:03.612Z] ---> Running in 498b9f838a30 [2023-09-06T21:01:03.879Z] Removing intermediate container 498b9f838a30 [2023-09-06T21:01:03.879Z] ---> 19dd972fa505 [2023-09-06T21:01:03.879Z] Step 25/25 : LABEL version=0.0.0 [2023-09-06T21:01:03.879Z] ---> Running in 32a95483fa85 [2023-09-06T21:01:04.146Z] Removing intermediate container 32a95483fa85 [2023-09-06T21:01:04.147Z] ---> d82724e46506 [2023-09-06T21:01:04.147Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T21:01:04.147Z] Successfully built d82724e46506 [2023-09-06T21:01:04.147Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T21:01:04.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T21:01:04.935Z] [2023-09-06T21:01:04.935Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T21:01:05.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T21:01:05.328Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T21:01:05.328Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T21:01:05.328Z] 04944245beec: Pulling fs layer [2023-09-06T21:01:05.328Z] 699f458cf7ca: Pulling fs layer [2023-09-06T21:01:05.328Z] 765212b225bb: Pulling fs layer [2023-09-06T21:01:05.328Z] f23df028b6ca: Pulling fs layer [2023-09-06T21:01:05.328Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T21:01:05.328Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T21:01:05.328Z] 765212b225bb: Waiting [2023-09-06T21:01:05.328Z] f23df028b6ca: Waiting [2023-09-06T21:01:05.328Z] d65c8cfc05b1: Waiting [2023-09-06T21:01:05.328Z] 2437ff75d9bd: Waiting [2023-09-06T21:01:05.596Z] 04944245beec: Verifying Checksum [2023-09-06T21:01:05.596Z] 04944245beec: Download complete [2023-09-06T21:01:05.596Z] 765212b225bb: Verifying Checksum [2023-09-06T21:01:05.596Z] 765212b225bb: Download complete [2023-09-06T21:01:05.596Z] f23df028b6ca: Download complete [2023-09-06T21:01:05.596Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T21:01:05.596Z] d65c8cfc05b1: Download complete [2023-09-06T21:01:05.596Z] 699f458cf7ca: Verifying Checksum [2023-09-06T21:01:05.596Z] 699f458cf7ca: Download complete [2023-09-06T21:01:06.181Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T21:01:06.181Z] 8998bd30e6a1: Download complete [2023-09-06T21:01:08.128Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T21:01:08.128Z] 2437ff75d9bd: Download complete [2023-09-06T21:01:10.066Z] 8998bd30e6a1: Pull complete [2023-09-06T21:01:10.334Z] 04944245beec: Pull complete [2023-09-06T21:01:11.738Z] 699f458cf7ca: Pull complete [2023-09-06T21:01:12.003Z] 765212b225bb: Pull complete [2023-09-06T21:01:12.585Z] f23df028b6ca: Pull complete [2023-09-06T21:01:12.850Z] d65c8cfc05b1: Pull complete [2023-09-06T21:01:28.019Z] 2437ff75d9bd: Pull complete [2023-09-06T21:01:28.019Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T21:01:28.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T21:01:28.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T21:01:28.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-09-06T21:01:28.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-06T21:01:30.813Z] $ docker top e6d5cc3b50a29fe43aa53447519127276239f33960a2a3243b10c8d931efb1d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:31.369Z] ---> job-cost.sh [2023-09-06T21:01:31.635Z] lf-activate-venv: SKIPPING [2023-09-06T21:01:31.635Z] INFO: No Stack... [2023-09-06T21:01:31.900Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T21:01:32.853Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T21:01:33.193Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ [2023-09-06T21:01:33.194Z] cut -d, -f6 [Pipeline] lock [2023-09-06T21:01:33.276Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [2023-09-06T21:01:33.281Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] did not exist. Created. [2023-09-06T21:01:33.281Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T21:01:33.688Z] /w/workspace/device-rest-go/1@tmp/durable-74516c97/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T21:01:34.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T21:01:34.067Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T21:01:34.113Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T21:01:34.127Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T21:01:34.206Z] $ docker stop --time=1 e6d5cc3b50a29fe43aa53447519127276239f33960a2a3243b10c8d931efb1d1 [2023-09-06T21:01:35.665Z] $ docker rm -f --volumes e6d5cc3b50a29fe43aa53447519127276239f33960a2a3243b10c8d931efb1d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-06T21:01:36.671Z] provisioning config files... [2023-09-06T21:01:36.679Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/config1042431038056130070tmp [Pipeline] { [Pipeline] sh [2023-09-06T21:01:37.011Z] + set +x [2023-09-06T21:01:37.011Z] + curl -s https://codecov.io/bash [2023-09-06T21:01:37.011Z] + bash -s -- [2023-09-06T21:01:37.011Z] [2023-09-06T21:01:37.011Z] _____ _ [2023-09-06T21:01:37.011Z] / ____| | | [2023-09-06T21:01:37.011Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T21:01:37.011Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T21:01:37.011Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T21:01:37.011Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T21:01:37.011Z] Bash-1.0.6 [2023-09-06T21:01:37.011Z] [2023-09-06T21:01:37.011Z] [2023-09-06T21:01:37.011Z] ==> git version 2.25.1 found [2023-09-06T21:01:37.011Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-06T21:01:37.011Z] Release-Date: 2020-01-08 [2023-09-06T21:01:37.011Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-06T21:01:37.011Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T21:01:37.011Z] ==> Jenkins CI detected. [2023-09-06T21:01:37.011Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-337 [2023-09-06T21:01:37.011Z] project root: . [2023-09-06T21:01:37.011Z] --> token set from env [2023-09-06T21:01:37.011Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T21:01:37.271Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T21:01:37.271Z] ==> Python coveragepy not found [2023-09-06T21:01:37.271Z] ==> Searching for coverage reports in: [2023-09-06T21:01:37.271Z] + . [2023-09-06T21:01:37.271Z] -> Found 1 reports [2023-09-06T21:01:37.271Z] ==> Detecting git/mercurial file structure [2023-09-06T21:01:37.271Z] ==> Reading reports [2023-09-06T21:01:37.271Z] + ./coverage.out bytes=14499 [2023-09-06T21:01:37.271Z] ==> Appending adjustments [2023-09-06T21:01:37.271Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T21:01:37.271Z] + Found adjustments [2023-09-06T21:01:37.271Z] ==> Gzipping contents [2023-09-06T21:01:37.271Z] 4.0K /tmp/codecov.SYqNvT.gz [2023-09-06T21:01:37.271Z] ==> Uploading reports [2023-09-06T21:01:37.271Z] url: https://codecov.io [2023-09-06T21:01:37.271Z] query: branch=PR-337&commit=5b10af917403d11f083c9e6f632079bdea01628c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-337%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=337&job=&cmd_args= [2023-09-06T21:01:37.271Z] -> Pinging Codecov [2023-09-06T21:01:37.271Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-337&commit=5b10af917403d11f083c9e6f632079bdea01628c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-337%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=337&job=&cmd_args= [2023-09-06T21:01:37.529Z] -> Uploading to [2023-09-06T21:01:37.529Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-06/4E5D53B4F1F92C436F7061BF334D961C/5b10af917403d11f083c9e6f632079bdea01628c/327b0a00-cf87-417d-8fc9-1867f4e4f383.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T210137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10219ef5b29a4fe3930a35ceccab3a93af880d5720edbbaa73878f4c3e9c3976 [2023-09-06T21:01:37.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T21:01:37.529Z] Dload Upload Total Spent Left Speed [2023-09-06T21:01:37.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12527 --:--:-- --:--:-- --:--:-- 12527 [2023-09-06T21:01:37.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5b10af917403d11f083c9e6f632079bdea01628c [Pipeline] } [2023-09-06T21:01:37.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-06T21:01:39.276Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-337/archives ] [2023-09-06T21:01:39.276Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-337/archives [2023-09-06T21:01:39.276Z] total 16 [2023-09-06T21:01:39.276Z] drwxr-xr-x 3 root root 4096 Sep 6 20:51 . [2023-09-06T21:01:39.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 20:51 .. [2023-09-06T21:01:39.276Z] drwxr-xr-x 2 root root 4096 Sep 6 20:51 cost [2023-09-06T21:01:39.276Z] -rw-r--r-- 1 root root 86 Sep 6 20:51 cost.csv [2023-09-06T21:01:39.276Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-337/archives [2023-09-06T21:01:39.276Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-337/archives [2023-09-06T21:01:39.276Z] total 16 [2023-09-06T21:01:39.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 20:51 . [2023-09-06T21:01:39.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 20:51 .. [2023-09-06T21:01:39.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 20:51 cost [2023-09-06T21:01:39.276Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 6 20:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:39.612Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:40.501Z] ---> package-listing.sh [2023-09-06T21:01:40.501Z] ++ facter osfamily [2023-09-06T21:01:40.501Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T21:01:40.761Z] + OS_FAMILY=debian [2023-09-06T21:01:40.761Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-337 [2023-09-06T21:01:40.761Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T21:01:40.761Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T21:01:40.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T21:01:40.761Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T21:01:40.761Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-337 ']' [2023-09-06T21:01:40.761Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T21:01:40.761Z] + case "${OS_FAMILY}" in [2023-09-06T21:01:40.761Z] + dpkg -l [2023-09-06T21:01:40.761Z] + grep '^ii' [2023-09-06T21:01:40.761Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T21:01:40.761Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T21:01:40.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T21:01:40.761Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-337 ']' [2023-09-06T21:01:40.761Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-337/archives/ [2023-09-06T21:01:40.761Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-337/archives/ [Pipeline] echo [2023-09-06T21:01:40.796Z] 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T21:01:41.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T21:01:41.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T21:01:41.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T21:01:41.859Z] prd-ubuntu20.04-docker-8c-8g-5482 does not seem to be running inside a container [2023-09-06T21:01:41.895Z] $ 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-337/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-337 -v /w/workspace/gexfoundry_device-rest-go_PR-337:/w/workspace/gexfoundry_device-rest-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-337@tmp:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T21:01:42.090Z] $ docker top 1a1248239164e9c62bc50b3f120df3795794fb290abf41aeeafaae5af7be1cb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T21:01:42.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T21:01:42.788Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T21:01:43.096Z] + ls /var/log/sa-host [2023-09-06T21:01:43.096Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T21:01:43.236Z] provisioning config files... [2023-09-06T21:01:43.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-337@tmp/config8906783766080817239tmp [Pipeline] { [Pipeline] echo [2023-09-06T21:01:43.297Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:43.607Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T21:01:43.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:44.033Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T21:01:44.064Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:44.375Z] ---> sudo-logs.sh [2023-09-06T21:01:44.375Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T21:01:44.462Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:44.772Z] ---> job-cost.sh [2023-09-06T21:01:44.772Z] lf-activate-venv: SKIPPING [2023-09-06T21:01:44.772Z] DEBUG: total: 0.2199999988079071 [2023-09-06T21:01:44.772Z] INFO: Retrieving Stack Cost... [2023-09-06T21:01:45.031Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T21:01:45.291Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T21:01:45.325Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T21:01:45.636Z] ---> logs-deploy.sh [2023-09-06T21:01:45.636Z] lf-activate-venv: SKIPPING [2023-09-06T21:01:45.636Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-337/1 [2023-09-06T21:01:45.636Z] INFO: archiving workspace using pattern(s): [2023-09-06T21:01:46.573Z] Archives upload complete. [2023-09-06T21:01:46.573Z] INFO: archiving logs to Nexus