Pull request #352 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6f9c375944694165ba7d6adc0efe34690708cf6+9b53cce74fa8bad39d84f8d6d5cef51853259bec (dfbf3a90771193a0e5c0df488f70f7def938a411) 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-ssh2378624864055655665.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-ssh1883710549593164356.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-352/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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18110251174234558499.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-352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18442686820498613110.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-ssh286747083935733887.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-352/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-352/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18089874855615263684.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-9545 in /w/workspace/gexfoundry_device-rest-go_PR-352 [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-352 # 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/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b53cce74fa8bad39d84f8d6d5cef51853259bec into PR head commit f6f9c375944694165ba7d6adc0efe34690708cf6 Merge succeeded, producing f6f9c375944694165ba7d6adc0efe34690708cf6 Checking out Revision f6f9c375944694165ba7d6adc0efe34690708cf6 (PR-352) 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] } > git config core.sparsecheckout # timeout=10 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # 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 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-18T20:05:29.081Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-18T20:05:29.259Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-18T20:05:29.362Z] ========================================================= [2023-10-18T20:05:29.362Z] EdgeX Global Pipelines Version Info [2023-10-18T20:05:29.362Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:05:30.097Z] ------------------- [2023-10-18T20:05:30.097Z] stable info: [2023-10-18T20:05:30.097Z] ------------------- [2023-10-18T20:05:30.097Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-18T20:05:30.097Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T20:05:30.097Z] Message: update stable to v1.0.254 [2023-10-18T20:05:30.668Z] ------------------- [2023-10-18T20:05:30.668Z] experimental info: [2023-10-18T20:05:30.668Z] ------------------- [2023-10-18T20:05:30.668Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-18T20:05:30.668Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-18T20:05:30.668Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-18T20:05:30.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-18T20:05:31.032Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-18T20:05:31.069Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-18T20:05:31.115Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-18T20:05:31.156Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-18T20:05:31.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-18T20:05:31.239Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-18T20:05:31.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-18T20:05:31.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-18T20:05:31.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-18T20:05:31.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-18T20:05:31.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-18T20:05:31.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-18T20:05:31.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-18T20:05:31.594Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T20:05:31.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-18T20:05:31.687Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T20:05:31.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-18T20:05:31.782Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-18T20:05:31.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-18T20:05:31.877Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-18T20:05:31.921Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-18T20:05:31.967Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-18T20:05:32.013Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-18T20:05:32.059Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-18T20:05:32.102Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-18T20:05:32.142Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-18T20:05:32.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-352 [Pipeline] echo [2023-10-18T20:05:32.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-352 [Pipeline] echo [2023-10-18T20:05:32.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-352 [Pipeline] echo [2023-10-18T20:05:32.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo [2023-10-18T20:05:32.372Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6f9c37 [Pipeline] echo [2023-10-18T20:05:32.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:05:32.560Z] provisioning config files... [2023-10-18T20:05:32.575Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config7782933087362576008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:05:32.928Z] ---> docker-login.sh [2023-10-18T20:05:32.928Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:05:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:33.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:33.454Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:33.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:33.454Z] [2023-10-18T20:05:33.454Z] Login Succeeded [2023-10-18T20:05:33.454Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:05:33.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:33.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:33.454Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:33.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:33.454Z] [2023-10-18T20:05:33.715Z] Login Succeeded [2023-10-18T20:05:33.715Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:05:33.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:33.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:33.715Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:33.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:33.715Z] [2023-10-18T20:05:33.715Z] Login Succeeded [2023-10-18T20:05:33.715Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:05:33.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:33.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:33.715Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:33.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:33.715Z] [2023-10-18T20:05:33.715Z] Login Succeeded [2023-10-18T20:05:33.715Z] docker.io [2023-10-18T20:05:33.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:34.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:34.236Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:34.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:34.236Z] [2023-10-18T20:05:34.236Z] Login Succeeded [2023-10-18T20:05:34.236Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:05:34.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-18T20:05:34.925Z] + git rev-list -1 --merges f6f9c375944694165ba7d6adc0efe34690708cf6~1..f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo [2023-10-18T20:05:34.989Z] -----------> git rev-list -1 --merges f6f9c375944694165ba7d6adc0efe34690708cf6~1..f6f9c375944694165ba7d6adc0efe34690708cf6 f6f9c375944694165ba7d6adc0efe34690708cf6 [false] [Pipeline] sh [2023-10-18T20:05:35.299Z] + git log --format=format:%s -1 f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo [2023-10-18T20:05:35.337Z] ========================================================= [2023-10-18T20:05:35.337Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-18T20:05:35.337Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:05:35.777Z] + git log --format=format:%s -1 f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] echo [2023-10-18T20:05:35.808Z] [semverPrep] GIT_COMMIT: f6f9c375944694165ba7d6adc0efe34690708cf6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-18T20:05:35.840Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-18T20:05:36.241Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-18T20:05:36.241Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-18T20:05:36.241Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-18T20:05:36.241Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-18T20:05:36.241Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-18T20:05:36.241Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-18T20:05:36.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:05:36.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:05:36.747Z] [2023-10-18T20:05:36.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:05:37.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:05:37.133Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-18T20:05:37.133Z] b85a868b505f: Pulling fs layer [2023-10-18T20:05:37.133Z] e2be974225ed: Pulling fs layer [2023-10-18T20:05:37.133Z] 339a4e72a1f5: Pulling fs layer [2023-10-18T20:05:37.133Z] 988bab9f4d93: Pulling fs layer [2023-10-18T20:05:37.133Z] 1469e6f7b9e6: Pulling fs layer [2023-10-18T20:05:37.133Z] eaf3925da568: Pulling fs layer [2023-10-18T20:05:37.133Z] bab4dde63d76: Pulling fs layer [2023-10-18T20:05:37.133Z] bde34c3a00c8: Pulling fs layer [2023-10-18T20:05:37.133Z] 988bab9f4d93: Waiting [2023-10-18T20:05:37.133Z] 1469e6f7b9e6: Waiting [2023-10-18T20:05:37.133Z] bab4dde63d76: Waiting [2023-10-18T20:05:37.133Z] b352a97aabf1: Pulling fs layer [2023-10-18T20:05:37.133Z] eaf3925da568: Waiting [2023-10-18T20:05:37.133Z] bde34c3a00c8: Waiting [2023-10-18T20:05:37.133Z] 4872d77fe225: Pulling fs layer [2023-10-18T20:05:37.133Z] b352a97aabf1: Waiting [2023-10-18T20:05:37.133Z] 5851b861e8e6: Pulling fs layer [2023-10-18T20:05:37.133Z] 4872d77fe225: Waiting [2023-10-18T20:05:37.133Z] 5851b861e8e6: Waiting [2023-10-18T20:05:37.133Z] e2be974225ed: Download complete [2023-10-18T20:05:37.133Z] 988bab9f4d93: Verifying Checksum [2023-10-18T20:05:37.133Z] 988bab9f4d93: Download complete [2023-10-18T20:05:37.133Z] 1469e6f7b9e6: Verifying Checksum [2023-10-18T20:05:37.133Z] 1469e6f7b9e6: Download complete [2023-10-18T20:05:37.394Z] 339a4e72a1f5: Verifying Checksum [2023-10-18T20:05:37.394Z] 339a4e72a1f5: Download complete [2023-10-18T20:05:37.394Z] eaf3925da568: Verifying Checksum [2023-10-18T20:05:37.394Z] eaf3925da568: Download complete [2023-10-18T20:05:37.394Z] bde34c3a00c8: Download complete [2023-10-18T20:05:37.394Z] b352a97aabf1: Download complete [2023-10-18T20:05:37.394Z] 4872d77fe225: Verifying Checksum [2023-10-18T20:05:37.394Z] 4872d77fe225: Download complete [2023-10-18T20:05:37.394Z] 5851b861e8e6: Verifying Checksum [2023-10-18T20:05:37.394Z] 5851b861e8e6: Download complete [2023-10-18T20:05:37.394Z] b85a868b505f: Verifying Checksum [2023-10-18T20:05:37.394Z] b85a868b505f: Download complete [2023-10-18T20:05:37.653Z] bab4dde63d76: Verifying Checksum [2023-10-18T20:05:37.653Z] bab4dde63d76: Download complete [2023-10-18T20:05:38.592Z] b85a868b505f: Pull complete [2023-10-18T20:05:38.851Z] e2be974225ed: Pull complete [2023-10-18T20:05:39.441Z] 339a4e72a1f5: Pull complete [2023-10-18T20:05:39.441Z] 988bab9f4d93: Pull complete [2023-10-18T20:05:39.700Z] 1469e6f7b9e6: Pull complete [2023-10-18T20:05:39.700Z] eaf3925da568: Pull complete [2023-10-18T20:05:41.607Z] bab4dde63d76: Pull complete [2023-10-18T20:05:41.607Z] bde34c3a00c8: Pull complete [2023-10-18T20:05:41.867Z] b352a97aabf1: Pull complete [2023-10-18T20:05:41.867Z] 4872d77fe225: Pull complete [2023-10-18T20:05:41.867Z] 5851b861e8e6: Pull complete [2023-10-18T20:05:41.867Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-18T20:05:41.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-18T20:05:41.867Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:05:42.118Z] prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container [2023-10-18T20:05:42.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-18T20:05:46.001Z] $ docker top db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 -eo pid,comm [2023-10-18T20:05:46.064Z] 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-10-18T20:05:46.064Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-18T20:05:46.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:05:46.193Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:05:46.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:05:46.302Z] $ docker exec db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent [2023-10-18T20:05:46.402Z] SSH_AUTH_SOCK=/tmp/ssh-3lUk0VfTkfv6/agent.33 [2023-10-18T20:05:46.403Z] SSH_AGENT_PID=39 [2023-10-18T20:05:46.409Z] Running ssh-add (command line suppressed) [2023-10-18T20:05:46.498Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_1590450863865769416.key (/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_1590450863865769416.key) [2023-10-18T20:05:46.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:05:46.851Z] + git tag --points-at HEAD [Pipeline] } [2023-10-18T20:05:46.885Z] $ docker exec --env ******** --env ******** db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent -k [2023-10-18T20:05:46.984Z] unset SSH_AUTH_SOCK; [2023-10-18T20:05:46.985Z] unset SSH_AGENT_PID; [2023-10-18T20:05:46.985Z] echo Agent pid 39 killed; [2023-10-18T20:05:46.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-18T20:05:47.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-18T20:05:47.088Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-18T20:05:47.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-18T20:05:47.192Z] $ docker exec db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent [2023-10-18T20:05:47.289Z] SSH_AUTH_SOCK=/tmp/ssh-upl9uuhBGLIw/agent.71 [2023-10-18T20:05:47.289Z] SSH_AGENT_PID=77 [2023-10-18T20:05:47.294Z] Running ssh-add (command line suppressed) [2023-10-18T20:05:47.402Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_17929717870746451723.key (/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/private_key_17929717870746451723.key) [2023-10-18T20:05:47.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-18T20:05:47.739Z] + git semver init [2023-10-18T20:05:47.998Z] 2023-10-18 20:05:47,916 [run_init] DEBUG init version:0.0.0 force:False [2023-10-18T20:05:47.998Z] 2023-10-18 20:05:47,916 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver [2023-10-18T20:05:47.998Z] 2023-10-18 20:05:47,917 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-352/.semver [2023-10-18T20:05:47.998Z] 2023-10-18 20:05:47,917 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-352/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352, universal_newlines=False, shell=None, istream=None) [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,013 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-352/.git/info/exclude [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 with force:False [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,013 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,017 [execute] INFO git cat-file --batch-check [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T20:05:49.375Z] 2023-10-18 20:05:49,023 [execute] INFO git cat-file --batch [2023-10-18T20:05:49.376Z] 2023-10-18 20:05:49,024 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-352/.semver, universal_newlines=False, shell=None, istream=) [2023-10-18T20:05:49.376Z] 2023-10-18 20:05:49,028 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-352/.semver/PR-352 [2023-10-18T20:05:49.376Z] 0.0.0 [Pipeline] } [2023-10-18T20:05:49.403Z] $ docker exec --env ******** --env ******** db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 ssh-agent -k [2023-10-18T20:05:49.496Z] unset SSH_AUTH_SOCK; [2023-10-18T20:05:49.496Z] unset SSH_AGENT_PID; [2023-10-18T20:05:49.496Z] echo Agent pid 77 killed; [2023-10-18T20:05:49.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-18T20:05:49.942Z] + git semver [Pipeline] } [2023-10-18T20:05:50.229Z] $ docker stop --time=1 db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 [2023-10-18T20:05:51.614Z] $ docker rm -f --volumes db77f64dd73e07d4e14ba16fbb16625b332d756e16fde15d8c081d8f88408815 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:05:52.006Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-18T20:05:52.288Z] Stashed 1 file(s) [Pipeline] echo [2023-10-18T20:05:52.304Z] [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-10-18T20:05:52.882Z] provisioning config files... [2023-10-18T20:05:52.892Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config11642885266890736193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:05:53.242Z] ---> docker-login.sh [2023-10-18T20:05:53.243Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:05:53.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:53.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:53.243Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:53.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:53.243Z] [2023-10-18T20:05:53.243Z] Login Succeeded [2023-10-18T20:05:53.243Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:05:53.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:53.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:53.243Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:53.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:53.243Z] [2023-10-18T20:05:53.243Z] Login Succeeded [2023-10-18T20:05:53.243Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:05:53.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:53.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:53.502Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:53.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:53.502Z] [2023-10-18T20:05:53.502Z] Login Succeeded [2023-10-18T20:05:53.502Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:05:53.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:53.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:53.502Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:53.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:53.502Z] [2023-10-18T20:05:53.502Z] Login Succeeded [2023-10-18T20:05:53.502Z] docker.io [2023-10-18T20:05:53.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:05:54.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:05:54.023Z] Configure a credential helper to remove this warning. See [2023-10-18T20:05:54.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:05:54.023Z] [2023-10-18T20:05:54.023Z] Login Succeeded [2023-10-18T20:05:54.023Z] ---> docker-login.sh ends [Pipeline] } [2023-10-18T20:05:54.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-18T20:05:54.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:05:54.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:05:54.347Z] ========================================================= [2023-10-18T20:05:54.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-18T20:05:54.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:05:54.827Z] + 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-10-18T20:05:54.827Z] Sending build context to Docker daemon 10.95MB [2023-10-18T20:05:54.827Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:05:54.827Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T20:05:55.088Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-18T20:05:55.088Z] 7264a8db6415: Pulling fs layer [2023-10-18T20:05:55.088Z] c4d48a809fc2: Pulling fs layer [2023-10-18T20:05:55.088Z] 4f1c88b9dad5: Pulling fs layer [2023-10-18T20:05:55.088Z] ad3a456e5733: Pulling fs layer [2023-10-18T20:05:55.088Z] 33e27b845d1e: Pulling fs layer [2023-10-18T20:05:55.088Z] c68163c4e522: Pulling fs layer [2023-10-18T20:05:55.088Z] 50da416c3ac9: Pulling fs layer [2023-10-18T20:05:55.088Z] 23d2d4c4bb30: Pulling fs layer [2023-10-18T20:05:55.088Z] c68163c4e522: Waiting [2023-10-18T20:05:55.088Z] ad3a456e5733: Waiting [2023-10-18T20:05:55.088Z] 33e27b845d1e: Waiting [2023-10-18T20:05:55.088Z] 50da416c3ac9: Waiting [2023-10-18T20:05:55.088Z] 23d2d4c4bb30: Waiting [2023-10-18T20:05:55.088Z] c4d48a809fc2: Download complete [2023-10-18T20:05:55.088Z] ad3a456e5733: Download complete [2023-10-18T20:05:55.088Z] 7264a8db6415: Verifying Checksum [2023-10-18T20:05:55.088Z] 7264a8db6415: Download complete [2023-10-18T20:05:55.088Z] 33e27b845d1e: Verifying Checksum [2023-10-18T20:05:55.088Z] 33e27b845d1e: Download complete [2023-10-18T20:05:55.088Z] c68163c4e522: Verifying Checksum [2023-10-18T20:05:55.088Z] c68163c4e522: Download complete [2023-10-18T20:05:55.088Z] 7264a8db6415: Pull complete [2023-10-18T20:05:55.348Z] 23d2d4c4bb30: Verifying Checksum [2023-10-18T20:05:55.348Z] 23d2d4c4bb30: Download complete [2023-10-18T20:05:55.348Z] c4d48a809fc2: Pull complete [2023-10-18T20:05:55.348Z] 4f1c88b9dad5: Verifying Checksum [2023-10-18T20:05:55.348Z] 4f1c88b9dad5: Download complete [2023-10-18T20:05:55.918Z] 50da416c3ac9: Verifying Checksum [2023-10-18T20:05:55.918Z] 50da416c3ac9: Download complete [2023-10-18T20:05:59.204Z] 4f1c88b9dad5: Pull complete [2023-10-18T20:05:59.204Z] ad3a456e5733: Pull complete [2023-10-18T20:05:59.204Z] 33e27b845d1e: Pull complete [2023-10-18T20:05:59.204Z] c68163c4e522: Pull complete [2023-10-18T20:06:01.736Z] 50da416c3ac9: Pull complete [2023-10-18T20:06:01.995Z] 23d2d4c4bb30: Pull complete [2023-10-18T20:06:01.995Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-18T20:06:01.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-18T20:06:01.995Z] ---> 0786185ac409 [2023-10-18T20:06:01.995Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:06:07.710Z] Still waiting to schedule task [2023-10-18T20:06:07.710Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-18T20:06:08.564Z] ---> Running in 35875b734df2 [2023-10-18T20:06:08.564Z] Removing intermediate container 35875b734df2 [2023-10-18T20:06:08.564Z] ---> 81e52ba6f89a [2023-10-18T20:06:08.564Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:06:08.564Z] ---> Running in 528c6009e356 [2023-10-18T20:06:08.564Z] Removing intermediate container 528c6009e356 [2023-10-18T20:06:08.564Z] ---> 14360228e40c [2023-10-18T20:06:08.564Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:06:08.564Z] ---> Running in 3d04c7028364 [2023-10-18T20:06:08.564Z] Removing intermediate container 3d04c7028364 [2023-10-18T20:06:08.564Z] ---> 8f04279526c6 [2023-10-18T20:06:08.564Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:06:08.564Z] ---> Running in db12ee192da1 [2023-10-18T20:06:08.564Z] Removing intermediate container db12ee192da1 [2023-10-18T20:06:08.564Z] ---> 4ec4fa129cc5 [2023-10-18T20:06:08.564Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:06:08.564Z] ---> Running in 9c88ff7f633a [2023-10-18T20:06:08.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:06:09.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:06:09.083Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T20:06:09.083Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T20:06:09.341Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T20:06:09.341Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T20:06:09.341Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:06:09.341Z] OK: 268 MiB in 56 packages [2023-10-18T20:06:09.909Z] Removing intermediate container 9c88ff7f633a [2023-10-18T20:06:09.909Z] ---> 0e976e829b53 [2023-10-18T20:06:09.909Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-18T20:06:09.910Z] ---> Running in 9d5103339bda [2023-10-18T20:06:09.910Z] Removing intermediate container 9d5103339bda [2023-10-18T20:06:09.910Z] ---> 2e81b2846570 [2023-10-18T20:06:09.910Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T20:06:10.168Z] ---> 6c6417fd2bb7 [2023-10-18T20:06:10.168Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:06:10.168Z] ---> Running in 4d789c32ebd7 [2023-10-18T20:07:17.865Z] Removing intermediate container 4d789c32ebd7 [2023-10-18T20:07:17.865Z] ---> 07ab516ec2bf [2023-10-18T20:07:17.865Z] Step 11/12 : COPY . . [2023-10-18T20:07:17.865Z] ---> e0e601400c0d [2023-10-18T20:07:17.865Z] Step 12/12 : RUN $MAKE [2023-10-18T20:07:17.865Z] ---> Running in 0ffa419f06dd [2023-10-18T20:07:17.865Z] noop [2023-10-18T20:07:17.865Z] Removing intermediate container 0ffa419f06dd [2023-10-18T20:07:17.865Z] ---> f4a73bd32776 [2023-10-18T20:07:17.865Z] Successfully built f4a73bd32776 [2023-10-18T20:07:17.865Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:07:18.317Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T20:07:18.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:07:18.485Z] prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container [2023-10-18T20:07:18.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T20:07:18.884Z] $ docker top 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:07:19.288Z] + go version [2023-10-18T20:07:19.288Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-18T20:07:19.322Z] $ docker stop --time=1 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 [2023-10-18T20:07:20.594Z] $ docker rm -f --volumes 98ede8d560efc01c2517e63131b04a629967fd0ff6ec36af3fa11864493216c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:07:21.329Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-18T20:07:21.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:07:21.493Z] prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container [2023-10-18T20:07:21.523Z] $ 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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-18T20:07:21.896Z] $ docker top 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:07:22.294Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-352 [Pipeline] fileExists [Pipeline] sh [2023-10-18T20:07:22.641Z] + make test [2023-10-18T20:07:22.641Z] go test ./... -coverprofile=coverage.out ./... [2023-10-18T20:07:24.017Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-18T20:07:36.209Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-18T20:07:36.209Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-10-18T20:07:42.788Z] go vet ./... [2023-10-18T20:07:46.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T20:07:46.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T20:07:46.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T20:07:46.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T20:07:46.137Z] $ docker stop --time=1 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d [2023-10-18T20:07:50.082Z] $ docker rm -f --volumes 866d809a98ab07381aadf2c795bf6ea37f7fa840416403e78f1c3d71ad7c3f5d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:07:50.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T20:07:50.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-18T20:07:51.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T20:07:51.804Z] + ls -al . [2023-10-18T20:07:51.804Z] total 188 [2023-10-18T20:07:51.804Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 20:07 . [2023-10-18T20:07:51.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:05 .. [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:05 .dockerignore [2023-10-18T20:07:51.804Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:07 .git [2023-10-18T20:07:51.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:05 .github [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:05 .gitignore [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:05 .golangci.yml [2023-10-18T20:07:51.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:05 .semver [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:05 Attribution.txt [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:05 CHANGELOG.md [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:05 Dockerfile [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:05 GOVERNANCE.md [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:05 Jenkinsfile [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:05 LICENSE [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:05 Makefile [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:05 OWNERS.md [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:05 README.md [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 20:05 VERSION [2023-10-18T20:07:51.804Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:05 bin [2023-10-18T20:07:51.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:05 cmd [2023-10-18T20:07:51.804Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:07 coverage.out [2023-10-18T20:07:51.804Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:05 driver [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:05 go.mod [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:05 go.sum [2023-10-18T20:07:51.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:05 snap [2023-10-18T20:07:51.804Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:07:52.266Z] + 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=f6f9c375944694165ba7d6adc0efe34690708cf6 --label arch=amd64 --label version=0.0.0 . [2023-10-18T20:07:52.266Z] Sending build context to Docker daemon 10.96MB [2023-10-18T20:07:52.266Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:07:52.266Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T20:07:52.266Z] ---> f4a73bd32776 [2023-10-18T20:07:52.266Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:07:52.526Z] ---> Running in cff14686da89 [2023-10-18T20:07:52.785Z] Removing intermediate container cff14686da89 [2023-10-18T20:07:52.785Z] ---> da3685fdb85a [2023-10-18T20:07:52.785Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:07:52.785Z] ---> Running in 830d00cbd454 [2023-10-18T20:07:52.785Z] Removing intermediate container 830d00cbd454 [2023-10-18T20:07:52.785Z] ---> 92d17370c68b [2023-10-18T20:07:52.785Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:07:52.785Z] ---> Running in d1b03d4d4c4c [2023-10-18T20:07:52.785Z] Removing intermediate container d1b03d4d4c4c [2023-10-18T20:07:52.785Z] ---> 2c33502c67b2 [2023-10-18T20:07:52.785Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:07:52.785Z] ---> Running in d35ded07c0cb [2023-10-18T20:07:53.044Z] Removing intermediate container d35ded07c0cb [2023-10-18T20:07:53.044Z] ---> c2406d939745 [2023-10-18T20:07:53.044Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:07:53.044Z] ---> Running in db34f5bba6b5 [2023-10-18T20:07:53.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:07:53.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:07:53.561Z] OK: 268 MiB in 56 packages [2023-10-18T20:07:54.145Z] Removing intermediate container db34f5bba6b5 [2023-10-18T20:07:54.145Z] ---> ce7d1689effa [2023-10-18T20:07:54.145Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-18T20:07:54.145Z] ---> Running in 885a86a9a528 [2023-10-18T20:07:54.145Z] Removing intermediate container 885a86a9a528 [2023-10-18T20:07:54.145Z] ---> d5dc2506a416 [2023-10-18T20:07:54.145Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-18T20:07:54.145Z] ---> a30d47615dc2 [2023-10-18T20:07:54.145Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:07:54.145Z] ---> Running in 105f08eb1408 [2023-10-18T20:07:55.226Z] Removing intermediate container 105f08eb1408 [2023-10-18T20:07:55.226Z] ---> 885aa2c989e0 [2023-10-18T20:07:55.226Z] Step 11/25 : COPY . . [2023-10-18T20:07:55.485Z] ---> 8787100bf566 [2023-10-18T20:07:55.485Z] Step 12/25 : RUN $MAKE [2023-10-18T20:07:55.485Z] ---> Running in e551f88dfc0f [2023-10-18T20:07:55.745Z] 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.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-18T20:07:59.484Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9546 in /w/workspace/gexfoundry_device-rest-go_PR-352 [Pipeline] { [Pipeline] ws [2023-10-18T20:07:59.542Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-18T20:07:59.633Z] The recommended git tool is: git [2023-10-18T20:08:04.766Z] using credential edgex-jenkins-ssh [2023-10-18T20:08:04.782Z] Cloning the remote Git repository [2023-10-18T20:08:04.827Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-18T20:08:04.936Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-18T20:08:05.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-18T20:08:05.081Z] > git --version # timeout=10 [2023-10-18T20:08:05.101Z] > git --version # 'git version 2.25.1' [2023-10-18T20:08:05.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T20:08:05.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T20:08:08.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-18T20:08:08.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-18T20:08:09.678Z] Merging remotes/origin/main commit 9b53cce74fa8bad39d84f8d6d5cef51853259bec into PR head commit f6f9c375944694165ba7d6adc0efe34690708cf6 [2023-10-18T20:08:09.066Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-18T20:08:09.108Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-18T20:08:09.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T20:08:09.134Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/352/head:refs/remotes/origin/PR-352 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-18T20:08:09.700Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T20:08:09.777Z] > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 [2023-10-18T20:08:09.863Z] > git remote # timeout=10 [2023-10-18T20:08:09.881Z] > git config --get remote.origin.url # timeout=10 [2023-10-18T20:08:09.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-18T20:08:09.962Z] Merge succeeded, producing f6f9c375944694165ba7d6adc0efe34690708cf6 [2023-10-18T20:08:09.963Z] Checking out Revision f6f9c375944694165ba7d6adc0efe34690708cf6 (PR-352) [2023-10-18T20:08:10.426Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-18T20:08:10.475Z] > git --version # timeout=10 [2023-10-18T20:08:10.486Z] > git --version # 'git version 2.25.1' [2023-10-18T20:08:10.504Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:08:09.918Z] > git merge 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 [2023-10-18T20:08:09.942Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-18T20:08:09.970Z] > git config core.sparsecheckout # timeout=10 [2023-10-18T20:08:09.985Z] > git checkout -f f6f9c375944694165ba7d6adc0efe34690708cf6 # timeout=10 [2023-10-18T20:08:11.800Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-18T20:08:11.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T20:08:11.800Z] Dload Upload Total Spent Left Speed [2023-10-18T20:08:11.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-10-18T20:08:12.497Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-18T20:08:12.872Z] + sudo tee /etc/docker/daemon.new [2023-10-18T20:08:12.872Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-18T20:08:12.872Z] { [2023-10-18T20:08:12.872Z] "registry-mirrors": [ [2023-10-18T20:08:12.872Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-18T20:08:12.872Z] ], [2023-10-18T20:08:12.872Z] "bip": "10.250.0.254/24", [2023-10-18T20:08:12.872Z] "hosts": [ [2023-10-18T20:08:12.872Z] "tcp://0.0.0.0:5555", [2023-10-18T20:08:12.872Z] "unix:///var/run/docker.sock" [2023-10-18T20:08:12.872Z] ], [2023-10-18T20:08:12.872Z] "mtu": 1458, [2023-10-18T20:08:12.872Z] "selinux-enabled": true, [2023-10-18T20:08:12.872Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-18T20:08:12.872Z] } [Pipeline] sh [2023-10-18T20:08:13.216Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-18T20:08:13.576Z] + sudo service docker restart [2023-10-18T20:08:17.683Z] Removing intermediate container e551f88dfc0f [2023-10-18T20:08:17.683Z] ---> f37940955bf2 [2023-10-18T20:08:17.683Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T20:08:17.683Z] 3.18: Pulling from library/alpine [2023-10-18T20:08:17.683Z] 96526aa774ef: Pulling fs layer [2023-10-18T20:08:17.683Z] 96526aa774ef: Verifying Checksum [2023-10-18T20:08:17.683Z] 96526aa774ef: Download complete [2023-10-18T20:08:17.683Z] 96526aa774ef: Pull complete [2023-10-18T20:08:17.683Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T20:08:17.683Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T20:08:17.683Z] ---> 8ca4688f4f35 [2023-10-18T20:08:17.683Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T20:08:17.683Z] ---> Running in e92807fe8168 [2023-10-18T20:08:17.683Z] Removing intermediate container e92807fe8168 [2023-10-18T20:08:17.683Z] ---> 5e93b7fd5b3e [2023-10-18T20:08:17.683Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-18T20:08:17.683Z] ---> Running in 372d470b78d8 [2023-10-18T20:08:17.943Z] Removing intermediate container 372d470b78d8 [2023-10-18T20:08:17.943Z] ---> 4a6faa937b0a [2023-10-18T20:08:17.943Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T20:08:17.943Z] ---> Running in 255b92b485c2 [2023-10-18T20:08:18.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-18T20:08:18.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-18T20:08:18.721Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T20:08:18.721Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:08:18.721Z] OK: 7 MiB in 16 packages [2023-10-18T20:08:18.979Z] Removing intermediate container 255b92b485c2 [2023-10-18T20:08:18.979Z] ---> da72f6838f33 [2023-10-18T20:08:18.979Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-18T20:08:19.912Z] ---> f668737edccc [2023-10-18T20:08:19.912Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-18T20:08:20.173Z] ---> 6a7f9457ef39 [2023-10-18T20:08:20.173Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-18T20:08:20.173Z] ---> c65de62994a1 [2023-10-18T20:08:20.173Z] Step 20/25 : EXPOSE 59986 [2023-10-18T20:08:20.173Z] ---> Running in 788c54a14d0e [2023-10-18T20:08:20.432Z] Removing intermediate container 788c54a14d0e [2023-10-18T20:08:20.432Z] ---> ae5233d12214 [2023-10-18T20:08:20.432Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-18T20:08:20.432Z] ---> Running in 29f214a47124 [2023-10-18T20:08:20.432Z] Removing intermediate container 29f214a47124 [2023-10-18T20:08:20.432Z] ---> 6719c5718ae5 [2023-10-18T20:08:20.432Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-18T20:08:20.432Z] ---> Running in d39b33ed593c [2023-10-18T20:08:20.432Z] Removing intermediate container d39b33ed593c [2023-10-18T20:08:20.432Z] ---> ffd61af147f1 [2023-10-18T20:08:20.432Z] Step 23/25 : LABEL arch=amd64 [2023-10-18T20:08:20.432Z] ---> Running in 19097952dbcc [2023-10-18T20:08:20.691Z] Removing intermediate container 19097952dbcc [2023-10-18T20:08:20.691Z] ---> 9a5c60377744 [2023-10-18T20:08:20.691Z] Step 24/25 : LABEL git_sha=f6f9c375944694165ba7d6adc0efe34690708cf6 [2023-10-18T20:08:20.691Z] ---> Running in cbd05fbcd79e [2023-10-18T20:08:20.691Z] Removing intermediate container cbd05fbcd79e [2023-10-18T20:08:20.691Z] ---> 4e47a7079795 [2023-10-18T20:08:20.691Z] Step 25/25 : LABEL version=0.0.0 [2023-10-18T20:08:20.691Z] ---> Running in 49e9198ac7f0 [2023-10-18T20:08:20.950Z] Removing intermediate container 49e9198ac7f0 [2023-10-18T20:08:20.950Z] ---> b2a4acfa3bff [2023-10-18T20:08:20.950Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T20:08:20.950Z] Successfully built b2a4acfa3bff [2023-10-18T20:08:20.950Z] 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-10-18T20:08:21.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:08:21.845Z] [2023-10-18T20:08:21.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:08:22.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:08:22.224Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-18T20:08:22.224Z] 5eb5b503b376: Pulling fs layer [2023-10-18T20:08:22.224Z] 5c69ac0246d0: Pulling fs layer [2023-10-18T20:08:22.224Z] ec43610c2a17: Pulling fs layer [2023-10-18T20:08:22.224Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-18T20:08:22.224Z] 33b1e0a273af: Pulling fs layer [2023-10-18T20:08:22.224Z] 5d3b04190fa2: Pulling fs layer [2023-10-18T20:08:22.224Z] 2f39f015ded8: Pulling fs layer [2023-10-18T20:08:22.224Z] 33b1e0a273af: Waiting [2023-10-18T20:08:22.224Z] 2f39f015ded8: Waiting [2023-10-18T20:08:22.224Z] 5d3b04190fa2: Waiting [2023-10-18T20:08:22.224Z] 3a2ae6a8a46f: Waiting [2023-10-18T20:08:22.224Z] 5c69ac0246d0: Download complete [2023-10-18T20:08:22.224Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-18T20:08:22.224Z] 3a2ae6a8a46f: Download complete [2023-10-18T20:08:22.224Z] 33b1e0a273af: Verifying Checksum [2023-10-18T20:08:22.224Z] 33b1e0a273af: Download complete [2023-10-18T20:08:22.224Z] 5d3b04190fa2: Verifying Checksum [2023-10-18T20:08:22.224Z] 5d3b04190fa2: Download complete [2023-10-18T20:08:22.483Z] ec43610c2a17: Verifying Checksum [2023-10-18T20:08:22.483Z] ec43610c2a17: Download complete [2023-10-18T20:08:22.483Z] 5eb5b503b376: Verifying Checksum [2023-10-18T20:08:22.483Z] 5eb5b503b376: Download complete [2023-10-18T20:08:23.048Z] 2f39f015ded8: Download complete [2023-10-18T20:08:23.986Z] 5eb5b503b376: Pull complete [2023-10-18T20:08:23.986Z] 5c69ac0246d0: Pull complete [2023-10-18T20:08:24.555Z] ec43610c2a17: Pull complete [2023-10-18T20:08:24.555Z] 3a2ae6a8a46f: Pull complete [2023-10-18T20:08:24.814Z] 33b1e0a273af: Pull complete [2023-10-18T20:08:25.073Z] 5d3b04190fa2: Pull complete [2023-10-18T20:08:30.342Z] 2f39f015ded8: Pull complete [2023-10-18T20:08:30.342Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-18T20:08:30.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:08:30.342Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:08:30.562Z] prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container [2023-10-18T20:08:30.591Z] $ 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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-18T20:08:34.853Z] $ docker top e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-10-18T20:08:35.128Z] provisioning config files... [2023-10-18T20:08:35.155Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16015475343497130277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:08:35.367Z] ---> job-cost.sh [2023-10-18T20:08:35.367Z] lf-activate-venv: SKIPPING [2023-10-18T20:08:35.367Z] INFO: No Stack... [2023-10-18T20:08:35.555Z] ---> docker-login.sh [2023-10-18T20:08:35.555Z] nexus3.edgexfoundry.org:10001 [2023-10-18T20:08:35.627Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T20:08:36.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:08:36.194Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T20:08:36.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:08:36.417Z] Configure a credential helper to remove this warning. See [2023-10-18T20:08:36.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:08:36.417Z] [2023-10-18T20:08:36.417Z] Login Succeeded [2023-10-18T20:08:36.417Z] nexus3.edgexfoundry.org:10002 [2023-10-18T20:08:36.505Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-352/archives/cost.csv [2023-10-18T20:08:36.505Z] + cut -d, -f6 [Pipeline] lock [2023-10-18T20:08:36.550Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [2023-10-18T20:08:36.554Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] did not exist. Created. [2023-10-18T20:08:36.554Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T20:08:36.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:08:36.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:08:36.685Z] Configure a credential helper to remove this warning. See [2023-10-18T20:08:36.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:08:36.685Z] [2023-10-18T20:08:36.685Z] Login Succeeded [2023-10-18T20:08:36.685Z] nexus3.edgexfoundry.org:10003 [2023-10-18T20:08:36.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:08:36.964Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-18T20:08:37.032Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T20:08:37.063Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T20:08:37.150Z] $ docker stop --time=1 e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 [2023-10-18T20:08:37.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:08:37.225Z] Configure a credential helper to remove this warning. See [2023-10-18T20:08:37.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:08:37.225Z] [2023-10-18T20:08:37.225Z] Login Succeeded [2023-10-18T20:08:37.225Z] nexus3.edgexfoundry.org:10004 [2023-10-18T20:08:37.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:08:37.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:08:37.494Z] Configure a credential helper to remove this warning. See [2023-10-18T20:08:37.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:08:37.494Z] [2023-10-18T20:08:37.494Z] Login Succeeded [2023-10-18T20:08:37.494Z] docker.io [2023-10-18T20:08:37.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-18T20:08:38.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-18T20:08:38.045Z] Configure a credential helper to remove this warning. See [2023-10-18T20:08:38.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-18T20:08:38.046Z] [2023-10-18T20:08:38.046Z] Login Succeeded [2023-10-18T20:08:38.046Z] ---> docker-login.sh ends [2023-10-18T20:08:38.357Z] $ docker rm -f --volumes e8d3eb3321800317f3cd50a3805ef7747e90483bcfbe7e3864f0d49674b96895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-10-18T20:08:38.540Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-10-18T20:08:38.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:08:39.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-18T20:08:39.067Z] ========================================================= [2023-10-18T20:08:39.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-18T20:08:39.067Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:08:39.556Z] + 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-10-18T20:08:39.556Z] Sending build context to Docker daemon 144.4kB [2023-10-18T20:08:39.825Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:08:39.825Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-18T20:08:39.825Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-18T20:08:39.825Z] 9fda8d8052c6: Pulling fs layer [2023-10-18T20:08:39.825Z] 5d54e960e981: Pulling fs layer [2023-10-18T20:08:39.825Z] c4a7e357bf2a: Pulling fs layer [2023-10-18T20:08:39.825Z] f0e02332f6b5: Pulling fs layer [2023-10-18T20:08:39.825Z] cefa15bbcfad: Pulling fs layer [2023-10-18T20:08:39.825Z] 17808c966233: Pulling fs layer [2023-10-18T20:08:39.825Z] f4c1fc716caa: Pulling fs layer [2023-10-18T20:08:39.825Z] f0e02332f6b5: Waiting [2023-10-18T20:08:39.825Z] cefa15bbcfad: Waiting [2023-10-18T20:08:39.825Z] 17808c966233: Waiting [2023-10-18T20:08:39.825Z] f4c1fc716caa: Waiting [2023-10-18T20:08:40.097Z] 5d54e960e981: Verifying Checksum [2023-10-18T20:08:40.097Z] 5d54e960e981: Download complete [2023-10-18T20:08:40.097Z] f0e02332f6b5: Verifying Checksum [2023-10-18T20:08:40.097Z] f0e02332f6b5: Download complete [2023-10-18T20:08:40.097Z] cefa15bbcfad: Verifying Checksum [2023-10-18T20:08:40.097Z] cefa15bbcfad: Download complete [2023-10-18T20:08:40.097Z] 9fda8d8052c6: Download complete [2023-10-18T20:08:40.374Z] f4c1fc716caa: Verifying Checksum [2023-10-18T20:08:40.374Z] f4c1fc716caa: Download complete [2023-10-18T20:08:40.965Z] 9fda8d8052c6: Pull complete [2023-10-18T20:08:41.555Z] 5d54e960e981: Pull complete [2023-10-18T20:08:41.824Z] c4a7e357bf2a: Verifying Checksum [2023-10-18T20:08:41.824Z] c4a7e357bf2a: Download complete [2023-10-18T20:08:42.797Z] 17808c966233: Verifying Checksum [2023-10-18T20:08:42.797Z] 17808c966233: Download complete [2023-10-18T20:08:55.128Z] c4a7e357bf2a: Pull complete [2023-10-18T20:08:55.128Z] f0e02332f6b5: Pull complete [2023-10-18T20:08:55.128Z] cefa15bbcfad: Pull complete [2023-10-18T20:09:03.330Z] 17808c966233: Pull complete [2023-10-18T20:09:05.277Z] f4c1fc716caa: Pull complete [2023-10-18T20:09:05.277Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-18T20:09:05.277Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-18T20:09:05.277Z] ---> ea914061e18c [2023-10-18T20:09:05.277Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:09:06.234Z] ---> Running in 9ff07baa6ebf [2023-10-18T20:09:06.501Z] Removing intermediate container 9ff07baa6ebf [2023-10-18T20:09:06.501Z] ---> 30d53253d05e [2023-10-18T20:09:06.501Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:09:06.501Z] ---> Running in 1f25f7c9e106 [2023-10-18T20:09:06.770Z] Removing intermediate container 1f25f7c9e106 [2023-10-18T20:09:06.770Z] ---> 4e65dfc52c1d [2023-10-18T20:09:06.770Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:09:06.770Z] ---> Running in c4c721a31f18 [2023-10-18T20:09:07.041Z] Removing intermediate container c4c721a31f18 [2023-10-18T20:09:07.041Z] ---> df8b088e3119 [2023-10-18T20:09:07.041Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:09:07.041Z] ---> Running in 5e906fad98a3 [2023-10-18T20:09:07.622Z] Removing intermediate container 5e906fad98a3 [2023-10-18T20:09:07.622Z] ---> b7b30ad40b39 [2023-10-18T20:09:07.622Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:09:07.622Z] ---> Running in 8e92dfcd779f [2023-10-18T20:09:08.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:09:09.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:09:10.567Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-18T20:09:10.567Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-18T20:09:10.567Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-18T20:09:10.567Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-18T20:09:10.567Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:09:10.567Z] OK: 270 MiB in 56 packages [2023-10-18T20:09:11.538Z] Removing intermediate container 8e92dfcd779f [2023-10-18T20:09:11.538Z] ---> cc6bbe48d775 [2023-10-18T20:09:11.538Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-18T20:09:11.538Z] ---> Running in e96149a2d72c [2023-10-18T20:09:12.131Z] Removing intermediate container e96149a2d72c [2023-10-18T20:09:12.131Z] ---> 8608c4521f2c [2023-10-18T20:09:12.131Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-18T20:09:12.397Z] ---> 92e9c9afd353 [2023-10-18T20:09:12.397Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:09:12.676Z] ---> Running in 28f9a8406ed3 [2023-10-18T20:10:49.968Z] Removing intermediate container 28f9a8406ed3 [2023-10-18T20:10:49.968Z] ---> b5245968947b [2023-10-18T20:10:49.968Z] Step 11/12 : COPY . . [2023-10-18T20:10:49.968Z] ---> 45669aba7e24 [2023-10-18T20:10:49.968Z] Step 12/12 : RUN $MAKE [2023-10-18T20:10:49.968Z] ---> Running in ac7eee7a73f1 [2023-10-18T20:10:49.968Z] noop [2023-10-18T20:10:49.968Z] Removing intermediate container ac7eee7a73f1 [2023-10-18T20:10:49.968Z] ---> ad5184a7ece5 [2023-10-18T20:10:49.968Z] Successfully built ad5184a7ece5 [2023-10-18T20:10:49.968Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:10:50.460Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T20:10:50.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:10:50.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container [2023-10-18T20:10:50.817Z] $ 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-10-18T20:10:52.103Z] $ docker top edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:10:53.013Z] + go version [2023-10-18T20:10:53.013Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-18T20:10:53.051Z] $ docker stop --time=1 edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 [2023-10-18T20:10:54.693Z] $ docker rm -f --volumes edff0ff98391df77002457b07258fd3a1f93f0b34334f14bef9ed6be5b7ca1d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:10:55.517Z] + docker inspect -f . ci-base-image-arm64 [2023-10-18T20:10:55.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:10:55.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container [2023-10-18T20:10:55.845Z] $ 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-10-18T20:10:57.037Z] $ docker top c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:10:57.591Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-18T20:10:58.242Z] + make test [2023-10-18T20:10:58.242Z] go test ./... -coverprofile=coverage.out ./... [2023-10-18T20:11:02.502Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-18T20:12:39.216Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-18T20:12:39.216Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements [2023-10-18T20:12:39.216Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-18T20:12:39.216Z] go vet ./... [2023-10-18T20:12:49.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-18T20:12:49.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-18T20:12:49.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-18T20:12:49.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-18T20:12:49.614Z] $ docker stop --time=1 c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f [2023-10-18T20:12:53.565Z] $ docker rm -f --volumes c67076288b5b27f277e92ef7e3bf1260ed967192afe1a3cc236f0ebabb0a6e1f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-18T20:12:54.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-18T20:12:54.811Z] Warning: overwriting stash ‘coverage-report’ [2023-10-18T20:12:55.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-18T20:12:55.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-18T20:12:56.319Z] + ls -al . [2023-10-18T20:12:56.319Z] total 184 [2023-10-18T20:12:56.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:11 . [2023-10-18T20:12:56.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:08 .. [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 18 20:08 .dockerignore [2023-10-18T20:12:56.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 20:08 .git [2023-10-18T20:12:56.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:08 .github [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 18 20:08 .gitignore [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 20:08 .golangci.yml [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 18 20:08 Attribution.txt [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 18 20:08 CHANGELOG.md [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 18 20:08 Dockerfile [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 20:08 GOVERNANCE.md [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 18 20:08 Jenkinsfile [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 20:08 LICENSE [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 18 20:08 Makefile [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 18 20:08 OWNERS.md [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 18 20:08 README.md [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 20:05 VERSION [2023-10-18T20:12:56.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:08 bin [2023-10-18T20:12:56.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 20:08 cmd [2023-10-18T20:12:56.319Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 18 20:12 coverage.out [2023-10-18T20:12:56.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 20:08 driver [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 18 20:08 go.mod [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 18 20:08 go.sum [2023-10-18T20:12:56.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 20:08 snap [2023-10-18T20:12:56.319Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 18 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:12:56.753Z] + 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=f6f9c375944694165ba7d6adc0efe34690708cf6 --label arch=arm64 --label version=0.0.0 . [2023-10-18T20:12:56.753Z] Sending build context to Docker daemon 159.7kB [2023-10-18T20:12:57.032Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-18T20:12:57.032Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-18T20:12:57.032Z] ---> ad5184a7ece5 [2023-10-18T20:12:57.032Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-18T20:12:57.032Z] ---> Running in f3e22e66c978 [2023-10-18T20:12:57.631Z] Removing intermediate container f3e22e66c978 [2023-10-18T20:12:57.631Z] ---> dd1644915d51 [2023-10-18T20:12:57.631Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-18T20:12:57.631Z] ---> Running in c99a52d5f8ce [2023-10-18T20:12:57.907Z] Removing intermediate container c99a52d5f8ce [2023-10-18T20:12:57.907Z] ---> 18cbdd6fee79 [2023-10-18T20:12:57.907Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-18T20:12:57.907Z] ---> Running in c49f3c330f8b [2023-10-18T20:12:58.197Z] Removing intermediate container c49f3c330f8b [2023-10-18T20:12:58.197Z] ---> 4a5fb98f3f8e [2023-10-18T20:12:58.197Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-18T20:12:58.466Z] ---> Running in c067f373ed7f [2023-10-18T20:12:58.733Z] Removing intermediate container c067f373ed7f [2023-10-18T20:12:58.733Z] ---> f7c47081290b [2023-10-18T20:12:58.733Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-18T20:12:58.733Z] ---> Running in ed5c9e38c1a8 [2023-10-18T20:12:59.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:13:00.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:13:01.700Z] OK: 270 MiB in 56 packages [2023-10-18T20:13:02.301Z] Removing intermediate container ed5c9e38c1a8 [2023-10-18T20:13:02.301Z] ---> 4a8829e54b46 [2023-10-18T20:13:02.301Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-18T20:13:02.572Z] ---> Running in cdc3c484b86a [2023-10-18T20:13:02.841Z] Removing intermediate container cdc3c484b86a [2023-10-18T20:13:02.841Z] ---> 4a3715a97a7c [2023-10-18T20:13:02.841Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-18T20:13:03.426Z] ---> 877a46cfb706 [2023-10-18T20:13:03.426Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-18T20:13:03.426Z] ---> Running in e3df6ed5d967 [2023-10-18T20:13:08.775Z] Removing intermediate container e3df6ed5d967 [2023-10-18T20:13:08.775Z] ---> 89a257e799f9 [2023-10-18T20:13:08.775Z] Step 11/25 : COPY . . [2023-10-18T20:13:08.775Z] ---> 745fd483efee [2023-10-18T20:13:08.775Z] Step 12/25 : RUN $MAKE [2023-10-18T20:13:08.775Z] ---> Running in 27d7ab7447fc [2023-10-18T20:13:09.736Z] 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.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-18T20:15:01.423Z] Removing intermediate container 27d7ab7447fc [2023-10-18T20:15:01.423Z] ---> 13997eda7c90 [2023-10-18T20:15:01.423Z] Step 13/25 : FROM alpine:3.18 [2023-10-18T20:15:01.423Z] 3.18: Pulling from library/alpine [2023-10-18T20:15:01.423Z] 579b34f0a95b: Pulling fs layer [2023-10-18T20:15:01.423Z] 579b34f0a95b: Verifying Checksum [2023-10-18T20:15:01.423Z] 579b34f0a95b: Download complete [2023-10-18T20:15:01.423Z] 579b34f0a95b: Pull complete [2023-10-18T20:15:01.423Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-18T20:15:01.423Z] Status: Downloaded newer image for alpine:3.18 [2023-10-18T20:15:01.423Z] ---> 3cc203321400 [2023-10-18T20:15:01.423Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-18T20:15:01.423Z] ---> Running in 29b3ec5e2e66 [2023-10-18T20:15:01.423Z] Removing intermediate container 29b3ec5e2e66 [2023-10-18T20:15:01.423Z] ---> 1ff57723b15d [2023-10-18T20:15:01.423Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-18T20:15:01.423Z] ---> Running in 47de7e830156 [2023-10-18T20:15:01.423Z] Removing intermediate container 47de7e830156 [2023-10-18T20:15:01.423Z] ---> c16a15cd00ab [2023-10-18T20:15:01.423Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-18T20:15:01.423Z] ---> Running in ab60afd2fa44 [2023-10-18T20:15:01.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-18T20:15:01.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-18T20:15:01.423Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-18T20:15:01.423Z] Executing busybox-1.36.1-r2.trigger [2023-10-18T20:15:01.423Z] OK: 8 MiB in 16 packages [2023-10-18T20:15:01.423Z] Removing intermediate container ab60afd2fa44 [2023-10-18T20:15:01.423Z] ---> 5112b71fff97 [2023-10-18T20:15:01.423Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-18T20:15:01.423Z] ---> f1208e085fbd [2023-10-18T20:15:01.423Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-18T20:15:01.423Z] ---> 0f7adaf491d9 [2023-10-18T20:15:01.423Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-18T20:15:01.423Z] ---> cb2c4ad77780 [2023-10-18T20:15:01.423Z] Step 20/25 : EXPOSE 59986 [2023-10-18T20:15:01.423Z] ---> Running in 79ffd0740273 [2023-10-18T20:15:01.423Z] Removing intermediate container 79ffd0740273 [2023-10-18T20:15:01.423Z] ---> 80d70837d503 [2023-10-18T20:15:01.423Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-18T20:15:01.423Z] ---> Running in 5166d45182d6 [2023-10-18T20:15:01.423Z] Removing intermediate container 5166d45182d6 [2023-10-18T20:15:01.423Z] ---> 2a780e737c07 [2023-10-18T20:15:01.423Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-18T20:15:01.423Z] ---> Running in b1d705183c40 [2023-10-18T20:15:01.423Z] Removing intermediate container b1d705183c40 [2023-10-18T20:15:01.423Z] ---> 86e8e605fe41 [2023-10-18T20:15:01.423Z] Step 23/25 : LABEL arch=arm64 [2023-10-18T20:15:01.423Z] ---> Running in b610dcbd669a [2023-10-18T20:15:01.423Z] Removing intermediate container b610dcbd669a [2023-10-18T20:15:01.423Z] ---> a40f464c567d [2023-10-18T20:15:01.423Z] Step 24/25 : LABEL git_sha=f6f9c375944694165ba7d6adc0efe34690708cf6 [2023-10-18T20:15:01.423Z] ---> Running in 6ebc3baef282 [2023-10-18T20:15:01.423Z] Removing intermediate container 6ebc3baef282 [2023-10-18T20:15:01.423Z] ---> 8fc8f3b3b0cb [2023-10-18T20:15:01.423Z] Step 25/25 : LABEL version=0.0.0 [2023-10-18T20:15:01.423Z] ---> Running in 8b110c0211fc [2023-10-18T20:15:01.423Z] Removing intermediate container 8b110c0211fc [2023-10-18T20:15:01.423Z] ---> 385c8afdfd38 [2023-10-18T20:15:01.423Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-18T20:15:01.423Z] Successfully built 385c8afdfd38 [2023-10-18T20:15:01.423Z] 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-10-18T20:15:02.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:15:02.268Z] [2023-10-18T20:15:02.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:15:02.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:15:02.677Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-18T20:15:02.677Z] 8998bd30e6a1: Pulling fs layer [2023-10-18T20:15:02.677Z] 04944245beec: Pulling fs layer [2023-10-18T20:15:02.677Z] 699f458cf7ca: Pulling fs layer [2023-10-18T20:15:02.677Z] 765212b225bb: Pulling fs layer [2023-10-18T20:15:02.677Z] f23df028b6ca: Pulling fs layer [2023-10-18T20:15:02.677Z] d65c8cfc05b1: Pulling fs layer [2023-10-18T20:15:02.677Z] 2437ff75d9bd: Pulling fs layer [2023-10-18T20:15:02.677Z] 765212b225bb: Waiting [2023-10-18T20:15:02.677Z] f23df028b6ca: Waiting [2023-10-18T20:15:02.677Z] d65c8cfc05b1: Waiting [2023-10-18T20:15:02.677Z] 2437ff75d9bd: Waiting [2023-10-18T20:15:02.942Z] 04944245beec: Verifying Checksum [2023-10-18T20:15:02.942Z] 04944245beec: Download complete [2023-10-18T20:15:02.942Z] 765212b225bb: Verifying Checksum [2023-10-18T20:15:02.942Z] 765212b225bb: Download complete [2023-10-18T20:15:02.942Z] f23df028b6ca: Verifying Checksum [2023-10-18T20:15:02.942Z] f23df028b6ca: Download complete [2023-10-18T20:15:02.942Z] d65c8cfc05b1: Verifying Checksum [2023-10-18T20:15:02.942Z] d65c8cfc05b1: Download complete [2023-10-18T20:15:02.942Z] 699f458cf7ca: Verifying Checksum [2023-10-18T20:15:02.942Z] 699f458cf7ca: Download complete [2023-10-18T20:15:03.535Z] 8998bd30e6a1: Verifying Checksum [2023-10-18T20:15:03.535Z] 8998bd30e6a1: Download complete [2023-10-18T20:15:06.118Z] 2437ff75d9bd: Verifying Checksum [2023-10-18T20:15:06.118Z] 2437ff75d9bd: Download complete [2023-10-18T20:15:08.061Z] 8998bd30e6a1: Pull complete [2023-10-18T20:15:10.000Z] 04944245beec: Pull complete [2023-10-18T20:15:11.941Z] 699f458cf7ca: Pull complete [2023-10-18T20:15:11.941Z] 765212b225bb: Pull complete [2023-10-18T20:15:12.904Z] f23df028b6ca: Pull complete [2023-10-18T20:15:12.904Z] d65c8cfc05b1: Pull complete [2023-10-18T20:15:31.102Z] 2437ff75d9bd: Pull complete [2023-10-18T20:15:31.102Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-18T20:15:31.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-18T20:15:31.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:15:31.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-9546 does not seem to be running inside a container [2023-10-18T20:15:31.501Z] $ 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-10-18T20:15:37.497Z] $ docker top 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:38.400Z] ---> job-cost.sh [2023-10-18T20:15:38.400Z] lf-activate-venv: SKIPPING [2023-10-18T20:15:38.400Z] INFO: No Stack... [2023-10-18T20:15:38.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-18T20:15:39.619Z] INFO: Archiving Costs [Pipeline] sh [2023-10-18T20:15:40.285Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-18T20:15:40.285Z] cut -d, -f6 [Pipeline] lock [2023-10-18T20:15:40.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [2023-10-18T20:15:40.366Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] did not exist. Created. [2023-10-18T20:15:40.366Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-18T20:15:40.784Z] /w/workspace/device-rest-go/1@tmp/durable-26bee4b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-18T20:15:41.475Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-18T20:15:41.511Z] Warning: overwriting stash ‘stack-cost’ [2023-10-18T20:15:41.572Z] Stashed 1 file(s) [Pipeline] } [2023-10-18T20:15:41.587Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-18T20:15:41.676Z] $ docker stop --time=1 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 [2023-10-18T20:15:43.269Z] $ docker rm -f --volumes 40a9766e1f40852b24f30fd3892c8e921a1551e352527fc17914a936473ee2c8 [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-10-18T20:15:44.339Z] provisioning config files... [2023-10-18T20:15:44.346Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config7995180924578845880tmp [Pipeline] { [Pipeline] sh [2023-10-18T20:15:44.685Z] + set +x [2023-10-18T20:15:44.685Z] + curl -s https://codecov.io/bash [2023-10-18T20:15:44.685Z] + bash -s -- [2023-10-18T20:15:44.685Z] [2023-10-18T20:15:44.685Z] _____ _ [2023-10-18T20:15:44.685Z] / ____| | | [2023-10-18T20:15:44.685Z] | | ___ __| | ___ ___ _____ __ [2023-10-18T20:15:44.685Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-18T20:15:44.685Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-18T20:15:44.685Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-18T20:15:44.685Z] Bash-1.0.6 [2023-10-18T20:15:44.685Z] [2023-10-18T20:15:44.685Z] [2023-10-18T20:15:44.685Z] ==> git version 2.25.1 found [2023-10-18T20:15:44.685Z] ==> 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-10-18T20:15:44.685Z] Release-Date: 2020-01-08 [2023-10-18T20:15:44.685Z] 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-10-18T20:15:44.685Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-18T20:15:44.685Z] ==> Jenkins CI detected. [2023-10-18T20:15:44.685Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-352 [2023-10-18T20:15:44.685Z] project root: . [2023-10-18T20:15:44.685Z] --> token set from env [2023-10-18T20:15:44.685Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-18T20:15:44.944Z] ==> Running gcov in . (disable via -X gcov) [2023-10-18T20:15:44.944Z] ==> Python coveragepy not found [2023-10-18T20:15:44.944Z] ==> Searching for coverage reports in: [2023-10-18T20:15:44.944Z] + . [2023-10-18T20:15:44.944Z] -> Found 1 reports [2023-10-18T20:15:44.944Z] ==> Detecting git/mercurial file structure [2023-10-18T20:15:44.944Z] ==> Reading reports [2023-10-18T20:15:44.944Z] + ./coverage.out bytes=14499 [2023-10-18T20:15:44.944Z] ==> Appending adjustments [2023-10-18T20:15:44.944Z] https://docs.codecov.io/docs/fixing-reports [2023-10-18T20:15:44.944Z] + Found adjustments [2023-10-18T20:15:44.944Z] ==> Gzipping contents [2023-10-18T20:15:44.944Z] 4.0K /tmp/codecov.vqomYq.gz [2023-10-18T20:15:44.944Z] ==> Uploading reports [2023-10-18T20:15:44.944Z] url: https://codecov.io [2023-10-18T20:15:44.944Z] query: branch=PR-352&commit=f6f9c375944694165ba7d6adc0efe34690708cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=352&job=&cmd_args= [2023-10-18T20:15:44.944Z] -> Pinging Codecov [2023-10-18T20:15:44.944Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-352&commit=f6f9c375944694165ba7d6adc0efe34690708cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=352&job=&cmd_args= [2023-10-18T20:15:45.203Z] -> Uploading to [2023-10-18T20:15:45.203Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-18/4E5D53B4F1F92C436F7061BF334D961C/f6f9c375944694165ba7d6adc0efe34690708cf6/1bcb4414-d3d7-46d6-9962-365c2d32f06c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T201544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=846ba82dfcac8a1f047a6c4925b6eb8389cbdee194789ad2be66517d3d97410d [2023-10-18T20:15:45.203Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-18T20:15:45.203Z] Dload Upload Total Spent Left Speed [2023-10-18T20:15:45.462Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 [2023-10-18T20:15:45.462Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f6f9c375944694165ba7d6adc0efe34690708cf6 [Pipeline] } [2023-10-18T20:15:45.491Z] 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-10-18T20:15:47.341Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-352/archives ] [2023-10-18T20:15:47.342Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-352/archives [2023-10-18T20:15:47.342Z] total 16 [2023-10-18T20:15:47.342Z] drwxr-xr-x 3 root root 4096 Oct 18 20:08 . [2023-10-18T20:15:47.342Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:08 .. [2023-10-18T20:15:47.342Z] drwxr-xr-x 2 root root 4096 Oct 18 20:08 cost [2023-10-18T20:15:47.342Z] -rw-r--r-- 1 root root 86 Oct 18 20:08 cost.csv [2023-10-18T20:15:47.342Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-352/archives [2023-10-18T20:15:47.342Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-352/archives [2023-10-18T20:15:47.342Z] total 16 [2023-10-18T20:15:47.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 20:08 . [2023-10-18T20:15:47.342Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 20:08 .. [2023-10-18T20:15:47.342Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 20:08 cost [2023-10-18T20:15:47.342Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 18 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:47.668Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:48.550Z] ---> package-listing.sh [2023-10-18T20:15:48.550Z] ++ facter osfamily [2023-10-18T20:15:48.550Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-18T20:15:48.810Z] + OS_FAMILY=debian [2023-10-18T20:15:48.810Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-352 [2023-10-18T20:15:48.810Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-18T20:15:48.810Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-18T20:15:48.810Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-18T20:15:48.810Z] + PACKAGES=/tmp/packages_start.txt [2023-10-18T20:15:48.810Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-352 ']' [2023-10-18T20:15:48.810Z] + PACKAGES=/tmp/packages_end.txt [2023-10-18T20:15:48.810Z] + case "${OS_FAMILY}" in [2023-10-18T20:15:48.810Z] + dpkg -l [2023-10-18T20:15:48.810Z] + grep '^ii' [2023-10-18T20:15:48.810Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-18T20:15:48.810Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-18T20:15:48.810Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-18T20:15:48.810Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-352 ']' [2023-10-18T20:15:48.810Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-352/archives/ [2023-10-18T20:15:48.810Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-352/archives/ [Pipeline] echo [2023-10-18T20:15:48.845Z] 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-352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-18T20:15:49.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-18T20:15:49.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-18T20:15:49.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-18T20:15:49.896Z] prd-ubuntu20.04-docker-8c-8g-9545 does not seem to be running inside a container [2023-10-18T20:15:49.928Z] $ 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-352/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-352 -v /w/workspace/gexfoundry_device-rest-go_PR-352:/w/workspace/gexfoundry_device-rest-go_PR-352:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-352@tmp:/w/workspace/gexfoundry_device-rest-go_PR-352@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-10-18T20:15:50.141Z] $ docker top 819d338312639fe3f23756a84a1b70502920a951d9cf5399d4ddf529003ecaad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-18T20:15:50.521Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-18T20:15:50.835Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-18T20:15:51.153Z] + ls /var/log/sa-host [2023-10-18T20:15:51.153Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-18T20:15:51.381Z] provisioning config files... [2023-10-18T20:15:51.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-352@tmp/config17197101850553559748tmp [Pipeline] { [Pipeline] echo [2023-10-18T20:15:51.442Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:51.761Z] ---> create-netrc.sh [Pipeline] } [2023-10-18T20:15:51.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:52.191Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-18T20:15:52.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:52.532Z] ---> sudo-logs.sh [2023-10-18T20:15:52.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-18T20:15:52.615Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:52.926Z] ---> job-cost.sh [2023-10-18T20:15:52.926Z] lf-activate-venv: SKIPPING [2023-10-18T20:15:52.926Z] DEBUG: total: 0.2199999988079071 [2023-10-18T20:15:52.926Z] INFO: Retrieving Stack Cost... [2023-10-18T20:15:53.496Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-18T20:15:53.755Z] INFO: Archiving Costs [Pipeline] echo [2023-10-18T20:15:53.797Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-18T20:15:54.107Z] ---> logs-deploy.sh [2023-10-18T20:15:54.107Z] lf-activate-venv: SKIPPING [2023-10-18T20:15:54.107Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-352/1 [2023-10-18T20:15:54.107Z] INFO: archiving workspace using pattern(s): [2023-10-18T20:15:55.041Z] Archives upload complete. [2023-10-18T20:15:55.301Z] INFO: archiving logs to Nexus