Pull request #236 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 589af0f2b8198823237d013cfc5dd59b5bb0a7dd+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (5bfaf9eab79dd5738482b60d1a92aca74e716cd4) 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-ssh16562408724552992578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5258195430313414917.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1108550396600161735.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh16324204700891142691.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4863198421155575298.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1889 in /w/workspace/gexfoundry_device-rest-go_PR-236 [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-236 # 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/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 589af0f2b8198823237d013cfc5dd59b5bb0a7dd Merge succeeded, producing 589af0f2b8198823237d013cfc5dd59b5bb0a7dd Checking out Revision 589af0f2b8198823237d013cfc5dd59b5bb0a7dd (PR-236) > git config core.sparsecheckout # timeout=10 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T17:47:47.655Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T17:47:47.712Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T17:47:47.729Z] ========================================================= [2023-01-11T17:47:47.730Z] EdgeX Global Pipelines Version Info [2023-01-11T17:47:47.730Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:47:48.444Z] ------------------- [2023-01-11T17:47:48.444Z] stable info: [2023-01-11T17:47:48.444Z] ------------------- [2023-01-11T17:47:48.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T17:47:48.444Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:47:48.444Z] Message: update stable to v1.0.244 > git rev-list --no-walk 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 [2023-01-11T17:47:49.013Z] ------------------- [2023-01-11T17:47:49.013Z] experimental info: [2023-01-11T17:47:49.013Z] ------------------- [2023-01-11T17:47:49.013Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T17:47:49.013Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:47:49.013Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T17:47:49.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-11T17:47:49.197Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-11T17:47:49.211Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T17:47:49.223Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T17:47:49.235Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T17:47:49.252Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T17:47:49.269Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T17:47:49.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T17:47:49.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T17:47:49.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T17:47:49.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T17:47:49.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-11T17:47:49.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T17:47:49.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T17:47:49.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:47:49.386Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:47:49.463Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:47:49.479Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:47:49.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T17:47:49.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T17:47:49.520Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T17:47:49.531Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T17:47:49.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T17:47:49.556Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T17:47:49.568Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T17:47:49.581Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T17:47:49.593Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T17:47:49.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2023-01-11T17:47:49.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2023-01-11T17:47:49.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2023-01-11T17:47:49.645Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo [2023-01-11T17:47:49.662Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 589af0f [Pipeline] echo [2023-01-11T17:47:49.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:47:49.715Z] provisioning config files... [2023-01-11T17:47:49.730Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config614725999422236309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:47:50.031Z] ---> docker-login.sh [2023-01-11T17:47:50.032Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:47:50.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:47:50.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:47:50.290Z] Configure a credential helper to remove this warning. See [2023-01-11T17:47:50.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:47:50.290Z] [2023-01-11T17:47:50.290Z] Login Succeeded [2023-01-11T17:47:50.290Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:47:50.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:47:50.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:47:50.550Z] Configure a credential helper to remove this warning. See [2023-01-11T17:47:50.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:47:50.550Z] [2023-01-11T17:47:50.550Z] Login Succeeded [2023-01-11T17:47:50.550Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:47:50.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:47:50.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:47:50.550Z] Configure a credential helper to remove this warning. See [2023-01-11T17:47:50.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:47:50.550Z] [2023-01-11T17:47:50.550Z] Login Succeeded [2023-01-11T17:47:50.550Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:47:50.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:47:50.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:47:50.810Z] Configure a credential helper to remove this warning. See [2023-01-11T17:47:50.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:47:50.810Z] [2023-01-11T17:47:50.810Z] Login Succeeded [2023-01-11T17:47:50.810Z] docker.io [2023-01-11T17:47:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:47:51.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:47:51.069Z] Configure a credential helper to remove this warning. See [2023-01-11T17:47:51.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:47:51.069Z] [2023-01-11T17:47:51.069Z] Login Succeeded [2023-01-11T17:47:51.069Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:47:51.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T17:47:51.455Z] + git rev-list -1 --merges 589af0f2b8198823237d013cfc5dd59b5bb0a7dd~1..589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo [2023-01-11T17:47:51.504Z] -----------> git rev-list -1 --merges 589af0f2b8198823237d013cfc5dd59b5bb0a7dd~1..589af0f2b8198823237d013cfc5dd59b5bb0a7dd 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [false] [Pipeline] sh [2023-01-11T17:47:51.790Z] + git log --format=format:%s -1 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo [2023-01-11T17:47:51.806Z] ========================================================= [2023-01-11T17:47:51.806Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T17:47:51.806Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:47:52.121Z] + git log --format=format:%s -1 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] echo [2023-01-11T17:47:52.132Z] [semverPrep] GIT_COMMIT: 589af0f2b8198823237d013cfc5dd59b5bb0a7dd, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T17:47:52.142Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T17:47:52.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T17:47:52.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T17:47:52.489Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T17:47:52.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T17:47:52.489Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T17:47:52.489Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T17:47:52.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:47:52.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:47:52.841Z] [2023-01-11T17:47:52.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:47:53.144Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:47:53.144Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T17:47:53.144Z] b85a868b505f: Pulling fs layer [2023-01-11T17:47:53.144Z] e2be974225ed: Pulling fs layer [2023-01-11T17:47:53.144Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T17:47:53.144Z] 988bab9f4d93: Pulling fs layer [2023-01-11T17:47:53.144Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T17:47:53.144Z] eaf3925da568: Pulling fs layer [2023-01-11T17:47:53.145Z] bab4dde63d76: Pulling fs layer [2023-01-11T17:47:53.145Z] bde34c3a00c8: Pulling fs layer [2023-01-11T17:47:53.145Z] b352a97aabf1: Pulling fs layer [2023-01-11T17:47:53.145Z] 988bab9f4d93: Waiting [2023-01-11T17:47:53.145Z] eaf3925da568: Waiting [2023-01-11T17:47:53.145Z] bab4dde63d76: Waiting [2023-01-11T17:47:53.145Z] bde34c3a00c8: Waiting [2023-01-11T17:47:53.145Z] 1469e6f7b9e6: Waiting [2023-01-11T17:47:53.145Z] 4872d77fe225: Pulling fs layer [2023-01-11T17:47:53.145Z] 5851b861e8e6: Pulling fs layer [2023-01-11T17:47:53.145Z] b352a97aabf1: Waiting [2023-01-11T17:47:53.145Z] 5851b861e8e6: Waiting [2023-01-11T17:47:53.145Z] 4872d77fe225: Waiting [2023-01-11T17:47:53.145Z] e2be974225ed: Verifying Checksum [2023-01-11T17:47:53.145Z] e2be974225ed: Download complete [2023-01-11T17:47:53.145Z] 988bab9f4d93: Verifying Checksum [2023-01-11T17:47:53.145Z] 988bab9f4d93: Download complete [2023-01-11T17:47:53.403Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T17:47:53.403Z] 339a4e72a1f5: Download complete [2023-01-11T17:47:53.403Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T17:47:53.403Z] 1469e6f7b9e6: Download complete [2023-01-11T17:47:53.403Z] eaf3925da568: Verifying Checksum [2023-01-11T17:47:53.403Z] eaf3925da568: Download complete [2023-01-11T17:47:53.403Z] bde34c3a00c8: Verifying Checksum [2023-01-11T17:47:53.403Z] bde34c3a00c8: Download complete [2023-01-11T17:47:53.403Z] b352a97aabf1: Verifying Checksum [2023-01-11T17:47:53.403Z] b352a97aabf1: Download complete [2023-01-11T17:47:53.403Z] 4872d77fe225: Verifying Checksum [2023-01-11T17:47:53.403Z] 4872d77fe225: Download complete [2023-01-11T17:47:53.403Z] 5851b861e8e6: Download complete [2023-01-11T17:47:53.403Z] b85a868b505f: Verifying Checksum [2023-01-11T17:47:53.403Z] b85a868b505f: Download complete [2023-01-11T17:47:53.661Z] bab4dde63d76: Verifying Checksum [2023-01-11T17:47:53.661Z] bab4dde63d76: Download complete [2023-01-11T17:47:54.598Z] b85a868b505f: Pull complete [2023-01-11T17:47:54.598Z] e2be974225ed: Pull complete [2023-01-11T17:47:55.164Z] 339a4e72a1f5: Pull complete [2023-01-11T17:47:55.164Z] 988bab9f4d93: Pull complete [2023-01-11T17:47:55.421Z] 1469e6f7b9e6: Pull complete [2023-01-11T17:47:55.421Z] eaf3925da568: Pull complete [2023-01-11T17:47:57.365Z] bab4dde63d76: Pull complete [2023-01-11T17:47:57.365Z] bde34c3a00c8: Pull complete [2023-01-11T17:47:57.365Z] b352a97aabf1: Pull complete [2023-01-11T17:47:57.365Z] 4872d77fe225: Pull complete [2023-01-11T17:47:57.365Z] 5851b861e8e6: Pull complete [2023-01-11T17:47:57.365Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T17:47:57.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:47:57.365Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:47:57.462Z] prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container [2023-01-11T17:47:57.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T17:48:01.383Z] $ docker top 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f -eo pid,comm [2023-01-11T17:48:01.450Z] 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-01-11T17:48:01.450Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T17:48:01.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:48:01.486Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:48:01.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:48:01.595Z] $ docker exec 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent [2023-01-11T17:48:01.719Z] SSH_AUTH_SOCK=/tmp/ssh-Dypa7t05rEjo/agent.33 [2023-01-11T17:48:01.719Z] SSH_AGENT_PID=39 [2023-01-11T17:48:01.724Z] Running ssh-add (command line suppressed) [2023-01-11T17:48:01.820Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_15585624317438991631.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_15585624317438991631.key) [2023-01-11T17:48:01.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:48:02.129Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T17:48:02.133Z] $ docker exec --env ******** --env ******** 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent -k [2023-01-11T17:48:02.255Z] unset SSH_AUTH_SOCK; [2023-01-11T17:48:02.255Z] unset SSH_AGENT_PID; [2023-01-11T17:48:02.256Z] echo Agent pid 39 killed; [2023-01-11T17:48:02.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T17:48:02.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:48:02.292Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:48:02.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:48:02.399Z] $ docker exec 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent [2023-01-11T17:48:02.508Z] SSH_AUTH_SOCK=/tmp/ssh-RtLdVPPaA8Tx/agent.71 [2023-01-11T17:48:02.508Z] SSH_AGENT_PID=77 [2023-01-11T17:48:02.512Z] Running ssh-add (command line suppressed) [2023-01-11T17:48:02.599Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5242837762631320817.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5242837762631320817.key) [2023-01-11T17:48:02.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:48:02.927Z] + git semver init [2023-01-11T17:48:03.193Z] 2023-01-11 17:48:03,102 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T17:48:03.193Z] 2023-01-11 17:48:03,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-11T17:48:03.193Z] 2023-01-11 17:48:03,104 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-11T17:48:03.193Z] 2023-01-11 17:48:03,104 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-236/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236, universal_newlines=False, shell=None, istream=None) [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,405 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.git/info/exclude [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 with force:False [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,406 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,408 [execute] INFO git cat-file --batch-check [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,413 [execute] INFO git cat-file --batch [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:48:04.597Z] 2023-01-11 17:48:04,418 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-11T17:48:04.597Z] 0.0.0 [Pipeline] } [2023-01-11T17:48:04.599Z] $ docker exec --env ******** --env ******** 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f ssh-agent -k [2023-01-11T17:48:04.689Z] unset SSH_AUTH_SOCK; [2023-01-11T17:48:04.689Z] unset SSH_AGENT_PID; [2023-01-11T17:48:04.689Z] echo Agent pid 77 killed; [2023-01-11T17:48:04.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T17:48:05.004Z] + git semver [Pipeline] } [2023-01-11T17:48:05.268Z] $ docker stop --time=1 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f [2023-01-11T17:48:06.545Z] $ docker rm -f --volumes 0985c36cff9a2a456c2e36bfcaa949315c907ff2c18f06a2d6f5e62a3ed0d31f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:48:06.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T17:48:07.095Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T17:48:07.098Z] [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-01-11T17:48:07.248Z] provisioning config files... [2023-01-11T17:48:07.257Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config14772887826497930007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:48:07.545Z] ---> docker-login.sh [2023-01-11T17:48:07.545Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:48:07.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:07.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:07.545Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:07.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:07.545Z] [2023-01-11T17:48:07.545Z] Login Succeeded [2023-01-11T17:48:07.545Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:48:07.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:07.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:07.546Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:07.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:07.546Z] [2023-01-11T17:48:07.546Z] Login Succeeded [2023-01-11T17:48:07.546Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:48:07.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:07.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:07.806Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:07.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:07.806Z] [2023-01-11T17:48:07.806Z] Login Succeeded [2023-01-11T17:48:07.806Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:48:07.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:07.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:07.806Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:07.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:07.806Z] [2023-01-11T17:48:07.806Z] Login Succeeded [2023-01-11T17:48:07.806Z] docker.io [2023-01-11T17:48:08.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:48:08.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:48:08.066Z] Configure a credential helper to remove this warning. See [2023-01-11T17:48:08.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:48:08.066Z] [2023-01-11T17:48:08.066Z] Login Succeeded [2023-01-11T17:48:08.066Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:48:08.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:48:08.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:48:08.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:48:08.160Z] ========================================================= [2023-01-11T17:48:08.160Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T17:48:08.160Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:48:08.482Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T17:48:08.482Z] Sending build context to Docker daemon 10.79MB [2023-01-11T17:48:08.482Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:48:08.482Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T17:48:08.482Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T17:48:08.482Z] 213ec9aee27d: Pulling fs layer [2023-01-11T17:48:08.482Z] 4583459ba037: Pulling fs layer [2023-01-11T17:48:08.482Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T17:48:08.482Z] 53926ce57604: Pulling fs layer [2023-01-11T17:48:08.482Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T17:48:08.482Z] 22ff95d597cd: Pulling fs layer [2023-01-11T17:48:08.482Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T17:48:08.482Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T17:48:08.482Z] a7acece74701: Pulling fs layer [2023-01-11T17:48:08.482Z] 21b2b0c7a3f4: Waiting [2023-01-11T17:48:08.482Z] 22ff95d597cd: Waiting [2023-01-11T17:48:08.482Z] 53926ce57604: Waiting [2023-01-11T17:48:08.482Z] a7acece74701: Waiting [2023-01-11T17:48:08.482Z] 12d6caf4c0d1: Waiting [2023-01-11T17:48:08.482Z] 96b7cbca73a9: Waiting [2023-01-11T17:48:08.482Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T17:48:08.482Z] 93c1e223e6f2: Download complete [2023-01-11T17:48:08.482Z] 4583459ba037: Verifying Checksum [2023-01-11T17:48:08.482Z] 4583459ba037: Download complete [2023-01-11T17:48:08.746Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T17:48:08.746Z] 21b2b0c7a3f4: Download complete [2023-01-11T17:48:08.746Z] 22ff95d597cd: Verifying Checksum [2023-01-11T17:48:08.746Z] 22ff95d597cd: Download complete [2023-01-11T17:48:08.746Z] 213ec9aee27d: Verifying Checksum [2023-01-11T17:48:08.746Z] 213ec9aee27d: Download complete [2023-01-11T17:48:08.746Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T17:48:08.746Z] 12d6caf4c0d1: Download complete [2023-01-11T17:48:08.746Z] 213ec9aee27d: Pull complete [2023-01-11T17:48:09.023Z] 4583459ba037: Pull complete [2023-01-11T17:48:09.023Z] 93c1e223e6f2: Pull complete [2023-01-11T17:48:09.600Z] a7acece74701: Verifying Checksum [2023-01-11T17:48:09.600Z] a7acece74701: Download complete [2023-01-11T17:48:09.600Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T17:48:09.600Z] 96b7cbca73a9: Download complete [2023-01-11T17:48:09.600Z] 53926ce57604: Verifying Checksum [2023-01-11T17:48:09.600Z] 53926ce57604: Download complete [2023-01-11T17:48:13.785Z] 53926ce57604: Pull complete [2023-01-11T17:48:13.785Z] 21b2b0c7a3f4: Pull complete [2023-01-11T17:48:13.785Z] 22ff95d597cd: Pull complete [2023-01-11T17:48:13.785Z] 12d6caf4c0d1: Pull complete [2023-01-11T17:48:15.685Z] 96b7cbca73a9: Pull complete [2023-01-11T17:48:15.944Z] a7acece74701: Pull complete [2023-01-11T17:48:16.203Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T17:48:16.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T17:48:16.203Z] ---> db6d94c90886 [2023-01-11T17:48:16.203Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:48:22.196Z] Still waiting to schedule task [2023-01-11T17:48:22.196Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T17:48:22.772Z] ---> Running in c42ce44bfc1b [2023-01-11T17:48:22.773Z] Removing intermediate container c42ce44bfc1b [2023-01-11T17:48:22.773Z] ---> 2e1b06d29448 [2023-01-11T17:48:22.773Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:48:23.051Z] ---> Running in 7905ea0e0d59 [2023-01-11T17:48:23.051Z] Removing intermediate container 7905ea0e0d59 [2023-01-11T17:48:23.051Z] ---> df5020144415 [2023-01-11T17:48:23.051Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T17:48:23.051Z] ---> Running in 9fc8846686ee [2023-01-11T17:48:23.051Z] Removing intermediate container 9fc8846686ee [2023-01-11T17:48:23.051Z] ---> 8c41bbc2f8ab [2023-01-11T17:48:23.051Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:48:23.051Z] ---> Running in b248a1c4921b [2023-01-11T17:48:23.326Z] Removing intermediate container b248a1c4921b [2023-01-11T17:48:23.326Z] ---> 15f84d389078 [2023-01-11T17:48:23.326Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:48:23.326Z] ---> Running in 1cdbaff98b21 [2023-01-11T17:48:23.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:48:23.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:48:23.847Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T17:48:23.847Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T17:48:23.847Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T17:48:23.847Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T17:48:24.104Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:48:24.104Z] OK: 216 MiB in 55 packages [2023-01-11T17:48:24.361Z] Removing intermediate container 1cdbaff98b21 [2023-01-11T17:48:24.361Z] ---> 7da7369fd21d [2023-01-11T17:48:24.361Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-11T17:48:24.361Z] ---> Running in 85288dce4caa [2023-01-11T17:48:24.618Z] Removing intermediate container 85288dce4caa [2023-01-11T17:48:24.618Z] ---> 55c4bc815e86 [2023-01-11T17:48:24.618Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T17:48:24.618Z] ---> a904b59f81f4 [2023-01-11T17:48:24.618Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:48:24.618Z] ---> Running in f13b0b2c97fd [2023-01-11T17:48:57.767Z] Removing intermediate container f13b0b2c97fd [2023-01-11T17:48:57.767Z] ---> 15c34e504745 [2023-01-11T17:48:57.767Z] Step 11/12 : COPY . . [2023-01-11T17:48:57.767Z] ---> 9f6497d728f1 [2023-01-11T17:48:57.767Z] Step 12/12 : RUN $MAKE [2023-01-11T17:48:57.767Z] ---> Running in e42f88c27225 [2023-01-11T17:48:57.767Z] noop [2023-01-11T17:48:57.767Z] Removing intermediate container e42f88c27225 [2023-01-11T17:48:57.767Z] ---> c56abedef91f [2023-01-11T17:48:57.767Z] Successfully built c56abedef91f [2023-01-11T17:48:57.767Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:48:58.073Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:48:58.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:48:58.141Z] prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container [2023-01-11T17:48:58.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T17:48:58.649Z] $ docker top 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:48:58.987Z] + go version [2023-01-11T17:48:58.987Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T17:48:59.002Z] $ docker stop --time=1 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a [2023-01-11T17:49:00.258Z] $ docker rm -f --volumes 3d834f5f631b3ba1a5c1cb983f1767986586b7108fc1fc2924904aa93cc8e97a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:00.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:49:00.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:49:00.729Z] prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container [2023-01-11T17:49:00.765Z] $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T17:49:01.095Z] $ docker top 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:49:01.429Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:49:01.722Z] + make test [2023-01-11T17:49:01.722Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T17:49:01.980Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-11T17:49:10.083Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-11T17:49:10.650Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 55.2% of statements [2023-01-11T17:49:17.203Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T17:49:17.203Z] go vet ./... [2023-01-11T17:49:19.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:49:19.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:49:19.726Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:49:19.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:49:19.755Z] $ docker stop --time=1 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e [2023-01-11T17:49:22.505Z] $ docker rm -f --volumes 72fa33963e87a1f33f0adb6de0c70fd5fa3f0a5f790ad24eb789964e3dc8bb8e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:49:22.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:49:22.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T17:49:23.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:49:23.688Z] + ls -al . [2023-01-11T17:49:23.688Z] total 188 [2023-01-11T17:49:23.688Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 17:49 . [2023-01-11T17:49:23.688Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:47 .. [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 17:47 .dockerignore [2023-01-11T17:49:23.688Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:49 .git [2023-01-11T17:49:23.688Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:47 .github [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 17:47 .gitignore [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:47 .golangci.yml [2023-01-11T17:49:23.688Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:48 .semver [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 11 17:47 Attribution.txt [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 11 17:47 CHANGELOG.md [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 11 17:47 Dockerfile [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:47 GOVERNANCE.md [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:47 Jenkinsfile [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:47 LICENSE [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 11 17:47 Makefile [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 17:47 OWNERS.md [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 11 17:47 README.md [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:48 VERSION [2023-01-11T17:49:23.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:47 bin [2023-01-11T17:49:23.688Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:47 cmd [2023-01-11T17:49:23.688Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 11 17:49 coverage.out [2023-01-11T17:49:23.688Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:47 driver [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 11 17:47 go.mod [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 17:47 go.sum [2023-01-11T17:49:23.688Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:47 snap [2023-01-11T17:49:23.688Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 17:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:23.988Z] + 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=589af0f2b8198823237d013cfc5dd59b5bb0a7dd --label arch=amd64 --label version=0.0.0 . [2023-01-11T17:49:23.989Z] Sending build context to Docker daemon 10.8MB [2023-01-11T17:49:23.989Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:49:23.989Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T17:49:23.989Z] ---> c56abedef91f [2023-01-11T17:49:23.989Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:49:24.247Z] ---> Running in 5fdd83883697 [2023-01-11T17:49:24.247Z] Removing intermediate container 5fdd83883697 [2023-01-11T17:49:24.247Z] ---> 48dd7f7c1180 [2023-01-11T17:49:24.247Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:49:24.247Z] ---> Running in 20b7b9ab2bc1 [2023-01-11T17:49:24.504Z] Removing intermediate container 20b7b9ab2bc1 [2023-01-11T17:49:24.504Z] ---> 9570cc0604af [2023-01-11T17:49:24.504Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T17:49:24.504Z] ---> Running in 77637f4f5cee [2023-01-11T17:49:24.504Z] Removing intermediate container 77637f4f5cee [2023-01-11T17:49:24.504Z] ---> 516a99125543 [2023-01-11T17:49:24.504Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:49:24.504Z] ---> Running in b24fcb6468f0 [2023-01-11T17:49:24.504Z] Removing intermediate container b24fcb6468f0 [2023-01-11T17:49:24.505Z] ---> 52f3e28ba225 [2023-01-11T17:49:24.505Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:49:24.505Z] ---> Running in d38ccdbe8c9d [2023-01-11T17:49:24.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:25.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:25.280Z] OK: 216 MiB in 55 packages [2023-01-11T17:49:25.845Z] Removing intermediate container d38ccdbe8c9d [2023-01-11T17:49:25.845Z] ---> 496245669704 [2023-01-11T17:49:25.845Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-11T17:49:25.845Z] ---> Running in c29eb9660f2f [2023-01-11T17:49:25.845Z] Removing intermediate container c29eb9660f2f [2023-01-11T17:49:25.845Z] ---> f235d70a3249 [2023-01-11T17:49:25.845Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T17:49:25.845Z] ---> c0a74461fbd2 [2023-01-11T17:49:25.845Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:49:25.845Z] ---> Running in a66c81dc2eb5 [2023-01-11T17:49:26.802Z] Removing intermediate container a66c81dc2eb5 [2023-01-11T17:49:26.802Z] ---> e28902d8195c [2023-01-11T17:49:26.802Z] Step 11/25 : COPY . . [2023-01-11T17:49:27.069Z] ---> 451bbeaf9300 [2023-01-11T17:49:27.069Z] Step 12/25 : RUN $MAKE [2023-01-11T17:49:27.069Z] ---> Running in bce16f462d54 [2023-01-11T17:49:27.327Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-11T17:49:49.259Z] Removing intermediate container bce16f462d54 [2023-01-11T17:49:49.259Z] ---> 118adc7e1486 [2023-01-11T17:49:49.259Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T17:49:49.259Z] 3.16: Pulling from library/alpine [2023-01-11T17:49:49.259Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T17:49:49.259Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T17:49:49.259Z] ca7dd9ec2225: Download complete [2023-01-11T17:49:49.259Z] ca7dd9ec2225: Pull complete [2023-01-11T17:49:49.259Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T17:49:49.259Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T17:49:49.259Z] ---> bfe296a52501 [2023-01-11T17:49:49.259Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T17:49:49.259Z] ---> Running in 56a099e8322f [2023-01-11T17:49:49.259Z] Removing intermediate container 56a099e8322f [2023-01-11T17:49:49.259Z] ---> b50d40d0dacd [2023-01-11T17:49:49.259Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-11T17:49:49.259Z] ---> Running in d706c4a36474 [2023-01-11T17:49:49.259Z] Removing intermediate container d706c4a36474 [2023-01-11T17:49:49.259Z] ---> f22969a0e750 [2023-01-11T17:49:49.259Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-11T17:49:49.259Z] ---> Running in 5e98db0e9995 [2023-01-11T17:49:49.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:49.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:49:49.259Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T17:49:49.259Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:49:49.259Z] OK: 6 MiB in 15 packages [2023-01-11T17:49:49.259Z] Removing intermediate container 5e98db0e9995 [2023-01-11T17:49:49.259Z] ---> 33493d2b3e95 [2023-01-11T17:49:49.259Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-11T17:49:49.259Z] ---> 40665aff3e95 [2023-01-11T17:49:49.259Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-11T17:49:49.259Z] ---> b9c7bb8e0840 [2023-01-11T17:49:49.259Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-11T17:49:49.259Z] ---> d3643606fd91 [2023-01-11T17:49:49.259Z] Step 20/25 : EXPOSE 59986 [2023-01-11T17:49:49.259Z] ---> Running in d17c27daa3da [2023-01-11T17:49:49.259Z] Removing intermediate container d17c27daa3da [2023-01-11T17:49:49.259Z] ---> 2776bb0c0b11 [2023-01-11T17:49:49.259Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-11T17:49:49.259Z] ---> Running in 197d4422b7cf [2023-01-11T17:49:49.259Z] Removing intermediate container 197d4422b7cf [2023-01-11T17:49:49.259Z] ---> b2debe1dca4f [2023-01-11T17:49:49.259Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T17:49:49.259Z] ---> Running in d9dabec67c79 [2023-01-11T17:49:49.259Z] Removing intermediate container d9dabec67c79 [2023-01-11T17:49:49.259Z] ---> 37152997faf6 [2023-01-11T17:49:49.259Z] Step 23/25 : LABEL arch=amd64 [2023-01-11T17:49:49.259Z] ---> Running in 45739c181130 [2023-01-11T17:49:49.519Z] Removing intermediate container 45739c181130 [2023-01-11T17:49:49.519Z] ---> 3ad0ae64c2f0 [2023-01-11T17:49:49.519Z] Step 24/25 : LABEL git_sha=589af0f2b8198823237d013cfc5dd59b5bb0a7dd [2023-01-11T17:49:49.519Z] ---> Running in c2be2a67922a [2023-01-11T17:49:49.519Z] Removing intermediate container c2be2a67922a [2023-01-11T17:49:49.519Z] ---> 30b64b6419ef [2023-01-11T17:49:49.519Z] Step 25/25 : LABEL version=0.0.0 [2023-01-11T17:49:49.519Z] ---> Running in eb86738106c0 [2023-01-11T17:49:49.519Z] Removing intermediate container eb86738106c0 [2023-01-11T17:49:49.519Z] ---> 43c1351f1f5f [2023-01-11T17:49:49.519Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:49:49.519Z] Successfully built 43c1351f1f5f [2023-01-11T17:49:49.519Z] 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-01-11T17:49:49.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:49:49.957Z] [2023-01-11T17:49:49.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:49:50.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:49:50.261Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T17:49:50.261Z] 5eb5b503b376: Pulling fs layer [2023-01-11T17:49:50.261Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T17:49:50.261Z] ec43610c2a17: Pulling fs layer [2023-01-11T17:49:50.261Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T17:49:50.261Z] 33b1e0a273af: Pulling fs layer [2023-01-11T17:49:50.261Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T17:49:50.261Z] 2f39f015ded8: Pulling fs layer [2023-01-11T17:49:50.261Z] 3a2ae6a8a46f: Waiting [2023-01-11T17:49:50.261Z] 33b1e0a273af: Waiting [2023-01-11T17:49:50.261Z] 5d3b04190fa2: Waiting [2023-01-11T17:49:50.261Z] 2f39f015ded8: Waiting [2023-01-11T17:49:50.261Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T17:49:50.261Z] 5c69ac0246d0: Download complete [2023-01-11T17:49:50.261Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T17:49:50.261Z] 3a2ae6a8a46f: Download complete [2023-01-11T17:49:50.261Z] ec43610c2a17: Verifying Checksum [2023-01-11T17:49:50.261Z] ec43610c2a17: Download complete [2023-01-11T17:49:50.261Z] 33b1e0a273af: Verifying Checksum [2023-01-11T17:49:50.261Z] 33b1e0a273af: Download complete [2023-01-11T17:49:50.518Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T17:49:50.518Z] 5d3b04190fa2: Download complete [2023-01-11T17:49:50.518Z] 5eb5b503b376: Verifying Checksum [2023-01-11T17:49:50.518Z] 5eb5b503b376: Download complete [2023-01-11T17:49:51.083Z] 2f39f015ded8: Verifying Checksum [2023-01-11T17:49:51.083Z] 2f39f015ded8: Download complete [2023-01-11T17:49:52.018Z] 5eb5b503b376: Pull complete [2023-01-11T17:49:52.018Z] 5c69ac0246d0: Pull complete [2023-01-11T17:49:52.585Z] ec43610c2a17: Pull complete [2023-01-11T17:49:52.585Z] 3a2ae6a8a46f: Pull complete [2023-01-11T17:49:52.842Z] 33b1e0a273af: Pull complete [2023-01-11T17:49:52.842Z] 5d3b04190fa2: Pull complete [2023-01-11T17:49:58.103Z] 2f39f015ded8: Pull complete [2023-01-11T17:49:58.103Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T17:49:58.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:49:58.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:49:58.183Z] prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container [2023-01-11T17:49:58.215Z] $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T17:50:03.423Z] $ docker top 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:50:03.785Z] ---> job-cost.sh [2023-01-11T17:50:03.785Z] lf-activate-venv: SKIPPING [2023-01-11T17:50:03.785Z] INFO: No Stack... [2023-01-11T17:50:04.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:50:04.304Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:50:04.595Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-236/archives/cost.csv [2023-01-11T17:50:04.595Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:50:04.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [2023-01-11T17:50:04.615Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] did not exist. Created. [2023-01-11T17:50:04.615Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:50:04.919Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T17:50:04.952Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:50:04.958Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:50:04.981Z] $ docker stop --time=1 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 [2023-01-11T17:50:06.236Z] $ docker rm -f --volumes 3b3b772e53520537057a78274df0d85930c874bef6707f50fdeddbbf2a3732d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T17:51:05.636Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1896 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] ws [2023-01-11T17:51:05.646Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2023-01-11T17:51:05.680Z] The recommended git tool is: git [2023-01-11T17:51:12.006Z] using credential edgex-jenkins-ssh [2023-01-11T17:51:12.041Z] Cloning the remote Git repository [2023-01-11T17:51:12.102Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T17:51:12.195Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2023-01-11T17:51:12.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T17:51:12.385Z] > git --version # timeout=10 [2023-01-11T17:51:12.409Z] > git --version # 'git version 2.25.1' [2023-01-11T17:51:12.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:51:12.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:51:14.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-11T17:51:14.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:51:15.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-11T17:51:15.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T17:51:15.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:51:15.521Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T17:51:16.104Z] Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [2023-01-11T17:51:16.372Z] Merge succeeded, producing 589af0f2b8198823237d013cfc5dd59b5bb0a7dd [2023-01-11T17:51:16.372Z] Checking out Revision 589af0f2b8198823237d013cfc5dd59b5bb0a7dd (PR-236) [2023-01-11T17:51:16.132Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:51:16.161Z] > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 [2023-01-11T17:51:16.261Z] > git remote # timeout=10 [2023-01-11T17:51:16.281Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T17:51:16.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:51:16.318Z] > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 [2023-01-11T17:51:16.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T17:51:16.384Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:51:16.400Z] > git checkout -f 589af0f2b8198823237d013cfc5dd59b5bb0a7dd # timeout=10 [2023-01-11T17:51:20.040Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:51:21.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T17:51:21.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:51:21.006Z] Dload Upload Total Spent Left Speed [2023-01-11T17:51:21.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-01-11T17:51:21.792Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T17:51:22.149Z] + sudo tee /etc/docker/daemon.new [2023-01-11T17:51:22.149Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T17:51:22.149Z] { [2023-01-11T17:51:22.149Z] "registry-mirrors": [ [2023-01-11T17:51:22.149Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T17:51:22.149Z] ], [2023-01-11T17:51:22.149Z] "bip": "10.250.0.254/24", [2023-01-11T17:51:22.149Z] "hosts": [ [2023-01-11T17:51:22.149Z] "tcp://0.0.0.0:5555", [2023-01-11T17:51:22.150Z] "unix:///var/run/docker.sock" [2023-01-11T17:51:22.150Z] ], [2023-01-11T17:51:22.150Z] "mtu": 1458, [2023-01-11T17:51:22.150Z] "selinux-enabled": true, [2023-01-11T17:51:22.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T17:51:22.150Z] } [Pipeline] sh [2023-01-11T17:51:22.513Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T17:51:22.880Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:51:41.227Z] provisioning config files... [2023-01-11T17:51:41.264Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7452333052495782634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:51:41.636Z] ---> docker-login.sh [2023-01-11T17:51:41.636Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:51:42.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:51:42.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:51:42.229Z] Configure a credential helper to remove this warning. See [2023-01-11T17:51:42.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:51:42.229Z] [2023-01-11T17:51:42.229Z] Login Succeeded [2023-01-11T17:51:42.229Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:51:42.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:51:42.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:51:42.771Z] Configure a credential helper to remove this warning. See [2023-01-11T17:51:42.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:51:42.771Z] [2023-01-11T17:51:42.771Z] Login Succeeded [2023-01-11T17:51:42.771Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:51:43.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:51:43.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:51:43.044Z] Configure a credential helper to remove this warning. See [2023-01-11T17:51:43.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:51:43.044Z] [2023-01-11T17:51:43.044Z] Login Succeeded [2023-01-11T17:51:43.044Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:51:43.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:51:43.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:51:43.637Z] Configure a credential helper to remove this warning. See [2023-01-11T17:51:43.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:51:43.637Z] [2023-01-11T17:51:43.637Z] Login Succeeded [2023-01-11T17:51:43.638Z] docker.io [2023-01-11T17:51:43.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:51:44.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:51:44.180Z] Configure a credential helper to remove this warning. See [2023-01-11T17:51:44.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:51:44.180Z] [2023-01-11T17:51:44.180Z] Login Succeeded [2023-01-11T17:51:44.180Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:51:44.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:51:44.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:51:44.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:51:44.518Z] ========================================================= [2023-01-11T17:51:44.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T17:51:44.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:51:44.885Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T17:51:44.885Z] Sending build context to Docker daemon 128.5kB [2023-01-11T17:51:45.155Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:51:45.155Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T17:51:45.438Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T17:51:45.438Z] 9b18e9b68314: Pulling fs layer [2023-01-11T17:51:45.438Z] 35d82f9e3411: Pulling fs layer [2023-01-11T17:51:45.438Z] e16973657156: Pulling fs layer [2023-01-11T17:51:45.438Z] fc693d55d65f: Pulling fs layer [2023-01-11T17:51:45.438Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T17:51:45.438Z] dda99020689f: Pulling fs layer [2023-01-11T17:51:45.438Z] db1c61fa0a46: Pulling fs layer [2023-01-11T17:51:45.438Z] 891c053d2c06: Pulling fs layer [2023-01-11T17:51:45.438Z] fc693d55d65f: Waiting [2023-01-11T17:51:45.438Z] 7e9fc2657dce: Waiting [2023-01-11T17:51:45.438Z] dda99020689f: Waiting [2023-01-11T17:51:45.438Z] db1c61fa0a46: Waiting [2023-01-11T17:51:45.438Z] 891c053d2c06: Waiting [2023-01-11T17:51:45.438Z] e16973657156: Verifying Checksum [2023-01-11T17:51:45.438Z] e16973657156: Download complete [2023-01-11T17:51:45.438Z] 35d82f9e3411: Verifying Checksum [2023-01-11T17:51:45.438Z] 35d82f9e3411: Download complete [2023-01-11T17:51:45.438Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T17:51:45.438Z] 7e9fc2657dce: Download complete [2023-01-11T17:51:45.438Z] dda99020689f: Verifying Checksum [2023-01-11T17:51:45.438Z] dda99020689f: Download complete [2023-01-11T17:51:45.438Z] 9b18e9b68314: Verifying Checksum [2023-01-11T17:51:45.438Z] 9b18e9b68314: Download complete [2023-01-11T17:51:46.890Z] 9b18e9b68314: Pull complete [2023-01-11T17:51:46.890Z] 891c053d2c06: Verifying Checksum [2023-01-11T17:51:46.890Z] 891c053d2c06: Download complete [2023-01-11T17:51:47.167Z] 35d82f9e3411: Pull complete [2023-01-11T17:51:47.446Z] e16973657156: Pull complete [2023-01-11T17:51:48.040Z] db1c61fa0a46: Download complete [2023-01-11T17:51:49.007Z] fc693d55d65f: Verifying Checksum [2023-01-11T17:51:49.007Z] fc693d55d65f: Download complete [2023-01-11T17:52:04.034Z] fc693d55d65f: Pull complete [2023-01-11T17:52:04.034Z] 7e9fc2657dce: Pull complete [2023-01-11T17:52:04.034Z] dda99020689f: Pull complete [2023-01-11T17:52:08.326Z] db1c61fa0a46: Pull complete [2023-01-11T17:52:10.928Z] 891c053d2c06: Pull complete [2023-01-11T17:52:10.928Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T17:52:10.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T17:52:10.928Z] ---> f96f9c87975a [2023-01-11T17:52:10.928Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:52:12.895Z] ---> Running in 388f1d68adb3 [2023-01-11T17:52:13.164Z] Removing intermediate container 388f1d68adb3 [2023-01-11T17:52:13.164Z] ---> f58d2b1daadc [2023-01-11T17:52:13.164Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:52:13.437Z] ---> Running in 6a29b6a9fde4 [2023-01-11T17:52:13.760Z] Removing intermediate container 6a29b6a9fde4 [2023-01-11T17:52:13.760Z] ---> 40b9b2057ee6 [2023-01-11T17:52:13.760Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T17:52:13.760Z] ---> Running in c61015394dea [2023-01-11T17:52:14.347Z] Removing intermediate container c61015394dea [2023-01-11T17:52:14.347Z] ---> 99a056c7f2ad [2023-01-11T17:52:14.348Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:52:14.348Z] ---> Running in 67c58b347ac1 [2023-01-11T17:52:14.619Z] Removing intermediate container 67c58b347ac1 [2023-01-11T17:52:14.619Z] ---> dc4dcb155800 [2023-01-11T17:52:14.619Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:52:14.889Z] ---> Running in 7b868faa8eea [2023-01-11T17:52:16.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:52:16.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:52:17.815Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T17:52:17.815Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T17:52:17.815Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T17:52:17.815Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T17:52:17.815Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:52:17.815Z] OK: 226 MiB in 55 packages [2023-01-11T17:52:19.237Z] Removing intermediate container 7b868faa8eea [2023-01-11T17:52:19.237Z] ---> 7f86622de9ec [2023-01-11T17:52:19.237Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-11T17:52:19.237Z] ---> Running in dd63054f8258 [2023-01-11T17:52:19.507Z] Removing intermediate container dd63054f8258 [2023-01-11T17:52:19.507Z] ---> 58499e2e0364 [2023-01-11T17:52:19.507Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T17:52:20.105Z] ---> f6c1763eb4ee [2023-01-11T17:52:20.105Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:52:20.378Z] ---> Running in 5005613b6ea5 [2023-01-11T17:53:16.868Z] Removing intermediate container 5005613b6ea5 [2023-01-11T17:53:16.868Z] ---> 12a7dc2af73c [2023-01-11T17:53:16.868Z] Step 11/12 : COPY . . [2023-01-11T17:53:17.466Z] ---> 5b879ffc334b [2023-01-11T17:53:17.466Z] Step 12/12 : RUN $MAKE [2023-01-11T17:53:17.738Z] ---> Running in e43cbc446d2b [2023-01-11T17:53:18.711Z] noop [2023-01-11T17:53:19.681Z] Removing intermediate container e43cbc446d2b [2023-01-11T17:53:19.681Z] ---> e0339b4750d9 [2023-01-11T17:53:19.681Z] Successfully built e0339b4750d9 [2023-01-11T17:53:19.681Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:53:20.052Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:53:20.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:53:20.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container [2023-01-11T17:53:20.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T17:53:21.683Z] $ docker top b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:53:22.552Z] + go version [2023-01-11T17:53:22.552Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T17:53:22.573Z] $ docker stop --time=1 b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 [2023-01-11T17:53:24.394Z] $ docker rm -f --volumes b613e0412790b54344551bf6e894358979bcc13fa0948397fe97eeb2318c8b72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:53:24.943Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:53:24.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:53:25.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container [2023-01-11T17:53:25.230Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T17:53:26.935Z] $ docker top fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:53:27.813Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:53:28.469Z] + make test [2023-01-11T17:53:28.469Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T17:53:30.429Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-11T17:55:07.136Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-11T17:55:07.136Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2023-01-11T17:55:07.136Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T17:55:07.136Z] go vet ./... [2023-01-11T17:55:33.921Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:55:33.921Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:55:33.921Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:55:33.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:55:33.954Z] $ docker stop --time=1 fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 [2023-01-11T17:55:35.799Z] $ docker rm -f --volumes fffa49f852db90f67bf318e8b0e97bc9cad18a66cb56fb7fd8640f405d314bc4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:55:36.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:55:36.852Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T17:55:37.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:55:37.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:55:38.150Z] + ls -al . [2023-01-11T17:55:38.150Z] total 184 [2023-01-11T17:55:38.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:53 . [2023-01-11T17:55:38.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 .. [2023-01-11T17:55:38.150Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 11 17:51 .dockerignore [2023-01-11T17:55:38.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:51 .git [2023-01-11T17:55:38.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 .github [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 17:51 .gitignore [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 17:51 .golangci.yml [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 11 17:51 Attribution.txt [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 11 17:51 CHANGELOG.md [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 11 17:51 Dockerfile [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:51 GOVERNANCE.md [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 17:51 Jenkinsfile [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 17:51 LICENSE [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 11 17:51 Makefile [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 17:51 OWNERS.md [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 11 17:51 README.md [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:48 VERSION [2023-01-11T17:55:38.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 bin [2023-01-11T17:55:38.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:51 cmd [2023-01-11T17:55:38.151Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 11 17:55 coverage.out [2023-01-11T17:55:38.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:51 driver [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 11 17:51 go.mod [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 17:51 go.sum [2023-01-11T17:55:38.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:51 snap [2023-01-11T17:55:38.151Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 11 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:55:38.519Z] + 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=589af0f2b8198823237d013cfc5dd59b5bb0a7dd --label arch=arm64 --label version=0.0.0 . [2023-01-11T17:55:38.519Z] Sending build context to Docker daemon 138.8kB [2023-01-11T17:55:38.799Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:55:38.799Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-11T17:55:38.799Z] ---> e0339b4750d9 [2023-01-11T17:55:38.799Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-11T17:55:40.762Z] ---> Running in b399f311b34a [2023-01-11T17:55:41.034Z] Removing intermediate container b399f311b34a [2023-01-11T17:55:41.034Z] ---> 03339aaf8025 [2023-01-11T17:55:41.034Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T17:55:41.034Z] ---> Running in 66329ddca931 [2023-01-11T17:55:41.632Z] Removing intermediate container 66329ddca931 [2023-01-11T17:55:41.632Z] ---> ee1e5a46dfd7 [2023-01-11T17:55:41.632Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T17:55:41.632Z] ---> Running in a9a8d3f924b5 [2023-01-11T17:55:42.223Z] Removing intermediate container a9a8d3f924b5 [2023-01-11T17:55:42.223Z] ---> 1425821d80f8 [2023-01-11T17:55:42.223Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T17:55:42.223Z] ---> Running in d4ac8e718b3e [2023-01-11T17:55:42.813Z] Removing intermediate container d4ac8e718b3e [2023-01-11T17:55:42.813Z] ---> b3aefb015ec5 [2023-01-11T17:55:42.813Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T17:55:42.813Z] ---> Running in 6f68d09adcd3 [2023-01-11T17:55:44.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:55:44.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:55:46.167Z] OK: 226 MiB in 55 packages [2023-01-11T17:55:47.668Z] Removing intermediate container 6f68d09adcd3 [2023-01-11T17:55:47.668Z] ---> a39baef7edef [2023-01-11T17:55:47.668Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-11T17:55:47.668Z] ---> Running in 46f4c50f64f4 [2023-01-11T17:55:47.947Z] Removing intermediate container 46f4c50f64f4 [2023-01-11T17:55:47.947Z] ---> 61e9afba208a [2023-01-11T17:55:47.947Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-11T17:55:48.537Z] ---> b5e173d02007 [2023-01-11T17:55:48.537Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:55:48.806Z] ---> Running in 8efe2a32792c [2023-01-11T17:55:51.412Z] Removing intermediate container 8efe2a32792c [2023-01-11T17:55:51.412Z] ---> f0ea4f0c5019 [2023-01-11T17:55:51.412Z] Step 11/25 : COPY . . [2023-01-11T17:55:52.880Z] ---> e0908d032a96 [2023-01-11T17:55:52.880Z] Step 12/25 : RUN $MAKE [2023-01-11T17:55:52.880Z] ---> Running in 274b29d320f4 [2023-01-11T17:55:54.303Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-11T17:58:46.174Z] Removing intermediate container 274b29d320f4 [2023-01-11T17:58:46.174Z] ---> ada60b5a67db [2023-01-11T17:58:46.174Z] Step 13/25 : FROM alpine:3.16 [2023-01-11T17:58:46.174Z] 3.16: Pulling from library/alpine [2023-01-11T17:58:46.174Z] 6875df1f5354: Pulling fs layer [2023-01-11T17:58:46.174Z] 6875df1f5354: Verifying Checksum [2023-01-11T17:58:46.174Z] 6875df1f5354: Download complete [2023-01-11T17:58:46.174Z] 6875df1f5354: Pull complete [2023-01-11T17:58:46.174Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T17:58:46.174Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T17:58:46.174Z] ---> 2b4661558fb8 [2023-01-11T17:58:46.174Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T17:58:46.174Z] ---> Running in 715402adf07e [2023-01-11T17:58:46.174Z] Removing intermediate container 715402adf07e [2023-01-11T17:58:46.174Z] ---> c512457bc27c [2023-01-11T17:58:46.174Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-11T17:58:46.174Z] ---> Running in 1ee8f4da7405 [2023-01-11T17:58:46.174Z] Removing intermediate container 1ee8f4da7405 [2023-01-11T17:58:46.174Z] ---> 14fab3c4b359 [2023-01-11T17:58:46.174Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-11T17:58:46.174Z] ---> Running in 0a04ad923469 [2023-01-11T17:58:46.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:58:46.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:58:46.174Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T17:58:46.174Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T17:58:46.174Z] OK: 5 MiB in 15 packages [2023-01-11T17:58:46.174Z] Removing intermediate container 0a04ad923469 [2023-01-11T17:58:46.174Z] ---> 77a9a47ead37 [2023-01-11T17:58:46.174Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-11T17:58:46.174Z] ---> caaf6218cb76 [2023-01-11T17:58:46.174Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-11T17:58:46.174Z] ---> 59394bcbdbc1 [2023-01-11T17:58:46.174Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-11T17:58:46.174Z] ---> b29895b0a49d [2023-01-11T17:58:46.174Z] Step 20/25 : EXPOSE 59986 [2023-01-11T17:58:46.174Z] ---> Running in df50f9272124 [2023-01-11T17:58:46.174Z] Removing intermediate container df50f9272124 [2023-01-11T17:58:46.174Z] ---> 441aa53084a7 [2023-01-11T17:58:46.174Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-11T17:58:46.174Z] ---> Running in d14b8a6c909a [2023-01-11T17:58:46.174Z] Removing intermediate container d14b8a6c909a [2023-01-11T17:58:46.174Z] ---> acb1e9fcbe6c [2023-01-11T17:58:46.174Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T17:58:46.174Z] ---> Running in aa04e2335089 [2023-01-11T17:58:46.174Z] Removing intermediate container aa04e2335089 [2023-01-11T17:58:46.174Z] ---> 8cb107710dce [2023-01-11T17:58:46.174Z] Step 23/25 : LABEL arch=arm64 [2023-01-11T17:58:46.174Z] ---> Running in 9a11516d3838 [2023-01-11T17:58:46.174Z] Removing intermediate container 9a11516d3838 [2023-01-11T17:58:46.174Z] ---> 4790fbe7111c [2023-01-11T17:58:46.174Z] Step 24/25 : LABEL git_sha=589af0f2b8198823237d013cfc5dd59b5bb0a7dd [2023-01-11T17:58:46.174Z] ---> Running in 9271681a30a7 [2023-01-11T17:58:46.174Z] Removing intermediate container 9271681a30a7 [2023-01-11T17:58:46.174Z] ---> 701fce3c411c [2023-01-11T17:58:46.174Z] Step 25/25 : LABEL version=0.0.0 [2023-01-11T17:58:46.174Z] ---> Running in 6cb76e5e4dcb [2023-01-11T17:58:46.174Z] Removing intermediate container 6cb76e5e4dcb [2023-01-11T17:58:46.174Z] ---> bc6db7291317 [2023-01-11T17:58:46.174Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:58:46.174Z] Successfully built bc6db7291317 [2023-01-11T17:58:46.174Z] 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-01-11T17:58:46.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:58:46.627Z] [2023-01-11T17:58:46.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:58:46.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:58:47.242Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T17:58:47.242Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T17:58:47.242Z] 04944245beec: Pulling fs layer [2023-01-11T17:58:47.242Z] 699f458cf7ca: Pulling fs layer [2023-01-11T17:58:47.242Z] 765212b225bb: Pulling fs layer [2023-01-11T17:58:47.242Z] f23df028b6ca: Pulling fs layer [2023-01-11T17:58:47.242Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T17:58:47.242Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T17:58:47.242Z] 765212b225bb: Waiting [2023-01-11T17:58:47.242Z] f23df028b6ca: Waiting [2023-01-11T17:58:47.242Z] 2437ff75d9bd: Waiting [2023-01-11T17:58:47.242Z] 04944245beec: Verifying Checksum [2023-01-11T17:58:47.242Z] 04944245beec: Download complete [2023-01-11T17:58:47.242Z] 765212b225bb: Verifying Checksum [2023-01-11T17:58:47.242Z] 765212b225bb: Download complete [2023-01-11T17:58:47.513Z] f23df028b6ca: Download complete [2023-01-11T17:58:47.513Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T17:58:47.513Z] d65c8cfc05b1: Download complete [2023-01-11T17:58:47.513Z] 699f458cf7ca: Download complete [2023-01-11T17:58:48.100Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T17:58:48.100Z] 8998bd30e6a1: Download complete [2023-01-11T17:58:50.694Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T17:58:50.694Z] 2437ff75d9bd: Download complete [2023-01-11T17:58:52.110Z] 8998bd30e6a1: Pull complete [2023-01-11T17:58:52.707Z] 04944245beec: Pull complete [2023-01-11T17:58:54.135Z] 699f458cf7ca: Pull complete [2023-01-11T17:58:54.135Z] 765212b225bb: Pull complete [2023-01-11T17:58:55.099Z] f23df028b6ca: Pull complete [2023-01-11T17:58:55.367Z] d65c8cfc05b1: Pull complete [2023-01-11T17:59:10.390Z] 2437ff75d9bd: Pull complete [2023-01-11T17:59:10.390Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T17:59:10.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:59:10.390Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:59:10.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-1896 does not seem to be running inside a container [2023-01-11T17:59:10.709Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T17:59:13.515Z] $ docker top 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:14.402Z] ---> job-cost.sh [2023-01-11T17:59:14.402Z] lf-activate-venv: SKIPPING [2023-01-11T17:59:14.402Z] INFO: No Stack... [2023-01-11T17:59:14.673Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T17:59:15.637Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:59:16.288Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2023-01-11T17:59:16.288Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:59:16.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [2023-01-11T17:59:16.390Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] did not exist. Created. [2023-01-11T17:59:16.391Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:59:17.058Z] /w/workspace/device-rest-go/3@tmp/durable-8e52f9b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T17:59:17.397Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T17:59:17.686Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T17:59:17.753Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:59:17.763Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:59:17.778Z] $ docker stop --time=1 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb [2023-01-11T17:59:19.311Z] $ docker rm -f --volumes 0039d9637924f996e31ff7cf951019059b59fb403a4b957d988bffc2278962bb [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-01-11T17:59:19.661Z] provisioning config files... [2023-01-11T17:59:19.667Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config10158945436449984695tmp [Pipeline] { [Pipeline] sh [2023-01-11T17:59:19.955Z] + set +x [2023-01-11T17:59:19.955Z] + curl -s https://codecov.io/bash [2023-01-11T17:59:19.955Z] + bash -s -- [2023-01-11T17:59:19.955Z] [2023-01-11T17:59:19.955Z] _____ _ [2023-01-11T17:59:19.955Z] / ____| | | [2023-01-11T17:59:19.955Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T17:59:19.955Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T17:59:19.955Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T17:59:19.955Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T17:59:19.955Z] Bash-1.0.6 [2023-01-11T17:59:19.955Z] [2023-01-11T17:59:19.955Z] [2023-01-11T17:59:19.955Z] ==> git version 2.25.1 found [2023-01-11T17:59:19.955Z] ==> 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-01-11T17:59:19.955Z] Release-Date: 2020-01-08 [2023-01-11T17:59:19.955Z] 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-01-11T17:59:19.955Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T17:59:19.955Z] ==> Jenkins CI detected. [2023-01-11T17:59:19.955Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-236 [2023-01-11T17:59:19.955Z] project root: . [2023-01-11T17:59:19.955Z] --> token set from env [2023-01-11T17:59:19.955Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T17:59:19.956Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T17:59:19.956Z] ==> Python coveragepy not found [2023-01-11T17:59:19.956Z] ==> Searching for coverage reports in: [2023-01-11T17:59:19.956Z] + . [2023-01-11T17:59:19.956Z] -> Found 1 reports [2023-01-11T17:59:19.956Z] ==> Detecting git/mercurial file structure [2023-01-11T17:59:19.956Z] ==> Reading reports [2023-01-11T17:59:19.956Z] + ./coverage.out bytes=9355 [2023-01-11T17:59:19.956Z] ==> Appending adjustments [2023-01-11T17:59:19.956Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T17:59:20.215Z] + Found adjustments [2023-01-11T17:59:20.215Z] ==> Gzipping contents [2023-01-11T17:59:20.215Z] 4.0K /tmp/codecov.jukchn.gz [2023-01-11T17:59:20.215Z] ==> Uploading reports [2023-01-11T17:59:20.215Z] url: https://codecov.io [2023-01-11T17:59:20.215Z] query: branch=PR-236&commit=589af0f2b8198823237d013cfc5dd59b5bb0a7dd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-236%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=236&job=&cmd_args= [2023-01-11T17:59:20.215Z] -> Pinging Codecov [2023-01-11T17:59:20.215Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-236&commit=589af0f2b8198823237d013cfc5dd59b5bb0a7dd&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-236%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=236&job=&cmd_args= [2023-01-11T17:59:21.151Z] -> Uploading to [2023-01-11T17:59:21.151Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/4E5D53B4F1F92C436F7061BF334D961C/589af0f2b8198823237d013cfc5dd59b5bb0a7dd/631098cc-e1db-44dd-b518-8e21f425a6b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T175920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1064ffd58e6ca4866ba88a07724eb124ee59a65829c327507abd59458e3aa42 [2023-01-11T17:59:21.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:59:21.151Z] Dload Upload Total Spent Left Speed [2023-01-11T17:59:21.410Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7143 --:--:-- --:--:-- --:--:-- 7143 [2023-01-11T17:59:21.410Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/589af0f2b8198823237d013cfc5dd59b5bb0a7dd [Pipeline] } [2023-01-11T17:59:21.417Z] 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-01-11T17:59:22.096Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-236/archives ] [2023-01-11T17:59:22.096Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T17:59:22.096Z] total 16 [2023-01-11T17:59:22.096Z] drwxr-xr-x 3 root root 4096 Jan 11 17:50 . [2023-01-11T17:59:22.096Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:50 .. [2023-01-11T17:59:22.096Z] drwxr-xr-x 2 root root 4096 Jan 11 17:50 cost [2023-01-11T17:59:22.096Z] -rw-r--r-- 1 root root 86 Jan 11 17:50 cost.csv [2023-01-11T17:59:22.096Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T17:59:22.096Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T17:59:22.096Z] total 16 [2023-01-11T17:59:22.096Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:50 . [2023-01-11T17:59:22.096Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:50 .. [2023-01-11T17:59:22.096Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:50 cost [2023-01-11T17:59:22.096Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:22.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:23.250Z] ---> package-listing.sh [2023-01-11T17:59:23.250Z] ++ facter osfamily [2023-01-11T17:59:23.250Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T17:59:23.509Z] + OS_FAMILY=debian [2023-01-11T17:59:23.509Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-236 [2023-01-11T17:59:23.509Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T17:59:23.509Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T17:59:23.509Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T17:59:23.509Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T17:59:23.509Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-11T17:59:23.509Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T17:59:23.509Z] + case "${OS_FAMILY}" in [2023-01-11T17:59:23.509Z] + dpkg -l [2023-01-11T17:59:23.509Z] + grep '^ii' [2023-01-11T17:59:23.509Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T17:59:23.509Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T17:59:23.509Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T17:59:23.509Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-11T17:59:23.509Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [2023-01-11T17:59:23.509Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [Pipeline] echo [2023-01-11T17:59:23.521Z] 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T17:59:23.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:59:24.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:59:24.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:59:24.434Z] prd-ubuntu20.04-docker-8c-8g-1889 does not seem to be running inside a container [2023-01-11T17:59:24.474Z] $ 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-236/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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T17:59:24.674Z] $ docker top 89737fd62e22d846d4ef0f9c01b20332a2aa4c2d9bd98c2114da9031cbe1a7ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:59:25.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T17:59:25.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T17:59:25.587Z] + ls /var/log/sa-host [2023-01-11T17:59:25.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:59:25.731Z] provisioning config files... [2023-01-11T17:59:25.741Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config8448962622001135649tmp [Pipeline] { [Pipeline] echo [2023-01-11T17:59:25.757Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:26.043Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T17:59:26.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:26.381Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T17:59:26.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:26.675Z] ---> sudo-logs.sh [2023-01-11T17:59:26.675Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T17:59:26.699Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:26.983Z] ---> job-cost.sh [2023-01-11T17:59:26.983Z] lf-activate-venv: SKIPPING [2023-01-11T17:59:26.983Z] DEBUG: total: 0.2199999988079071 [2023-01-11T17:59:26.983Z] INFO: Retrieving Stack Cost... [2023-01-11T17:59:27.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:59:27.810Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T17:59:27.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:59:28.105Z] ---> logs-deploy.sh [2023-01-11T17:59:28.105Z] lf-activate-venv: SKIPPING [2023-01-11T17:59:28.105Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-236/3 [2023-01-11T17:59:28.105Z] INFO: archiving workspace using pattern(s): [2023-01-11T17:59:29.042Z] Archives upload complete. [2023-01-11T17:59:29.042Z] INFO: archiving logs to Nexus