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 496835d219091b656bc868f0a1a76422ee3d7f65 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-ssh12420155774603923553.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-ssh12050989864455853435.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-ssh17091343991552743933.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-ssh2333884513484640930.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-ssh4098155276184504473.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-16341 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 496835d219091b656bc868f0a1a76422ee3d7f65 Merge succeeded, producing 496835d219091b656bc868f0a1a76422ee3d7f65 Checking out Revision 496835d219091b656bc868f0a1a76422ee3d7f65 (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 496835d219091b656bc868f0a1a76422ee3d7f65 # 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 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T13:54:18.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T13:54:19.056Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T13:54:19.071Z] ========================================================= [2022-06-29T13:54:19.071Z] EdgeX Global Pipelines Version Info [2022-06-29T13:54:19.071Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 98f032b9f43567c2f39d7bb2c341238a945ef2ed # timeout=10 [2022-06-29T13:54:19.836Z] ------------------- [2022-06-29T13:54:19.836Z] stable info: [2022-06-29T13:54:19.836Z] ------------------- [2022-06-29T13:54:19.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T13:54:19.836Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T13:54:19.836Z] Message: update stable to v1.0.234 [2022-06-29T13:54:20.410Z] ------------------- [2022-06-29T13:54:20.410Z] experimental info: [2022-06-29T13:54:20.410Z] ------------------- [2022-06-29T13:54:20.410Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T13:54:20.410Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T13:54:20.410Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T13:54:20.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-29T13:54:20.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-29T13:54:20.601Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T13:54:20.611Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T13:54:20.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T13:54:20.636Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T13:54:20.646Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T13:54:20.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T13:54:20.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T13:54:20.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T13:54:20.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T13:54:20.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-29T13:54:20.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T13:54:20.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T13:54:20.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T13:54:20.751Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T13:54:20.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T13:54:20.776Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T13:54:20.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T13:54:20.799Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T13:54:20.811Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T13:54:20.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T13:54:20.833Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T13:54:20.845Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T13:54:20.860Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T13:54:20.871Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T13:54:20.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T13:54:20.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-06-29T13:54:20.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-06-29T13:54:20.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-06-29T13:54:20.932Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo [2022-06-29T13:54:20.945Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 496835d [Pipeline] echo [2022-06-29T13:54:20.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T13:54:20.986Z] provisioning config files... [2022-06-29T13:54:21.002Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2195503449912672806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:54:21.312Z] ---> docker-login.sh [2022-06-29T13:54:21.312Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:54:21.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:21.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:21.573Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:21.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:21.573Z] [2022-06-29T13:54:21.573Z] Login Succeeded [2022-06-29T13:54:21.573Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:54:21.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:21.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:21.833Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:21.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:21.833Z] [2022-06-29T13:54:21.833Z] Login Succeeded [2022-06-29T13:54:21.833Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:54:21.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:21.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:21.833Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:21.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:21.833Z] [2022-06-29T13:54:21.833Z] Login Succeeded [2022-06-29T13:54:21.833Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:54:22.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:22.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:22.093Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:22.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:22.093Z] [2022-06-29T13:54:22.093Z] Login Succeeded [2022-06-29T13:54:22.093Z] docker.io [2022-06-29T13:54:22.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:22.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:22.353Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:22.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:22.353Z] [2022-06-29T13:54:22.353Z] Login Succeeded [2022-06-29T13:54:22.353Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:54:22.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T13:54:22.742Z] + git rev-list -1 --merges 496835d219091b656bc868f0a1a76422ee3d7f65~1..496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo [2022-06-29T13:54:22.842Z] -----------> git rev-list -1 --merges 496835d219091b656bc868f0a1a76422ee3d7f65~1..496835d219091b656bc868f0a1a76422ee3d7f65 496835d219091b656bc868f0a1a76422ee3d7f65 [false] [Pipeline] sh [2022-06-29T13:54:23.136Z] + git log --format=format:%s -1 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo [2022-06-29T13:54:23.151Z] ========================================================= [2022-06-29T13:54:23.151Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T13:54:23.151Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T13:54:23.489Z] + git log --format=format:%s -1 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo [2022-06-29T13:54:23.502Z] [semverPrep] GIT_COMMIT: 496835d219091b656bc868f0a1a76422ee3d7f65, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo [2022-06-29T13:54:23.511Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T13:54:23.862Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T13:54:23.862Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T13:54:23.862Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T13:54:23.862Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T13:54:23.862Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T13:54:23.862Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T13:54:23.862Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:54:24.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:54:24.275Z] [2022-06-29T13:54:24.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:54:24.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:54:24.583Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T13:54:24.583Z] 42c077c10790: Pulling fs layer [2022-06-29T13:54:24.583Z] f63e77b7563a: Pulling fs layer [2022-06-29T13:54:24.583Z] bd5fdadae976: Pulling fs layer [2022-06-29T13:54:24.583Z] 205491f53016: Pulling fs layer [2022-06-29T13:54:24.583Z] 205491f53016: Waiting [2022-06-29T13:54:24.583Z] df18705c85c3: Pulling fs layer [2022-06-29T13:54:24.583Z] bdb3f477010e: Pulling fs layer [2022-06-29T13:54:24.583Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T13:54:24.583Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T13:54:24.583Z] bdb8f0575790: Pulling fs layer [2022-06-29T13:54:24.583Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T13:54:24.583Z] 2343380bae48: Pulling fs layer [2022-06-29T13:54:24.583Z] bdb8f0575790: Waiting [2022-06-29T13:54:24.583Z] df18705c85c3: Waiting [2022-06-29T13:54:24.583Z] bdb3f477010e: Waiting [2022-06-29T13:54:24.583Z] c8a8fc8e1c8f: Waiting [2022-06-29T13:54:24.583Z] 2c6e9b1d212d: Waiting [2022-06-29T13:54:24.583Z] 2343380bae48: Waiting [2022-06-29T13:54:24.583Z] 386e3cb2ff24: Waiting [2022-06-29T13:54:24.583Z] f63e77b7563a: Verifying Checksum [2022-06-29T13:54:24.583Z] f63e77b7563a: Download complete [2022-06-29T13:54:24.583Z] 205491f53016: Verifying Checksum [2022-06-29T13:54:24.583Z] 205491f53016: Download complete [2022-06-29T13:54:24.841Z] df18705c85c3: Verifying Checksum [2022-06-29T13:54:24.841Z] df18705c85c3: Download complete [2022-06-29T13:54:24.841Z] bdb3f477010e: Verifying Checksum [2022-06-29T13:54:24.841Z] bdb3f477010e: Download complete [2022-06-29T13:54:24.841Z] bd5fdadae976: Verifying Checksum [2022-06-29T13:54:24.841Z] bd5fdadae976: Download complete [2022-06-29T13:54:24.841Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T13:54:24.841Z] 2c6e9b1d212d: Download complete [2022-06-29T13:54:24.841Z] bdb8f0575790: Download complete [2022-06-29T13:54:24.841Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T13:54:24.841Z] 386e3cb2ff24: Download complete [2022-06-29T13:54:24.841Z] 2343380bae48: Verifying Checksum [2022-06-29T13:54:24.841Z] 2343380bae48: Download complete [2022-06-29T13:54:24.841Z] 42c077c10790: Download complete [2022-06-29T13:54:25.101Z] c8a8fc8e1c8f: Download complete [2022-06-29T13:54:26.483Z] 42c077c10790: Pull complete [2022-06-29T13:54:26.483Z] f63e77b7563a: Pull complete [2022-06-29T13:54:27.054Z] bd5fdadae976: Pull complete [2022-06-29T13:54:27.054Z] 205491f53016: Pull complete [2022-06-29T13:54:27.316Z] df18705c85c3: Pull complete [2022-06-29T13:54:27.316Z] bdb3f477010e: Pull complete [2022-06-29T13:54:29.864Z] c8a8fc8e1c8f: Pull complete [2022-06-29T13:54:29.864Z] 2c6e9b1d212d: Pull complete [2022-06-29T13:54:29.864Z] bdb8f0575790: Pull complete [2022-06-29T13:54:29.864Z] 386e3cb2ff24: Pull complete [2022-06-29T13:54:29.864Z] 2343380bae48: Pull complete [2022-06-29T13:54:29.864Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T13:54:29.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T13:54:29.864Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:54:29.980Z] prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container [2022-06-29T13:54:30.008Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T13:54:32.396Z] $ docker top 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 -eo pid,comm [2022-06-29T13:54:32.480Z] 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-06-29T13:54:32.480Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T13:54:32.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T13:54:32.510Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T13:54:32.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T13:54:32.626Z] $ docker exec 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent [2022-06-29T13:54:32.766Z] SSH_AUTH_SOCK=/tmp/ssh-sypAlGBlozMJ/agent.34 [2022-06-29T13:54:32.766Z] SSH_AGENT_PID=40 [2022-06-29T13:54:32.772Z] Running ssh-add (command line suppressed) [2022-06-29T13:54:32.874Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6321911639197397803.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6321911639197397803.key) [2022-06-29T13:54:32.893Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T13:54:33.185Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T13:54:33.196Z] $ docker exec --env ******** --env ******** 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent -k [2022-06-29T13:54:33.312Z] unset SSH_AUTH_SOCK; [2022-06-29T13:54:33.313Z] unset SSH_AGENT_PID; [2022-06-29T13:54:33.313Z] echo Agent pid 40 killed; [2022-06-29T13:54:33.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T13:54:33.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T13:54:33.354Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T13:54:33.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T13:54:33.483Z] $ docker exec 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent [2022-06-29T13:54:33.607Z] SSH_AUTH_SOCK=/tmp/ssh-jO82kyqZZcLo/agent.72 [2022-06-29T13:54:33.607Z] SSH_AGENT_PID=79 [2022-06-29T13:54:33.612Z] Running ssh-add (command line suppressed) [2022-06-29T13:54:33.717Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8661778018685442244.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8661778018685442244.key) [2022-06-29T13:54:33.735Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T13:54:34.039Z] + git semver init [2022-06-29T13:54:34.299Z] 2022-06-29 13:54:34,203 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T13:54:34.299Z] 2022-06-29 13:54:34,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T13:54:34.299Z] 2022-06-29 13:54:34,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-06-29T13:54:34.299Z] 2022-06-29 13:54:34,204 [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-06-29T13:54:35.241Z] 2022-06-29 13:54:35,108 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-06-29T13:54:35.241Z] 2022-06-29 13:54:35,109 [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-06-29T13:54:35.241Z] 2022-06-29 13:54:35,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T13:54:35.241Z] 2022-06-29 13:54:35,113 [execute] INFO git cat-file --batch-check [2022-06-29T13:54:35.241Z] 2022-06-29 13:54:35,114 [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-06-29T13:54:35.241Z] 2022-06-29 13:54:35,120 [execute] INFO git cat-file --batch [2022-06-29T13:54:35.241Z] 2022-06-29 13:54:35,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T13:54:35.241Z] 2022-06-29 13:54:35,124 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-06-29T13:54:35.241Z] 0.0.0 [Pipeline] } [2022-06-29T13:54:35.250Z] $ docker exec --env ******** --env ******** 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent -k [2022-06-29T13:54:35.360Z] unset SSH_AUTH_SOCK; [2022-06-29T13:54:35.361Z] unset SSH_AGENT_PID; [2022-06-29T13:54:35.361Z] echo Agent pid 79 killed; [2022-06-29T13:54:35.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T13:54:35.681Z] + git semver [Pipeline] } [2022-06-29T13:54:35.958Z] $ docker stop --time=1 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 [2022-06-29T13:54:37.501Z] $ docker rm -f 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T13:54:37.860Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T13:54:38.138Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T13:54:38.141Z] [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-06-29T13:54:38.288Z] provisioning config files... [2022-06-29T13:54:38.298Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config7638340337169720883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:54:38.601Z] ---> docker-login.sh [2022-06-29T13:54:38.601Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:54:38.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:38.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:38.601Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:38.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:38.602Z] [2022-06-29T13:54:38.602Z] Login Succeeded [2022-06-29T13:54:38.602Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:54:38.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:38.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:38.864Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:38.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:38.864Z] [2022-06-29T13:54:38.864Z] Login Succeeded [2022-06-29T13:54:38.864Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:54:38.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:38.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:38.864Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:38.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:38.864Z] [2022-06-29T13:54:38.864Z] Login Succeeded [2022-06-29T13:54:38.864Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:54:38.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:39.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:39.125Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:39.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:39.125Z] [2022-06-29T13:54:39.125Z] Login Succeeded [2022-06-29T13:54:39.125Z] docker.io [2022-06-29T13:54:39.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:54:39.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:54:39.385Z] Configure a credential helper to remove this warning. See [2022-06-29T13:54:39.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:54:39.385Z] [2022-06-29T13:54:39.385Z] Login Succeeded [2022-06-29T13:54:39.385Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:54:39.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T13:54:39.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:54:39.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:54:39.486Z] ========================================================= [2022-06-29T13:54:39.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T13:54:39.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:54:39.811Z] + 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-06-29T13:54:39.811Z] Sending build context to Docker daemon 10.68MB [2022-06-29T13:54:39.811Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:54:39.811Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T13:54:39.811Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T13:54:39.811Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T13:54:39.811Z] 666ba61612fd: Pulling fs layer [2022-06-29T13:54:39.811Z] 8ed8ca486205: Pulling fs layer [2022-06-29T13:54:39.811Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T13:54:39.811Z] c516ae0d96e1: Pulling fs layer [2022-06-29T13:54:39.811Z] 684cea983483: Pulling fs layer [2022-06-29T13:54:39.811Z] dd3240ac7de5: Pulling fs layer [2022-06-29T13:54:39.811Z] b1e948a4e11c: Pulling fs layer [2022-06-29T13:54:39.811Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T13:54:39.811Z] cc1cd167ecdc: Waiting [2022-06-29T13:54:39.811Z] 646ad004c059: Pulling fs layer [2022-06-29T13:54:39.811Z] c516ae0d96e1: Waiting [2022-06-29T13:54:39.811Z] 684cea983483: Waiting [2022-06-29T13:54:39.811Z] dd3240ac7de5: Waiting [2022-06-29T13:54:39.811Z] b1e948a4e11c: Waiting [2022-06-29T13:54:39.811Z] a8fd76ee1af6: Waiting [2022-06-29T13:54:40.072Z] 8ed8ca486205: Verifying Checksum [2022-06-29T13:54:40.072Z] 8ed8ca486205: Download complete [2022-06-29T13:54:40.072Z] 666ba61612fd: Download complete [2022-06-29T13:54:40.072Z] c516ae0d96e1: Verifying Checksum [2022-06-29T13:54:40.072Z] c516ae0d96e1: Download complete [2022-06-29T13:54:40.072Z] 684cea983483: Download complete [2022-06-29T13:54:40.072Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T13:54:40.072Z] dd3240ac7de5: Download complete [2022-06-29T13:54:40.072Z] b1e948a4e11c: Verifying Checksum [2022-06-29T13:54:40.072Z] b1e948a4e11c: Download complete [2022-06-29T13:54:40.072Z] 59bf1c3509f3: Pull complete [2022-06-29T13:54:40.335Z] 666ba61612fd: Pull complete [2022-06-29T13:54:40.335Z] 8ed8ca486205: Pull complete [2022-06-29T13:54:40.603Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T13:54:40.603Z] a8fd76ee1af6: Download complete [2022-06-29T13:54:40.864Z] 646ad004c059: Download complete [2022-06-29T13:54:40.864Z] cc1cd167ecdc: Download complete [2022-06-29T13:54:45.060Z] cc1cd167ecdc: Pull complete [2022-06-29T13:54:45.060Z] c516ae0d96e1: Pull complete [2022-06-29T13:54:45.060Z] 684cea983483: Pull complete [2022-06-29T13:54:45.060Z] dd3240ac7de5: Pull complete [2022-06-29T13:54:45.060Z] b1e948a4e11c: Pull complete [2022-06-29T13:54:46.971Z] a8fd76ee1af6: Pull complete [2022-06-29T13:54:47.914Z] 646ad004c059: Pull complete [2022-06-29T13:54:47.914Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T13:54:47.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T13:54:47.914Z] ---> 8f69c11f6b0c [2022-06-29T13:54:47.914Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T13:54:52.145Z] ---> Running in 2d0268102874 [2022-06-29T13:54:52.146Z] Removing intermediate container 2d0268102874 [2022-06-29T13:54:52.146Z] ---> 04a34024844b [2022-06-29T13:54:52.146Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:54:52.146Z] ---> Running in 2518e4ea63ef [2022-06-29T13:54:52.146Z] Removing intermediate container 2518e4ea63ef [2022-06-29T13:54:52.146Z] ---> 956646dc3bd6 [2022-06-29T13:54:52.146Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:54:52.146Z] ---> Running in 87607ba326ea [2022-06-29T13:54:52.146Z] Removing intermediate container 87607ba326ea [2022-06-29T13:54:52.146Z] ---> 0f3d4e3b7345 [2022-06-29T13:54:52.146Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:54:52.405Z] ---> Running in 72974e75bba1 [2022-06-29T13:54:52.976Z] Removing intermediate container 72974e75bba1 [2022-06-29T13:54:52.976Z] ---> b131f885b501 [2022-06-29T13:54:52.976Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:54:52.976Z] ---> Running in babbb608da4a [2022-06-29T13:54:53.245Z] Still waiting to schedule task [2022-06-29T13:54:53.245Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T13:54:53.246Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:54:54.187Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:54:54.760Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T13:54:54.760Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T13:54:54.760Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T13:54:55.021Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T13:54:55.021Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T13:54:55.021Z] OK: 224 MiB in 56 packages [2022-06-29T13:54:55.590Z] Removing intermediate container babbb608da4a [2022-06-29T13:54:55.590Z] ---> bfac1096b496 [2022-06-29T13:54:55.590Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T13:54:55.590Z] ---> Running in 002a2477a27a [2022-06-29T13:54:55.851Z] Removing intermediate container 002a2477a27a [2022-06-29T13:54:55.851Z] ---> 506ed44fe234 [2022-06-29T13:54:55.851Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T13:54:55.851Z] ---> 1cb2cc477e57 [2022-06-29T13:54:55.851Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:54:56.113Z] ---> Running in 1d37e3bbf730 [2022-06-29T13:55:18.120Z] Removing intermediate container 1d37e3bbf730 [2022-06-29T13:55:18.120Z] ---> 6d25c57e8e63 [2022-06-29T13:55:18.120Z] Step 11/12 : COPY . . [2022-06-29T13:55:18.120Z] ---> 667487733615 [2022-06-29T13:55:18.120Z] Step 12/12 : RUN $MAKE [2022-06-29T13:55:18.120Z] ---> Running in 6db1d9d660e1 [2022-06-29T13:55:18.120Z] noop [2022-06-29T13:55:18.120Z] Removing intermediate container 6db1d9d660e1 [2022-06-29T13:55:18.120Z] ---> db8ef0eccf81 [2022-06-29T13:55:18.120Z] Successfully built db8ef0eccf81 [2022-06-29T13:55:18.120Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:55:18.440Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T13:55:18.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:55:18.523Z] prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container [2022-06-29T13:55:18.566Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-29T13:55:18.949Z] $ docker top 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T13:55:19.301Z] + go version [2022-06-29T13:55:19.301Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T13:55:19.320Z] $ docker stop --time=1 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e [2022-06-29T13:55:20.601Z] $ docker rm -f 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:55:21.023Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T13:55:21.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:55:21.109Z] prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container [2022-06-29T13:55:21.152Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-29T13:55:21.527Z] $ docker top 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T13:55:21.915Z] + make test [2022-06-29T13:55:21.915Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T13:55:22.191Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T13:55:32.196Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T13:55:32.196Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-29T13:55:38.769Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T13:55:42.064Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T13:55:42.064Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T13:55:42.064Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T13:55:42.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T13:55:42.098Z] $ docker stop --time=1 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 [2022-06-29T13:55:44.055Z] $ docker rm -f 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T13:55:44.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T13:55:44.517Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T13:55:45.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T13:55:45.365Z] + ls -al . [2022-06-29T13:55:45.365Z] total 172 [2022-06-29T13:55:45.365Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 13:55 . [2022-06-29T13:55:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:54 .. [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 13:54 .dockerignore [2022-06-29T13:55:45.365Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:54 .git [2022-06-29T13:55:45.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:54 .github [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 13:54 .gitignore [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:54 .golangci.yml [2022-06-29T13:55:45.365Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:54 .semver [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 13:54 Attribution.txt [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 13:54 CHANGELOG.md [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 13:54 Dockerfile [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:54 GOVERNANCE.md [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 13:54 Jenkinsfile [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:54 LICENSE [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 13:54 Makefile [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 13:54 OWNERS.md [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 13:54 README.md [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:54 VERSION [2022-06-29T13:55:45.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:54 bin [2022-06-29T13:55:45.365Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:54 cmd [2022-06-29T13:55:45.365Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 13:55 coverage.out [2022-06-29T13:55:45.365Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:54 driver [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 13:54 go.mod [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 13:54 go.sum [2022-06-29T13:55:45.365Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:54 snap [2022-06-29T13:55:45.365Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:55:45.678Z] + 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=496835d219091b656bc868f0a1a76422ee3d7f65 --label arch=amd64 --label version=0.0.0 . [2022-06-29T13:55:45.678Z] Sending build context to Docker daemon 10.69MB [2022-06-29T13:55:45.678Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:55:45.678Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T13:55:45.678Z] ---> db8ef0eccf81 [2022-06-29T13:55:45.678Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T13:55:45.939Z] ---> Running in 54cca18dfcda [2022-06-29T13:55:45.939Z] Removing intermediate container 54cca18dfcda [2022-06-29T13:55:45.939Z] ---> 17e886dc116c [2022-06-29T13:55:45.939Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:55:45.939Z] ---> Running in 193e4ecd4911 [2022-06-29T13:55:46.200Z] Removing intermediate container 193e4ecd4911 [2022-06-29T13:55:46.200Z] ---> 25b7f913c6e3 [2022-06-29T13:55:46.200Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:55:46.200Z] ---> Running in 350a94ec78ce [2022-06-29T13:55:46.200Z] Removing intermediate container 350a94ec78ce [2022-06-29T13:55:46.200Z] ---> 0801695c2a12 [2022-06-29T13:55:46.200Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:55:46.200Z] ---> Running in 9a88617c3951 [2022-06-29T13:55:46.772Z] Removing intermediate container 9a88617c3951 [2022-06-29T13:55:46.772Z] ---> 700bc3db1465 [2022-06-29T13:55:46.772Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:55:46.772Z] ---> Running in 39788f226b4d [2022-06-29T13:55:47.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:55:47.918Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:55:48.178Z] OK: 224 MiB in 56 packages [2022-06-29T13:55:48.439Z] Removing intermediate container 39788f226b4d [2022-06-29T13:55:48.439Z] ---> e8d43c93874e [2022-06-29T13:55:48.439Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T13:55:48.700Z] ---> Running in 45d09a70f019 [2022-06-29T13:55:48.700Z] Removing intermediate container 45d09a70f019 [2022-06-29T13:55:48.700Z] ---> b5c9996c05ea [2022-06-29T13:55:48.700Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T13:55:48.959Z] ---> 100a997ed9b6 [2022-06-29T13:55:48.959Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:55:48.959Z] ---> Running in 4d6b371ef977 [2022-06-29T13:55:49.528Z] Removing intermediate container 4d6b371ef977 [2022-06-29T13:55:49.528Z] ---> 395681e65de7 [2022-06-29T13:55:49.528Z] Step 11/25 : COPY . . [2022-06-29T13:55:49.789Z] ---> e94be54fb6bd [2022-06-29T13:55:49.789Z] Step 12/25 : RUN $MAKE [2022-06-29T13:55:49.789Z] ---> Running in b1cd791f0e42 [2022-06-29T13:55:50.049Z] 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-06-29T13:56:11.989Z] Removing intermediate container b1cd791f0e42 [2022-06-29T13:56:11.989Z] ---> 577128599bcb [2022-06-29T13:56:11.989Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T13:56:11.989Z] 3.14: Pulling from library/alpine [2022-06-29T13:56:11.989Z] 8663204ce13b: Pulling fs layer [2022-06-29T13:56:11.989Z] 8663204ce13b: Verifying Checksum [2022-06-29T13:56:11.989Z] 8663204ce13b: Download complete [2022-06-29T13:56:11.989Z] 8663204ce13b: Pull complete [2022-06-29T13:56:11.989Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T13:56:11.989Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T13:56:11.989Z] ---> e04c818066af [2022-06-29T13:56:11.989Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T13:56:11.989Z] ---> Running in 56edac4c2612 [2022-06-29T13:56:11.989Z] Removing intermediate container 56edac4c2612 [2022-06-29T13:56:11.989Z] ---> 281bf08ad33e [2022-06-29T13:56:11.989Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T13:56:11.989Z] ---> Running in b6b9d180d827 [2022-06-29T13:56:11.989Z] Removing intermediate container b6b9d180d827 [2022-06-29T13:56:11.989Z] ---> b0f35e59ecb7 [2022-06-29T13:56:11.989Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T13:56:11.989Z] ---> Running in b1631b318acc [2022-06-29T13:56:11.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T13:56:11.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T13:56:11.989Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T13:56:11.989Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T13:56:11.989Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T13:56:11.989Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T13:56:11.989Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T13:56:11.989Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T13:56:11.989Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T13:56:11.989Z] OK: 8 MiB in 20 packages [2022-06-29T13:56:11.989Z] Removing intermediate container b1631b318acc [2022-06-29T13:56:11.989Z] ---> a75236d970de [2022-06-29T13:56:11.989Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T13:56:12.261Z] ---> 8f73803172e5 [2022-06-29T13:56:12.262Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T13:56:12.262Z] ---> 2d20ef42d918 [2022-06-29T13:56:12.262Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T13:56:12.521Z] ---> d1af3ff2ab08 [2022-06-29T13:56:12.521Z] Step 20/25 : EXPOSE 59986 [2022-06-29T13:56:12.521Z] ---> Running in bf47486f9d08 [2022-06-29T13:56:12.521Z] Removing intermediate container bf47486f9d08 [2022-06-29T13:56:12.521Z] ---> 7b7b64da5a16 [2022-06-29T13:56:12.521Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T13:56:12.521Z] ---> Running in 61ac0ff3677b [2022-06-29T13:56:12.780Z] Removing intermediate container 61ac0ff3677b [2022-06-29T13:56:12.780Z] ---> 626a509fc7c0 [2022-06-29T13:56:12.780Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T13:56:12.780Z] ---> Running in 107672fcaba0 [2022-06-29T13:56:12.780Z] Removing intermediate container 107672fcaba0 [2022-06-29T13:56:12.780Z] ---> d288009f72e3 [2022-06-29T13:56:12.780Z] Step 23/25 : LABEL arch=amd64 [2022-06-29T13:56:12.780Z] ---> Running in 8f320e211747 [2022-06-29T13:56:13.039Z] Removing intermediate container 8f320e211747 [2022-06-29T13:56:13.039Z] ---> 84c2eac8e22b [2022-06-29T13:56:13.039Z] Step 24/25 : LABEL git_sha=496835d219091b656bc868f0a1a76422ee3d7f65 [2022-06-29T13:56:13.039Z] ---> Running in 65d8755f96c5 [2022-06-29T13:56:13.039Z] Removing intermediate container 65d8755f96c5 [2022-06-29T13:56:13.039Z] ---> fe35ba8cfe99 [2022-06-29T13:56:13.040Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T13:56:13.040Z] ---> Running in b9e0fa1613c2 [2022-06-29T13:56:13.299Z] Removing intermediate container b9e0fa1613c2 [2022-06-29T13:56:13.299Z] ---> c5cd37cb0040 [2022-06-29T13:56:13.299Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T13:56:13.299Z] Successfully built c5cd37cb0040 [2022-06-29T13:56:13.299Z] 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-06-29T13:56:13.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:56:13.737Z] [2022-06-29T13:56:13.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:56:14.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:56:14.040Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T13:56:14.040Z] 5eb5b503b376: Pulling fs layer [2022-06-29T13:56:14.040Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T13:56:14.040Z] ec43610c2a17: Pulling fs layer [2022-06-29T13:56:14.040Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T13:56:14.040Z] 33b1e0a273af: Pulling fs layer [2022-06-29T13:56:14.040Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T13:56:14.040Z] 33b1e0a273af: Waiting [2022-06-29T13:56:14.040Z] 3a2ae6a8a46f: Waiting [2022-06-29T13:56:14.040Z] 2f39f015ded8: Pulling fs layer [2022-06-29T13:56:14.040Z] 5d3b04190fa2: Waiting [2022-06-29T13:56:14.040Z] 2f39f015ded8: Waiting [2022-06-29T13:56:14.040Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T13:56:14.040Z] 5c69ac0246d0: Download complete [2022-06-29T13:56:14.040Z] 3a2ae6a8a46f: Download complete [2022-06-29T13:56:14.301Z] 33b1e0a273af: Verifying Checksum [2022-06-29T13:56:14.301Z] 33b1e0a273af: Download complete [2022-06-29T13:56:14.301Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T13:56:14.301Z] 5d3b04190fa2: Download complete [2022-06-29T13:56:14.301Z] ec43610c2a17: Verifying Checksum [2022-06-29T13:56:14.301Z] ec43610c2a17: Download complete [2022-06-29T13:56:14.301Z] 5eb5b503b376: Download complete [2022-06-29T13:56:14.870Z] 2f39f015ded8: Download complete [2022-06-29T13:56:15.438Z] 5eb5b503b376: Pull complete [2022-06-29T13:56:15.696Z] 5c69ac0246d0: Pull complete [2022-06-29T13:56:16.267Z] ec43610c2a17: Pull complete [2022-06-29T13:56:16.267Z] 3a2ae6a8a46f: Pull complete [2022-06-29T13:56:16.267Z] 33b1e0a273af: Pull complete [2022-06-29T13:56:16.526Z] 5d3b04190fa2: Pull complete [2022-06-29T13:56:20.723Z] 2f39f015ded8: Pull complete [2022-06-29T13:56:20.723Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T13:56:20.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T13:56:20.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:56:20.811Z] prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container [2022-06-29T13:56:20.859Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T13:56:23.112Z] $ docker top 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:56:23.506Z] ---> job-cost.sh [2022-06-29T13:56:23.506Z] lf-activate-venv: SKIPPING [2022-06-29T13:56:23.506Z] INFO: No Stack... [2022-06-29T13:56:23.765Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T13:56:24.334Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T13:56:24.627Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-06-29T13:56:24.627Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T13:56:24.640Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [2022-06-29T13:56:24.646Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] did not exist. Created. [2022-06-29T13:56:24.647Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T13:56:24.953Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T13:56:24.974Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T13:56:24.980Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T13:56:25.010Z] $ docker stop --time=1 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e [2022-06-29T13:56:26.175Z] $ docker rm -f 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T13:56:27.742Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16342 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-06-29T13:56:27.754Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-06-29T13:56:27.801Z] The recommended git tool is: git [2022-06-29T13:56:34.432Z] using credential edgex-jenkins-ssh [2022-06-29T13:56:34.455Z] Cloning the remote Git repository [2022-06-29T13:56:34.552Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T13:56:34.640Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-06-29T13:56:34.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T13:56:34.752Z] > git --version # timeout=10 [2022-06-29T13:56:34.787Z] > git --version # 'git version 2.25.1' [2022-06-29T13:56:34.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:56:34.855Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T13:56:36.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T13:56:36.636Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T13:56:36.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-29T13:56:37.227Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 496835d219091b656bc868f0a1a76422ee3d7f65 [2022-06-29T13:56:37.484Z] Merge succeeded, producing 496835d219091b656bc868f0a1a76422ee3d7f65 [2022-06-29T13:56:37.485Z] Checking out Revision 496835d219091b656bc868f0a1a76422ee3d7f65 (PR-202) [2022-06-29T13:56:36.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-29T13:56:36.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:56:36.722Z] > 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-06-29T13:56:37.259Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T13:56:37.309Z] > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 [2022-06-29T13:56:37.404Z] > git remote # timeout=10 [2022-06-29T13:56:37.421Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T13:56:37.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T13:56:37.446Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-06-29T13:56:37.470Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T13:56:37.495Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T13:56:37.509Z] > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 [2022-06-29T13:56:41.654Z] Commit message: "refactor(snap): edgex-snap-hooks related upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T13:56:42.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T13:56:42.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T13:56:42.570Z] Dload Upload Total Spent Left Speed [2022-06-29T13:56:42.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12253 97 11881 0 0 78164 0 --:--:-- --:--:-- --:--:-- 77653 100 12253 100 12253 0 0 79564 0 --:--:-- --:--:-- --:--:-- 79564 [Pipeline] sh [2022-06-29T13:56:43.268Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T13:56:43.603Z] + sudo tee /etc/docker/daemon.new [2022-06-29T13:56:43.604Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T13:56:43.604Z] { [2022-06-29T13:56:43.604Z] "registry-mirrors": [ [2022-06-29T13:56:43.604Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T13:56:43.604Z] ], [2022-06-29T13:56:43.604Z] "bip": "10.250.0.254/24", [2022-06-29T13:56:43.604Z] "hosts": [ [2022-06-29T13:56:43.604Z] "tcp://0.0.0.0:5555", [2022-06-29T13:56:43.604Z] "unix:///var/run/docker.sock" [2022-06-29T13:56:43.604Z] ], [2022-06-29T13:56:43.604Z] "mtu": 1458, [2022-06-29T13:56:43.604Z] "selinux-enabled": true, [2022-06-29T13:56:43.604Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T13:56:43.604Z] } [Pipeline] sh [2022-06-29T13:56:43.946Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T13:56:44.279Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T13:57:02.587Z] provisioning config files... [2022-06-29T13:57:02.609Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config380063456303322716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T13:57:02.963Z] ---> docker-login.sh [2022-06-29T13:57:02.963Z] nexus3.edgexfoundry.org:10001 [2022-06-29T13:57:03.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:57:03.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:57:03.832Z] Configure a credential helper to remove this warning. See [2022-06-29T13:57:03.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:57:03.832Z] [2022-06-29T13:57:03.832Z] Login Succeeded [2022-06-29T13:57:03.832Z] nexus3.edgexfoundry.org:10002 [2022-06-29T13:57:04.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:57:04.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:57:04.102Z] Configure a credential helper to remove this warning. See [2022-06-29T13:57:04.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:57:04.102Z] [2022-06-29T13:57:04.102Z] Login Succeeded [2022-06-29T13:57:04.102Z] nexus3.edgexfoundry.org:10003 [2022-06-29T13:57:04.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:57:04.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:57:04.697Z] Configure a credential helper to remove this warning. See [2022-06-29T13:57:04.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:57:04.697Z] [2022-06-29T13:57:04.697Z] Login Succeeded [2022-06-29T13:57:04.697Z] nexus3.edgexfoundry.org:10004 [2022-06-29T13:57:04.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:57:05.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:57:05.252Z] Configure a credential helper to remove this warning. See [2022-06-29T13:57:05.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:57:05.252Z] [2022-06-29T13:57:05.252Z] Login Succeeded [2022-06-29T13:57:05.252Z] docker.io [2022-06-29T13:57:05.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T13:57:05.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T13:57:05.797Z] Configure a credential helper to remove this warning. See [2022-06-29T13:57:05.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T13:57:05.797Z] [2022-06-29T13:57:05.797Z] Login Succeeded [2022-06-29T13:57:05.797Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T13:57:05.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T13:57:06.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:57:06.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T13:57:06.347Z] ========================================================= [2022-06-29T13:57:06.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T13:57:06.347Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:57:06.716Z] + 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-06-29T13:57:06.716Z] Sending build context to Docker daemon 128.5kB [2022-06-29T13:57:06.989Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T13:57:06.989Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T13:57:07.268Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T13:57:07.268Z] 9b3977197b4f: Pulling fs layer [2022-06-29T13:57:07.268Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T13:57:07.268Z] 94645a83ff95: Pulling fs layer [2022-06-29T13:57:07.268Z] e6fb740bc735: Pulling fs layer [2022-06-29T13:57:07.268Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T13:57:07.268Z] 355e64cbe906: Pulling fs layer [2022-06-29T13:57:07.268Z] 63ab81a10011: Pulling fs layer [2022-06-29T13:57:07.268Z] 555d1d1c4555: Pulling fs layer [2022-06-29T13:57:07.268Z] 7d9057610161: Pulling fs layer [2022-06-29T13:57:07.268Z] 355e64cbe906: Waiting [2022-06-29T13:57:07.268Z] e6fb740bc735: Waiting [2022-06-29T13:57:07.268Z] 63ab81a10011: Waiting [2022-06-29T13:57:07.268Z] 3a77bd46dcc9: Waiting [2022-06-29T13:57:07.268Z] 555d1d1c4555: Waiting [2022-06-29T13:57:07.268Z] 7d9057610161: Waiting [2022-06-29T13:57:07.268Z] 94645a83ff95: Download complete [2022-06-29T13:57:07.268Z] 1a89e8eeedd5: Download complete [2022-06-29T13:57:07.268Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T13:57:07.268Z] 3a77bd46dcc9: Download complete [2022-06-29T13:57:07.268Z] 355e64cbe906: Verifying Checksum [2022-06-29T13:57:07.268Z] 355e64cbe906: Download complete [2022-06-29T13:57:07.268Z] 9b3977197b4f: Verifying Checksum [2022-06-29T13:57:07.268Z] 9b3977197b4f: Download complete [2022-06-29T13:57:07.268Z] 63ab81a10011: Verifying Checksum [2022-06-29T13:57:07.268Z] 63ab81a10011: Download complete [2022-06-29T13:57:08.268Z] 9b3977197b4f: Pull complete [2022-06-29T13:57:08.268Z] 7d9057610161: Verifying Checksum [2022-06-29T13:57:08.268Z] 7d9057610161: Download complete [2022-06-29T13:57:08.882Z] 1a89e8eeedd5: Pull complete [2022-06-29T13:57:09.176Z] 94645a83ff95: Pull complete [2022-06-29T13:57:09.450Z] 555d1d1c4555: Verifying Checksum [2022-06-29T13:57:09.450Z] 555d1d1c4555: Download complete [2022-06-29T13:57:10.046Z] e6fb740bc735: Verifying Checksum [2022-06-29T13:57:10.046Z] e6fb740bc735: Download complete [2022-06-29T13:57:22.454Z] e6fb740bc735: Pull complete [2022-06-29T13:57:22.454Z] 3a77bd46dcc9: Pull complete [2022-06-29T13:57:22.454Z] 355e64cbe906: Pull complete [2022-06-29T13:57:22.728Z] 63ab81a10011: Pull complete [2022-06-29T13:57:29.448Z] 555d1d1c4555: Pull complete [2022-06-29T13:57:31.440Z] 7d9057610161: Pull complete [2022-06-29T13:57:31.440Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T13:57:31.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T13:57:31.440Z] ---> 819e984ddca1 [2022-06-29T13:57:31.440Z] Step 3/12 : ARG MAKE='make build' [2022-06-29T13:57:32.035Z] ---> Running in 7a0f3997bc5e [2022-06-29T13:57:32.309Z] Removing intermediate container 7a0f3997bc5e [2022-06-29T13:57:32.309Z] ---> 7e52906aec3f [2022-06-29T13:57:32.309Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T13:57:32.309Z] ---> Running in aeb5d33a08a8 [2022-06-29T13:57:32.584Z] Removing intermediate container aeb5d33a08a8 [2022-06-29T13:57:32.584Z] ---> a49a29e8e101 [2022-06-29T13:57:32.584Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T13:57:32.584Z] ---> Running in 9995715df81d [2022-06-29T13:57:32.862Z] Removing intermediate container 9995715df81d [2022-06-29T13:57:32.862Z] ---> 3664118390cc [2022-06-29T13:57:32.862Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T13:57:33.139Z] ---> Running in eab989352542 [2022-06-29T13:57:35.127Z] Removing intermediate container eab989352542 [2022-06-29T13:57:35.127Z] ---> 5c87cc13380b [2022-06-29T13:57:35.127Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T13:57:35.127Z] ---> Running in f4bb94a26d80 [2022-06-29T13:57:35.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T13:57:36.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T13:57:38.134Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T13:57:38.134Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T13:57:38.134Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T13:57:38.406Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T13:57:38.689Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T13:57:38.689Z] OK: 224 MiB in 56 packages [2022-06-29T13:57:39.672Z] Removing intermediate container f4bb94a26d80 [2022-06-29T13:57:39.672Z] ---> 1861f2f7d99c [2022-06-29T13:57:39.672Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-29T13:57:39.672Z] ---> Running in 8a8f2c3784bf [2022-06-29T13:57:39.946Z] Removing intermediate container 8a8f2c3784bf [2022-06-29T13:57:39.946Z] ---> 445e48dfc7c0 [2022-06-29T13:57:39.946Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-29T13:57:40.562Z] ---> 41390791904e [2022-06-29T13:57:40.562Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T13:57:40.562Z] ---> Running in 47ec062914c1 [2022-06-29T13:58:27.605Z] Removing intermediate container 47ec062914c1 [2022-06-29T13:58:27.605Z] ---> f8ca41d56a87 [2022-06-29T13:58:27.605Z] Step 11/12 : COPY . . [2022-06-29T13:58:27.605Z] ---> 810c79ac7931 [2022-06-29T13:58:27.605Z] Step 12/12 : RUN $MAKE [2022-06-29T13:58:27.605Z] ---> Running in 554d7932e273 [2022-06-29T13:58:27.605Z] noop [2022-06-29T13:58:27.605Z] Removing intermediate container 554d7932e273 [2022-06-29T13:58:27.605Z] ---> dfc2c09402d4 [2022-06-29T13:58:27.605Z] Successfully built dfc2c09402d4 [2022-06-29T13:58:27.605Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:58:27.965Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T13:58:27.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:58:28.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2022-06-29T13:58:28.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-06-29T13:58:29.505Z] $ docker top ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T13:58:30.387Z] + go version [2022-06-29T13:58:30.387Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T13:58:30.416Z] $ docker stop --time=1 ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a [2022-06-29T13:58:32.023Z] $ docker rm -f ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T13:58:32.602Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T13:58:32.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T13:58:32.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2022-06-29T13:58:32.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-06-29T13:58:34.053Z] $ docker top 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T13:58:34.922Z] + make test [2022-06-29T13:58:34.922Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T13:58:36.356Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-29T13:59:58.209Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-29T13:59:58.209Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-06-29T13:59:58.209Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T13:59:58.209Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T14:00:20.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T14:00:20.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T14:00:20.409Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T14:00:21.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T14:00:21.041Z] $ docker stop --time=1 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde [2022-06-29T14:00:22.804Z] $ docker rm -f 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T14:00:23.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T14:00:23.773Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T14:00:24.216Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T14:00:24.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T14:00:24.932Z] + ls -al . [2022-06-29T14:00:24.932Z] total 168 [2022-06-29T14:00:24.932Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 14:00 . [2022-06-29T14:00:24.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:56 .. [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 13:56 .dockerignore [2022-06-29T14:00:24.932Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:56 .git [2022-06-29T14:00:24.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:56 .github [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 13:56 .gitignore [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:56 .golangci.yml [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 13:56 Attribution.txt [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 13:56 CHANGELOG.md [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 13:56 Dockerfile [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:56 GOVERNANCE.md [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 13:56 Jenkinsfile [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:56 LICENSE [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 13:56 Makefile [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 13:56 OWNERS.md [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 13:56 README.md [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:54 VERSION [2022-06-29T14:00:24.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:56 bin [2022-06-29T14:00:24.932Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:56 cmd [2022-06-29T14:00:24.932Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 13:59 coverage.out [2022-06-29T14:00:24.932Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:56 driver [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 13:56 go.mod [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 13:56 go.sum [2022-06-29T14:00:24.932Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:56 snap [2022-06-29T14:00:24.932Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T14:00:25.294Z] + 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=496835d219091b656bc868f0a1a76422ee3d7f65 --label arch=arm64 --label version=0.0.0 . [2022-06-29T14:00:25.294Z] Sending build context to Docker daemon 138.8kB [2022-06-29T14:00:25.567Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T14:00:25.567Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-29T14:00:25.567Z] ---> dfc2c09402d4 [2022-06-29T14:00:25.567Z] Step 3/25 : ARG MAKE='make build' [2022-06-29T14:00:25.567Z] ---> Running in 1b8cd01aa93d [2022-06-29T14:00:25.841Z] Removing intermediate container 1b8cd01aa93d [2022-06-29T14:00:25.841Z] ---> 1ec15fda8f24 [2022-06-29T14:00:25.841Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T14:00:26.124Z] ---> Running in ac7a97c24a91 [2022-06-29T14:00:26.399Z] Removing intermediate container ac7a97c24a91 [2022-06-29T14:00:26.399Z] ---> 9147c950bc2b [2022-06-29T14:00:26.399Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T14:00:26.399Z] ---> Running in eb4ec3c47155 [2022-06-29T14:00:26.672Z] Removing intermediate container eb4ec3c47155 [2022-06-29T14:00:26.673Z] ---> d1aec2d773a7 [2022-06-29T14:00:26.673Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T14:00:26.673Z] ---> Running in 7a24c66e228a [2022-06-29T14:00:28.653Z] Removing intermediate container 7a24c66e228a [2022-06-29T14:00:28.653Z] ---> bca4018cd80f [2022-06-29T14:00:28.653Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T14:00:28.653Z] ---> Running in a798325e4927 [2022-06-29T14:00:29.641Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T14:00:30.234Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T14:00:31.217Z] OK: 224 MiB in 56 packages [2022-06-29T14:00:31.816Z] Removing intermediate container a798325e4927 [2022-06-29T14:00:31.816Z] ---> 88b5d5f1fc72 [2022-06-29T14:00:31.816Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-29T14:00:32.089Z] ---> Running in 79bcee7638e4 [2022-06-29T14:00:32.364Z] Removing intermediate container 79bcee7638e4 [2022-06-29T14:00:32.364Z] ---> 792f43c51059 [2022-06-29T14:00:32.364Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-29T14:00:32.962Z] ---> abac8bad7013 [2022-06-29T14:00:32.962Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T14:00:32.962Z] ---> Running in e5c0e0fe72a8 [2022-06-29T14:00:34.939Z] Removing intermediate container e5c0e0fe72a8 [2022-06-29T14:00:34.939Z] ---> 4ab90d8d91b1 [2022-06-29T14:00:34.939Z] Step 11/25 : COPY . . [2022-06-29T14:00:35.213Z] ---> b0dcd5265aac [2022-06-29T14:00:35.213Z] Step 12/25 : RUN $MAKE [2022-06-29T14:00:35.213Z] ---> Running in 4b16aafd1637 [2022-06-29T14:00:36.200Z] 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-06-29T14:02:43.053Z] Removing intermediate container 4b16aafd1637 [2022-06-29T14:02:43.053Z] ---> 98d7848af1d1 [2022-06-29T14:02:43.053Z] Step 13/25 : FROM alpine:3.14 [2022-06-29T14:02:43.053Z] 3.14: Pulling from library/alpine [2022-06-29T14:02:43.053Z] 455c02918c45: Pulling fs layer [2022-06-29T14:02:43.053Z] 455c02918c45: Download complete [2022-06-29T14:02:43.053Z] 455c02918c45: Pull complete [2022-06-29T14:02:43.053Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T14:02:43.053Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T14:02:43.053Z] ---> ac73e934f311 [2022-06-29T14:02:43.053Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-29T14:02:43.053Z] ---> Running in ca8ff7152112 [2022-06-29T14:02:43.053Z] Removing intermediate container ca8ff7152112 [2022-06-29T14:02:43.053Z] ---> d1527d6f7998 [2022-06-29T14:02:43.053Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-29T14:02:43.053Z] ---> Running in fabe62bb11e8 [2022-06-29T14:02:43.053Z] Removing intermediate container fabe62bb11e8 [2022-06-29T14:02:43.053Z] ---> 9e0cadcf74e6 [2022-06-29T14:02:43.053Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T14:02:43.053Z] ---> Running in 64a8b2aefdd0 [2022-06-29T14:02:43.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T14:02:43.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T14:02:43.053Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T14:02:43.053Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T14:02:43.053Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T14:02:43.053Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T14:02:43.053Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T14:02:43.053Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T14:02:43.053Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T14:02:43.053Z] OK: 8 MiB in 20 packages [2022-06-29T14:02:43.053Z] Removing intermediate container 64a8b2aefdd0 [2022-06-29T14:02:43.053Z] ---> fa39ddb6a67c [2022-06-29T14:02:43.053Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-29T14:02:43.053Z] ---> e996553186e9 [2022-06-29T14:02:43.053Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-29T14:02:43.053Z] ---> cb4e35548e12 [2022-06-29T14:02:43.053Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-29T14:02:43.053Z] ---> 70cf9ea26945 [2022-06-29T14:02:43.053Z] Step 20/25 : EXPOSE 59986 [2022-06-29T14:02:43.053Z] ---> Running in b9f77c64badd [2022-06-29T14:02:43.053Z] Removing intermediate container b9f77c64badd [2022-06-29T14:02:43.053Z] ---> 4d02cc8478d5 [2022-06-29T14:02:43.053Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-29T14:02:43.053Z] ---> Running in 02abe57bdbe1 [2022-06-29T14:02:43.053Z] Removing intermediate container 02abe57bdbe1 [2022-06-29T14:02:43.053Z] ---> 74bac767be6f [2022-06-29T14:02:43.053Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-29T14:02:43.053Z] ---> Running in c8aac519d4bf [2022-06-29T14:02:43.053Z] Removing intermediate container c8aac519d4bf [2022-06-29T14:02:43.053Z] ---> 0908a2e5e082 [2022-06-29T14:02:43.053Z] Step 23/25 : LABEL arch=arm64 [2022-06-29T14:02:43.053Z] ---> Running in 6d31a10601aa [2022-06-29T14:02:43.053Z] Removing intermediate container 6d31a10601aa [2022-06-29T14:02:43.053Z] ---> ff935059b7dc [2022-06-29T14:02:43.053Z] Step 24/25 : LABEL git_sha=496835d219091b656bc868f0a1a76422ee3d7f65 [2022-06-29T14:02:43.053Z] ---> Running in 60327a4f8bc8 [2022-06-29T14:02:43.053Z] Removing intermediate container 60327a4f8bc8 [2022-06-29T14:02:43.053Z] ---> 26c68d59211b [2022-06-29T14:02:43.053Z] Step 25/25 : LABEL version=0.0.0 [2022-06-29T14:02:43.053Z] ---> Running in 17a0475d123c [2022-06-29T14:02:43.053Z] Removing intermediate container 17a0475d123c [2022-06-29T14:02:43.053Z] ---> faedf052cd0e [2022-06-29T14:02:43.053Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T14:02:43.053Z] Successfully built faedf052cd0e [2022-06-29T14:02:43.053Z] 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-06-29T14:02:43.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T14:02:43.494Z] [2022-06-29T14:02:43.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T14:02:43.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T14:02:44.128Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T14:02:44.128Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T14:02:44.128Z] 04944245beec: Pulling fs layer [2022-06-29T14:02:44.128Z] 699f458cf7ca: Pulling fs layer [2022-06-29T14:02:44.128Z] 765212b225bb: Pulling fs layer [2022-06-29T14:02:44.128Z] f23df028b6ca: Pulling fs layer [2022-06-29T14:02:44.128Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T14:02:44.128Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T14:02:44.128Z] f23df028b6ca: Waiting [2022-06-29T14:02:44.128Z] d65c8cfc05b1: Waiting [2022-06-29T14:02:44.128Z] 2437ff75d9bd: Waiting [2022-06-29T14:02:44.128Z] 765212b225bb: Waiting [2022-06-29T14:02:44.128Z] 04944245beec: Verifying Checksum [2022-06-29T14:02:44.128Z] 04944245beec: Download complete [2022-06-29T14:02:44.128Z] 765212b225bb: Download complete [2022-06-29T14:02:44.128Z] f23df028b6ca: Download complete [2022-06-29T14:02:44.128Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T14:02:44.128Z] d65c8cfc05b1: Download complete [2022-06-29T14:02:44.408Z] 699f458cf7ca: Verifying Checksum [2022-06-29T14:02:44.408Z] 699f458cf7ca: Download complete [2022-06-29T14:02:44.684Z] 8998bd30e6a1: Download complete [2022-06-29T14:02:47.321Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T14:02:47.321Z] 2437ff75d9bd: Download complete [2022-06-29T14:02:48.763Z] 8998bd30e6a1: Pull complete [2022-06-29T14:02:49.364Z] 04944245beec: Pull complete [2022-06-29T14:02:50.805Z] 699f458cf7ca: Pull complete [2022-06-29T14:02:51.080Z] 765212b225bb: Pull complete [2022-06-29T14:02:52.069Z] f23df028b6ca: Pull complete [2022-06-29T14:02:52.069Z] d65c8cfc05b1: Pull complete [2022-06-29T14:03:07.177Z] 2437ff75d9bd: Pull complete [2022-06-29T14:03:07.177Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T14:03:07.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T14:03:07.177Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T14:03:07.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container [2022-06-29T14:03:07.521Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-06-29T14:03:10.062Z] $ docker top 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:10.997Z] ---> job-cost.sh [2022-06-29T14:03:10.997Z] lf-activate-venv: SKIPPING [2022-06-29T14:03:10.997Z] INFO: No Stack... [2022-06-29T14:03:11.269Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T14:03:12.245Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T14:03:12.911Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-06-29T14:03:12.911Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T14:03:12.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [2022-06-29T14:03:12.979Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] did not exist. Created. [2022-06-29T14:03:12.979Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T14:03:13.670Z] /w/workspace/device-rest-go/2@tmp/durable-d0eedfb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T14:03:14.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T14:03:14.369Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T14:03:14.414Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T14:03:14.421Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T14:03:14.444Z] $ docker stop --time=1 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 [2022-06-29T14:03:15.932Z] $ docker rm -f 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 [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-06-29T14:03:16.407Z] provisioning config files... [2022-06-29T14:03:16.419Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config4692122688463069391tmp [Pipeline] { [Pipeline] sh [2022-06-29T14:03:16.754Z] + set +x [2022-06-29T14:03:16.754Z] + curl -s https://codecov.io/bash [2022-06-29T14:03:16.754Z] + bash -s -- [2022-06-29T14:03:16.754Z] [2022-06-29T14:03:16.754Z] _____ _ [2022-06-29T14:03:16.754Z] / ____| | | [2022-06-29T14:03:16.754Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T14:03:16.754Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T14:03:16.754Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T14:03:16.754Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T14:03:16.754Z] Bash-1.0.6 [2022-06-29T14:03:16.754Z] [2022-06-29T14:03:16.754Z] [2022-06-29T14:03:16.754Z] ==> git version 2.25.1 found [2022-06-29T14:03:16.754Z] ==> 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-06-29T14:03:16.754Z] Release-Date: 2020-01-08 [2022-06-29T14:03:16.754Z] 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-06-29T14:03:16.754Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T14:03:16.754Z] ==> Jenkins CI detected. [2022-06-29T14:03:16.754Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T14:03:16.754Z] project root: . [2022-06-29T14:03:16.754Z] --> token set from env [2022-06-29T14:03:16.754Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T14:03:16.754Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T14:03:16.754Z] ==> Python coveragepy not found [2022-06-29T14:03:16.754Z] ==> Searching for coverage reports in: [2022-06-29T14:03:16.754Z] + . [2022-06-29T14:03:16.754Z] -> Found 1 reports [2022-06-29T14:03:16.754Z] ==> Detecting git/mercurial file structure [2022-06-29T14:03:16.754Z] ==> Reading reports [2022-06-29T14:03:16.754Z] + ./coverage.out bytes=9355 [2022-06-29T14:03:16.754Z] ==> Appending adjustments [2022-06-29T14:03:16.754Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T14:03:17.014Z] + Found adjustments [2022-06-29T14:03:17.014Z] ==> Gzipping contents [2022-06-29T14:03:17.014Z] 4.0K /tmp/codecov.WI9TAC.gz [2022-06-29T14:03:17.014Z] ==> Uploading reports [2022-06-29T14:03:17.014Z] url: https://codecov.io [2022-06-29T14:03:17.014Z] query: branch=PR-202&commit=496835d219091b656bc868f0a1a76422ee3d7f65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T14:03:17.014Z] -> Pinging Codecov [2022-06-29T14:03:17.014Z] 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=496835d219091b656bc868f0a1a76422ee3d7f65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-06-29T14:03:17.275Z] -> Uploading to [2022-06-29T14:03:17.275Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/4E5D53B4F1F92C436F7061BF334D961C/496835d219091b656bc868f0a1a76422ee3d7f65/9aefcad0-a18c-4a45-828f-1243c3a3c6eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T140317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af1c8d9fe576fa40ba7597a43bdef4be2f231b107e811195aea9f7e713da0cbd [2022-06-29T14:03:17.275Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T14:03:17.275Z] Dload Upload Total Spent Left Speed [2022-06-29T14:03:17.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1787 0 0 100 1787 0 8273 --:--:-- --:--:-- --:--:-- 8273 [2022-06-29T14:03:17.535Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] } [2022-06-29T14:03:17.543Z] 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-06-29T14:03:18.276Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-06-29T14:03:18.276Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T14:03:18.276Z] total 16 [2022-06-29T14:03:18.276Z] drwxr-xr-x 3 root root 4096 Jun 29 13:56 . [2022-06-29T14:03:18.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:56 .. [2022-06-29T14:03:18.276Z] drwxr-xr-x 2 root root 4096 Jun 29 13:56 cost [2022-06-29T14:03:18.276Z] -rw-r--r-- 1 root root 85 Jun 29 13:56 cost.csv [2022-06-29T14:03:18.276Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T14:03:18.276Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-06-29T14:03:18.276Z] total 16 [2022-06-29T14:03:18.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:56 . [2022-06-29T14:03:18.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:56 .. [2022-06-29T14:03:18.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 13:56 cost [2022-06-29T14:03:18.276Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 13:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:18.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:19.433Z] ---> package-listing.sh [2022-06-29T14:03:19.433Z] ++ facter osfamily [2022-06-29T14:03:19.433Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T14:03:19.694Z] + OS_FAMILY=debian [2022-06-29T14:03:19.694Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-06-29T14:03:19.694Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T14:03:19.694Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T14:03:19.694Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T14:03:19.694Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T14:03:19.694Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T14:03:19.694Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T14:03:19.694Z] + case "${OS_FAMILY}" in [2022-06-29T14:03:19.694Z] + dpkg -l [2022-06-29T14:03:19.694Z] + grep '^ii' [2022-06-29T14:03:19.694Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T14:03:19.694Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T14:03:19.694Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T14:03:19.694Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-06-29T14:03:19.694Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-06-29T14:03:19.694Z] + 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-06-29T14:03:19.708Z] 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-06-29T14:03:19.989Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T14:03:20.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T14:03:20.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T14:03:20.636Z] prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container [2022-06-29T14:03:20.683Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T14:03:20.936Z] $ docker top 16dc7dbf32502a0263281d27363ebfef760f38fa31ef209c026b82d58c4ef443 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T14:03:21.274Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T14:03:21.562Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T14:03:21.851Z] + ls /var/log/sa-host [2022-06-29T14:03:21.852Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T14:03:21.971Z] provisioning config files... [2022-06-29T14:03:21.980Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config684376740733562672tmp [Pipeline] { [Pipeline] echo [2022-06-29T14:03:21.995Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:22.284Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T14:03:22.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:22.630Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T14:03:22.639Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:22.923Z] ---> sudo-logs.sh [2022-06-29T14:03:22.923Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T14:03:22.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:23.227Z] ---> job-cost.sh [2022-06-29T14:03:23.227Z] lf-activate-venv: SKIPPING [2022-06-29T14:03:23.227Z] DEBUG: total: 0.2199999988079071 [2022-06-29T14:03:23.227Z] INFO: Retrieving Stack Cost... [2022-06-29T14:03:23.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T14:03:24.057Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T14:03:24.069Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T14:03:24.354Z] ---> logs-deploy.sh [2022-06-29T14:03:24.354Z] lf-activate-venv: SKIPPING [2022-06-29T14:03:24.354Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/2 [2022-06-29T14:03:24.354Z] INFO: archiving workspace using pattern(s): [2022-06-29T14:03:25.294Z] Archives upload complete. [2022-06-29T14:03:25.294Z] INFO: archiving logs to Nexus