Pull request #342 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 159c7456ff8034b7486e084faa29afaf0bdf481c+660491fba38d8ec3280cd778996bba77bc0edf60 (4dc5c1eea99517ef19ca90d42f37976aa86c5d36) 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-ssh8752851201712262645.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6199638849911267246.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-342/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-342/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15869609892062992985.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-342/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17321411088896805998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1010196903783229172.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-342/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-342/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10131978526118903265.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6623 in /w/workspace/gexfoundry_device-rest-go_PR-342 [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-342 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 660491fba38d8ec3280cd778996bba77bc0edf60 into PR head commit 159c7456ff8034b7486e084faa29afaf0bdf481c Merge succeeded, producing 159c7456ff8034b7486e084faa29afaf0bdf481c Checking out Revision 159c7456ff8034b7486e084faa29afaf0bdf481c (PR-342) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 159c7456ff8034b7486e084faa29afaf0bdf481c # 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 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 159c7456ff8034b7486e084faa29afaf0bdf481c # timeout=10 [Pipeline] timeout [2023-09-19T20:31:46.684Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T20:31:46.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T20:31:46.976Z] ========================================================= [2023-09-19T20:31:46.976Z] EdgeX Global Pipelines Version Info [2023-09-19T20:31:46.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:31:47.708Z] ------------------- [2023-09-19T20:31:47.708Z] stable info: [2023-09-19T20:31:47.708Z] ------------------- [2023-09-19T20:31:47.708Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T20:31:47.708Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T20:31:47.708Z] Message: update stable to v1.0.254 [2023-09-19T20:31:48.279Z] ------------------- [2023-09-19T20:31:48.279Z] experimental info: [2023-09-19T20:31:48.279Z] ------------------- [2023-09-19T20:31:48.279Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T20:31:48.279Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T20:31:48.279Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T20:31:48.561Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-19T20:31:48.604Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-19T20:31:48.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T20:31:48.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T20:31:48.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T20:31:48.787Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T20:31:48.832Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T20:31:48.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-19T20:31:48.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T20:31:48.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T20:31:49.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T20:31:49.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-19T20:31:49.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T20:31:49.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T20:31:49.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T20:31:49.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T20:31:49.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T20:31:49.322Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T20:31:49.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T20:31:49.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T20:31:49.443Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-19T20:31:49.488Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-19T20:31:49.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T20:31:49.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T20:31:49.612Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T20:31:49.653Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T20:31:49.690Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T20:31:49.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-342 [Pipeline] echo [2023-09-19T20:31:49.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-342 [Pipeline] echo [2023-09-19T20:31:49.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-342 [Pipeline] echo [2023-09-19T20:31:49.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 159c7456ff8034b7486e084faa29afaf0bdf481c [Pipeline] echo [2023-09-19T20:31:49.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 159c745 [Pipeline] echo [2023-09-19T20:31:49.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T20:31:50.034Z] provisioning config files... [2023-09-19T20:31:50.049Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/config6304803382351341290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:31:50.414Z] ---> docker-login.sh [2023-09-19T20:31:50.415Z] nexus3.edgexfoundry.org:10001 [2023-09-19T20:31:50.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:31:50.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:31:50.935Z] Configure a credential helper to remove this warning. See [2023-09-19T20:31:50.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:31:50.936Z] [2023-09-19T20:31:50.936Z] Login Succeeded [2023-09-19T20:31:50.936Z] nexus3.edgexfoundry.org:10002 [2023-09-19T20:31:50.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:31:50.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:31:50.936Z] Configure a credential helper to remove this warning. See [2023-09-19T20:31:50.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:31:50.936Z] [2023-09-19T20:31:50.936Z] Login Succeeded [2023-09-19T20:31:50.936Z] nexus3.edgexfoundry.org:10003 [2023-09-19T20:31:50.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:31:50.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:31:50.936Z] Configure a credential helper to remove this warning. See [2023-09-19T20:31:50.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:31:50.936Z] [2023-09-19T20:31:50.936Z] Login Succeeded [2023-09-19T20:31:50.936Z] nexus3.edgexfoundry.org:10004 [2023-09-19T20:31:51.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:31:51.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:31:51.194Z] Configure a credential helper to remove this warning. See [2023-09-19T20:31:51.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:31:51.194Z] [2023-09-19T20:31:51.194Z] Login Succeeded [2023-09-19T20:31:51.194Z] docker.io [2023-09-19T20:31:51.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:31:51.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:31:51.465Z] Configure a credential helper to remove this warning. See [2023-09-19T20:31:51.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:31:51.465Z] [2023-09-19T20:31:51.465Z] Login Succeeded [2023-09-19T20:31:51.465Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T20:31:51.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T20:31:52.087Z] + git rev-list -1 --merges 159c7456ff8034b7486e084faa29afaf0bdf481c~1..159c7456ff8034b7486e084faa29afaf0bdf481c [Pipeline] echo [2023-09-19T20:31:52.146Z] -----------> git rev-list -1 --merges 159c7456ff8034b7486e084faa29afaf0bdf481c~1..159c7456ff8034b7486e084faa29afaf0bdf481c 159c7456ff8034b7486e084faa29afaf0bdf481c [false] [Pipeline] sh [2023-09-19T20:31:52.461Z] + git log --format=format:%s -1 159c7456ff8034b7486e084faa29afaf0bdf481c [Pipeline] echo [2023-09-19T20:31:52.496Z] ========================================================= [2023-09-19T20:31:52.496Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T20:31:52.496Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T20:31:52.928Z] + git log --format=format:%s -1 159c7456ff8034b7486e084faa29afaf0bdf481c [Pipeline] echo [2023-09-19T20:31:52.961Z] [semverPrep] GIT_COMMIT: 159c7456ff8034b7486e084faa29afaf0bdf481c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-19T20:31:52.992Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T20:31:53.397Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T20:31:53.397Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T20:31:53.397Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T20:31:53.397Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T20:31:53.397Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T20:31:53.397Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T20:31:53.397Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:31:53.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T20:31:53.899Z] [2023-09-19T20:31:53.899Z] 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-19T20:31:54.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T20:31:54.263Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T20:31:54.263Z] b85a868b505f: Pulling fs layer [2023-09-19T20:31:54.263Z] e2be974225ed: Pulling fs layer [2023-09-19T20:31:54.263Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T20:31:54.263Z] 988bab9f4d93: Pulling fs layer [2023-09-19T20:31:54.263Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T20:31:54.263Z] eaf3925da568: Pulling fs layer [2023-09-19T20:31:54.263Z] bab4dde63d76: Pulling fs layer [2023-09-19T20:31:54.263Z] bde34c3a00c8: Pulling fs layer [2023-09-19T20:31:54.263Z] b352a97aabf1: Pulling fs layer [2023-09-19T20:31:54.263Z] 4872d77fe225: Pulling fs layer [2023-09-19T20:31:54.263Z] 5851b861e8e6: Pulling fs layer [2023-09-19T20:31:54.263Z] 988bab9f4d93: Waiting [2023-09-19T20:31:54.263Z] 1469e6f7b9e6: Waiting [2023-09-19T20:31:54.263Z] eaf3925da568: Waiting [2023-09-19T20:31:54.263Z] bab4dde63d76: Waiting [2023-09-19T20:31:54.263Z] bde34c3a00c8: Waiting [2023-09-19T20:31:54.263Z] b352a97aabf1: Waiting [2023-09-19T20:31:54.263Z] 4872d77fe225: Waiting [2023-09-19T20:31:54.263Z] 5851b861e8e6: Waiting [2023-09-19T20:31:54.263Z] e2be974225ed: Download complete [2023-09-19T20:31:54.263Z] 988bab9f4d93: Verifying Checksum [2023-09-19T20:31:54.263Z] 988bab9f4d93: Download complete [2023-09-19T20:31:54.522Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T20:31:54.522Z] 1469e6f7b9e6: Download complete [2023-09-19T20:31:54.522Z] eaf3925da568: Download complete [2023-09-19T20:31:54.522Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T20:31:54.522Z] 339a4e72a1f5: Download complete [2023-09-19T20:31:54.522Z] bde34c3a00c8: Download complete [2023-09-19T20:31:54.522Z] b352a97aabf1: Download complete [2023-09-19T20:31:54.522Z] 4872d77fe225: Verifying Checksum [2023-09-19T20:31:54.522Z] 4872d77fe225: Download complete [2023-09-19T20:31:54.522Z] 5851b861e8e6: Verifying Checksum [2023-09-19T20:31:54.522Z] 5851b861e8e6: Download complete [2023-09-19T20:31:54.522Z] b85a868b505f: Verifying Checksum [2023-09-19T20:31:54.522Z] b85a868b505f: Download complete [2023-09-19T20:31:54.780Z] bab4dde63d76: Verifying Checksum [2023-09-19T20:31:54.780Z] bab4dde63d76: Download complete [2023-09-19T20:31:55.715Z] b85a868b505f: Pull complete [2023-09-19T20:31:55.973Z] e2be974225ed: Pull complete [2023-09-19T20:31:56.543Z] 339a4e72a1f5: Pull complete [2023-09-19T20:31:56.543Z] 988bab9f4d93: Pull complete [2023-09-19T20:31:56.801Z] 1469e6f7b9e6: Pull complete [2023-09-19T20:31:56.801Z] eaf3925da568: Pull complete [2023-09-19T20:31:58.700Z] bab4dde63d76: Pull complete [2023-09-19T20:31:58.700Z] bde34c3a00c8: Pull complete [2023-09-19T20:31:58.700Z] b352a97aabf1: Pull complete [2023-09-19T20:31:58.700Z] 4872d77fe225: Pull complete [2023-09-19T20:31:58.701Z] 5851b861e8e6: Pull complete [2023-09-19T20:31:58.701Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T20:31:58.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T20:31:58.701Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:31:58.928Z] prd-ubuntu20.04-docker-8c-8g-6623 does not seem to be running inside a container [2023-09-19T20:31:58.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-342 -v /w/workspace/gexfoundry_device-rest-go_PR-342:/w/workspace/gexfoundry_device-rest-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-342@tmp:/w/workspace/gexfoundry_device-rest-go_PR-342@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-19T20:32:02.301Z] $ docker top 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 -eo pid,comm [2023-09-19T20:32:02.361Z] 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-19T20:32:02.361Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T20:32:02.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T20:32:02.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T20:32:02.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T20:32:02.622Z] $ docker exec 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 ssh-agent [2023-09-19T20:32:02.732Z] SSH_AUTH_SOCK=/tmp/ssh-zA6Vy98MGjyq/agent.31 [2023-09-19T20:32:02.732Z] SSH_AGENT_PID=37 [2023-09-19T20:32:02.739Z] Running ssh-add (command line suppressed) [2023-09-19T20:32:02.831Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-342@tmp/private_key_2199788865212373983.key (/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/private_key_2199788865212373983.key) [2023-09-19T20:32:02.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T20:32:03.175Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T20:32:03.203Z] $ docker exec --env ******** --env ******** 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 ssh-agent -k [2023-09-19T20:32:03.312Z] unset SSH_AUTH_SOCK; [2023-09-19T20:32:03.312Z] unset SSH_AGENT_PID; [2023-09-19T20:32:03.312Z] echo Agent pid 37 killed; [2023-09-19T20:32:03.323Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T20:32:03.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T20:32:03.410Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T20:32:03.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T20:32:03.533Z] $ docker exec 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 ssh-agent [2023-09-19T20:32:03.644Z] SSH_AUTH_SOCK=/tmp/ssh-4SGEWMqJSwB8/agent.69 [2023-09-19T20:32:03.644Z] SSH_AGENT_PID=75 [2023-09-19T20:32:03.649Z] Running ssh-add (command line suppressed) [2023-09-19T20:32:03.750Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-342@tmp/private_key_4945902540899228572.key (/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/private_key_4945902540899228572.key) [2023-09-19T20:32:03.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T20:32:04.096Z] + git semver init [2023-09-19T20:32:04.357Z] 2023-09-19 20:32:04,309 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T20:32:04.357Z] 2023-09-19 20:32:04,310 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-342/.semver [2023-09-19T20:32:04.357Z] 2023-09-19 20:32:04,311 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-342/.semver [2023-09-19T20:32:04.357Z] 2023-09-19 20:32:04,311 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-342/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-342, universal_newlines=False, shell=None, istream=None) [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-342/.git/info/exclude [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,416 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-342/.semver/PR-342 with force:False [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,416 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-342/.semver/PR-342 [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,420 [execute] INFO git cat-file --batch-check [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,421 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,426 [execute] INFO git cat-file --batch [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T20:32:05.736Z] 2023-09-19 20:32:05,431 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-342/.semver/PR-342 [2023-09-19T20:32:05.736Z] 0.0.0 [Pipeline] } [2023-09-19T20:32:05.763Z] $ docker exec --env ******** --env ******** 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 ssh-agent -k [2023-09-19T20:32:05.869Z] unset SSH_AUTH_SOCK; [2023-09-19T20:32:05.869Z] unset SSH_AGENT_PID; [2023-09-19T20:32:05.869Z] echo Agent pid 75 killed; [2023-09-19T20:32:05.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T20:32:06.302Z] + git semver [Pipeline] } [2023-09-19T20:32:06.585Z] $ docker stop --time=1 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 [2023-09-19T20:32:07.888Z] $ docker rm -f --volumes 48ea5d0f57a0a81b9f93971831b3d99ce3cc60fbdc4be27f48cc2edc7b8966c2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T20:32:08.292Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T20:32:08.568Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T20:32:08.584Z] [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-19T20:32:09.148Z] provisioning config files... [2023-09-19T20:32:09.157Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/config5801499805693440762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:32:09.502Z] ---> docker-login.sh [2023-09-19T20:32:09.502Z] nexus3.edgexfoundry.org:10001 [2023-09-19T20:32:09.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:32:09.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:32:09.502Z] Configure a credential helper to remove this warning. See [2023-09-19T20:32:09.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:32:09.502Z] [2023-09-19T20:32:09.502Z] Login Succeeded [2023-09-19T20:32:09.502Z] nexus3.edgexfoundry.org:10002 [2023-09-19T20:32:09.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:32:09.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:32:09.502Z] Configure a credential helper to remove this warning. See [2023-09-19T20:32:09.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:32:09.502Z] [2023-09-19T20:32:09.502Z] Login Succeeded [2023-09-19T20:32:09.502Z] nexus3.edgexfoundry.org:10003 [2023-09-19T20:32:09.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:32:09.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:32:09.760Z] Configure a credential helper to remove this warning. See [2023-09-19T20:32:09.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:32:09.760Z] [2023-09-19T20:32:09.760Z] Login Succeeded [2023-09-19T20:32:09.760Z] nexus3.edgexfoundry.org:10004 [2023-09-19T20:32:09.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:32:09.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:32:09.760Z] Configure a credential helper to remove this warning. See [2023-09-19T20:32:09.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:32:09.760Z] [2023-09-19T20:32:09.760Z] Login Succeeded [2023-09-19T20:32:09.760Z] docker.io [2023-09-19T20:32:10.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:32:10.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:32:10.018Z] Configure a credential helper to remove this warning. See [2023-09-19T20:32:10.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:32:10.019Z] [2023-09-19T20:32:10.019Z] Login Succeeded [2023-09-19T20:32:10.019Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T20:32:10.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T20:32:10.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T20:32:10.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T20:32:10.316Z] ========================================================= [2023-09-19T20:32:10.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T20:32:10.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:32:10.798Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T20:32:10.799Z] Sending build context to Docker daemon 10.91MB [2023-09-19T20:32:10.799Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T20:32:10.799Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T20:32:10.799Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T20:32:10.799Z] 7264a8db6415: Pulling fs layer [2023-09-19T20:32:10.799Z] c4d48a809fc2: Pulling fs layer [2023-09-19T20:32:10.799Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T20:32:10.799Z] ad3a456e5733: Pulling fs layer [2023-09-19T20:32:10.799Z] 9e4f439ed901: Pulling fs layer [2023-09-19T20:32:10.799Z] feaf6a47b606: Pulling fs layer [2023-09-19T20:32:10.799Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T20:32:10.799Z] 8ac70367396e: Pulling fs layer [2023-09-19T20:32:10.799Z] 6db16350a2e2: Pulling fs layer [2023-09-19T20:32:10.799Z] 9250d5d63582: Pulling fs layer [2023-09-19T20:32:10.799Z] 5e8b037d7d82: Waiting [2023-09-19T20:32:10.799Z] 8ac70367396e: Waiting [2023-09-19T20:32:10.799Z] 6db16350a2e2: Waiting [2023-09-19T20:32:10.799Z] 9250d5d63582: Waiting [2023-09-19T20:32:10.799Z] 9e4f439ed901: Waiting [2023-09-19T20:32:10.799Z] ad3a456e5733: Waiting [2023-09-19T20:32:10.799Z] feaf6a47b606: Waiting [2023-09-19T20:32:10.799Z] c4d48a809fc2: Verifying Checksum [2023-09-19T20:32:10.799Z] c4d48a809fc2: Download complete [2023-09-19T20:32:10.799Z] ad3a456e5733: Verifying Checksum [2023-09-19T20:32:10.799Z] ad3a456e5733: Download complete [2023-09-19T20:32:11.059Z] 9e4f439ed901: Verifying Checksum [2023-09-19T20:32:11.059Z] 9e4f439ed901: Download complete [2023-09-19T20:32:11.059Z] 7264a8db6415: Download complete [2023-09-19T20:32:11.059Z] feaf6a47b606: Verifying Checksum [2023-09-19T20:32:11.059Z] feaf6a47b606: Download complete [2023-09-19T20:32:11.059Z] 7264a8db6415: Pull complete [2023-09-19T20:32:11.318Z] 8ac70367396e: Verifying Checksum [2023-09-19T20:32:11.318Z] 8ac70367396e: Download complete [2023-09-19T20:32:11.318Z] c4d48a809fc2: Pull complete [2023-09-19T20:32:11.318Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T20:32:11.318Z] 4f1c88b9dad5: Download complete [2023-09-19T20:32:11.318Z] 6db16350a2e2: Verifying Checksum [2023-09-19T20:32:11.318Z] 6db16350a2e2: Download complete [2023-09-19T20:32:11.576Z] 9250d5d63582: Verifying Checksum [2023-09-19T20:32:11.576Z] 9250d5d63582: Download complete [2023-09-19T20:32:11.834Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T20:32:11.834Z] 5e8b037d7d82: Download complete [2023-09-19T20:32:15.116Z] 4f1c88b9dad5: Pull complete [2023-09-19T20:32:15.116Z] ad3a456e5733: Pull complete [2023-09-19T20:32:15.116Z] 9e4f439ed901: Pull complete [2023-09-19T20:32:15.116Z] feaf6a47b606: Pull complete [2023-09-19T20:32:17.650Z] 5e8b037d7d82: Pull complete [2023-09-19T20:32:18.216Z] 8ac70367396e: Pull complete [2023-09-19T20:32:18.783Z] 6db16350a2e2: Pull complete [2023-09-19T20:32:19.350Z] 9250d5d63582: Pull complete [2023-09-19T20:32:19.350Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T20:32:19.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T20:32:19.350Z] ---> fa269f55d9b9 [2023-09-19T20:32:19.350Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T20:32:23.972Z] Still waiting to schedule task [2023-09-19T20:32:23.973Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-19T20:32:25.918Z] ---> Running in 7abf7f0dcadf [2023-09-19T20:32:25.919Z] Removing intermediate container 7abf7f0dcadf [2023-09-19T20:32:25.919Z] ---> 748f71da517c [2023-09-19T20:32:25.919Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T20:32:25.919Z] ---> Running in 8926c86ade3d [2023-09-19T20:32:25.919Z] Removing intermediate container 8926c86ade3d [2023-09-19T20:32:25.919Z] ---> af0907ad739d [2023-09-19T20:32:25.919Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T20:32:25.919Z] ---> Running in bc5616383473 [2023-09-19T20:32:25.919Z] Removing intermediate container bc5616383473 [2023-09-19T20:32:25.919Z] ---> aee6e34a3007 [2023-09-19T20:32:25.919Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T20:32:25.919Z] ---> Running in 7cb2bab53ff7 [2023-09-19T20:32:25.919Z] Removing intermediate container 7cb2bab53ff7 [2023-09-19T20:32:25.919Z] ---> 59cb62cef835 [2023-09-19T20:32:25.919Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T20:32:25.919Z] ---> Running in cc51a801a438 [2023-09-19T20:32:25.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T20:32:25.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T20:32:25.919Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T20:32:25.919Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T20:32:25.919Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T20:32:25.919Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T20:32:25.919Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T20:32:25.919Z] OK: 270 MiB in 60 packages [2023-09-19T20:32:26.485Z] Removing intermediate container cc51a801a438 [2023-09-19T20:32:26.485Z] ---> b35cce5205cb [2023-09-19T20:32:26.485Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-19T20:32:26.485Z] ---> Running in 6ac9eba2784f [2023-09-19T20:32:26.485Z] Removing intermediate container 6ac9eba2784f [2023-09-19T20:32:26.485Z] ---> eab16031fb36 [2023-09-19T20:32:26.485Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T20:32:26.743Z] ---> a9c931604b84 [2023-09-19T20:32:26.743Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T20:32:26.743Z] ---> Running in 31674fe183cc [2023-09-19T20:33:13.438Z] Removing intermediate container 31674fe183cc [2023-09-19T20:33:13.438Z] ---> b800244e42c2 [2023-09-19T20:33:13.438Z] Step 11/12 : COPY . . [2023-09-19T20:33:13.438Z] ---> 04618a8009bf [2023-09-19T20:33:13.438Z] Step 12/12 : RUN $MAKE [2023-09-19T20:33:13.438Z] ---> Running in 3ae70e5aca34 [2023-09-19T20:33:13.438Z] noop [2023-09-19T20:33:13.438Z] Removing intermediate container 3ae70e5aca34 [2023-09-19T20:33:13.438Z] ---> 4a8cd1455d0e [2023-09-19T20:33:13.438Z] Successfully built 4a8cd1455d0e [2023-09-19T20:33:13.438Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:33:13.904Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T20:33:13.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:33:14.062Z] prd-ubuntu20.04-docker-8c-8g-6623 does not seem to be running inside a container [2023-09-19T20:33:14.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-342 -v /w/workspace/gexfoundry_device-rest-go_PR-342:/w/workspace/gexfoundry_device-rest-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-342@tmp:/w/workspace/gexfoundry_device-rest-go_PR-342@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-19T20:33:14.453Z] $ docker top cf2dc1045a1cb4f6877ddbf2a53924b68a27d8598540a583efbd0069847b0fc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T20:33:14.839Z] + go version [2023-09-19T20:33:14.839Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T20:33:14.869Z] $ docker stop --time=1 cf2dc1045a1cb4f6877ddbf2a53924b68a27d8598540a583efbd0069847b0fc7 [2023-09-19T20:33:16.158Z] $ docker rm -f --volumes cf2dc1045a1cb4f6877ddbf2a53924b68a27d8598540a583efbd0069847b0fc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:33:16.889Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T20:33:16.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:33:17.044Z] prd-ubuntu20.04-docker-8c-8g-6623 does not seem to be running inside a container [2023-09-19T20:33:17.072Z] $ 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-342 -v /w/workspace/gexfoundry_device-rest-go_PR-342:/w/workspace/gexfoundry_device-rest-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-342@tmp:/w/workspace/gexfoundry_device-rest-go_PR-342@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-19T20:33:17.381Z] $ docker top 0cca145d143e02cebf1f1c86c04850c3d6c6958995acf1a19d2bd40f3cf9e48d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T20:33:17.779Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-342 [Pipeline] fileExists [Pipeline] sh [2023-09-19T20:33:18.144Z] + make test [2023-09-19T20:33:18.144Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T20:33:19.556Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-19T20:33:29.522Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-19T20:33:29.522Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-09-19T20:33:34.786Z] go vet ./... [2023-09-19T20:33:38.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T20:33:38.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T20:33:38.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T20:33:38.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T20:33:38.135Z] $ docker stop --time=1 0cca145d143e02cebf1f1c86c04850c3d6c6958995acf1a19d2bd40f3cf9e48d [2023-09-19T20:33:41.268Z] $ docker rm -f --volumes 0cca145d143e02cebf1f1c86c04850c3d6c6958995acf1a19d2bd40f3cf9e48d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T20:33:41.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T20:33:41.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T20:33:42.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T20:33:42.971Z] + ls -al . [2023-09-19T20:33:42.971Z] total 188 [2023-09-19T20:33:42.971Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 20:33 . [2023-09-19T20:33:42.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 20:31 .. [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 19 20:31 .dockerignore [2023-09-19T20:33:42.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 20:33 .git [2023-09-19T20:33:42.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 20:31 .github [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 20:31 .gitignore [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 20:31 .golangci.yml [2023-09-19T20:33:42.971Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 20:32 .semver [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 19 20:31 Attribution.txt [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 19 20:31 CHANGELOG.md [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 19 20:31 Dockerfile [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 20:31 GOVERNANCE.md [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 20:31 Jenkinsfile [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 20:31 LICENSE [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 19 20:31 Makefile [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 20:31 OWNERS.md [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 19 20:31 README.md [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 20:32 VERSION [2023-09-19T20:33:42.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 20:31 bin [2023-09-19T20:33:42.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 20:31 cmd [2023-09-19T20:33:42.971Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 19 20:33 coverage.out [2023-09-19T20:33:42.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 20:31 driver [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 19 20:31 go.mod [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 20:31 go.sum [2023-09-19T20:33:42.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 20:31 snap [2023-09-19T20:33:42.971Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 19 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:33:43.373Z] + 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=159c7456ff8034b7486e084faa29afaf0bdf481c --label arch=amd64 --label version=0.0.0 . [2023-09-19T20:33:43.373Z] Sending build context to Docker daemon 10.92MB [2023-09-19T20:33:43.373Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T20:33:43.373Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T20:33:43.373Z] ---> 4a8cd1455d0e [2023-09-19T20:33:43.373Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T20:33:43.632Z] ---> Running in 3d647cc74687 [2023-09-19T20:33:43.632Z] Removing intermediate container 3d647cc74687 [2023-09-19T20:33:43.632Z] ---> 9dc6906495ad [2023-09-19T20:33:43.632Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T20:33:43.632Z] ---> Running in 676b24e2e371 [2023-09-19T20:33:43.632Z] Removing intermediate container 676b24e2e371 [2023-09-19T20:33:43.632Z] ---> a4ada1951679 [2023-09-19T20:33:43.632Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T20:33:43.632Z] ---> Running in fd3335610a55 [2023-09-19T20:33:43.891Z] Removing intermediate container fd3335610a55 [2023-09-19T20:33:43.891Z] ---> 5d13a0f62b0e [2023-09-19T20:33:43.891Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T20:33:43.891Z] ---> Running in 9a168d0b8e0c [2023-09-19T20:33:43.891Z] Removing intermediate container 9a168d0b8e0c [2023-09-19T20:33:43.891Z] ---> 4aef10c7c7c6 [2023-09-19T20:33:43.891Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T20:33:43.891Z] ---> Running in 6d856a3ba28b [2023-09-19T20:33:44.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T20:33:44.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T20:33:44.407Z] OK: 270 MiB in 60 packages [2023-09-19T20:33:44.974Z] Removing intermediate container 6d856a3ba28b [2023-09-19T20:33:44.974Z] ---> 91e71c1b8c91 [2023-09-19T20:33:44.974Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-19T20:33:44.974Z] ---> Running in 017c39fec1d7 [2023-09-19T20:33:44.974Z] Removing intermediate container 017c39fec1d7 [2023-09-19T20:33:44.974Z] ---> c8ba3f9bcf16 [2023-09-19T20:33:44.974Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-19T20:33:44.974Z] ---> 0647c4f41cf6 [2023-09-19T20:33:44.974Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T20:33:44.974Z] ---> Running in 992c35f4cf76 [2023-09-19T20:33:45.542Z] Removing intermediate container 992c35f4cf76 [2023-09-19T20:33:45.542Z] ---> 40a1029b5bd1 [2023-09-19T20:33:45.542Z] Step 11/25 : COPY . . [2023-09-19T20:33:46.114Z] ---> 31c4a1d4a4ec [2023-09-19T20:33:46.114Z] Step 12/25 : RUN $MAKE [2023-09-19T20:33:46.114Z] ---> Running in 63e18e458690 [2023-09-19T20:33:46.114Z] 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.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-19T20:33:52.311Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6624 in /w/workspace/gexfoundry_device-rest-go_PR-342 [Pipeline] { [Pipeline] ws [2023-09-19T20:33:52.372Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T20:33:52.450Z] The recommended git tool is: git [2023-09-19T20:33:57.611Z] using credential edgex-jenkins-ssh [2023-09-19T20:33:57.629Z] Cloning the remote Git repository [2023-09-19T20:33:57.673Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-19T20:33:57.768Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-19T20:33:57.912Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-19T20:33:57.913Z] > git --version # timeout=10 [2023-09-19T20:33:57.936Z] > git --version # 'git version 2.25.1' [2023-09-19T20:33:57.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T20:33:58.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T20:33:59.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-19T20:33:59.835Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T20:34:01.134Z] Merging remotes/origin/main commit 660491fba38d8ec3280cd778996bba77bc0edf60 into PR head commit 159c7456ff8034b7486e084faa29afaf0bdf481c [2023-09-19T20:34:00.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-19T20:34:00.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-19T20:34:00.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T20:34:00.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T20:34:01.152Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T20:34:01.375Z] Merge succeeded, producing 159c7456ff8034b7486e084faa29afaf0bdf481c [2023-09-19T20:34:01.376Z] Checking out Revision 159c7456ff8034b7486e084faa29afaf0bdf481c (PR-342) [2023-09-19T20:34:01.835Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-19T20:34:01.884Z] > git --version # timeout=10 [2023-09-19T20:34:01.913Z] > git --version # 'git version 2.25.1' [2023-09-19T20:34:01.946Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-09-19T20:34:01.215Z] > git checkout -f 159c7456ff8034b7486e084faa29afaf0bdf481c # timeout=10 [2023-09-19T20:34:01.292Z] > git remote # timeout=10 [2023-09-19T20:34:01.308Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T20:34:01.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T20:34:01.336Z] > git merge 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 [2023-09-19T20:34:01.362Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T20:34:01.382Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T20:34:01.401Z] > git checkout -f 159c7456ff8034b7486e084faa29afaf0bdf481c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T20:34:03.108Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T20:34:03.108Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T20:34:03.108Z] Dload Upload Total Spent Left Speed [2023-09-19T20:34:03.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-09-19T20:34:03.681Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T20:34:04.048Z] + sudo tee /etc/docker/daemon.new [2023-09-19T20:34:04.048Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T20:34:04.048Z] { [2023-09-19T20:34:04.048Z] "registry-mirrors": [ [2023-09-19T20:34:04.048Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T20:34:04.048Z] ], [2023-09-19T20:34:04.048Z] "bip": "10.250.0.254/24", [2023-09-19T20:34:04.048Z] "hosts": [ [2023-09-19T20:34:04.048Z] "tcp://0.0.0.0:5555", [2023-09-19T20:34:04.048Z] "unix:///var/run/docker.sock" [2023-09-19T20:34:04.048Z] ], [2023-09-19T20:34:04.048Z] "mtu": 1458, [2023-09-19T20:34:04.048Z] "selinux-enabled": true, [2023-09-19T20:34:04.048Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T20:34:04.048Z] } [Pipeline] sh [2023-09-19T20:34:04.199Z] Removing intermediate container 63e18e458690 [2023-09-19T20:34:04.199Z] ---> a30b3867baf9 [2023-09-19T20:34:04.199Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T20:34:04.199Z] 3.18: Pulling from library/alpine [2023-09-19T20:34:04.199Z] 7264a8db6415: Already exists [2023-09-19T20:34:04.199Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T20:34:04.199Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T20:34:04.199Z] ---> 7e01a0d0a1dc [2023-09-19T20:34:04.199Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T20:34:04.199Z] ---> Running in 574a1c6d5eef [2023-09-19T20:34:04.199Z] Removing intermediate container 574a1c6d5eef [2023-09-19T20:34:04.199Z] ---> 8790006e9579 [2023-09-19T20:34:04.199Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-19T20:34:04.199Z] ---> Running in 3acb22aad695 [2023-09-19T20:34:04.393Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T20:34:04.458Z] Removing intermediate container 3acb22aad695 [2023-09-19T20:34:04.458Z] ---> cae27578c745 [2023-09-19T20:34:04.458Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T20:34:04.458Z] ---> Running in c66136d30c51 [2023-09-19T20:34:04.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T20:34:04.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T20:34:04.754Z] + sudo service docker restart [2023-09-19T20:34:04.977Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T20:34:04.978Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T20:34:04.978Z] OK: 7 MiB in 16 packages [2023-09-19T20:34:05.236Z] Removing intermediate container c66136d30c51 [2023-09-19T20:34:05.236Z] ---> 51585512016f [2023-09-19T20:34:05.236Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-19T20:34:05.805Z] ---> 6d85f3f3b7af [2023-09-19T20:34:05.805Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-19T20:34:06.065Z] ---> 7bd3a9f8887f [2023-09-19T20:34:06.065Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-19T20:34:06.065Z] ---> f5032548f98c [2023-09-19T20:34:06.065Z] Step 20/25 : EXPOSE 59986 [2023-09-19T20:34:06.065Z] ---> Running in e1a03d75b776 [2023-09-19T20:34:06.065Z] Removing intermediate container e1a03d75b776 [2023-09-19T20:34:06.065Z] ---> fb3d7c65eff1 [2023-09-19T20:34:06.065Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-19T20:34:06.324Z] ---> Running in ed260c425c30 [2023-09-19T20:34:06.324Z] Removing intermediate container ed260c425c30 [2023-09-19T20:34:06.324Z] ---> 6c7a066b6b2f [2023-09-19T20:34:06.324Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T20:34:06.324Z] ---> Running in f7110046d6bd [2023-09-19T20:34:06.324Z] Removing intermediate container f7110046d6bd [2023-09-19T20:34:06.324Z] ---> fd7bcf3b4a13 [2023-09-19T20:34:06.324Z] Step 23/25 : LABEL arch=amd64 [2023-09-19T20:34:06.324Z] ---> Running in c959fb4cbfcb [2023-09-19T20:34:06.324Z] Removing intermediate container c959fb4cbfcb [2023-09-19T20:34:06.324Z] ---> 382275458a6b [2023-09-19T20:34:06.324Z] Step 24/25 : LABEL git_sha=159c7456ff8034b7486e084faa29afaf0bdf481c [2023-09-19T20:34:06.585Z] ---> Running in ab15c82349d4 [2023-09-19T20:34:06.585Z] Removing intermediate container ab15c82349d4 [2023-09-19T20:34:06.585Z] ---> 32b90e2a0dcf [2023-09-19T20:34:06.585Z] Step 25/25 : LABEL version=0.0.0 [2023-09-19T20:34:06.585Z] ---> Running in fcc82622b6aa [2023-09-19T20:34:06.585Z] Removing intermediate container fcc82622b6aa [2023-09-19T20:34:06.585Z] ---> 1621e0c854cf [2023-09-19T20:34:06.585Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T20:34:06.585Z] Successfully built 1621e0c854cf [2023-09-19T20:34:06.585Z] 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-19T20:34:07.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T20:34:07.492Z] [2023-09-19T20:34:07.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:34:07.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T20:34:07.873Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T20:34:07.873Z] 5eb5b503b376: Pulling fs layer [2023-09-19T20:34:07.873Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T20:34:07.873Z] ec43610c2a17: Pulling fs layer [2023-09-19T20:34:07.873Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T20:34:07.873Z] 33b1e0a273af: Pulling fs layer [2023-09-19T20:34:07.873Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T20:34:07.873Z] 2f39f015ded8: Pulling fs layer [2023-09-19T20:34:07.873Z] 33b1e0a273af: Waiting [2023-09-19T20:34:07.873Z] 5d3b04190fa2: Waiting [2023-09-19T20:34:07.873Z] 2f39f015ded8: Waiting [2023-09-19T20:34:07.873Z] 3a2ae6a8a46f: Waiting [2023-09-19T20:34:07.873Z] 5c69ac0246d0: Download complete [2023-09-19T20:34:07.873Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T20:34:07.873Z] 3a2ae6a8a46f: Download complete [2023-09-19T20:34:07.873Z] 33b1e0a273af: Verifying Checksum [2023-09-19T20:34:07.873Z] 33b1e0a273af: Download complete [2023-09-19T20:34:07.873Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T20:34:07.873Z] 5d3b04190fa2: Download complete [2023-09-19T20:34:07.873Z] ec43610c2a17: Verifying Checksum [2023-09-19T20:34:07.873Z] ec43610c2a17: Download complete [2023-09-19T20:34:08.145Z] 5eb5b503b376: Verifying Checksum [2023-09-19T20:34:08.145Z] 5eb5b503b376: Download complete [2023-09-19T20:34:08.714Z] 2f39f015ded8: Download complete [2023-09-19T20:34:09.282Z] 5eb5b503b376: Pull complete [2023-09-19T20:34:09.282Z] 5c69ac0246d0: Pull complete [2023-09-19T20:34:09.541Z] ec43610c2a17: Pull complete [2023-09-19T20:34:09.801Z] 3a2ae6a8a46f: Pull complete [2023-09-19T20:34:09.801Z] 33b1e0a273af: Pull complete [2023-09-19T20:34:10.058Z] 5d3b04190fa2: Pull complete [2023-09-19T20:34:14.239Z] 2f39f015ded8: Pull complete [2023-09-19T20:34:14.239Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T20:34:14.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T20:34:14.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:34:14.467Z] prd-ubuntu20.04-docker-8c-8g-6623 does not seem to be running inside a container [2023-09-19T20:34:14.490Z] $ 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-342 -v /w/workspace/gexfoundry_device-rest-go_PR-342:/w/workspace/gexfoundry_device-rest-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-342@tmp:/w/workspace/gexfoundry_device-rest-go_PR-342@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-19T20:34:18.429Z] $ docker top 5af0d3931eb63e3b6a41062be483f03bb19fa800a55cecef4ff2aa1cf20ef6ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:34:18.882Z] ---> job-cost.sh [2023-09-19T20:34:18.882Z] lf-activate-venv: SKIPPING [2023-09-19T20:34:18.882Z] INFO: No Stack... [2023-09-19T20:34:19.141Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T20:34:19.402Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T20:34:19.713Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-342/archives/cost.csv [2023-09-19T20:34:19.713Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T20:34:19.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [2023-09-19T20:34:19.754Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] did not exist. Created. [2023-09-19T20:34:19.754Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T20:34:20.142Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T20:34:20.192Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T20:34:20.221Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T20:34:20.304Z] $ docker stop --time=1 5af0d3931eb63e3b6a41062be483f03bb19fa800a55cecef4ff2aa1cf20ef6ef [2023-09-19T20:34:21.456Z] $ docker rm -f --volumes 5af0d3931eb63e3b6a41062be483f03bb19fa800a55cecef4ff2aa1cf20ef6ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T20:34:23.054Z] provisioning config files... [2023-09-19T20:34:23.080Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5914421964952419563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:34:23.459Z] ---> docker-login.sh [2023-09-19T20:34:23.459Z] nexus3.edgexfoundry.org:10001 [2023-09-19T20:34:23.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:34:24.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:34:24.005Z] Configure a credential helper to remove this warning. See [2023-09-19T20:34:24.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:34:24.005Z] [2023-09-19T20:34:24.005Z] Login Succeeded [2023-09-19T20:34:24.005Z] nexus3.edgexfoundry.org:10002 [2023-09-19T20:34:24.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:34:24.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:34:24.547Z] Configure a credential helper to remove this warning. See [2023-09-19T20:34:24.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:34:24.547Z] [2023-09-19T20:34:24.547Z] Login Succeeded [2023-09-19T20:34:24.547Z] nexus3.edgexfoundry.org:10003 [2023-09-19T20:34:24.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:34:24.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:34:24.816Z] Configure a credential helper to remove this warning. See [2023-09-19T20:34:24.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:34:24.816Z] [2023-09-19T20:34:24.816Z] Login Succeeded [2023-09-19T20:34:24.816Z] nexus3.edgexfoundry.org:10004 [2023-09-19T20:34:25.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:34:25.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:34:25.087Z] Configure a credential helper to remove this warning. See [2023-09-19T20:34:25.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:34:25.087Z] [2023-09-19T20:34:25.087Z] Login Succeeded [2023-09-19T20:34:25.087Z] docker.io [2023-09-19T20:34:25.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T20:34:25.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T20:34:25.623Z] Configure a credential helper to remove this warning. See [2023-09-19T20:34:25.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T20:34:25.623Z] [2023-09-19T20:34:25.623Z] Login Succeeded [2023-09-19T20:34:25.623Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T20:34:25.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T20:34:26.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T20:34:26.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T20:34:26.077Z] ========================================================= [2023-09-19T20:34:26.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T20:34:26.077Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:34:26.582Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T20:34:26.582Z] Sending build context to Docker daemon 143.4kB [2023-09-19T20:34:26.856Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T20:34:26.856Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-19T20:34:26.856Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T20:34:26.856Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T20:34:26.856Z] 5d54e960e981: Pulling fs layer [2023-09-19T20:34:26.856Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T20:34:26.856Z] f0e02332f6b5: Pulling fs layer [2023-09-19T20:34:26.856Z] 66412af1f25a: Pulling fs layer [2023-09-19T20:34:26.856Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T20:34:26.856Z] 9a37bb91b891: Pulling fs layer [2023-09-19T20:34:26.856Z] a29adfc67d43: Pulling fs layer [2023-09-19T20:34:26.856Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T20:34:26.856Z] f0e02332f6b5: Waiting [2023-09-19T20:34:26.856Z] 66412af1f25a: Waiting [2023-09-19T20:34:26.856Z] 1baf3a5c0e64: Waiting [2023-09-19T20:34:26.856Z] a29adfc67d43: Waiting [2023-09-19T20:34:26.856Z] d5de9f91c1a4: Waiting [2023-09-19T20:34:26.856Z] 9a37bb91b891: Waiting [2023-09-19T20:34:26.856Z] 5d54e960e981: Verifying Checksum [2023-09-19T20:34:26.856Z] 5d54e960e981: Download complete [2023-09-19T20:34:27.141Z] f0e02332f6b5: Verifying Checksum [2023-09-19T20:34:27.141Z] f0e02332f6b5: Download complete [2023-09-19T20:34:27.141Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T20:34:27.141Z] 9fda8d8052c6: Download complete [2023-09-19T20:34:27.141Z] 66412af1f25a: Download complete [2023-09-19T20:34:27.420Z] 9a37bb91b891: Verifying Checksum [2023-09-19T20:34:27.420Z] 9a37bb91b891: Download complete [2023-09-19T20:34:28.403Z] a29adfc67d43: Verifying Checksum [2023-09-19T20:34:28.403Z] a29adfc67d43: Download complete [2023-09-19T20:34:28.403Z] 9fda8d8052c6: Pull complete [2023-09-19T20:34:28.994Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T20:34:28.994Z] d5de9f91c1a4: Download complete [2023-09-19T20:34:29.264Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T20:34:29.264Z] c4a7e357bf2a: Download complete [2023-09-19T20:34:29.849Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T20:34:29.849Z] 1baf3a5c0e64: Download complete [2023-09-19T20:34:30.808Z] 5d54e960e981: Pull complete [2023-09-19T20:34:43.238Z] c4a7e357bf2a: Pull complete [2023-09-19T20:34:43.238Z] f0e02332f6b5: Pull complete [2023-09-19T20:34:43.238Z] 66412af1f25a: Pull complete [2023-09-19T20:34:48.615Z] 1baf3a5c0e64: Pull complete [2023-09-19T20:34:50.043Z] 9a37bb91b891: Pull complete [2023-09-19T20:34:51.010Z] a29adfc67d43: Pull complete [2023-09-19T20:34:52.437Z] d5de9f91c1a4: Pull complete [2023-09-19T20:34:52.437Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T20:34:52.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T20:34:52.437Z] ---> 746ca1b523b5 [2023-09-19T20:34:52.437Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-19T20:34:54.395Z] ---> Running in ec5f81954561 [2023-09-19T20:34:54.395Z] Removing intermediate container ec5f81954561 [2023-09-19T20:34:54.395Z] ---> 576507dc7470 [2023-09-19T20:34:54.395Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T20:34:54.679Z] ---> Running in a4fd2dc143e1 [2023-09-19T20:34:54.680Z] Removing intermediate container a4fd2dc143e1 [2023-09-19T20:34:54.680Z] ---> 5a7653efcf56 [2023-09-19T20:34:54.680Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T20:34:54.952Z] ---> Running in 0db43534f93e [2023-09-19T20:34:55.220Z] Removing intermediate container 0db43534f93e [2023-09-19T20:34:55.220Z] ---> 1f54e768baa6 [2023-09-19T20:34:55.220Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T20:34:55.220Z] ---> Running in fdd11b1b6923 [2023-09-19T20:34:55.488Z] Removing intermediate container fdd11b1b6923 [2023-09-19T20:34:55.488Z] ---> b3453755251d [2023-09-19T20:34:55.488Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T20:34:55.488Z] ---> Running in 6c52c5d38e64 [2023-09-19T20:34:56.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T20:34:56.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T20:34:57.717Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-19T20:34:57.717Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-19T20:34:57.717Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-19T20:34:57.717Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-19T20:34:57.717Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T20:34:57.717Z] OK: 272 MiB in 60 packages [2023-09-19T20:34:59.659Z] Removing intermediate container 6c52c5d38e64 [2023-09-19T20:34:59.659Z] ---> 91a1722d4b1e [2023-09-19T20:34:59.659Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-19T20:34:59.659Z] ---> Running in 71bcb3a8b25d [2023-09-19T20:34:59.659Z] Removing intermediate container 71bcb3a8b25d [2023-09-19T20:34:59.659Z] ---> 5f65cafb7626 [2023-09-19T20:34:59.659Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-19T20:35:00.284Z] ---> 009309a00355 [2023-09-19T20:35:00.284Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T20:35:00.284Z] ---> Running in acb27144abda [2023-09-19T20:36:08.188Z] Removing intermediate container acb27144abda [2023-09-19T20:36:08.188Z] ---> 103b05a0281e [2023-09-19T20:36:08.188Z] Step 11/12 : COPY . . [2023-09-19T20:36:08.778Z] ---> 4e9dc956bdc1 [2023-09-19T20:36:08.778Z] Step 12/12 : RUN $MAKE [2023-09-19T20:36:09.073Z] ---> Running in f1fbef846827 [2023-09-19T20:36:10.050Z] noop [2023-09-19T20:36:10.637Z] Removing intermediate container f1fbef846827 [2023-09-19T20:36:10.637Z] ---> f8724d5895eb [2023-09-19T20:36:10.637Z] Successfully built f8724d5895eb [2023-09-19T20:36:10.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:36:11.127Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T20:36:11.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:36:11.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-6624 does not seem to be running inside a container [2023-09-19T20:36:11.472Z] $ 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-19T20:36:12.608Z] $ docker top f310510f2387638bcf8eaa6b4321eb0b250dd4e46dfea0b3bbbefc20c1cd878b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T20:36:13.472Z] + go version [2023-09-19T20:36:13.472Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T20:36:13.533Z] $ docker stop --time=1 f310510f2387638bcf8eaa6b4321eb0b250dd4e46dfea0b3bbbefc20c1cd878b [2023-09-19T20:36:15.084Z] $ docker rm -f --volumes f310510f2387638bcf8eaa6b4321eb0b250dd4e46dfea0b3bbbefc20c1cd878b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:36:15.945Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T20:36:15.946Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:36:16.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-6624 does not seem to be running inside a container [2023-09-19T20:36:16.265Z] $ 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-19T20:36:17.328Z] $ docker top f46950aaf06af524597fe022b2bd0aba3c1f1e53e319c75253e0ce2ac917d25a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T20:36:17.863Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T20:36:18.510Z] + make test [2023-09-19T20:36:18.510Z] go test ./... -coverprofile=coverage.out ./... [2023-09-19T20:36:25.178Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-19T20:38:01.816Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-19T20:38:01.816Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-09-19T20:38:01.816Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T20:38:01.816Z] go vet ./... [2023-09-19T20:38:10.022Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T20:38:10.022Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T20:38:10.022Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T20:38:10.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T20:38:10.104Z] $ docker stop --time=1 f46950aaf06af524597fe022b2bd0aba3c1f1e53e319c75253e0ce2ac917d25a [2023-09-19T20:38:12.065Z] $ docker rm -f --volumes f46950aaf06af524597fe022b2bd0aba3c1f1e53e319c75253e0ce2ac917d25a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T20:38:13.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T20:38:13.308Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T20:38:13.706Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T20:38:14.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T20:38:14.712Z] + ls -al . [2023-09-19T20:38:14.713Z] total 184 [2023-09-19T20:38:14.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 20:36 . [2023-09-19T20:38:14.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 20:33 .. [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 19 20:34 .dockerignore [2023-09-19T20:38:14.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 20:34 .git [2023-09-19T20:38:14.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 20:34 .github [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 19 20:34 .gitignore [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 20:34 .golangci.yml [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 19 20:34 Attribution.txt [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 19 20:34 CHANGELOG.md [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 19 20:34 Dockerfile [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 20:34 GOVERNANCE.md [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 19 20:34 Jenkinsfile [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 20:34 LICENSE [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 19 20:34 Makefile [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 19 20:34 OWNERS.md [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 19 20:34 README.md [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 20:32 VERSION [2023-09-19T20:38:14.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 20:34 bin [2023-09-19T20:38:14.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 20:34 cmd [2023-09-19T20:38:14.713Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 19 20:37 coverage.out [2023-09-19T20:38:14.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 20:34 driver [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 19 20:34 go.mod [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 19 20:34 go.sum [2023-09-19T20:38:14.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 20:34 snap [2023-09-19T20:38:14.713Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 19 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:38:15.132Z] + 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=159c7456ff8034b7486e084faa29afaf0bdf481c --label arch=arm64 --label version=0.0.0 . [2023-09-19T20:38:15.132Z] Sending build context to Docker daemon 158.7kB [2023-09-19T20:38:15.398Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T20:38:15.398Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-19T20:38:15.398Z] ---> f8724d5895eb [2023-09-19T20:38:15.398Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-19T20:38:15.398Z] ---> Running in c2d676b4c4b3 [2023-09-19T20:38:15.674Z] Removing intermediate container c2d676b4c4b3 [2023-09-19T20:38:15.674Z] ---> a50d4f102708 [2023-09-19T20:38:15.674Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-19T20:38:15.943Z] ---> Running in e675954df6a8 [2023-09-19T20:38:16.212Z] Removing intermediate container e675954df6a8 [2023-09-19T20:38:16.212Z] ---> 5184dca5747d [2023-09-19T20:38:16.212Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-19T20:38:16.212Z] ---> Running in fb4430ebee72 [2023-09-19T20:38:18.156Z] Removing intermediate container fb4430ebee72 [2023-09-19T20:38:18.156Z] ---> 51f7af358373 [2023-09-19T20:38:18.156Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-19T20:38:18.156Z] ---> Running in 7051fa4558c7 [2023-09-19T20:38:18.156Z] Removing intermediate container 7051fa4558c7 [2023-09-19T20:38:18.156Z] ---> 66cf3c0ca554 [2023-09-19T20:38:18.156Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-19T20:38:18.422Z] ---> Running in 2e60a3272422 [2023-09-19T20:38:19.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T20:38:19.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T20:38:20.612Z] OK: 272 MiB in 60 packages [2023-09-19T20:38:23.829Z] Removing intermediate container 2e60a3272422 [2023-09-19T20:38:23.829Z] ---> 3edf9e011eea [2023-09-19T20:38:23.829Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-19T20:38:24.097Z] ---> Running in 0303f99d6228 [2023-09-19T20:38:24.364Z] Removing intermediate container 0303f99d6228 [2023-09-19T20:38:24.364Z] ---> cf757b792ddb [2023-09-19T20:38:24.364Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-19T20:38:24.633Z] ---> af42855951a0 [2023-09-19T20:38:24.633Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T20:38:24.900Z] ---> Running in 67bad00ed715 [2023-09-19T20:38:26.851Z] Removing intermediate container 67bad00ed715 [2023-09-19T20:38:26.851Z] ---> 022b5afe4af5 [2023-09-19T20:38:26.851Z] Step 11/25 : COPY . . [2023-09-19T20:38:27.436Z] ---> 4af4a6e04dcc [2023-09-19T20:38:27.436Z] Step 12/25 : RUN $MAKE [2023-09-19T20:38:27.436Z] ---> Running in 4beb73051121 [2023-09-19T20:38:28.846Z] 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.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-19T20:40:35.549Z] Removing intermediate container 4beb73051121 [2023-09-19T20:40:35.549Z] ---> 05a2b92eeb2d [2023-09-19T20:40:35.549Z] Step 13/25 : FROM alpine:3.18 [2023-09-19T20:40:35.549Z] 3.18: Pulling from library/alpine [2023-09-19T20:40:35.549Z] 9fda8d8052c6: Already exists [2023-09-19T20:40:35.549Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T20:40:35.549Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T20:40:35.549Z] ---> f6648c04cd6c [2023-09-19T20:40:35.549Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T20:40:35.549Z] ---> Running in 47c4afaab979 [2023-09-19T20:40:35.549Z] Removing intermediate container 47c4afaab979 [2023-09-19T20:40:35.549Z] ---> 1cdc37d9081b [2023-09-19T20:40:35.549Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-19T20:40:35.549Z] ---> Running in 8e8b58f84b5f [2023-09-19T20:40:35.549Z] Removing intermediate container 8e8b58f84b5f [2023-09-19T20:40:35.549Z] ---> 91a173e0da1a [2023-09-19T20:40:35.549Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-19T20:40:35.549Z] ---> Running in 80cc09df2640 [2023-09-19T20:40:35.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T20:40:35.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T20:40:35.549Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-19T20:40:35.549Z] Executing busybox-1.36.1-r2.trigger [2023-09-19T20:40:35.549Z] OK: 8 MiB in 16 packages [2023-09-19T20:40:35.549Z] Removing intermediate container 80cc09df2640 [2023-09-19T20:40:35.549Z] ---> f54011e799ce [2023-09-19T20:40:35.549Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-19T20:40:35.549Z] ---> d4c008a518b7 [2023-09-19T20:40:35.549Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-19T20:40:35.549Z] ---> 4777ef2eb86e [2023-09-19T20:40:35.549Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-19T20:40:35.549Z] ---> 2177e4a30425 [2023-09-19T20:40:35.549Z] Step 20/25 : EXPOSE 59986 [2023-09-19T20:40:35.549Z] ---> Running in aea3e25be4e7 [2023-09-19T20:40:35.549Z] Removing intermediate container aea3e25be4e7 [2023-09-19T20:40:35.549Z] ---> ba77d0b9253d [2023-09-19T20:40:35.549Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-19T20:40:35.549Z] ---> Running in 835e89df701e [2023-09-19T20:40:35.549Z] Removing intermediate container 835e89df701e [2023-09-19T20:40:35.549Z] ---> 31b5cf34916f [2023-09-19T20:40:35.549Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-19T20:40:35.549Z] ---> Running in 84a707da1e29 [2023-09-19T20:40:35.549Z] Removing intermediate container 84a707da1e29 [2023-09-19T20:40:35.549Z] ---> c41b362f6377 [2023-09-19T20:40:35.549Z] Step 23/25 : LABEL arch=arm64 [2023-09-19T20:40:35.549Z] ---> Running in e24dc8ef1896 [2023-09-19T20:40:35.549Z] Removing intermediate container e24dc8ef1896 [2023-09-19T20:40:35.549Z] ---> 2ec75770c9fe [2023-09-19T20:40:35.549Z] Step 24/25 : LABEL git_sha=159c7456ff8034b7486e084faa29afaf0bdf481c [2023-09-19T20:40:35.549Z] ---> Running in 412dc607980b [2023-09-19T20:40:35.549Z] Removing intermediate container 412dc607980b [2023-09-19T20:40:35.549Z] ---> b3e5eb2baaf5 [2023-09-19T20:40:35.549Z] Step 25/25 : LABEL version=0.0.0 [2023-09-19T20:40:35.549Z] ---> Running in 7cd8e30cd33d [2023-09-19T20:40:35.549Z] Removing intermediate container 7cd8e30cd33d [2023-09-19T20:40:35.549Z] ---> 2199af7f2402 [2023-09-19T20:40:35.549Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T20:40:35.549Z] Successfully built 2199af7f2402 [2023-09-19T20:40:35.549Z] 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-19T20:40:36.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T20:40:36.374Z] [2023-09-19T20:40:36.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:40:36.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T20:40:38.699Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T20:40:38.699Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T20:40:38.699Z] 04944245beec: Pulling fs layer [2023-09-19T20:40:38.699Z] 699f458cf7ca: Pulling fs layer [2023-09-19T20:40:38.699Z] 765212b225bb: Pulling fs layer [2023-09-19T20:40:38.699Z] f23df028b6ca: Pulling fs layer [2023-09-19T20:40:38.699Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T20:40:38.699Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T20:40:38.699Z] 765212b225bb: Waiting [2023-09-19T20:40:38.699Z] f23df028b6ca: Waiting [2023-09-19T20:40:38.699Z] d65c8cfc05b1: Waiting [2023-09-19T20:40:38.699Z] 2437ff75d9bd: Waiting [2023-09-19T20:40:38.699Z] 04944245beec: Verifying Checksum [2023-09-19T20:40:38.699Z] 04944245beec: Download complete [2023-09-19T20:40:38.699Z] 765212b225bb: Verifying Checksum [2023-09-19T20:40:38.699Z] 765212b225bb: Download complete [2023-09-19T20:40:38.699Z] f23df028b6ca: Verifying Checksum [2023-09-19T20:40:38.699Z] f23df028b6ca: Download complete [2023-09-19T20:40:38.699Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T20:40:38.699Z] d65c8cfc05b1: Download complete [2023-09-19T20:40:38.968Z] 699f458cf7ca: Verifying Checksum [2023-09-19T20:40:38.968Z] 699f458cf7ca: Download complete [2023-09-19T20:40:39.237Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T20:40:39.237Z] 8998bd30e6a1: Download complete [2023-09-19T20:40:41.187Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T20:40:41.187Z] 2437ff75d9bd: Download complete [2023-09-19T20:40:43.131Z] 8998bd30e6a1: Pull complete [2023-09-19T20:40:43.714Z] 04944245beec: Pull complete [2023-09-19T20:40:44.671Z] 699f458cf7ca: Pull complete [2023-09-19T20:40:44.938Z] 765212b225bb: Pull complete [2023-09-19T20:40:45.898Z] f23df028b6ca: Pull complete [2023-09-19T20:40:45.898Z] d65c8cfc05b1: Pull complete [2023-09-19T20:41:00.883Z] 2437ff75d9bd: Pull complete [2023-09-19T20:41:00.883Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T20:41:00.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T20:41:00.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:41:01.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-6624 does not seem to be running inside a container [2023-09-19T20:41:01.270Z] $ 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-19T20:41:03.577Z] $ docker top c522529373acfb7830dcdaaac197b5869fa68197b1c812a3afad4ef998eaa298 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:04.129Z] ---> job-cost.sh [2023-09-19T20:41:04.394Z] lf-activate-venv: SKIPPING [2023-09-19T20:41:04.394Z] INFO: No Stack... [2023-09-19T20:41:04.660Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T20:41:05.612Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T20:41:05.942Z] + cut -d, -f6 [2023-09-19T20:41:05.942Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-09-19T20:41:06.027Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [2023-09-19T20:41:06.031Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] did not exist. Created. [2023-09-19T20:41:06.031Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T20:41:06.449Z] /w/workspace/device-rest-go/1@tmp/durable-25a2e876/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T20:41:06.796Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T20:41:06.833Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T20:41:06.879Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T20:41:06.893Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T20:41:06.976Z] $ docker stop --time=1 c522529373acfb7830dcdaaac197b5869fa68197b1c812a3afad4ef998eaa298 [2023-09-19T20:41:08.446Z] $ docker rm -f --volumes c522529373acfb7830dcdaaac197b5869fa68197b1c812a3afad4ef998eaa298 [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-19T20:41:09.515Z] provisioning config files... [2023-09-19T20:41:09.523Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/config14296565243585270940tmp [Pipeline] { [Pipeline] sh [2023-09-19T20:41:09.854Z] + set +x [2023-09-19T20:41:09.855Z] + curl -s https://codecov.io/bash [2023-09-19T20:41:09.855Z] + bash -s -- [2023-09-19T20:41:09.855Z] [2023-09-19T20:41:09.855Z] _____ _ [2023-09-19T20:41:09.855Z] / ____| | | [2023-09-19T20:41:09.855Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T20:41:09.855Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T20:41:09.855Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T20:41:09.855Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T20:41:09.855Z] Bash-1.0.6 [2023-09-19T20:41:09.855Z] [2023-09-19T20:41:09.855Z] [2023-09-19T20:41:09.855Z] ==> git version 2.25.1 found [2023-09-19T20:41:09.855Z] ==> 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-19T20:41:09.855Z] Release-Date: 2020-01-08 [2023-09-19T20:41:09.855Z] 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-19T20:41:09.855Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T20:41:09.855Z] ==> Jenkins CI detected. [2023-09-19T20:41:09.855Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-342 [2023-09-19T20:41:09.855Z] project root: . [2023-09-19T20:41:09.855Z] --> token set from env [2023-09-19T20:41:09.855Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T20:41:09.855Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T20:41:09.855Z] ==> Python coveragepy not found [2023-09-19T20:41:09.855Z] ==> Searching for coverage reports in: [2023-09-19T20:41:09.855Z] + . [2023-09-19T20:41:09.855Z] -> Found 1 reports [2023-09-19T20:41:09.855Z] ==> Detecting git/mercurial file structure [2023-09-19T20:41:09.855Z] ==> Reading reports [2023-09-19T20:41:10.113Z] + ./coverage.out bytes=14499 [2023-09-19T20:41:10.113Z] ==> Appending adjustments [2023-09-19T20:41:10.113Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T20:41:10.113Z] + Found adjustments [2023-09-19T20:41:10.113Z] ==> Gzipping contents [2023-09-19T20:41:10.113Z] 4.0K /tmp/codecov.ep0XyT.gz [2023-09-19T20:41:10.113Z] ==> Uploading reports [2023-09-19T20:41:10.113Z] url: https://codecov.io [2023-09-19T20:41:10.113Z] query: branch=PR-342&commit=159c7456ff8034b7486e084faa29afaf0bdf481c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=342&job=&cmd_args= [2023-09-19T20:41:10.113Z] -> Pinging Codecov [2023-09-19T20:41:10.113Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-342&commit=159c7456ff8034b7486e084faa29afaf0bdf481c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=342&job=&cmd_args= [2023-09-19T20:41:10.113Z] -> Uploading to [2023-09-19T20:41:10.113Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/4E5D53B4F1F92C436F7061BF334D961C/159c7456ff8034b7486e084faa29afaf0bdf481c/27ebf0ab-0665-41c6-8be4-17447002f69e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T204110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67096ba362b48db8174a4a291465f46cd1de1abd74ea031bfaf17e85b30ceb65 [2023-09-19T20:41:10.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T20:41:10.113Z] Dload Upload Total Spent Left Speed [2023-09-19T20:41:10.375Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13850 --:--:-- --:--:-- --:--:-- 13850 [2023-09-19T20:41:10.375Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/159c7456ff8034b7486e084faa29afaf0bdf481c [Pipeline] } [2023-09-19T20:41:10.398Z] 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-19T20:41:12.252Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-342/archives ] [2023-09-19T20:41:12.252Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-342/archives [2023-09-19T20:41:12.252Z] total 16 [2023-09-19T20:41:12.252Z] drwxr-xr-x 3 root root 4096 Sep 19 20:34 . [2023-09-19T20:41:12.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 20:34 .. [2023-09-19T20:41:12.252Z] drwxr-xr-x 2 root root 4096 Sep 19 20:34 cost [2023-09-19T20:41:12.252Z] -rw-r--r-- 1 root root 86 Sep 19 20:34 cost.csv [2023-09-19T20:41:12.252Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-342/archives [2023-09-19T20:41:12.252Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-342/archives [2023-09-19T20:41:12.252Z] total 16 [2023-09-19T20:41:12.252Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 20:34 . [2023-09-19T20:41:12.252Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 20:34 .. [2023-09-19T20:41:12.252Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 20:34 cost [2023-09-19T20:41:12.252Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 20:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:12.581Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:13.474Z] ---> package-listing.sh [2023-09-19T20:41:13.474Z] ++ facter osfamily [2023-09-19T20:41:13.474Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T20:41:13.734Z] + OS_FAMILY=debian [2023-09-19T20:41:13.734Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-342 [2023-09-19T20:41:13.734Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T20:41:13.734Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T20:41:13.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T20:41:13.735Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T20:41:13.735Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-342 ']' [2023-09-19T20:41:13.735Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T20:41:13.735Z] + case "${OS_FAMILY}" in [2023-09-19T20:41:13.735Z] + dpkg -l [2023-09-19T20:41:13.735Z] + grep '^ii' [2023-09-19T20:41:13.735Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T20:41:13.735Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T20:41:13.735Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T20:41:13.735Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-342 ']' [2023-09-19T20:41:13.735Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-342/archives/ [2023-09-19T20:41:13.735Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-342/archives/ [Pipeline] echo [2023-09-19T20:41:13.767Z] 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-342/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T20:41:14.057Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T20:41:14.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T20:41:14.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T20:41:14.827Z] prd-ubuntu20.04-docker-8c-8g-6623 does not seem to be running inside a container [2023-09-19T20:41:14.860Z] $ 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-342/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-342 -v /w/workspace/gexfoundry_device-rest-go_PR-342:/w/workspace/gexfoundry_device-rest-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-342@tmp:/w/workspace/gexfoundry_device-rest-go_PR-342@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-19T20:41:15.048Z] $ docker top 5176e1541923679e728247a7d25d3fb7715903ca1abee81e4cb51e94b5f0654e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T20:41:15.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T20:41:15.755Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T20:41:16.065Z] + ls /var/log/sa-host [2023-09-19T20:41:16.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T20:41:16.298Z] provisioning config files... [2023-09-19T20:41:16.305Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-342@tmp/config7043211426149121144tmp [Pipeline] { [Pipeline] echo [2023-09-19T20:41:16.365Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:16.676Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T20:41:16.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:17.098Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T20:41:17.131Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:17.440Z] ---> sudo-logs.sh [2023-09-19T20:41:17.440Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T20:41:17.528Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:17.840Z] ---> job-cost.sh [2023-09-19T20:41:17.840Z] lf-activate-venv: SKIPPING [2023-09-19T20:41:17.840Z] DEBUG: total: 0.2199999988079071 [2023-09-19T20:41:17.840Z] INFO: Retrieving Stack Cost... [2023-09-19T20:41:18.100Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T20:41:18.668Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T20:41:18.709Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T20:41:19.022Z] ---> logs-deploy.sh [2023-09-19T20:41:19.022Z] lf-activate-venv: SKIPPING [2023-09-19T20:41:19.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-342/1 [2023-09-19T20:41:19.022Z] INFO: archiving workspace using pattern(s): [2023-09-19T20:41:19.961Z] Archives upload complete. [2023-09-19T20:41:19.961Z] INFO: archiving logs to Nexus