Pull request #202 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than 571664b3fb1bb89efa85a56770d1e0a9c68d982a Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh15509051854258656969.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3339542115165027040.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-202/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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2117114655073372756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh18182650072311186927.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-202/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-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14801340112178539756.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17128 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # 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 Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 571664b3fb1bb89efa85a56770d1e0a9c68d982a Merge succeeded, producing 571664b3fb1bb89efa85a56770d1e0a9c68d982a Checking out Revision 571664b3fb1bb89efa85a56770d1e0a9c68d982a (PR-202) > 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/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 571664b3fb1bb89efa85a56770d1e0a9c68d982a # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 571664b3fb1bb89efa85a56770d1e0a9c68d982a # timeout=10 Commit message: "build: bump canonical/edgex-snap-hooks to v2.3.1" > git rev-list --no-walk 9ba00646db150fb08609101c001c076766cca6b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T10:06:49.915Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T10:06:49.986Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T10:06:50.001Z] ========================================================= [2022-07-07T10:06:50.001Z] EdgeX Global Pipelines Version Info [2022-07-07T10:06:50.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:06:50.773Z] ------------------- [2022-07-07T10:06:50.773Z] stable info: [2022-07-07T10:06:50.773Z] ------------------- [2022-07-07T10:06:50.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T10:06:50.773Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T10:06:50.773Z] Message: update stable to v1.0.234 [2022-07-07T10:06:51.346Z] ------------------- [2022-07-07T10:06:51.346Z] experimental info: [2022-07-07T10:06:51.346Z] ------------------- [2022-07-07T10:06:51.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T10:06:51.346Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T10:06:51.346Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T10:06:51.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-07T10:06:51.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-07T10:06:51.647Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T10:06:51.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T10:06:51.671Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T10:06:51.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T10:06:51.701Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T10:06:51.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T10:06:51.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T10:06:51.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T10:06:51.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T10:06:51.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-07T10:06:51.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T10:06:51.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T10:06:51.815Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:06:51.827Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T10:06:51.844Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:06:51.862Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T10:06:51.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T10:06:51.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T10:06:51.904Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T10:06:51.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T10:06:51.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T10:06:51.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T10:06:51.958Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T10:06:51.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T10:06:51.983Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T10:06:51.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-07-07T10:06:52.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-07-07T10:06:52.028Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-07-07T10:06:52.040Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 571664b3fb1bb89efa85a56770d1e0a9c68d982a [Pipeline] echo [2022-07-07T10:06:52.052Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 571664b [Pipeline] echo [2022-07-07T10:06:52.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:06:52.107Z] provisioning config files... [2022-07-07T10:06:52.121Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config861339683246156923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:06:52.448Z] ---> docker-login.sh [2022-07-07T10:06:52.448Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:06:52.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:06:52.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:06:52.971Z] Configure a credential helper to remove this warning. See [2022-07-07T10:06:52.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:06:52.971Z] [2022-07-07T10:06:52.971Z] Login Succeeded [2022-07-07T10:06:52.971Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:06:52.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:06:52.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:06:52.971Z] Configure a credential helper to remove this warning. See [2022-07-07T10:06:52.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:06:52.971Z] [2022-07-07T10:06:52.971Z] Login Succeeded [2022-07-07T10:06:52.971Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:06:53.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:06:53.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:06:53.233Z] Configure a credential helper to remove this warning. See [2022-07-07T10:06:53.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:06:53.233Z] [2022-07-07T10:06:53.233Z] Login Succeeded [2022-07-07T10:06:53.233Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:06:53.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:06:53.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:06:53.233Z] Configure a credential helper to remove this warning. See [2022-07-07T10:06:53.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:06:53.233Z] [2022-07-07T10:06:53.233Z] Login Succeeded [2022-07-07T10:06:53.496Z] docker.io [2022-07-07T10:06:53.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:06:53.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:06:53.759Z] Configure a credential helper to remove this warning. See [2022-07-07T10:06:53.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:06:53.759Z] [2022-07-07T10:06:53.759Z] Login Succeeded [2022-07-07T10:06:53.759Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:06:53.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T10:06:54.156Z] + git rev-list -1 --merges 571664b3fb1bb89efa85a56770d1e0a9c68d982a~1..571664b3fb1bb89efa85a56770d1e0a9c68d982a [Pipeline] echo [2022-07-07T10:06:54.191Z] -----------> git rev-list -1 --merges 571664b3fb1bb89efa85a56770d1e0a9c68d982a~1..571664b3fb1bb89efa85a56770d1e0a9c68d982a 571664b3fb1bb89efa85a56770d1e0a9c68d982a [false] [Pipeline] sh [2022-07-07T10:06:54.487Z] + git log --format=format:%s -1 571664b3fb1bb89efa85a56770d1e0a9c68d982a [Pipeline] echo [2022-07-07T10:06:54.504Z] ========================================================= [2022-07-07T10:06:54.504Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T10:06:54.504Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:06:54.834Z] + git log --format=format:%s -1 571664b3fb1bb89efa85a56770d1e0a9c68d982a [Pipeline] echo [2022-07-07T10:06:54.848Z] [semverPrep] GIT_COMMIT: 571664b3fb1bb89efa85a56770d1e0a9c68d982a, Commit Message: build: bump canonical/edgex-snap-hooks to v2.3.1 [Pipeline] echo [2022-07-07T10:06:54.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T10:06:55.214Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T10:06:55.214Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T10:06:55.214Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T10:06:55.214Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T10:06:55.214Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T10:06:55.214Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T10:06:55.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:06:55.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:06:55.627Z] [2022-07-07T10:06:55.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:06:55.933Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:06:55.933Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T10:06:55.933Z] 42c077c10790: Pulling fs layer [2022-07-07T10:06:55.933Z] f63e77b7563a: Pulling fs layer [2022-07-07T10:06:55.933Z] bd5fdadae976: Pulling fs layer [2022-07-07T10:06:55.933Z] 205491f53016: Pulling fs layer [2022-07-07T10:06:55.933Z] df18705c85c3: Pulling fs layer [2022-07-07T10:06:55.933Z] bdb3f477010e: Pulling fs layer [2022-07-07T10:06:55.933Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T10:06:55.933Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T10:06:55.933Z] bdb8f0575790: Pulling fs layer [2022-07-07T10:06:55.933Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T10:06:55.933Z] 2343380bae48: Pulling fs layer [2022-07-07T10:06:55.933Z] c8a8fc8e1c8f: Waiting [2022-07-07T10:06:55.933Z] 2c6e9b1d212d: Waiting [2022-07-07T10:06:55.933Z] bdb8f0575790: Waiting [2022-07-07T10:06:55.933Z] 2343380bae48: Waiting [2022-07-07T10:06:55.933Z] 386e3cb2ff24: Waiting [2022-07-07T10:06:55.933Z] bdb3f477010e: Waiting [2022-07-07T10:06:55.933Z] 205491f53016: Waiting [2022-07-07T10:06:55.933Z] f63e77b7563a: Verifying Checksum [2022-07-07T10:06:55.933Z] f63e77b7563a: Download complete [2022-07-07T10:06:55.933Z] 205491f53016: Verifying Checksum [2022-07-07T10:06:55.933Z] 205491f53016: Download complete [2022-07-07T10:06:56.192Z] df18705c85c3: Verifying Checksum [2022-07-07T10:06:56.192Z] df18705c85c3: Download complete [2022-07-07T10:06:56.192Z] bdb3f477010e: Verifying Checksum [2022-07-07T10:06:56.193Z] bdb3f477010e: Download complete [2022-07-07T10:06:56.193Z] bd5fdadae976: Verifying Checksum [2022-07-07T10:06:56.193Z] bd5fdadae976: Download complete [2022-07-07T10:06:56.193Z] 2c6e9b1d212d: Verifying Checksum [2022-07-07T10:06:56.193Z] 2c6e9b1d212d: Download complete [2022-07-07T10:06:56.193Z] bdb8f0575790: Download complete [2022-07-07T10:06:56.193Z] 386e3cb2ff24: Verifying Checksum [2022-07-07T10:06:56.193Z] 386e3cb2ff24: Download complete [2022-07-07T10:06:56.193Z] 2343380bae48: Verifying Checksum [2022-07-07T10:06:56.193Z] 2343380bae48: Download complete [2022-07-07T10:06:56.193Z] 42c077c10790: Verifying Checksum [2022-07-07T10:06:56.193Z] 42c077c10790: Download complete [2022-07-07T10:06:56.762Z] c8a8fc8e1c8f: Download complete [2022-07-07T10:06:57.701Z] 42c077c10790: Pull complete [2022-07-07T10:06:57.701Z] f63e77b7563a: Pull complete [2022-07-07T10:06:58.270Z] bd5fdadae976: Pull complete [2022-07-07T10:06:58.270Z] 205491f53016: Pull complete [2022-07-07T10:06:58.530Z] df18705c85c3: Pull complete [2022-07-07T10:06:58.530Z] bdb3f477010e: Pull complete [2022-07-07T10:07:00.440Z] c8a8fc8e1c8f: Pull complete [2022-07-07T10:07:00.440Z] 2c6e9b1d212d: Pull complete [2022-07-07T10:07:00.440Z] bdb8f0575790: Pull complete [2022-07-07T10:07:00.440Z] 386e3cb2ff24: Pull complete [2022-07-07T10:07:00.440Z] 2343380bae48: Pull complete [2022-07-07T10:07:00.440Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T10:07:00.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T10:07:00.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:07:00.547Z] prd-ubuntu20.04-docker-8c-8g-17128 does not seem to be running inside a container [2022-07-07T10:07:00.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-07T10:07:02.410Z] $ docker top f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e -eo pid,comm [2022-07-07T10:07:02.475Z] 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). [2022-07-07T10:07:02.475Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T10:07:02.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:07:02.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:07:02.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:07:02.634Z] $ docker exec f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e ssh-agent [2022-07-07T10:07:02.746Z] SSH_AUTH_SOCK=/tmp/ssh-xdTfSH3NgdpP/agent.33 [2022-07-07T10:07:02.746Z] SSH_AGENT_PID=40 [2022-07-07T10:07:02.752Z] Running ssh-add (command line suppressed) [2022-07-07T10:07:02.866Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3989163814475596355.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_3989163814475596355.key) [2022-07-07T10:07:02.876Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:07:03.168Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T10:07:03.187Z] $ docker exec --env ******** --env ******** f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e ssh-agent -k [2022-07-07T10:07:03.293Z] unset SSH_AUTH_SOCK; [2022-07-07T10:07:03.293Z] unset SSH_AGENT_PID; [2022-07-07T10:07:03.294Z] echo Agent pid 40 killed; [2022-07-07T10:07:03.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T10:07:03.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T10:07:03.333Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T10:07:03.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T10:07:03.476Z] $ docker exec f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e ssh-agent [2022-07-07T10:07:03.595Z] SSH_AUTH_SOCK=/tmp/ssh-JbtVsUQJaY4K/agent.73 [2022-07-07T10:07:03.595Z] SSH_AGENT_PID=79 [2022-07-07T10:07:03.601Z] Running ssh-add (command line suppressed) [2022-07-07T10:07:03.720Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_1609259559253987670.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_1609259559253987670.key) [2022-07-07T10:07:03.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T10:07:04.025Z] + git semver init [2022-07-07T10:07:04.288Z] 2022-07-07 10:07:04,209 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T10:07:04.288Z] 2022-07-07 10:07:04,210 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T10:07:04.288Z] 2022-07-07 10:07:04,210 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T10:07:04.288Z] 2022-07-07 10:07:04,211 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,101 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,102 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,102 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,106 [execute] INFO git cat-file --batch-check [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,112 [execute] INFO git cat-file --batch [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T10:07:05.228Z] 2022-07-07 10:07:05,116 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T10:07:05.228Z] 0.0.0 [Pipeline] } [2022-07-07T10:07:05.245Z] $ docker exec --env ******** --env ******** f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e ssh-agent -k [2022-07-07T10:07:05.355Z] unset SSH_AUTH_SOCK; [2022-07-07T10:07:05.356Z] unset SSH_AGENT_PID; [2022-07-07T10:07:05.356Z] echo Agent pid 79 killed; [2022-07-07T10:07:05.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T10:07:05.694Z] + git semver [Pipeline] } [2022-07-07T10:07:05.975Z] $ docker stop --time=1 f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e [2022-07-07T10:07:07.318Z] $ docker rm -f f065866d8c5567ec3a46ab738d60ce6dee957303bbd340d70f328afcc23b9d4e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:07:07.667Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T10:07:07.932Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T10:07:07.935Z] [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 [2022-07-07T10:07:08.050Z] provisioning config files... [2022-07-07T10:07:08.061Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config188364942219613619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:07:08.364Z] ---> docker-login.sh [2022-07-07T10:07:08.364Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:07:08.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:07:08.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:07:08.364Z] Configure a credential helper to remove this warning. See [2022-07-07T10:07:08.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:07:08.364Z] [2022-07-07T10:07:08.364Z] Login Succeeded [2022-07-07T10:07:08.364Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:07:08.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:07:08.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:07:08.626Z] Configure a credential helper to remove this warning. See [2022-07-07T10:07:08.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:07:08.626Z] [2022-07-07T10:07:08.626Z] Login Succeeded [2022-07-07T10:07:08.626Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:07:08.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:07:08.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:07:08.626Z] Configure a credential helper to remove this warning. See [2022-07-07T10:07:08.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:07:08.626Z] [2022-07-07T10:07:08.626Z] Login Succeeded [2022-07-07T10:07:08.626Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:07:08.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:07:08.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:07:08.888Z] Configure a credential helper to remove this warning. See [2022-07-07T10:07:08.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:07:08.888Z] [2022-07-07T10:07:08.888Z] Login Succeeded [2022-07-07T10:07:08.888Z] docker.io [2022-07-07T10:07:08.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:07:09.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:07:09.149Z] Configure a credential helper to remove this warning. See [2022-07-07T10:07:09.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:07:09.149Z] [2022-07-07T10:07:09.149Z] Login Succeeded [2022-07-07T10:07:09.149Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:07:09.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:07:09.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:07:09.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:07:09.254Z] ========================================================= [2022-07-07T10:07:09.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T10:07:09.254Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:07:09.582Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:07:09.582Z] Sending build context to Docker daemon 10.68MB [2022-07-07T10:07:09.582Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:07:09.582Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T10:07:09.582Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T10:07:09.582Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T10:07:09.582Z] 666ba61612fd: Pulling fs layer [2022-07-07T10:07:09.582Z] 8ed8ca486205: Pulling fs layer [2022-07-07T10:07:09.582Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T10:07:09.582Z] c516ae0d96e1: Pulling fs layer [2022-07-07T10:07:09.582Z] 684cea983483: Pulling fs layer [2022-07-07T10:07:09.582Z] cc1cd167ecdc: Waiting [2022-07-07T10:07:09.582Z] c516ae0d96e1: Waiting [2022-07-07T10:07:09.582Z] dd3240ac7de5: Pulling fs layer [2022-07-07T10:07:09.582Z] b1e948a4e11c: Pulling fs layer [2022-07-07T10:07:09.582Z] dd3240ac7de5: Waiting [2022-07-07T10:07:09.582Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T10:07:09.582Z] a8fd76ee1af6: Waiting [2022-07-07T10:07:09.582Z] b1e948a4e11c: Waiting [2022-07-07T10:07:09.582Z] 646ad004c059: Pulling fs layer [2022-07-07T10:07:09.582Z] 8ed8ca486205: Download complete [2022-07-07T10:07:09.847Z] 666ba61612fd: Download complete [2022-07-07T10:07:09.847Z] c516ae0d96e1: Verifying Checksum [2022-07-07T10:07:09.847Z] c516ae0d96e1: Download complete [2022-07-07T10:07:09.847Z] 684cea983483: Download complete [2022-07-07T10:07:09.847Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T10:07:09.847Z] 59bf1c3509f3: Download complete [2022-07-07T10:07:09.847Z] dd3240ac7de5: Verifying Checksum [2022-07-07T10:07:09.847Z] dd3240ac7de5: Download complete [2022-07-07T10:07:09.847Z] b1e948a4e11c: Verifying Checksum [2022-07-07T10:07:09.847Z] b1e948a4e11c: Download complete [2022-07-07T10:07:09.847Z] 59bf1c3509f3: Pull complete [2022-07-07T10:07:10.109Z] 666ba61612fd: Pull complete [2022-07-07T10:07:10.109Z] 8ed8ca486205: Pull complete [2022-07-07T10:07:10.374Z] 646ad004c059: Verifying Checksum [2022-07-07T10:07:10.374Z] 646ad004c059: Download complete [2022-07-07T10:07:10.374Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T10:07:10.374Z] a8fd76ee1af6: Download complete [2022-07-07T10:07:10.374Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T10:07:10.374Z] cc1cd167ecdc: Download complete [2022-07-07T10:07:14.567Z] cc1cd167ecdc: Pull complete [2022-07-07T10:07:14.567Z] c516ae0d96e1: Pull complete [2022-07-07T10:07:14.567Z] 684cea983483: Pull complete [2022-07-07T10:07:14.567Z] dd3240ac7de5: Pull complete [2022-07-07T10:07:14.567Z] b1e948a4e11c: Pull complete [2022-07-07T10:07:16.479Z] a8fd76ee1af6: Pull complete [2022-07-07T10:07:17.422Z] 646ad004c059: Pull complete [2022-07-07T10:07:17.422Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T10:07:17.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T10:07:17.422Z] ---> 8f69c11f6b0c [2022-07-07T10:07:17.422Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T10:07:19.341Z] ---> Running in 1c4bc4510567 [2022-07-07T10:07:19.341Z] Removing intermediate container 1c4bc4510567 [2022-07-07T10:07:19.341Z] ---> caf3d9bcdfcb [2022-07-07T10:07:19.341Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:07:19.341Z] ---> Running in 3eec298d6a7e [2022-07-07T10:07:19.601Z] Removing intermediate container 3eec298d6a7e [2022-07-07T10:07:19.602Z] ---> 6996dc5a9240 [2022-07-07T10:07:19.602Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:07:19.602Z] ---> Running in b9da79708048 [2022-07-07T10:07:19.602Z] Removing intermediate container b9da79708048 [2022-07-07T10:07:19.602Z] ---> c4cfaf3d5733 [2022-07-07T10:07:19.602Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:07:19.602Z] ---> Running in f801a665529a [2022-07-07T10:07:20.173Z] Removing intermediate container f801a665529a [2022-07-07T10:07:20.173Z] ---> 3cc5ee543c89 [2022-07-07T10:07:20.173Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:07:20.173Z] ---> Running in 4d8b2ed3ad71 [2022-07-07T10:07:20.433Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:07:21.374Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:07:21.943Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T10:07:21.943Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T10:07:21.943Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T10:07:22.204Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T10:07:22.204Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T10:07:22.204Z] OK: 224 MiB in 56 packages [2022-07-07T10:07:22.779Z] Removing intermediate container 4d8b2ed3ad71 [2022-07-07T10:07:22.779Z] ---> 4c33a3f4776d [2022-07-07T10:07:22.779Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T10:07:22.779Z] ---> Running in d8658b735d55 [2022-07-07T10:07:22.779Z] Removing intermediate container d8658b735d55 [2022-07-07T10:07:22.779Z] ---> 9190f082b074 [2022-07-07T10:07:22.779Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T10:07:22.779Z] ---> 48aaa87c8fe3 [2022-07-07T10:07:22.779Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:07:23.014Z] Still waiting to schedule task [2022-07-07T10:07:23.014Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-07T10:07:23.039Z] ---> Running in 31bfaec7ec2a [2022-07-07T10:07:37.965Z] Removing intermediate container 31bfaec7ec2a [2022-07-07T10:07:37.965Z] ---> 0f4cd44f393e [2022-07-07T10:07:37.965Z] Step 11/12 : COPY . . [2022-07-07T10:07:37.965Z] ---> 36b3fbe52332 [2022-07-07T10:07:37.965Z] Step 12/12 : RUN $MAKE [2022-07-07T10:07:37.965Z] ---> Running in 52a1c4c85436 [2022-07-07T10:07:37.965Z] noop [2022-07-07T10:07:37.965Z] Removing intermediate container 52a1c4c85436 [2022-07-07T10:07:37.965Z] ---> fd6b1a43e0fe [2022-07-07T10:07:37.965Z] Successfully built fd6b1a43e0fe [2022-07-07T10:07:37.965Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:07:38.283Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:07:38.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:07:38.362Z] prd-ubuntu20.04-docker-8c-8g-17128 does not seem to be running inside a container [2022-07-07T10:07:38.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T10:07:38.785Z] $ docker top 3d112292b44e8ec362b45fb2b1fdbba200b62021794961c054ba17b6214a3b7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:07:39.145Z] + go version [2022-07-07T10:07:39.145Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T10:07:39.162Z] $ docker stop --time=1 3d112292b44e8ec362b45fb2b1fdbba200b62021794961c054ba17b6214a3b7f [2022-07-07T10:07:40.473Z] $ docker rm -f 3d112292b44e8ec362b45fb2b1fdbba200b62021794961c054ba17b6214a3b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:07:40.898Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T10:07:40.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:07:40.988Z] prd-ubuntu20.04-docker-8c-8g-17128 does not seem to be running inside a container [2022-07-07T10:07:41.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T10:07:41.460Z] $ docker top e7edb4b37c0c2814803813b62fb30b3648a3c75235d419a94b64c0e7b51821b6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:07:41.837Z] + make test [2022-07-07T10:07:41.837Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:07:42.096Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T10:07:52.083Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T10:07:52.083Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements [2022-07-07T10:07:58.659Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:08:02.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:08:02.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:08:02.860Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:08:03.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:08:03.148Z] $ docker stop --time=1 e7edb4b37c0c2814803813b62fb30b3648a3c75235d419a94b64c0e7b51821b6 [2022-07-07T10:08:04.989Z] $ docker rm -f e7edb4b37c0c2814803813b62fb30b3648a3c75235d419a94b64c0e7b51821b6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:08:05.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:08:05.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T10:08:05.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:08:06.286Z] + ls -al . [2022-07-07T10:08:06.286Z] total 172 [2022-07-07T10:08:06.286Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:08 . [2022-07-07T10:08:06.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:06 .. [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:06 .dockerignore [2022-07-07T10:08:06.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:07 .git [2022-07-07T10:08:06.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:06 .github [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:06 .gitignore [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:06 .golangci.yml [2022-07-07T10:08:06.286Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:07 .semver [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:06 Attribution.txt [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:06 CHANGELOG.md [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:06 Dockerfile [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:06 GOVERNANCE.md [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:06 Jenkinsfile [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:06 LICENSE [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:06 Makefile [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:06 OWNERS.md [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:06 README.md [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:07 VERSION [2022-07-07T10:08:06.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:06 bin [2022-07-07T10:08:06.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:06 cmd [2022-07-07T10:08:06.286Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:07 coverage.out [2022-07-07T10:08:06.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:06 driver [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:06 go.mod [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 10:06 go.sum [2022-07-07T10:08:06.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:06 snap [2022-07-07T10:08:06.286Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:08:06.598Z] + 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=571664b3fb1bb89efa85a56770d1e0a9c68d982a --label arch=amd64 --label version=0.0.0 . [2022-07-07T10:08:06.598Z] Sending build context to Docker daemon 10.69MB [2022-07-07T10:08:06.598Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:08:06.598Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T10:08:06.598Z] ---> fd6b1a43e0fe [2022-07-07T10:08:06.598Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T10:08:06.858Z] ---> Running in 0b675a3f8280 [2022-07-07T10:08:06.858Z] Removing intermediate container 0b675a3f8280 [2022-07-07T10:08:06.858Z] ---> e65d0a04a769 [2022-07-07T10:08:06.858Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:08:06.858Z] ---> Running in 791ff51428d6 [2022-07-07T10:08:06.858Z] Removing intermediate container 791ff51428d6 [2022-07-07T10:08:06.858Z] ---> 17306efe7d76 [2022-07-07T10:08:06.858Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:08:07.118Z] ---> Running in 33eed4a1365b [2022-07-07T10:08:07.118Z] Removing intermediate container 33eed4a1365b [2022-07-07T10:08:07.118Z] ---> 49c8f78b80f8 [2022-07-07T10:08:07.118Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:08:07.118Z] ---> Running in c7da9ce169cf [2022-07-07T10:08:07.688Z] Removing intermediate container c7da9ce169cf [2022-07-07T10:08:07.688Z] ---> c00aed3f9e96 [2022-07-07T10:08:07.688Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:08:07.688Z] ---> Running in b322ad5b4693 [2022-07-07T10:08:08.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:08:09.196Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:08:09.458Z] OK: 224 MiB in 56 packages [2022-07-07T10:08:09.717Z] Removing intermediate container b322ad5b4693 [2022-07-07T10:08:09.717Z] ---> 391757e04afa [2022-07-07T10:08:09.717Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T10:08:09.717Z] ---> Running in 4ce61cd0bc69 [2022-07-07T10:08:09.717Z] Removing intermediate container 4ce61cd0bc69 [2022-07-07T10:08:09.717Z] ---> 9a80822b3c2f [2022-07-07T10:08:09.717Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T10:08:09.976Z] ---> 3b0c231a6cc3 [2022-07-07T10:08:09.976Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:08:09.976Z] ---> Running in 7ccf7df23308 [2022-07-07T10:08:10.544Z] Removing intermediate container 7ccf7df23308 [2022-07-07T10:08:10.544Z] ---> f60012b849ff [2022-07-07T10:08:10.544Z] Step 11/25 : COPY . . [2022-07-07T10:08:11.114Z] ---> e8a08e4f997b [2022-07-07T10:08:11.114Z] Step 12/25 : RUN $MAKE [2022-07-07T10:08:11.114Z] ---> Running in 81650a4ed2e0 [2022-07-07T10:08:11.373Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-07T10:08:33.335Z] Removing intermediate container 81650a4ed2e0 [2022-07-07T10:08:33.336Z] ---> 4203fa18b601 [2022-07-07T10:08:33.336Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T10:08:33.336Z] 3.14: Pulling from library/alpine [2022-07-07T10:08:33.336Z] 8663204ce13b: Pulling fs layer [2022-07-07T10:08:33.336Z] 8663204ce13b: Verifying Checksum [2022-07-07T10:08:33.336Z] 8663204ce13b: Download complete [2022-07-07T10:08:33.336Z] 8663204ce13b: Pull complete [2022-07-07T10:08:33.336Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T10:08:33.336Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T10:08:33.336Z] ---> e04c818066af [2022-07-07T10:08:33.336Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T10:08:33.336Z] ---> Running in 7d046f540260 [2022-07-07T10:08:33.336Z] Removing intermediate container 7d046f540260 [2022-07-07T10:08:33.336Z] ---> 7780b1e9aafa [2022-07-07T10:08:33.336Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T10:08:33.336Z] ---> Running in 06a182a91a72 [2022-07-07T10:08:33.336Z] Removing intermediate container 06a182a91a72 [2022-07-07T10:08:33.336Z] ---> 52177dafcdab [2022-07-07T10:08:33.336Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:08:33.336Z] ---> Running in 9607b71ae27a [2022-07-07T10:08:33.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-07T10:08:33.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-07T10:08:33.595Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:08:33.595Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T10:08:33.595Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:08:33.595Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T10:08:33.595Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:08:33.595Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:08:33.595Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T10:08:33.595Z] OK: 8 MiB in 20 packages [2022-07-07T10:08:34.168Z] Removing intermediate container 9607b71ae27a [2022-07-07T10:08:34.168Z] ---> 29e94fca5a4f [2022-07-07T10:08:34.168Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T10:08:34.740Z] ---> 3cf40f728a5e [2022-07-07T10:08:34.740Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T10:08:35.008Z] ---> c05cb3513f87 [2022-07-07T10:08:35.008Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T10:08:35.267Z] ---> 9762c8e90ec4 [2022-07-07T10:08:35.267Z] Step 20/25 : EXPOSE 59986 [2022-07-07T10:08:35.267Z] ---> Running in 9e679967d9b3 [2022-07-07T10:08:35.267Z] Removing intermediate container 9e679967d9b3 [2022-07-07T10:08:35.267Z] ---> 28498353fd39 [2022-07-07T10:08:35.267Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T10:08:35.267Z] ---> Running in c4d6ec1bf9da [2022-07-07T10:08:35.526Z] Removing intermediate container c4d6ec1bf9da [2022-07-07T10:08:35.526Z] ---> 2ce90e178226 [2022-07-07T10:08:35.526Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T10:08:35.526Z] ---> Running in 057956dcc2a7 [2022-07-07T10:08:35.526Z] Removing intermediate container 057956dcc2a7 [2022-07-07T10:08:35.526Z] ---> 5f07dc7fe3c9 [2022-07-07T10:08:35.526Z] Step 23/25 : LABEL arch=amd64 [2022-07-07T10:08:35.526Z] ---> Running in f83665a97761 [2022-07-07T10:08:35.786Z] Removing intermediate container f83665a97761 [2022-07-07T10:08:35.786Z] ---> e76893d15e45 [2022-07-07T10:08:35.786Z] Step 24/25 : LABEL git_sha=571664b3fb1bb89efa85a56770d1e0a9c68d982a [2022-07-07T10:08:35.786Z] ---> Running in 37af2efebc58 [2022-07-07T10:08:35.786Z] Removing intermediate container 37af2efebc58 [2022-07-07T10:08:35.786Z] ---> 477f1c3be9bf [2022-07-07T10:08:35.786Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T10:08:35.786Z] ---> Running in cfffb981b752 [2022-07-07T10:08:36.047Z] Removing intermediate container cfffb981b752 [2022-07-07T10:08:36.047Z] ---> affff2f32691 [2022-07-07T10:08:36.047Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:08:36.047Z] Successfully built affff2f32691 [2022-07-07T10:08:36.047Z] 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 [2022-07-07T10:08:36.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:08:36.511Z] [2022-07-07T10:08:36.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:08:36.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:08:36.835Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T10:08:36.835Z] 5eb5b503b376: Pulling fs layer [2022-07-07T10:08:36.835Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T10:08:36.835Z] ec43610c2a17: Pulling fs layer [2022-07-07T10:08:36.835Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T10:08:36.835Z] 33b1e0a273af: Pulling fs layer [2022-07-07T10:08:36.835Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T10:08:36.835Z] 2f39f015ded8: Pulling fs layer [2022-07-07T10:08:36.835Z] 3a2ae6a8a46f: Waiting [2022-07-07T10:08:36.835Z] 33b1e0a273af: Waiting [2022-07-07T10:08:36.835Z] 5d3b04190fa2: Waiting [2022-07-07T10:08:36.835Z] 2f39f015ded8: Waiting [2022-07-07T10:08:36.835Z] 5c69ac0246d0: Verifying Checksum [2022-07-07T10:08:36.835Z] 5c69ac0246d0: Download complete [2022-07-07T10:08:36.835Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T10:08:36.835Z] 3a2ae6a8a46f: Download complete [2022-07-07T10:08:36.835Z] 33b1e0a273af: Verifying Checksum [2022-07-07T10:08:36.835Z] 33b1e0a273af: Download complete [2022-07-07T10:08:37.095Z] ec43610c2a17: Verifying Checksum [2022-07-07T10:08:37.095Z] ec43610c2a17: Download complete [2022-07-07T10:08:37.095Z] 5d3b04190fa2: Download complete [2022-07-07T10:08:37.095Z] 5eb5b503b376: Verifying Checksum [2022-07-07T10:08:37.095Z] 5eb5b503b376: Download complete [2022-07-07T10:08:37.664Z] 2f39f015ded8: Download complete [2022-07-07T10:08:38.606Z] 5eb5b503b376: Pull complete [2022-07-07T10:08:38.606Z] 5c69ac0246d0: Pull complete [2022-07-07T10:08:39.178Z] ec43610c2a17: Pull complete [2022-07-07T10:08:39.178Z] 3a2ae6a8a46f: Pull complete [2022-07-07T10:08:39.439Z] 33b1e0a273af: Pull complete [2022-07-07T10:08:39.701Z] 5d3b04190fa2: Pull complete [2022-07-07T10:08:44.986Z] 2f39f015ded8: Pull complete [2022-07-07T10:08:44.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T10:08:44.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:08:44.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:08:45.092Z] prd-ubuntu20.04-docker-8c-8g-17128 does not seem to be running inside a container [2022-07-07T10:08:45.138Z] $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T10:08:47.152Z] $ docker top f5f3fcc1d6a01b8b0af8688e3be465aa8b88d2f94849bd92aa9b6e85e8a9b1b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:08:47.569Z] ---> job-cost.sh [2022-07-07T10:08:47.569Z] lf-activate-venv: SKIPPING [2022-07-07T10:08:47.569Z] INFO: No Stack... [2022-07-07T10:08:48.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:08:48.399Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:08:48.697Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-07-07T10:08:48.697Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T10:08:48.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [2022-07-07T10:08:48.719Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] did not exist. Created. [2022-07-07T10:08:48.719Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:08:49.030Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T10:08:49.061Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:08:49.070Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:08:49.095Z] $ docker stop --time=1 f5f3fcc1d6a01b8b0af8688e3be465aa8b88d2f94849bd92aa9b6e85e8a9b1b5 [2022-07-07T10:08:50.273Z] $ docker rm -f f5f3fcc1d6a01b8b0af8688e3be465aa8b88d2f94849bd92aa9b6e85e8a9b1b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T10:08:58.530Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17129 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-07-07T10:08:58.542Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2022-07-07T10:08:58.580Z] The recommended git tool is: git [2022-07-07T10:09:05.670Z] using credential edgex-jenkins-ssh [2022-07-07T10:09:05.691Z] Cloning the remote Git repository [2022-07-07T10:09:05.811Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:09:05.907Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2022-07-07T10:09:06.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:09:06.019Z] > git --version # timeout=10 [2022-07-07T10:09:06.075Z] > git --version # 'git version 2.25.1' [2022-07-07T10:09:06.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:09:06.157Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:09:07.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T10:09:07.899Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T10:09:07.935Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T10:09:07.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T10:09:07.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:09:07.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T10:09:08.521Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 571664b3fb1bb89efa85a56770d1e0a9c68d982a [2022-07-07T10:09:08.775Z] Merge succeeded, producing 571664b3fb1bb89efa85a56770d1e0a9c68d982a [2022-07-07T10:09:08.775Z] Checking out Revision 571664b3fb1bb89efa85a56770d1e0a9c68d982a (PR-202) [2022-07-07T10:09:08.540Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:09:08.562Z] > git checkout -f 571664b3fb1bb89efa85a56770d1e0a9c68d982a # timeout=10 [2022-07-07T10:09:08.668Z] > git remote # timeout=10 [2022-07-07T10:09:08.692Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T10:09:08.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T10:09:08.720Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-07-07T10:09:08.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T10:09:08.782Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T10:09:08.798Z] > git checkout -f 571664b3fb1bb89efa85a56770d1e0a9c68d982a # timeout=10 [2022-07-07T10:09:12.956Z] Commit message: "build: bump canonical/edgex-snap-hooks to v2.3.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:09:13.856Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T10:09:13.856Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:09:13.856Z] Dload Upload Total Spent Left Speed [2022-07-07T10:09:13.856Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh [2022-07-07T10:09:14.637Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T10:09:14.966Z] + sudo tee /etc/docker/daemon.new [2022-07-07T10:09:14.967Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T10:09:14.967Z] { [2022-07-07T10:09:14.967Z] "registry-mirrors": [ [2022-07-07T10:09:14.967Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T10:09:14.967Z] ], [2022-07-07T10:09:14.967Z] "bip": "10.250.0.254/24", [2022-07-07T10:09:14.967Z] "hosts": [ [2022-07-07T10:09:14.967Z] "tcp://0.0.0.0:5555", [2022-07-07T10:09:14.967Z] "unix:///var/run/docker.sock" [2022-07-07T10:09:14.967Z] ], [2022-07-07T10:09:14.967Z] "mtu": 1458, [2022-07-07T10:09:14.967Z] "selinux-enabled": true, [2022-07-07T10:09:14.967Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T10:09:14.967Z] } [Pipeline] sh [2022-07-07T10:09:15.310Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T10:09:15.639Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:09:33.958Z] provisioning config files... [2022-07-07T10:09:33.980Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config3238334545341638657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:09:34.485Z] ---> docker-login.sh [2022-07-07T10:09:34.485Z] nexus3.edgexfoundry.org:10001 [2022-07-07T10:09:35.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:09:35.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:09:35.356Z] Configure a credential helper to remove this warning. See [2022-07-07T10:09:35.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:09:35.356Z] [2022-07-07T10:09:35.356Z] Login Succeeded [2022-07-07T10:09:35.356Z] nexus3.edgexfoundry.org:10002 [2022-07-07T10:09:35.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:09:35.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:09:35.899Z] Configure a credential helper to remove this warning. See [2022-07-07T10:09:35.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:09:35.899Z] [2022-07-07T10:09:35.899Z] Login Succeeded [2022-07-07T10:09:35.899Z] nexus3.edgexfoundry.org:10003 [2022-07-07T10:09:36.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:09:36.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:09:36.173Z] Configure a credential helper to remove this warning. See [2022-07-07T10:09:36.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:09:36.173Z] [2022-07-07T10:09:36.173Z] Login Succeeded [2022-07-07T10:09:36.173Z] nexus3.edgexfoundry.org:10004 [2022-07-07T10:09:36.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:09:36.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:09:36.772Z] Configure a credential helper to remove this warning. See [2022-07-07T10:09:36.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:09:36.772Z] [2022-07-07T10:09:36.772Z] Login Succeeded [2022-07-07T10:09:36.772Z] docker.io [2022-07-07T10:09:37.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T10:09:37.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T10:09:37.315Z] Configure a credential helper to remove this warning. See [2022-07-07T10:09:37.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T10:09:37.315Z] [2022-07-07T10:09:37.315Z] Login Succeeded [2022-07-07T10:09:37.315Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T10:09:37.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T10:09:37.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:09:37.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T10:09:37.608Z] ========================================================= [2022-07-07T10:09:37.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T10:09:37.608Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:09:37.952Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T10:09:37.952Z] Sending build context to Docker daemon 127kB [2022-07-07T10:09:38.237Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:09:38.237Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T10:09:38.518Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T10:09:38.518Z] 9b3977197b4f: Pulling fs layer [2022-07-07T10:09:38.518Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T10:09:38.518Z] 94645a83ff95: Pulling fs layer [2022-07-07T10:09:38.518Z] e6fb740bc735: Pulling fs layer [2022-07-07T10:09:38.518Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T10:09:38.518Z] 355e64cbe906: Pulling fs layer [2022-07-07T10:09:38.518Z] 63ab81a10011: Pulling fs layer [2022-07-07T10:09:38.518Z] 555d1d1c4555: Pulling fs layer [2022-07-07T10:09:38.518Z] 7d9057610161: Pulling fs layer [2022-07-07T10:09:38.518Z] e6fb740bc735: Waiting [2022-07-07T10:09:38.518Z] 3a77bd46dcc9: Waiting [2022-07-07T10:09:38.518Z] 355e64cbe906: Waiting [2022-07-07T10:09:38.518Z] 63ab81a10011: Waiting [2022-07-07T10:09:38.518Z] 555d1d1c4555: Waiting [2022-07-07T10:09:38.518Z] 7d9057610161: Waiting [2022-07-07T10:09:38.518Z] 94645a83ff95: Verifying Checksum [2022-07-07T10:09:38.518Z] 94645a83ff95: Download complete [2022-07-07T10:09:38.518Z] 1a89e8eeedd5: Verifying Checksum [2022-07-07T10:09:38.518Z] 1a89e8eeedd5: Download complete [2022-07-07T10:09:38.518Z] 3a77bd46dcc9: Verifying Checksum [2022-07-07T10:09:38.518Z] 3a77bd46dcc9: Download complete [2022-07-07T10:09:38.518Z] 9b3977197b4f: Verifying Checksum [2022-07-07T10:09:38.518Z] 9b3977197b4f: Download complete [2022-07-07T10:09:38.518Z] 355e64cbe906: Verifying Checksum [2022-07-07T10:09:38.518Z] 355e64cbe906: Download complete [2022-07-07T10:09:38.518Z] 63ab81a10011: Verifying Checksum [2022-07-07T10:09:38.518Z] 63ab81a10011: Download complete [2022-07-07T10:09:39.517Z] 9b3977197b4f: Pull complete [2022-07-07T10:09:39.517Z] 7d9057610161: Verifying Checksum [2022-07-07T10:09:39.517Z] 7d9057610161: Download complete [2022-07-07T10:09:40.123Z] 1a89e8eeedd5: Pull complete [2022-07-07T10:09:40.398Z] 94645a83ff95: Pull complete [2022-07-07T10:09:40.674Z] 555d1d1c4555: Verifying Checksum [2022-07-07T10:09:40.674Z] 555d1d1c4555: Download complete [2022-07-07T10:09:41.277Z] e6fb740bc735: Verifying Checksum [2022-07-07T10:09:41.277Z] e6fb740bc735: Download complete [2022-07-07T10:09:53.695Z] e6fb740bc735: Pull complete [2022-07-07T10:09:53.695Z] 3a77bd46dcc9: Pull complete [2022-07-07T10:09:53.971Z] 355e64cbe906: Pull complete [2022-07-07T10:09:54.245Z] 63ab81a10011: Pull complete [2022-07-07T10:10:00.968Z] 555d1d1c4555: Pull complete [2022-07-07T10:10:01.953Z] 7d9057610161: Pull complete [2022-07-07T10:10:01.953Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T10:10:01.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T10:10:01.953Z] ---> 819e984ddca1 [2022-07-07T10:10:01.953Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T10:10:02.934Z] ---> Running in c8ecd2f73b65 [2022-07-07T10:10:03.541Z] Removing intermediate container c8ecd2f73b65 [2022-07-07T10:10:03.541Z] ---> fafd3cfaeafa [2022-07-07T10:10:03.541Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:10:03.541Z] ---> Running in e6ecb6b705e0 [2022-07-07T10:10:03.815Z] Removing intermediate container e6ecb6b705e0 [2022-07-07T10:10:03.815Z] ---> f8cd871a8e06 [2022-07-07T10:10:03.815Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:10:03.815Z] ---> Running in 7da631f6c404 [2022-07-07T10:10:04.090Z] Removing intermediate container 7da631f6c404 [2022-07-07T10:10:04.090Z] ---> b8513d50758f [2022-07-07T10:10:04.090Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:10:04.090Z] ---> Running in 8783657e7efb [2022-07-07T10:10:06.106Z] Removing intermediate container 8783657e7efb [2022-07-07T10:10:06.106Z] ---> 00854d8318ef [2022-07-07T10:10:06.106Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:10:06.106Z] ---> Running in b84dd7a5bc41 [2022-07-07T10:10:07.088Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:10:08.069Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:10:08.666Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T10:10:08.948Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T10:10:08.948Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T10:10:09.225Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T10:10:09.225Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T10:10:09.225Z] OK: 224 MiB in 56 packages [2022-07-07T10:10:10.207Z] Removing intermediate container b84dd7a5bc41 [2022-07-07T10:10:10.207Z] ---> 5e65e7a2808c [2022-07-07T10:10:10.207Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T10:10:10.481Z] ---> Running in 268444ee247d [2022-07-07T10:10:10.757Z] Removing intermediate container 268444ee247d [2022-07-07T10:10:10.757Z] ---> 5a6cc9d80ce5 [2022-07-07T10:10:10.757Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T10:10:11.354Z] ---> a7a418b330ac [2022-07-07T10:10:11.354Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:10:11.354Z] ---> Running in b4ff213c568c [2022-07-07T10:10:58.343Z] Removing intermediate container b4ff213c568c [2022-07-07T10:10:58.343Z] ---> 8be3e9fa755c [2022-07-07T10:10:58.343Z] Step 11/12 : COPY . . [2022-07-07T10:10:58.343Z] ---> 477d27a9ebfc [2022-07-07T10:10:58.343Z] Step 12/12 : RUN $MAKE [2022-07-07T10:10:58.343Z] ---> Running in 78ac992a6591 [2022-07-07T10:10:58.343Z] noop [2022-07-07T10:10:58.343Z] Removing intermediate container 78ac992a6591 [2022-07-07T10:10:58.343Z] ---> 15114ec82d43 [2022-07-07T10:10:58.343Z] Successfully built 15114ec82d43 [2022-07-07T10:10:58.343Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:10:58.704Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:10:58.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:10:58.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-17129 does not seem to be running inside a container [2022-07-07T10:10:59.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-07T10:11:00.230Z] $ docker top 2c2ae2f84977abf28520f37b607346e88bcff13eeda3e807565774f2b724b673 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:11:01.139Z] + go version [2022-07-07T10:11:01.139Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T10:11:01.165Z] $ docker stop --time=1 2c2ae2f84977abf28520f37b607346e88bcff13eeda3e807565774f2b724b673 [2022-07-07T10:11:02.814Z] $ docker rm -f 2c2ae2f84977abf28520f37b607346e88bcff13eeda3e807565774f2b724b673 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:11:03.412Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T10:11:03.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:11:03.634Z] prd-ubuntu20.04-docker-arm64-4c-16g-17129 does not seem to be running inside a container [2022-07-07T10:11:03.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** ci-base-image-arm64 cat [2022-07-07T10:11:04.932Z] $ docker top 872f3283d29ac38dedb2128064d5c88cdbfff9d1ac8469b70e3a04567388a799 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T10:11:05.823Z] + make test [2022-07-07T10:11:05.823Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T10:11:07.259Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T10:12:29.114Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T10:12:29.114Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-07-07T10:12:29.114Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T10:12:29.114Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T10:12:47.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T10:12:47.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T10:12:47.473Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T10:12:50.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T10:12:50.135Z] $ docker stop --time=1 872f3283d29ac38dedb2128064d5c88cdbfff9d1ac8469b70e3a04567388a799 [2022-07-07T10:12:51.889Z] $ docker rm -f 872f3283d29ac38dedb2128064d5c88cdbfff9d1ac8469b70e3a04567388a799 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T10:12:52.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T10:12:52.870Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T10:12:53.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T10:12:53.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T10:12:54.061Z] + ls -al . [2022-07-07T10:12:54.061Z] total 168 [2022-07-07T10:12:54.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:12 . [2022-07-07T10:12:54.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:09 .. [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:09 .dockerignore [2022-07-07T10:12:54.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:09 .git [2022-07-07T10:12:54.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:09 .github [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:09 .gitignore [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:09 .golangci.yml [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:09 Attribution.txt [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:09 CHANGELOG.md [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:09 Dockerfile [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:09 GOVERNANCE.md [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:09 Jenkinsfile [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:09 LICENSE [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:09 Makefile [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:09 OWNERS.md [2022-07-07T10:12:54.061Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:09 README.md [2022-07-07T10:12:54.062Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:07 VERSION [2022-07-07T10:12:54.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:09 bin [2022-07-07T10:12:54.062Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:09 cmd [2022-07-07T10:12:54.062Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:12 coverage.out [2022-07-07T10:12:54.062Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:09 driver [2022-07-07T10:12:54.062Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:09 go.mod [2022-07-07T10:12:54.062Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 10:09 go.sum [2022-07-07T10:12:54.062Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:09 snap [2022-07-07T10:12:54.062Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:12:54.418Z] + 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=571664b3fb1bb89efa85a56770d1e0a9c68d982a --label arch=arm64 --label version=0.0.0 . [2022-07-07T10:12:54.418Z] Sending build context to Docker daemon 137.2kB [2022-07-07T10:12:54.692Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T10:12:54.692Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T10:12:54.692Z] ---> 15114ec82d43 [2022-07-07T10:12:54.692Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T10:12:54.692Z] ---> Running in 19240ad22293 [2022-07-07T10:12:54.974Z] Removing intermediate container 19240ad22293 [2022-07-07T10:12:54.974Z] ---> 86f702a2dd3e [2022-07-07T10:12:54.974Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T10:12:55.249Z] ---> Running in ed7b714c6c26 [2022-07-07T10:12:55.523Z] Removing intermediate container ed7b714c6c26 [2022-07-07T10:12:55.523Z] ---> a7a72904eb56 [2022-07-07T10:12:55.523Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T10:12:55.523Z] ---> Running in c786783d9295 [2022-07-07T10:12:55.796Z] Removing intermediate container c786783d9295 [2022-07-07T10:12:55.796Z] ---> ad145a8d91ac [2022-07-07T10:12:55.796Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T10:12:56.070Z] ---> Running in 84f4423d3941 [2022-07-07T10:12:57.507Z] Removing intermediate container 84f4423d3941 [2022-07-07T10:12:57.507Z] ---> 64725f6ed85c [2022-07-07T10:12:57.507Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T10:12:57.507Z] ---> Running in 2204e0a1b3f7 [2022-07-07T10:12:58.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:12:59.460Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:13:00.436Z] OK: 224 MiB in 56 packages [2022-07-07T10:13:01.032Z] Removing intermediate container 2204e0a1b3f7 [2022-07-07T10:13:01.032Z] ---> 8d99dac84a7f [2022-07-07T10:13:01.032Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T10:13:01.306Z] ---> Running in a47fd46e8d70 [2022-07-07T10:13:01.579Z] Removing intermediate container a47fd46e8d70 [2022-07-07T10:13:01.579Z] ---> 3dcebd071c59 [2022-07-07T10:13:01.579Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T10:13:02.175Z] ---> 2128184ef062 [2022-07-07T10:13:02.175Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T10:13:02.175Z] ---> Running in 4b2567386d19 [2022-07-07T10:13:04.155Z] Removing intermediate container 4b2567386d19 [2022-07-07T10:13:04.155Z] ---> f282e7844165 [2022-07-07T10:13:04.155Z] Step 11/25 : COPY . . [2022-07-07T10:13:04.751Z] ---> 19723e0b7dbc [2022-07-07T10:13:04.751Z] Step 12/25 : RUN $MAKE [2022-07-07T10:13:04.751Z] ---> Running in 607af4cd476c [2022-07-07T10:13:05.732Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-07T10:15:12.667Z] Removing intermediate container 607af4cd476c [2022-07-07T10:15:12.668Z] ---> 6d87f69ef77b [2022-07-07T10:15:12.668Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T10:15:12.668Z] 3.14: Pulling from library/alpine [2022-07-07T10:15:12.668Z] 455c02918c45: Pulling fs layer [2022-07-07T10:15:12.668Z] 455c02918c45: Verifying Checksum [2022-07-07T10:15:12.668Z] 455c02918c45: Download complete [2022-07-07T10:15:12.668Z] 455c02918c45: Pull complete [2022-07-07T10:15:12.668Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T10:15:12.668Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T10:15:12.668Z] ---> ac73e934f311 [2022-07-07T10:15:12.668Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T10:15:12.668Z] ---> Running in 98ec487a94b8 [2022-07-07T10:15:12.668Z] Removing intermediate container 98ec487a94b8 [2022-07-07T10:15:12.668Z] ---> fff70241c9d8 [2022-07-07T10:15:12.668Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T10:15:12.668Z] ---> Running in 050f8e01b112 [2022-07-07T10:15:12.668Z] Removing intermediate container 050f8e01b112 [2022-07-07T10:15:12.668Z] ---> ae02207f1d97 [2022-07-07T10:15:12.668Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T10:15:12.668Z] ---> Running in bf51c95d0935 [2022-07-07T10:15:12.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-07T10:15:12.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-07T10:15:12.668Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T10:15:12.668Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T10:15:12.668Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T10:15:12.668Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T10:15:12.668Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T10:15:12.668Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T10:15:12.668Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T10:15:12.668Z] OK: 8 MiB in 20 packages [2022-07-07T10:15:12.668Z] Removing intermediate container bf51c95d0935 [2022-07-07T10:15:12.668Z] ---> 5c279307b9ff [2022-07-07T10:15:12.668Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T10:15:12.668Z] ---> 512bf71b814b [2022-07-07T10:15:12.668Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T10:15:12.668Z] ---> 0ab845e30f33 [2022-07-07T10:15:12.668Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T10:15:12.668Z] ---> 2c7c4b85f73b [2022-07-07T10:15:12.668Z] Step 20/25 : EXPOSE 59986 [2022-07-07T10:15:12.668Z] ---> Running in de9caacaaed6 [2022-07-07T10:15:12.668Z] Removing intermediate container de9caacaaed6 [2022-07-07T10:15:12.668Z] ---> 6d1d0bc5380d [2022-07-07T10:15:12.668Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T10:15:12.668Z] ---> Running in d2e4f1c660d8 [2022-07-07T10:15:12.668Z] Removing intermediate container d2e4f1c660d8 [2022-07-07T10:15:12.668Z] ---> 94b8c28e1010 [2022-07-07T10:15:12.668Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T10:15:12.668Z] ---> Running in 8e96217607f0 [2022-07-07T10:15:12.668Z] Removing intermediate container 8e96217607f0 [2022-07-07T10:15:12.668Z] ---> 76588b568424 [2022-07-07T10:15:12.668Z] Step 23/25 : LABEL arch=arm64 [2022-07-07T10:15:12.668Z] ---> Running in a1f07d055332 [2022-07-07T10:15:12.668Z] Removing intermediate container a1f07d055332 [2022-07-07T10:15:12.668Z] ---> cd775a3e9750 [2022-07-07T10:15:12.668Z] Step 24/25 : LABEL git_sha=571664b3fb1bb89efa85a56770d1e0a9c68d982a [2022-07-07T10:15:12.668Z] ---> Running in f19074108d8a [2022-07-07T10:15:12.668Z] Removing intermediate container f19074108d8a [2022-07-07T10:15:12.668Z] ---> 3937fc226f86 [2022-07-07T10:15:12.668Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T10:15:12.668Z] ---> Running in 449f0e9b4d7c [2022-07-07T10:15:12.668Z] Removing intermediate container 449f0e9b4d7c [2022-07-07T10:15:12.668Z] ---> f08d56921b98 [2022-07-07T10:15:12.668Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T10:15:12.668Z] Successfully built f08d56921b98 [2022-07-07T10:15:12.668Z] 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 [2022-07-07T10:15:13.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:15:13.120Z] [2022-07-07T10:15:13.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:15:13.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:15:13.749Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T10:15:13.749Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T10:15:13.749Z] 04944245beec: Pulling fs layer [2022-07-07T10:15:13.749Z] 699f458cf7ca: Pulling fs layer [2022-07-07T10:15:13.749Z] 765212b225bb: Pulling fs layer [2022-07-07T10:15:13.749Z] f23df028b6ca: Pulling fs layer [2022-07-07T10:15:13.749Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T10:15:13.749Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T10:15:13.749Z] f23df028b6ca: Waiting [2022-07-07T10:15:13.749Z] d65c8cfc05b1: Waiting [2022-07-07T10:15:13.749Z] 2437ff75d9bd: Waiting [2022-07-07T10:15:13.749Z] 765212b225bb: Waiting [2022-07-07T10:15:13.749Z] 04944245beec: Verifying Checksum [2022-07-07T10:15:13.749Z] 04944245beec: Download complete [2022-07-07T10:15:13.749Z] 765212b225bb: Verifying Checksum [2022-07-07T10:15:13.749Z] 765212b225bb: Download complete [2022-07-07T10:15:13.749Z] f23df028b6ca: Download complete [2022-07-07T10:15:14.025Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T10:15:14.025Z] d65c8cfc05b1: Download complete [2022-07-07T10:15:14.025Z] 699f458cf7ca: Verifying Checksum [2022-07-07T10:15:14.025Z] 699f458cf7ca: Download complete [2022-07-07T10:15:14.300Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T10:15:14.300Z] 8998bd30e6a1: Download complete [2022-07-07T10:15:16.933Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T10:15:18.928Z] 8998bd30e6a1: Pull complete [2022-07-07T10:15:19.202Z] 04944245beec: Pull complete [2022-07-07T10:15:20.652Z] 699f458cf7ca: Pull complete [2022-07-07T10:15:20.926Z] 765212b225bb: Pull complete [2022-07-07T10:15:21.910Z] f23df028b6ca: Pull complete [2022-07-07T10:15:21.910Z] d65c8cfc05b1: Pull complete [2022-07-07T10:15:36.998Z] 2437ff75d9bd: Pull complete [2022-07-07T10:15:36.998Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T10:15:36.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T10:15:36.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:15:37.266Z] prd-ubuntu20.04-docker-arm64-4c-16g-17129 does not seem to be running inside a container [2022-07-07T10:15:37.356Z] $ 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/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T10:15:39.944Z] $ docker top 21d10f867728390bca4e1418743f967c9e69d7a891679c4ced871e752028f135 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:40.847Z] ---> job-cost.sh [2022-07-07T10:15:40.847Z] lf-activate-venv: SKIPPING [2022-07-07T10:15:40.847Z] INFO: No Stack... [2022-07-07T10:15:41.438Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T10:15:42.412Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T10:15:43.069Z] + cat /w/workspace/device-rest-go/7/archives/cost.csv [2022-07-07T10:15:43.069Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T10:15:43.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [2022-07-07T10:15:43.141Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] did not exist. Created. [2022-07-07T10:15:43.142Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T10:15:43.815Z] /w/workspace/device-rest-go/7@tmp/durable-2dec1ec4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T10:15:44.483Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T10:15:44.507Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T10:15:44.546Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T10:15:44.553Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T10:15:44.577Z] $ docker stop --time=1 21d10f867728390bca4e1418743f967c9e69d7a891679c4ced871e752028f135 [2022-07-07T10:15:46.039Z] $ docker rm -f 21d10f867728390bca4e1418743f967c9e69d7a891679c4ced871e752028f135 [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 [2022-07-07T10:15:46.460Z] provisioning config files... [2022-07-07T10:15:46.467Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2404669211175912635tmp [Pipeline] { [Pipeline] sh [2022-07-07T10:15:46.764Z] + set +x [2022-07-07T10:15:46.764Z] + + curl -sbash https://codecov.io/bash -s [2022-07-07T10:15:46.764Z] -- [2022-07-07T10:15:46.764Z] [2022-07-07T10:15:46.764Z] _____ _ [2022-07-07T10:15:46.764Z] / ____| | | [2022-07-07T10:15:46.764Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T10:15:46.764Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T10:15:46.764Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T10:15:46.764Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T10:15:46.764Z] Bash-1.0.6 [2022-07-07T10:15:46.764Z] [2022-07-07T10:15:46.764Z] [2022-07-07T10:15:46.764Z] ==> git version 2.25.1 found [2022-07-07T10:15:46.764Z] ==> 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 [2022-07-07T10:15:46.764Z] Release-Date: 2020-01-08 [2022-07-07T10:15:46.764Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-07T10:15:46.764Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T10:15:46.764Z] ==> Jenkins CI detected. [2022-07-07T10:15:46.764Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T10:15:46.764Z] project root: . [2022-07-07T10:15:46.764Z] --> token set from env [2022-07-07T10:15:46.764Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T10:15:46.764Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T10:15:46.764Z] ==> Python coveragepy not found [2022-07-07T10:15:46.764Z] ==> Searching for coverage reports in: [2022-07-07T10:15:46.764Z] + . [2022-07-07T10:15:46.764Z] -> Found 1 reports [2022-07-07T10:15:46.764Z] ==> Detecting git/mercurial file structure [2022-07-07T10:15:47.025Z] ==> Reading reports [2022-07-07T10:15:47.025Z] + ./coverage.out bytes=9355 [2022-07-07T10:15:47.025Z] ==> Appending adjustments [2022-07-07T10:15:47.025Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T10:15:47.025Z] + Found adjustments [2022-07-07T10:15:47.025Z] ==> Gzipping contents [2022-07-07T10:15:47.025Z] 4.0K /tmp/codecov.v82N5q.gz [2022-07-07T10:15:47.025Z] ==> Uploading reports [2022-07-07T10:15:47.025Z] url: https://codecov.io [2022-07-07T10:15:47.025Z] query: branch=PR-202&commit=571664b3fb1bb89efa85a56770d1e0a9c68d982a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T10:15:47.025Z] -> Pinging Codecov [2022-07-07T10:15:47.025Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=571664b3fb1bb89efa85a56770d1e0a9c68d982a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T10:15:47.286Z] -> Uploading to [2022-07-07T10:15:47.286Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/571664b3fb1bb89efa85a56770d1e0a9c68d982a/8dc55a01-4800-46e2-84e9-de6a0d618898.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T101547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8c2b0a8d16297ca09279e80d7dcf3346f3d6d96110b0e8f9458f8098f02104d [2022-07-07T10:15:47.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T10:15:47.286Z] Dload Upload Total Spent Left Speed [2022-07-07T10:15:47.549Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7101 --:--:-- --:--:-- --:--:-- 7130 [2022-07-07T10:15:47.549Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/571664b3fb1bb89efa85a56770d1e0a9c68d982a [Pipeline] } [2022-07-07T10:15:47.557Z] 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 [2022-07-07T10:15:48.208Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-07-07T10:15:48.209Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T10:15:48.209Z] total 16 [2022-07-07T10:15:48.209Z] drwxr-xr-x 3 root root 4096 Jul 7 10:08 . [2022-07-07T10:15:48.209Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:08 .. [2022-07-07T10:15:48.209Z] drwxr-xr-x 2 root root 4096 Jul 7 10:08 cost [2022-07-07T10:15:48.209Z] -rw-r--r-- 1 root root 85 Jul 7 10:08 cost.csv [2022-07-07T10:15:48.209Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T10:15:48.209Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T10:15:48.209Z] total 16 [2022-07-07T10:15:48.209Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:08 . [2022-07-07T10:15:48.209Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:08 .. [2022-07-07T10:15:48.209Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:08 cost [2022-07-07T10:15:48.209Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 7 10:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:48.506Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:49.379Z] ---> package-listing.sh [2022-07-07T10:15:49.379Z] ++ facter osfamily [2022-07-07T10:15:49.379Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T10:15:49.640Z] + OS_FAMILY=debian [2022-07-07T10:15:49.640Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T10:15:49.640Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T10:15:49.640Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T10:15:49.640Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T10:15:49.640Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T10:15:49.640Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T10:15:49.640Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T10:15:49.640Z] + case "${OS_FAMILY}" in [2022-07-07T10:15:49.640Z] + dpkg -l [2022-07-07T10:15:49.640Z] + grep '^ii' [2022-07-07T10:15:49.640Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T10:15:49.640Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T10:15:49.640Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T10:15:49.640Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T10:15:49.640Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-07-07T10:15:49.640Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-07-07T10:15:49.652Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T10:15:49.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T10:15:50.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T10:15:50.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T10:15:50.586Z] prd-ubuntu20.04-docker-8c-8g-17128 does not seem to be running inside a container [2022-07-07T10:15:50.624Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 [2022-07-07T10:15:50.869Z] $ docker top 4e7f246ead0bf88595e854509483c7d471ff30eef3898c416bb2da8b48bc00b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T10:15:51.225Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T10:15:51.513Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T10:15:51.801Z] + ls /var/log/sa-host [2022-07-07T10:15:51.801Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T10:15:51.930Z] provisioning config files... [2022-07-07T10:15:51.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config4397911369800987149tmp [Pipeline] { [Pipeline] echo [2022-07-07T10:15:51.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:52.243Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T10:15:52.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:52.584Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T10:15:52.593Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:52.881Z] ---> sudo-logs.sh [2022-07-07T10:15:52.881Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T10:15:52.904Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:53.193Z] ---> job-cost.sh [2022-07-07T10:15:53.193Z] lf-activate-venv: SKIPPING [2022-07-07T10:15:53.193Z] DEBUG: total: 0.2199999988079071 [2022-07-07T10:15:53.193Z] INFO: Retrieving Stack Cost... [2022-07-07T10:15:53.526Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T10:15:54.099Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T10:15:54.110Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T10:15:54.397Z] ---> logs-deploy.sh [2022-07-07T10:15:54.397Z] lf-activate-venv: SKIPPING [2022-07-07T10:15:54.397Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/7 [2022-07-07T10:15:54.397Z] INFO: archiving workspace using pattern(s): [2022-07-07T10:15:55.339Z] Archives upload complete. [2022-07-07T10:15:55.339Z] INFO: archiving logs to Nexus