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 7d6adb19658aebbdce1e1ab237d480acf111f8fb 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-ssh16778266551373871596.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-ssh9394471131854932345.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-ssh6095928907763417079.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-ssh17328953764803646401.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-ssh12462825324445585065.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-16570 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 7d6adb19658aebbdce1e1ab237d480acf111f8fb Merge succeeded, producing 7d6adb19658aebbdce1e1ab237d480acf111f8fb Checking out Revision 7d6adb19658aebbdce1e1ab237d480acf111f8fb (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 7d6adb19658aebbdce1e1ab237d480acf111f8fb # 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 7d6adb19658aebbdce1e1ab237d480acf111f8fb # timeout=10 Commit message: "refactor(snap): upgrade configure hook's formatting" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-01T13:13:08.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-01T13:13:08.271Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-01T13:13:08.285Z] ========================================================= [2022-07-01T13:13:08.285Z] EdgeX Global Pipelines Version Info [2022-07-01T13:13:08.285Z] ========================================================= [Pipeline] libraryResource > git rev-list --no-walk d6ec2b37c997e05c5428d7ad3e93cb13e582f885 # timeout=10 [Pipeline] sh [2022-07-01T13:13:09.079Z] ------------------- [2022-07-01T13:13:09.079Z] stable info: [2022-07-01T13:13:09.079Z] ------------------- [2022-07-01T13:13:09.079Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-01T13:13:09.079Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-01T13:13:09.079Z] Message: update stable to v1.0.234 [2022-07-01T13:13:09.655Z] ------------------- [2022-07-01T13:13:09.655Z] experimental info: [2022-07-01T13:13:09.655Z] ------------------- [2022-07-01T13:13:09.655Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-01T13:13:09.655Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-01T13:13:09.655Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-01T13:13:09.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-01T13:13:09.870Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-01T13:13:09.884Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-01T13:13:09.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-01T13:13:09.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-01T13:13:09.918Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-01T13:13:09.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-01T13:13:09.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-01T13:13:09.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-01T13:13:09.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-01T13:13:09.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-01T13:13:10.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-01T13:13:10.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-01T13:13:10.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-01T13:13:10.039Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-01T13:13:10.049Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-01T13:13:10.063Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T13:13:10.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-01T13:13:10.085Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-01T13:13:10.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-01T13:13:10.112Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-01T13:13:10.126Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-01T13:13:10.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-01T13:13:10.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-01T13:13:10.168Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-01T13:13:10.177Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-01T13:13:10.189Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-01T13:13:10.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-07-01T13:13:10.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-07-01T13:13:10.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-07-01T13:13:10.234Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d6adb19658aebbdce1e1ab237d480acf111f8fb [Pipeline] echo [2022-07-01T13:13:10.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d6adb1 [Pipeline] echo [2022-07-01T13:13:10.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T13:13:10.304Z] provisioning config files... [2022-07-01T13:13:10.318Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2206440204443226684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:13:10.629Z] ---> docker-login.sh [2022-07-01T13:13:10.630Z] nexus3.edgexfoundry.org:10001 [2022-07-01T13:13:10.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:10.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:10.890Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:10.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:10.890Z] [2022-07-01T13:13:10.890Z] Login Succeeded [2022-07-01T13:13:10.890Z] nexus3.edgexfoundry.org:10002 [2022-07-01T13:13:11.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:11.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:11.152Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:11.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:11.152Z] [2022-07-01T13:13:11.152Z] Login Succeeded [2022-07-01T13:13:11.152Z] nexus3.edgexfoundry.org:10003 [2022-07-01T13:13:11.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:11.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:11.413Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:11.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:11.413Z] [2022-07-01T13:13:11.413Z] Login Succeeded [2022-07-01T13:13:11.413Z] nexus3.edgexfoundry.org:10004 [2022-07-01T13:13:11.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:11.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:11.413Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:11.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:11.413Z] [2022-07-01T13:13:11.413Z] Login Succeeded [2022-07-01T13:13:11.413Z] docker.io [2022-07-01T13:13:11.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:11.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:11.939Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:11.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:11.939Z] [2022-07-01T13:13:11.939Z] Login Succeeded [2022-07-01T13:13:11.939Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T13:13:11.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-01T13:13:12.324Z] + git rev-list -1 --merges 7d6adb19658aebbdce1e1ab237d480acf111f8fb~1..7d6adb19658aebbdce1e1ab237d480acf111f8fb [Pipeline] echo [2022-07-01T13:13:12.449Z] -----------> git rev-list -1 --merges 7d6adb19658aebbdce1e1ab237d480acf111f8fb~1..7d6adb19658aebbdce1e1ab237d480acf111f8fb 7d6adb19658aebbdce1e1ab237d480acf111f8fb [false] [Pipeline] sh [2022-07-01T13:13:12.738Z] + git log --format=format:%s -1 7d6adb19658aebbdce1e1ab237d480acf111f8fb [Pipeline] echo [2022-07-01T13:13:12.757Z] ========================================================= [2022-07-01T13:13:12.757Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-01T13:13:12.757Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T13:13:13.097Z] + git log --format=format:%s -1 7d6adb19658aebbdce1e1ab237d480acf111f8fb [Pipeline] echo [2022-07-01T13:13:13.109Z] [semverPrep] GIT_COMMIT: 7d6adb19658aebbdce1e1ab237d480acf111f8fb, Commit Message: refactor(snap): upgrade configure hook's formatting [Pipeline] echo [2022-07-01T13:13:13.118Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-01T13:13:13.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-01T13:13:13.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-01T13:13:13.497Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-01T13:13:13.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-01T13:13:13.497Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-01T13:13:13.497Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-01T13:13:13.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:13:13.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T13:13:13.922Z] [2022-07-01T13:13:13.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:13:14.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T13:13:14.232Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-01T13:13:14.232Z] 42c077c10790: Pulling fs layer [2022-07-01T13:13:14.232Z] f63e77b7563a: Pulling fs layer [2022-07-01T13:13:14.232Z] bd5fdadae976: Pulling fs layer [2022-07-01T13:13:14.232Z] 205491f53016: Pulling fs layer [2022-07-01T13:13:14.232Z] df18705c85c3: Pulling fs layer [2022-07-01T13:13:14.232Z] bdb3f477010e: Pulling fs layer [2022-07-01T13:13:14.232Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-01T13:13:14.232Z] 2c6e9b1d212d: Pulling fs layer [2022-07-01T13:13:14.232Z] bdb8f0575790: Pulling fs layer [2022-07-01T13:13:14.232Z] 386e3cb2ff24: Pulling fs layer [2022-07-01T13:13:14.232Z] 2343380bae48: Pulling fs layer [2022-07-01T13:13:14.232Z] c8a8fc8e1c8f: Waiting [2022-07-01T13:13:14.232Z] 2c6e9b1d212d: Waiting [2022-07-01T13:13:14.232Z] bdb8f0575790: Waiting [2022-07-01T13:13:14.232Z] 386e3cb2ff24: Waiting [2022-07-01T13:13:14.232Z] 2343380bae48: Waiting [2022-07-01T13:13:14.232Z] df18705c85c3: Waiting [2022-07-01T13:13:14.232Z] 205491f53016: Waiting [2022-07-01T13:13:14.232Z] bdb3f477010e: Waiting [2022-07-01T13:13:14.232Z] f63e77b7563a: Verifying Checksum [2022-07-01T13:13:14.232Z] f63e77b7563a: Download complete [2022-07-01T13:13:14.232Z] 205491f53016: Verifying Checksum [2022-07-01T13:13:14.232Z] 205491f53016: Download complete [2022-07-01T13:13:14.491Z] bd5fdadae976: Verifying Checksum [2022-07-01T13:13:14.491Z] bd5fdadae976: Download complete [2022-07-01T13:13:14.491Z] df18705c85c3: Verifying Checksum [2022-07-01T13:13:14.491Z] df18705c85c3: Download complete [2022-07-01T13:13:14.491Z] bdb3f477010e: Verifying Checksum [2022-07-01T13:13:14.492Z] bdb3f477010e: Download complete [2022-07-01T13:13:14.492Z] 2c6e9b1d212d: Verifying Checksum [2022-07-01T13:13:14.492Z] 2c6e9b1d212d: Download complete [2022-07-01T13:13:14.492Z] bdb8f0575790: Verifying Checksum [2022-07-01T13:13:14.492Z] bdb8f0575790: Download complete [2022-07-01T13:13:14.492Z] 386e3cb2ff24: Verifying Checksum [2022-07-01T13:13:14.492Z] 386e3cb2ff24: Download complete [2022-07-01T13:13:14.492Z] 2343380bae48: Verifying Checksum [2022-07-01T13:13:14.492Z] 2343380bae48: Download complete [2022-07-01T13:13:14.492Z] 42c077c10790: Verifying Checksum [2022-07-01T13:13:14.492Z] 42c077c10790: Download complete [2022-07-01T13:13:14.750Z] c8a8fc8e1c8f: Download complete [2022-07-01T13:13:16.140Z] 42c077c10790: Pull complete [2022-07-01T13:13:16.140Z] f63e77b7563a: Pull complete [2022-07-01T13:13:16.708Z] bd5fdadae976: Pull complete [2022-07-01T13:13:16.708Z] 205491f53016: Pull complete [2022-07-01T13:13:16.970Z] df18705c85c3: Pull complete [2022-07-01T13:13:17.231Z] bdb3f477010e: Pull complete [2022-07-01T13:13:19.158Z] c8a8fc8e1c8f: Pull complete [2022-07-01T13:13:19.158Z] 2c6e9b1d212d: Pull complete [2022-07-01T13:13:19.158Z] bdb8f0575790: Pull complete [2022-07-01T13:13:19.158Z] 386e3cb2ff24: Pull complete [2022-07-01T13:13:19.424Z] 2343380bae48: Pull complete [2022-07-01T13:13:19.424Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-01T13:13:19.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-01T13:13:19.424Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:13:19.528Z] prd-ubuntu20.04-docker-8c-8g-16570 does not seem to be running inside a container [2022-07-01T13:13:19.573Z] $ 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-07-01T13:13:21.170Z] $ docker top 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 -eo pid,comm [2022-07-01T13:13:21.238Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-01T13:13:21.238Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-01T13:13:21.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T13:13:21.270Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T13:13:21.408Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T13:13:21.415Z] $ docker exec 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 ssh-agent [2022-07-01T13:13:21.541Z] SSH_AUTH_SOCK=/tmp/ssh-DiWN2KZENJfi/agent.34 [2022-07-01T13:13:21.541Z] SSH_AGENT_PID=41 [2022-07-01T13:13:21.548Z] Running ssh-add (command line suppressed) [2022-07-01T13:13:21.672Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_9193019917699892842.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_9193019917699892842.key) [2022-07-01T13:13:21.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T13:13:21.983Z] + git tag --points-at HEAD [Pipeline] } [2022-07-01T13:13:22.001Z] $ docker exec --env ******** --env ******** 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 ssh-agent -k [2022-07-01T13:13:22.131Z] unset SSH_AUTH_SOCK; [2022-07-01T13:13:22.132Z] unset SSH_AGENT_PID; [2022-07-01T13:13:22.132Z] echo Agent pid 41 killed; [2022-07-01T13:13:22.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-01T13:13:22.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-01T13:13:22.170Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-01T13:13:22.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-01T13:13:22.317Z] $ docker exec 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 ssh-agent [2022-07-01T13:13:22.448Z] SSH_AUTH_SOCK=/tmp/ssh-M85NvQtPks28/agent.74 [2022-07-01T13:13:22.448Z] SSH_AGENT_PID=82 [2022-07-01T13:13:22.454Z] Running ssh-add (command line suppressed) [2022-07-01T13:13:22.577Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_4782304571742037747.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_4782304571742037747.key) [2022-07-01T13:13:22.589Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-01T13:13:22.876Z] + git semver init [2022-07-01T13:13:23.137Z] 2022-07-01 13:13:23,073 [run_init] DEBUG init version:0.0.0 force:False [2022-07-01T13:13:23.137Z] 2022-07-01 13:13:23,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-01T13:13:23.137Z] 2022-07-01 13:13:23,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-01T13:13:23.137Z] 2022-07-01 13:13:23,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,090 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,091 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,091 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,095 [execute] INFO git cat-file --batch-check [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,103 [execute] INFO git cat-file --batch [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-01T13:13:24.522Z] 2022-07-01 13:13:24,108 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-01T13:13:24.522Z] 0.0.0 [Pipeline] } [2022-07-01T13:13:24.537Z] $ docker exec --env ******** --env ******** 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 ssh-agent -k [2022-07-01T13:13:24.653Z] unset SSH_AUTH_SOCK; [2022-07-01T13:13:24.653Z] unset SSH_AGENT_PID; [2022-07-01T13:13:24.654Z] echo Agent pid 82 killed; [2022-07-01T13:13:24.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-01T13:13:24.973Z] + git semver [Pipeline] } [2022-07-01T13:13:25.254Z] $ docker stop --time=1 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 [2022-07-01T13:13:26.589Z] $ docker rm -f 9b757bc656c59a6b0a0c04a6ce74707212242e34884ddafddecddbb8350ea3c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T13:13:26.946Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-01T13:13:27.201Z] Stashed 1 file(s) [Pipeline] echo [2022-07-01T13:13:27.204Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T13:13:27.345Z] provisioning config files... [2022-07-01T13:13:27.355Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config5201730822601931254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:13:27.656Z] ---> docker-login.sh [2022-07-01T13:13:27.656Z] nexus3.edgexfoundry.org:10001 [2022-07-01T13:13:27.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:27.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:27.656Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:27.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:27.656Z] [2022-07-01T13:13:27.656Z] Login Succeeded [2022-07-01T13:13:27.656Z] nexus3.edgexfoundry.org:10002 [2022-07-01T13:13:27.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:27.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:27.917Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:27.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:27.917Z] [2022-07-01T13:13:27.917Z] Login Succeeded [2022-07-01T13:13:27.917Z] nexus3.edgexfoundry.org:10003 [2022-07-01T13:13:27.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:27.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:27.917Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:27.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:27.917Z] [2022-07-01T13:13:27.917Z] Login Succeeded [2022-07-01T13:13:27.917Z] nexus3.edgexfoundry.org:10004 [2022-07-01T13:13:28.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:28.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:28.178Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:28.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:28.178Z] [2022-07-01T13:13:28.178Z] Login Succeeded [2022-07-01T13:13:28.178Z] docker.io [2022-07-01T13:13:28.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:13:28.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:13:28.753Z] Configure a credential helper to remove this warning. See [2022-07-01T13:13:28.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:13:28.753Z] [2022-07-01T13:13:28.753Z] Login Succeeded [2022-07-01T13:13:28.753Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T13:13:28.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-01T13:13:28.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T13:13:28.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T13:13:28.849Z] ========================================================= [2022-07-01T13:13:28.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-01T13:13:28.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:13:29.178Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-01T13:13:29.178Z] Sending build context to Docker daemon 10.67MB [2022-07-01T13:13:29.178Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T13:13:29.178Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-01T13:13:29.178Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-01T13:13:29.178Z] 59bf1c3509f3: Pulling fs layer [2022-07-01T13:13:29.178Z] 666ba61612fd: Pulling fs layer [2022-07-01T13:13:29.178Z] 8ed8ca486205: Pulling fs layer [2022-07-01T13:13:29.178Z] cc1cd167ecdc: Pulling fs layer [2022-07-01T13:13:29.178Z] c516ae0d96e1: Pulling fs layer [2022-07-01T13:13:29.178Z] 684cea983483: Pulling fs layer [2022-07-01T13:13:29.178Z] dd3240ac7de5: Pulling fs layer [2022-07-01T13:13:29.178Z] b1e948a4e11c: Pulling fs layer [2022-07-01T13:13:29.178Z] a8fd76ee1af6: Pulling fs layer [2022-07-01T13:13:29.178Z] 646ad004c059: Pulling fs layer [2022-07-01T13:13:29.178Z] 684cea983483: Waiting [2022-07-01T13:13:29.178Z] dd3240ac7de5: Waiting [2022-07-01T13:13:29.178Z] b1e948a4e11c: Waiting [2022-07-01T13:13:29.178Z] a8fd76ee1af6: Waiting [2022-07-01T13:13:29.178Z] 646ad004c059: Waiting [2022-07-01T13:13:29.178Z] cc1cd167ecdc: Waiting [2022-07-01T13:13:29.178Z] c516ae0d96e1: Waiting [2022-07-01T13:13:29.178Z] 8ed8ca486205: Verifying Checksum [2022-07-01T13:13:29.178Z] 8ed8ca486205: Download complete [2022-07-01T13:13:29.438Z] 666ba61612fd: Verifying Checksum [2022-07-01T13:13:29.438Z] 666ba61612fd: Download complete [2022-07-01T13:13:29.438Z] c516ae0d96e1: Verifying Checksum [2022-07-01T13:13:29.438Z] c516ae0d96e1: Download complete [2022-07-01T13:13:29.438Z] 684cea983483: Verifying Checksum [2022-07-01T13:13:29.438Z] 684cea983483: Download complete [2022-07-01T13:13:29.438Z] 59bf1c3509f3: Verifying Checksum [2022-07-01T13:13:29.438Z] 59bf1c3509f3: Download complete [2022-07-01T13:13:29.438Z] dd3240ac7de5: Verifying Checksum [2022-07-01T13:13:29.438Z] dd3240ac7de5: Download complete [2022-07-01T13:13:29.438Z] b1e948a4e11c: Verifying Checksum [2022-07-01T13:13:29.438Z] b1e948a4e11c: Download complete [2022-07-01T13:13:29.438Z] 59bf1c3509f3: Pull complete [2022-07-01T13:13:29.710Z] 666ba61612fd: Pull complete [2022-07-01T13:13:29.710Z] 8ed8ca486205: Pull complete [2022-07-01T13:13:30.278Z] a8fd76ee1af6: Verifying Checksum [2022-07-01T13:13:30.278Z] a8fd76ee1af6: Download complete [2022-07-01T13:13:30.278Z] 646ad004c059: Verifying Checksum [2022-07-01T13:13:30.278Z] 646ad004c059: Download complete [2022-07-01T13:13:30.278Z] cc1cd167ecdc: Verifying Checksum [2022-07-01T13:13:30.278Z] cc1cd167ecdc: Download complete [2022-07-01T13:13:34.471Z] cc1cd167ecdc: Pull complete [2022-07-01T13:13:34.471Z] c516ae0d96e1: Pull complete [2022-07-01T13:13:34.471Z] 684cea983483: Pull complete [2022-07-01T13:13:34.471Z] dd3240ac7de5: Pull complete [2022-07-01T13:13:34.471Z] b1e948a4e11c: Pull complete [2022-07-01T13:13:37.012Z] a8fd76ee1af6: Pull complete [2022-07-01T13:13:37.583Z] 646ad004c059: Pull complete [2022-07-01T13:13:37.583Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-01T13:13:37.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-01T13:13:37.583Z] ---> 8f69c11f6b0c [2022-07-01T13:13:37.583Z] Step 3/12 : ARG MAKE='make build' [2022-07-01T13:13:40.130Z] ---> Running in a5b8a9e6ab3f [2022-07-01T13:13:40.130Z] Removing intermediate container a5b8a9e6ab3f [2022-07-01T13:13:40.130Z] ---> e7be7457b8a5 [2022-07-01T13:13:40.130Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T13:13:40.130Z] ---> Running in aa2a3a9161f8 [2022-07-01T13:13:40.130Z] Removing intermediate container aa2a3a9161f8 [2022-07-01T13:13:40.130Z] ---> 346c497d19cf [2022-07-01T13:13:40.130Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T13:13:40.130Z] ---> Running in 3a4a4f949a64 [2022-07-01T13:13:40.130Z] Removing intermediate container 3a4a4f949a64 [2022-07-01T13:13:40.130Z] ---> c88b89a5f62b [2022-07-01T13:13:40.130Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T13:13:40.130Z] ---> Running in 8d0e0a24cdd5 [2022-07-01T13:13:41.074Z] Removing intermediate container 8d0e0a24cdd5 [2022-07-01T13:13:41.074Z] ---> 01b5b3c7f4ab [2022-07-01T13:13:41.074Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T13:13:41.074Z] ---> Running in 7286cbcc40c7 [2022-07-01T13:13:41.334Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T13:13:42.276Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T13:13:42.316Z] Still waiting to schedule task [2022-07-01T13:13:42.316Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-01T13:13:42.535Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-01T13:13:42.535Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-01T13:13:42.536Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-01T13:13:42.795Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-01T13:13:42.795Z] Executing busybox-1.34.1-r3.trigger [2022-07-01T13:13:42.795Z] OK: 224 MiB in 56 packages [2022-07-01T13:13:43.367Z] Removing intermediate container 7286cbcc40c7 [2022-07-01T13:13:43.367Z] ---> 07169effdd5d [2022-07-01T13:13:43.367Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-01T13:13:43.367Z] ---> Running in 87e5d9e0033f [2022-07-01T13:13:43.367Z] Removing intermediate container 87e5d9e0033f [2022-07-01T13:13:43.367Z] ---> a8715778fd32 [2022-07-01T13:13:43.367Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-01T13:13:43.629Z] ---> af83b2089ed4 [2022-07-01T13:13:43.629Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T13:13:43.629Z] ---> Running in 04f9cceed988 [2022-07-01T13:14:01.756Z] Removing intermediate container 04f9cceed988 [2022-07-01T13:14:01.756Z] ---> 2904a57b5e59 [2022-07-01T13:14:01.756Z] Step 11/12 : COPY . . [2022-07-01T13:14:01.756Z] ---> 14bb4b669fe3 [2022-07-01T13:14:01.756Z] Step 12/12 : RUN $MAKE [2022-07-01T13:14:01.756Z] ---> Running in b376c22ff312 [2022-07-01T13:14:01.756Z] noop [2022-07-01T13:14:01.756Z] Removing intermediate container b376c22ff312 [2022-07-01T13:14:01.756Z] ---> 383cb62e8341 [2022-07-01T13:14:01.756Z] Successfully built 383cb62e8341 [2022-07-01T13:14:01.756Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:14:02.077Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T13:14:02.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:14:02.163Z] prd-ubuntu20.04-docker-8c-8g-16570 does not seem to be running inside a container [2022-07-01T13:14:02.206Z] $ 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-07-01T13:14:02.599Z] $ docker top 13631504673e46a23687fd4b09f65f6acb19a81fcdc4c453f94947649a782ae2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T13:14:02.956Z] + go version [2022-07-01T13:14:02.956Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-01T13:14:02.974Z] $ docker stop --time=1 13631504673e46a23687fd4b09f65f6acb19a81fcdc4c453f94947649a782ae2 [2022-07-01T13:14:04.261Z] $ docker rm -f 13631504673e46a23687fd4b09f65f6acb19a81fcdc4c453f94947649a782ae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:14:04.672Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-01T13:14:04.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:14:04.752Z] prd-ubuntu20.04-docker-8c-8g-16570 does not seem to be running inside a container [2022-07-01T13:14:04.791Z] $ 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-07-01T13:14:05.158Z] $ docker top 6fb87688b7d6b3c649e0499692aaf12a1b60ff6acc36a1ba34fceab7d1e6042c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T13:14:05.588Z] + make test [2022-07-01T13:14:05.589Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-01T13:14:05.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-01T13:14:15.886Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-01T13:14:15.886Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-07-01T13:14:22.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-01T13:14:26.662Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T13:14:26.662Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T13:14:26.662Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-01T13:14:26.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T13:14:26.694Z] $ docker stop --time=1 6fb87688b7d6b3c649e0499692aaf12a1b60ff6acc36a1ba34fceab7d1e6042c [2022-07-01T13:14:28.534Z] $ docker rm -f 6fb87688b7d6b3c649e0499692aaf12a1b60ff6acc36a1ba34fceab7d1e6042c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T13:14:28.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T13:14:29.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-01T13:14:29.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T13:14:29.809Z] + ls -al . [2022-07-01T13:14:29.809Z] total 172 [2022-07-01T13:14:29.809Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 1 13:14 . [2022-07-01T13:14:29.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 13:13 .. [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 1 13:13 .dockerignore [2022-07-01T13:14:29.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 13:13 .git [2022-07-01T13:14:29.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 13:13 .github [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 1 13:13 .gitignore [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 13:13 .golangci.yml [2022-07-01T13:14:29.809Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 13:13 .semver [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 1 13:13 Attribution.txt [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 1 13:13 CHANGELOG.md [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 1 13:13 Dockerfile [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 13:13 GOVERNANCE.md [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 1 13:13 Jenkinsfile [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 13:13 LICENSE [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 1 13:13 Makefile [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 13:13 OWNERS.md [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 1 13:13 README.md [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 13:13 VERSION [2022-07-01T13:14:29.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 13:13 bin [2022-07-01T13:14:29.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 13:13 cmd [2022-07-01T13:14:29.809Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 1 13:14 coverage.out [2022-07-01T13:14:29.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 13:13 driver [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 1 13:13 go.mod [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 1 13:13 go.sum [2022-07-01T13:14:29.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 13:13 snap [2022-07-01T13:14:29.809Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 1 13:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:14:30.120Z] + 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=7d6adb19658aebbdce1e1ab237d480acf111f8fb --label arch=amd64 --label version=0.0.0 . [2022-07-01T13:14:30.120Z] Sending build context to Docker daemon 10.68MB [2022-07-01T13:14:30.120Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T13:14:30.120Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-01T13:14:30.120Z] ---> 383cb62e8341 [2022-07-01T13:14:30.120Z] Step 3/25 : ARG MAKE='make build' [2022-07-01T13:14:30.382Z] ---> Running in 588bb3949ebe [2022-07-01T13:14:30.382Z] Removing intermediate container 588bb3949ebe [2022-07-01T13:14:30.382Z] ---> d71794ae12d9 [2022-07-01T13:14:30.382Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T13:14:30.382Z] ---> Running in 552be524a216 [2022-07-01T13:14:30.382Z] Removing intermediate container 552be524a216 [2022-07-01T13:14:30.382Z] ---> 4bb785abaa5e [2022-07-01T13:14:30.382Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T13:14:30.382Z] ---> Running in e596d62a2503 [2022-07-01T13:14:30.643Z] Removing intermediate container e596d62a2503 [2022-07-01T13:14:30.643Z] ---> ebb9565246c4 [2022-07-01T13:14:30.643Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T13:14:30.643Z] ---> Running in a8e19c72e01d [2022-07-01T13:14:31.213Z] Removing intermediate container a8e19c72e01d [2022-07-01T13:14:31.213Z] ---> 592f7092c015 [2022-07-01T13:14:31.213Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T13:14:31.213Z] ---> Running in 2ef832e45a34 [2022-07-01T13:14:31.478Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-01T13:14:32.421Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-01T13:14:32.682Z] OK: 224 MiB in 56 packages [2022-07-01T13:14:32.942Z] Removing intermediate container 2ef832e45a34 [2022-07-01T13:14:32.942Z] ---> 448aca3da464 [2022-07-01T13:14:32.942Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-01T13:14:32.942Z] ---> Running in 631e528b87c0 [2022-07-01T13:14:33.203Z] Removing intermediate container 631e528b87c0 [2022-07-01T13:14:33.203Z] ---> b359c43aa217 [2022-07-01T13:14:33.203Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-01T13:14:33.203Z] ---> f1766ab6beeb [2022-07-01T13:14:33.203Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T13:14:33.464Z] ---> Running in 9323880c9e52 [2022-07-01T13:14:34.040Z] Removing intermediate container 9323880c9e52 [2022-07-01T13:14:34.040Z] ---> c6184c88f94f [2022-07-01T13:14:34.040Z] Step 11/25 : COPY . . [2022-07-01T13:14:34.302Z] ---> d6dcac41e7cb [2022-07-01T13:14:34.302Z] Step 12/25 : RUN $MAKE [2022-07-01T13:14:34.302Z] ---> Running in 852c8e0b9388 [2022-07-01T13:14:34.562Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-01T13:14:56.526Z] Removing intermediate container 852c8e0b9388 [2022-07-01T13:14:56.526Z] ---> 8f9aaaefca79 [2022-07-01T13:14:56.526Z] Step 13/25 : FROM alpine:3.14 [2022-07-01T13:14:56.526Z] 3.14: Pulling from library/alpine [2022-07-01T13:14:56.526Z] 8663204ce13b: Pulling fs layer [2022-07-01T13:14:56.526Z] 8663204ce13b: Verifying Checksum [2022-07-01T13:14:56.526Z] 8663204ce13b: Download complete [2022-07-01T13:14:56.526Z] 8663204ce13b: Pull complete [2022-07-01T13:14:56.526Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-01T13:14:56.526Z] Status: Downloaded newer image for alpine:3.14 [2022-07-01T13:14:56.526Z] ---> e04c818066af [2022-07-01T13:14:56.526Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-01T13:14:56.526Z] ---> Running in c632c794d5b0 [2022-07-01T13:14:56.526Z] Removing intermediate container c632c794d5b0 [2022-07-01T13:14:56.526Z] ---> 1cd90b1ff54c [2022-07-01T13:14:56.526Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-01T13:14:56.526Z] ---> Running in 97b23a62aa6d [2022-07-01T13:14:56.526Z] Removing intermediate container 97b23a62aa6d [2022-07-01T13:14:56.526Z] ---> aeb8781b3bb8 [2022-07-01T13:14:56.526Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-01T13:14:56.526Z] ---> Running in b62a0b2e8a9d [2022-07-01T13:14:56.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-01T13:14:56.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-01T13:14:56.526Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-01T13:14:56.526Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-01T13:14:56.526Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-01T13:14:56.526Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-01T13:14:56.526Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-01T13:14:56.526Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-01T13:14:56.526Z] Executing busybox-1.33.1-r7.trigger [2022-07-01T13:14:56.526Z] OK: 8 MiB in 20 packages [2022-07-01T13:14:56.526Z] Removing intermediate container b62a0b2e8a9d [2022-07-01T13:14:56.526Z] ---> 9c5c38b2e0c7 [2022-07-01T13:14:56.526Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-01T13:14:56.526Z] ---> c74eaa518d53 [2022-07-01T13:14:56.526Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-01T13:14:56.788Z] ---> 1c39bcdbdb2a [2022-07-01T13:14:56.788Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-01T13:14:56.788Z] ---> 34283c31e488 [2022-07-01T13:14:56.788Z] Step 20/25 : EXPOSE 59986 [2022-07-01T13:14:56.788Z] ---> Running in ce796baacb62 [2022-07-01T13:14:57.048Z] Removing intermediate container ce796baacb62 [2022-07-01T13:14:57.048Z] ---> e8eb78857fdf [2022-07-01T13:14:57.048Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-01T13:14:57.048Z] ---> Running in 0761ae92ef2d [2022-07-01T13:14:57.048Z] Removing intermediate container 0761ae92ef2d [2022-07-01T13:14:57.048Z] ---> 0e729e2754d8 [2022-07-01T13:14:57.048Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-01T13:14:57.048Z] ---> Running in abd435cec323 [2022-07-01T13:14:57.309Z] Removing intermediate container abd435cec323 [2022-07-01T13:14:57.309Z] ---> d4c690d412e0 [2022-07-01T13:14:57.309Z] Step 23/25 : LABEL arch=amd64 [2022-07-01T13:14:57.309Z] ---> Running in bc3191acecce [2022-07-01T13:14:57.309Z] Removing intermediate container bc3191acecce [2022-07-01T13:14:57.309Z] ---> 852c0bcc5d17 [2022-07-01T13:14:57.309Z] Step 24/25 : LABEL git_sha=7d6adb19658aebbdce1e1ab237d480acf111f8fb [2022-07-01T13:14:57.569Z] ---> Running in 344f05bd3a36 [2022-07-01T13:14:57.569Z] Removing intermediate container 344f05bd3a36 [2022-07-01T13:14:57.569Z] ---> ef052529dcbc [2022-07-01T13:14:57.569Z] Step 25/25 : LABEL version=0.0.0 [2022-07-01T13:14:57.569Z] ---> Running in cde2cf66e1d0 [2022-07-01T13:14:57.569Z] Removing intermediate container cde2cf66e1d0 [2022-07-01T13:14:57.569Z] ---> aad8031dc305 [2022-07-01T13:14:57.569Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T13:14:57.569Z] Successfully built aad8031dc305 [2022-07-01T13:14:57.569Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:14:58.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T13:14:58.038Z] [2022-07-01T13:14:58.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:14:58.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T13:14:58.338Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-01T13:14:58.338Z] 5eb5b503b376: Pulling fs layer [2022-07-01T13:14:58.338Z] 5c69ac0246d0: Pulling fs layer [2022-07-01T13:14:58.338Z] ec43610c2a17: Pulling fs layer [2022-07-01T13:14:58.338Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-01T13:14:58.338Z] 33b1e0a273af: Pulling fs layer [2022-07-01T13:14:58.338Z] 5d3b04190fa2: Pulling fs layer [2022-07-01T13:14:58.338Z] 2f39f015ded8: Pulling fs layer [2022-07-01T13:14:58.338Z] 3a2ae6a8a46f: Waiting [2022-07-01T13:14:58.338Z] 2f39f015ded8: Waiting [2022-07-01T13:14:58.338Z] 5d3b04190fa2: Waiting [2022-07-01T13:14:58.338Z] 5c69ac0246d0: Download complete [2022-07-01T13:14:58.338Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-01T13:14:58.338Z] 3a2ae6a8a46f: Download complete [2022-07-01T13:14:58.338Z] 33b1e0a273af: Verifying Checksum [2022-07-01T13:14:58.338Z] 33b1e0a273af: Download complete [2022-07-01T13:14:58.338Z] 5d3b04190fa2: Download complete [2022-07-01T13:14:58.338Z] ec43610c2a17: Verifying Checksum [2022-07-01T13:14:58.338Z] ec43610c2a17: Download complete [2022-07-01T13:14:58.598Z] 5eb5b503b376: Verifying Checksum [2022-07-01T13:14:58.598Z] 5eb5b503b376: Download complete [2022-07-01T13:14:59.167Z] 2f39f015ded8: Verifying Checksum [2022-07-01T13:14:59.167Z] 2f39f015ded8: Download complete [2022-07-01T13:14:59.734Z] 5eb5b503b376: Pull complete [2022-07-01T13:14:59.993Z] 5c69ac0246d0: Pull complete [2022-07-01T13:15:00.565Z] ec43610c2a17: Pull complete [2022-07-01T13:15:00.565Z] 3a2ae6a8a46f: Pull complete [2022-07-01T13:15:00.565Z] 33b1e0a273af: Pull complete [2022-07-01T13:15:00.825Z] 5d3b04190fa2: Pull complete [2022-07-01T13:15:05.021Z] 2f39f015ded8: Pull complete [2022-07-01T13:15:05.021Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-01T13:15:05.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T13:15:05.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:15:05.117Z] prd-ubuntu20.04-docker-8c-8g-16570 does not seem to be running inside a container [2022-07-01T13:15:05.154Z] $ 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-07-01T13:15:07.283Z] $ docker top 46a4cca0c53af0a22288a0e1d777991c3e624874338f1b8e267155d9558604e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:15:07.681Z] ---> job-cost.sh [2022-07-01T13:15:07.681Z] lf-activate-venv: SKIPPING [2022-07-01T13:15:07.681Z] INFO: No Stack... [2022-07-01T13:15:07.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T13:15:08.513Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T13:15:08.800Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-07-01T13:15:08.800Z] + cut -d, -f6 [Pipeline] lock [2022-07-01T13:15:08.814Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [2022-07-01T13:15:08.820Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] did not exist. Created. [2022-07-01T13:15:08.820Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T13:15:09.129Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-01T13:15:09.154Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T13:15:09.160Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T13:15:09.182Z] $ docker stop --time=1 46a4cca0c53af0a22288a0e1d777991c3e624874338f1b8e267155d9558604e5 [2022-07-01T13:15:10.372Z] $ docker rm -f 46a4cca0c53af0a22288a0e1d777991c3e624874338f1b8e267155d9558604e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-01T13:15:17.439Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16571 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-07-01T13:15:17.453Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2022-07-01T13:15:17.519Z] The recommended git tool is: git [2022-07-01T13:15:24.070Z] using credential edgex-jenkins-ssh [2022-07-01T13:15:24.091Z] Cloning the remote Git repository [2022-07-01T13:15:24.170Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-01T13:15:24.264Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2022-07-01T13:15:24.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-01T13:15:24.389Z] > git --version # timeout=10 [2022-07-01T13:15:24.417Z] > git --version # 'git version 2.25.1' [2022-07-01T13:15:24.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T13:15:24.551Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T13:15:26.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-01T13:15:26.329Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-01T13:15:26.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-01T13:15:26.390Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-01T13:15:26.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T13:15:26.406Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-01T13:15:26.920Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 7d6adb19658aebbdce1e1ab237d480acf111f8fb [2022-07-01T13:15:27.118Z] Merge succeeded, producing 7d6adb19658aebbdce1e1ab237d480acf111f8fb [2022-07-01T13:15:27.119Z] Checking out Revision 7d6adb19658aebbdce1e1ab237d480acf111f8fb (PR-202) [2022-07-01T13:15:26.940Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T13:15:26.956Z] > git checkout -f 7d6adb19658aebbdce1e1ab237d480acf111f8fb # timeout=10 [2022-07-01T13:15:27.038Z] > git remote # timeout=10 [2022-07-01T13:15:27.059Z] > git config --get remote.origin.url # timeout=10 [2022-07-01T13:15:27.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-01T13:15:27.082Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-07-01T13:15:27.104Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-01T13:15:27.130Z] > git config core.sparsecheckout # timeout=10 [2022-07-01T13:15:27.152Z] > git checkout -f 7d6adb19658aebbdce1e1ab237d480acf111f8fb # timeout=10 [2022-07-01T13:15:31.479Z] Commit message: "refactor(snap): upgrade configure hook's formatting" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T13:15:32.594Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-01T13:15:32.594Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T13:15:32.594Z] Dload Upload Total Spent Left Speed [2022-07-01T13:15:32.594Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh [2022-07-01T13:15:33.352Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-01T13:15:33.706Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-01T13:15:33.706Z] + sudo tee /etc/docker/daemon.new [2022-07-01T13:15:33.706Z] { [2022-07-01T13:15:33.706Z] "registry-mirrors": [ [2022-07-01T13:15:33.706Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-01T13:15:33.706Z] ], [2022-07-01T13:15:33.706Z] "bip": "10.250.0.254/24", [2022-07-01T13:15:33.706Z] "hosts": [ [2022-07-01T13:15:33.706Z] "tcp://0.0.0.0:5555", [2022-07-01T13:15:33.706Z] "unix:///var/run/docker.sock" [2022-07-01T13:15:33.706Z] ], [2022-07-01T13:15:33.706Z] "mtu": 1458, [2022-07-01T13:15:33.706Z] "selinux-enabled": true, [2022-07-01T13:15:33.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-01T13:15:33.706Z] } [Pipeline] sh [2022-07-01T13:15:34.058Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-01T13:15:34.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T13:15:52.746Z] provisioning config files... [2022-07-01T13:15:52.767Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4752938678179438834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:15:53.121Z] ---> docker-login.sh [2022-07-01T13:15:53.121Z] nexus3.edgexfoundry.org:10001 [2022-07-01T13:15:53.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:15:53.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:15:53.993Z] Configure a credential helper to remove this warning. See [2022-07-01T13:15:53.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:15:53.993Z] [2022-07-01T13:15:53.993Z] Login Succeeded [2022-07-01T13:15:53.993Z] nexus3.edgexfoundry.org:10002 [2022-07-01T13:15:54.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:15:54.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:15:54.266Z] Configure a credential helper to remove this warning. See [2022-07-01T13:15:54.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:15:54.266Z] [2022-07-01T13:15:54.266Z] Login Succeeded [2022-07-01T13:15:54.266Z] nexus3.edgexfoundry.org:10003 [2022-07-01T13:15:54.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:15:54.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:15:54.862Z] Configure a credential helper to remove this warning. See [2022-07-01T13:15:54.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:15:54.862Z] [2022-07-01T13:15:54.862Z] Login Succeeded [2022-07-01T13:15:54.862Z] nexus3.edgexfoundry.org:10004 [2022-07-01T13:15:55.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:15:55.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:15:55.408Z] Configure a credential helper to remove this warning. See [2022-07-01T13:15:55.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:15:55.408Z] [2022-07-01T13:15:55.408Z] Login Succeeded [2022-07-01T13:15:55.408Z] docker.io [2022-07-01T13:15:55.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-01T13:15:55.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-01T13:15:55.953Z] Configure a credential helper to remove this warning. See [2022-07-01T13:15:55.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-01T13:15:55.953Z] [2022-07-01T13:15:55.953Z] Login Succeeded [2022-07-01T13:15:55.953Z] ---> docker-login.sh ends [Pipeline] } [2022-07-01T13:15:55.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-01T13:15:56.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T13:15:56.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-01T13:15:56.486Z] ========================================================= [2022-07-01T13:15:56.486Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-01T13:15:56.486Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:15:56.853Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-01T13:15:56.853Z] Sending build context to Docker daemon 128kB [2022-07-01T13:15:57.142Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T13:15:57.142Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-01T13:15:57.142Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-01T13:15:57.142Z] 9b3977197b4f: Pulling fs layer [2022-07-01T13:15:57.142Z] 1a89e8eeedd5: Pulling fs layer [2022-07-01T13:15:57.142Z] 94645a83ff95: Pulling fs layer [2022-07-01T13:15:57.142Z] e6fb740bc735: Pulling fs layer [2022-07-01T13:15:57.142Z] 3a77bd46dcc9: Pulling fs layer [2022-07-01T13:15:57.142Z] 355e64cbe906: Pulling fs layer [2022-07-01T13:15:57.142Z] 63ab81a10011: Pulling fs layer [2022-07-01T13:15:57.142Z] 555d1d1c4555: Pulling fs layer [2022-07-01T13:15:57.142Z] 7d9057610161: Pulling fs layer [2022-07-01T13:15:57.142Z] e6fb740bc735: Waiting [2022-07-01T13:15:57.142Z] 3a77bd46dcc9: Waiting [2022-07-01T13:15:57.142Z] 355e64cbe906: Waiting [2022-07-01T13:15:57.142Z] 63ab81a10011: Waiting [2022-07-01T13:15:57.142Z] 555d1d1c4555: Waiting [2022-07-01T13:15:57.142Z] 7d9057610161: Waiting [2022-07-01T13:15:57.415Z] 94645a83ff95: Verifying Checksum [2022-07-01T13:15:57.415Z] 94645a83ff95: Download complete [2022-07-01T13:15:57.415Z] 1a89e8eeedd5: Verifying Checksum [2022-07-01T13:15:57.415Z] 1a89e8eeedd5: Download complete [2022-07-01T13:15:57.415Z] 3a77bd46dcc9: Verifying Checksum [2022-07-01T13:15:57.415Z] 3a77bd46dcc9: Download complete [2022-07-01T13:15:57.415Z] 355e64cbe906: Verifying Checksum [2022-07-01T13:15:57.415Z] 355e64cbe906: Download complete [2022-07-01T13:15:57.415Z] 9b3977197b4f: Verifying Checksum [2022-07-01T13:15:57.415Z] 9b3977197b4f: Download complete [2022-07-01T13:15:57.415Z] 63ab81a10011: Verifying Checksum [2022-07-01T13:15:57.415Z] 63ab81a10011: Download complete [2022-07-01T13:15:58.407Z] 9b3977197b4f: Pull complete [2022-07-01T13:15:58.407Z] 7d9057610161: Verifying Checksum [2022-07-01T13:15:58.407Z] 7d9057610161: Download complete [2022-07-01T13:15:59.005Z] 1a89e8eeedd5: Pull complete [2022-07-01T13:15:59.282Z] 94645a83ff95: Pull complete [2022-07-01T13:15:59.557Z] 555d1d1c4555: Verifying Checksum [2022-07-01T13:15:59.557Z] 555d1d1c4555: Download complete [2022-07-01T13:16:00.150Z] e6fb740bc735: Verifying Checksum [2022-07-01T13:16:00.150Z] e6fb740bc735: Download complete [2022-07-01T13:16:12.552Z] e6fb740bc735: Pull complete [2022-07-01T13:16:12.552Z] 3a77bd46dcc9: Pull complete [2022-07-01T13:16:12.552Z] 355e64cbe906: Pull complete [2022-07-01T13:16:12.552Z] 63ab81a10011: Pull complete [2022-07-01T13:16:19.277Z] 555d1d1c4555: Pull complete [2022-07-01T13:16:20.723Z] 7d9057610161: Pull complete [2022-07-01T13:16:20.723Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-01T13:16:20.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-01T13:16:20.723Z] ---> 819e984ddca1 [2022-07-01T13:16:20.723Z] Step 3/12 : ARG MAKE='make build' [2022-07-01T13:16:22.720Z] ---> Running in 53551aa47302 [2022-07-01T13:16:22.720Z] Removing intermediate container 53551aa47302 [2022-07-01T13:16:22.720Z] ---> 993ffc35c7a2 [2022-07-01T13:16:22.720Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T13:16:22.720Z] ---> Running in 1d72b452cd84 [2022-07-01T13:16:22.994Z] Removing intermediate container 1d72b452cd84 [2022-07-01T13:16:22.994Z] ---> dffb92a8e0e3 [2022-07-01T13:16:22.994Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T13:16:22.994Z] ---> Running in 3760c9471d87 [2022-07-01T13:16:23.268Z] Removing intermediate container 3760c9471d87 [2022-07-01T13:16:23.268Z] ---> 131d00404a18 [2022-07-01T13:16:23.268Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T13:16:23.553Z] ---> Running in fd5f5555f4ef [2022-07-01T13:16:25.534Z] Removing intermediate container fd5f5555f4ef [2022-07-01T13:16:25.534Z] ---> bf6ee92e858b [2022-07-01T13:16:25.534Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T13:16:25.534Z] ---> Running in ef665860a07d [2022-07-01T13:16:26.135Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T13:16:27.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T13:16:28.105Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-01T13:16:28.380Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-01T13:16:28.380Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-01T13:16:28.657Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-01T13:16:28.657Z] Executing busybox-1.34.1-r3.trigger [2022-07-01T13:16:28.657Z] OK: 224 MiB in 56 packages [2022-07-01T13:16:29.647Z] Removing intermediate container ef665860a07d [2022-07-01T13:16:29.647Z] ---> 73fdc4b79a5e [2022-07-01T13:16:29.647Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-01T13:16:29.647Z] ---> Running in bc2222820fe1 [2022-07-01T13:16:29.922Z] Removing intermediate container bc2222820fe1 [2022-07-01T13:16:29.922Z] ---> 56d13ed4ab3b [2022-07-01T13:16:29.922Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-01T13:16:30.522Z] ---> 9600bbb5facb [2022-07-01T13:16:30.522Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T13:16:30.800Z] ---> Running in d172bf3408e7 [2022-07-01T13:17:17.771Z] Removing intermediate container d172bf3408e7 [2022-07-01T13:17:17.771Z] ---> 4632b98101ed [2022-07-01T13:17:17.771Z] Step 11/12 : COPY . . [2022-07-01T13:17:17.771Z] ---> 826cab803fe9 [2022-07-01T13:17:17.771Z] Step 12/12 : RUN $MAKE [2022-07-01T13:17:17.771Z] ---> Running in 336fd0fe3b97 [2022-07-01T13:17:17.771Z] noop [2022-07-01T13:17:17.771Z] Removing intermediate container 336fd0fe3b97 [2022-07-01T13:17:17.771Z] ---> e2ae0fcd9ed5 [2022-07-01T13:17:17.771Z] Successfully built e2ae0fcd9ed5 [2022-07-01T13:17:17.771Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:17:18.135Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T13:17:18.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:17:18.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-16571 does not seem to be running inside a container [2022-07-01T13:17:18.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-01T13:17:19.771Z] $ docker top 73b09ff6aaf8850c3da32c03304b2c3029cf05c12ed0ba24dfac057217811d59 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T13:17:20.696Z] + go version [2022-07-01T13:17:20.696Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-01T13:17:20.722Z] $ docker stop --time=1 73b09ff6aaf8850c3da32c03304b2c3029cf05c12ed0ba24dfac057217811d59 [2022-07-01T13:17:22.350Z] $ docker rm -f 73b09ff6aaf8850c3da32c03304b2c3029cf05c12ed0ba24dfac057217811d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:17:22.988Z] + docker inspect -f . ci-base-image-arm64 [2022-07-01T13:17:22.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:17:23.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-16571 does not seem to be running inside a container [2022-07-01T13:17:23.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-01T13:17:24.588Z] $ docker top 294800c26d95d1aab09b276d4a6ae24374761a930099ff503fa1669c232dd539 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-01T13:17:25.524Z] + make test [2022-07-01T13:17:25.524Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-01T13:17:26.965Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-01T13:18:48.788Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-01T13:18:48.788Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-07-01T13:18:48.788Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-01T13:18:48.788Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-01T13:19:10.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-01T13:19:10.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-01T13:19:10.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-01T13:19:12.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-01T13:19:13.004Z] $ docker stop --time=1 294800c26d95d1aab09b276d4a6ae24374761a930099ff503fa1669c232dd539 [2022-07-01T13:19:14.757Z] $ docker rm -f 294800c26d95d1aab09b276d4a6ae24374761a930099ff503fa1669c232dd539 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-01T13:19:15.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-01T13:19:15.727Z] Warning: overwriting stash ‘coverage-report’ [2022-07-01T13:19:16.163Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-01T13:19:16.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-01T13:19:16.890Z] + ls -al . [2022-07-01T13:19:16.891Z] total 168 [2022-07-01T13:19:16.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 13:19 . [2022-07-01T13:19:16.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 13:15 .. [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 1 13:15 .dockerignore [2022-07-01T13:19:16.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 13:15 .git [2022-07-01T13:19:16.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 13:15 .github [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 1 13:15 .gitignore [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 1 13:15 .golangci.yml [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 1 13:15 Attribution.txt [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 1 13:15 CHANGELOG.md [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 1 13:15 Dockerfile [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 13:15 GOVERNANCE.md [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 1 13:15 Jenkinsfile [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 1 13:15 LICENSE [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 1 13:15 Makefile [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 1 13:15 OWNERS.md [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 1 13:15 README.md [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 13:13 VERSION [2022-07-01T13:19:16.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 13:15 bin [2022-07-01T13:19:16.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 13:15 cmd [2022-07-01T13:19:16.891Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 1 13:18 coverage.out [2022-07-01T13:19:16.891Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 13:15 driver [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 1 13:15 go.mod [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 1 13:15 go.sum [2022-07-01T13:19:16.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 13:15 snap [2022-07-01T13:19:16.891Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 1 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:19:17.245Z] + 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=7d6adb19658aebbdce1e1ab237d480acf111f8fb --label arch=arm64 --label version=0.0.0 . [2022-07-01T13:19:17.245Z] Sending build context to Docker daemon 138.2kB [2022-07-01T13:19:17.523Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-01T13:19:17.523Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-01T13:19:17.523Z] ---> e2ae0fcd9ed5 [2022-07-01T13:19:17.523Z] Step 3/25 : ARG MAKE='make build' [2022-07-01T13:19:17.523Z] ---> Running in 9a706eabde80 [2022-07-01T13:19:17.797Z] Removing intermediate container 9a706eabde80 [2022-07-01T13:19:17.797Z] ---> 6780edad301f [2022-07-01T13:19:17.797Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-01T13:19:18.075Z] ---> Running in b10e0c174825 [2022-07-01T13:19:18.346Z] Removing intermediate container b10e0c174825 [2022-07-01T13:19:18.346Z] ---> 9055c7962399 [2022-07-01T13:19:18.346Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-01T13:19:18.346Z] ---> Running in 58ea278033f0 [2022-07-01T13:19:18.619Z] Removing intermediate container 58ea278033f0 [2022-07-01T13:19:18.619Z] ---> 2c78563d9627 [2022-07-01T13:19:18.619Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-01T13:19:18.619Z] ---> Running in 8ca92184ed87 [2022-07-01T13:19:20.602Z] Removing intermediate container 8ca92184ed87 [2022-07-01T13:19:20.602Z] ---> 1553b17390b7 [2022-07-01T13:19:20.602Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-01T13:19:20.602Z] ---> Running in 4d80ccfa6b4c [2022-07-01T13:19:21.213Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-01T13:19:22.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-01T13:19:23.193Z] OK: 224 MiB in 56 packages [2022-07-01T13:19:24.264Z] Removing intermediate container 4d80ccfa6b4c [2022-07-01T13:19:24.264Z] ---> f3714baa6aae [2022-07-01T13:19:24.264Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-01T13:19:24.264Z] ---> Running in 6659852fa06d [2022-07-01T13:19:24.540Z] Removing intermediate container 6659852fa06d [2022-07-01T13:19:24.540Z] ---> 71599df84b47 [2022-07-01T13:19:24.540Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-01T13:19:25.141Z] ---> 3096ed939476 [2022-07-01T13:19:25.141Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-01T13:19:25.141Z] ---> Running in d405095e95c1 [2022-07-01T13:19:27.113Z] Removing intermediate container d405095e95c1 [2022-07-01T13:19:27.113Z] ---> a3f059bc666f [2022-07-01T13:19:27.113Z] Step 11/25 : COPY . . [2022-07-01T13:19:27.387Z] ---> 5015cd395cf0 [2022-07-01T13:19:27.387Z] Step 12/25 : RUN $MAKE [2022-07-01T13:19:27.666Z] ---> Running in f7d1951da6ee [2022-07-01T13:19:28.644Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-01T13:21:35.501Z] Removing intermediate container f7d1951da6ee [2022-07-01T13:21:35.501Z] ---> 08b0f72fb12a [2022-07-01T13:21:35.501Z] Step 13/25 : FROM alpine:3.14 [2022-07-01T13:21:35.501Z] 3.14: Pulling from library/alpine [2022-07-01T13:21:35.501Z] 455c02918c45: Pulling fs layer [2022-07-01T13:21:35.501Z] 455c02918c45: Download complete [2022-07-01T13:21:35.501Z] 455c02918c45: Pull complete [2022-07-01T13:21:35.501Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-01T13:21:35.501Z] Status: Downloaded newer image for alpine:3.14 [2022-07-01T13:21:35.501Z] ---> ac73e934f311 [2022-07-01T13:21:35.501Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-01T13:21:35.501Z] ---> Running in 9ee48175ccce [2022-07-01T13:21:35.501Z] Removing intermediate container 9ee48175ccce [2022-07-01T13:21:35.501Z] ---> fa71956776a9 [2022-07-01T13:21:35.501Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-01T13:21:35.501Z] ---> Running in 3a5aa15ebb08 [2022-07-01T13:21:35.501Z] Removing intermediate container 3a5aa15ebb08 [2022-07-01T13:21:35.501Z] ---> 6036afd4498d [2022-07-01T13:21:35.501Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-01T13:21:35.501Z] ---> Running in 1ff8ffd80be2 [2022-07-01T13:21:35.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-01T13:21:35.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-01T13:21:35.501Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-01T13:21:35.501Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-01T13:21:35.501Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-01T13:21:35.501Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-01T13:21:35.501Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-01T13:21:35.501Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-01T13:21:35.501Z] Executing busybox-1.33.1-r7.trigger [2022-07-01T13:21:35.501Z] OK: 8 MiB in 20 packages [2022-07-01T13:21:35.501Z] Removing intermediate container 1ff8ffd80be2 [2022-07-01T13:21:35.501Z] ---> 4a7e85a32348 [2022-07-01T13:21:35.501Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-01T13:21:35.501Z] ---> 622e3df5acb4 [2022-07-01T13:21:35.501Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-01T13:21:35.501Z] ---> ab50aba3d78b [2022-07-01T13:21:35.501Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-01T13:21:35.501Z] ---> 380555d359b4 [2022-07-01T13:21:35.501Z] Step 20/25 : EXPOSE 59986 [2022-07-01T13:21:35.501Z] ---> Running in af55ac26a1ef [2022-07-01T13:21:35.501Z] Removing intermediate container af55ac26a1ef [2022-07-01T13:21:35.501Z] ---> f8ab9d40b70f [2022-07-01T13:21:35.501Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-01T13:21:35.501Z] ---> Running in 95edfe4b1098 [2022-07-01T13:21:35.501Z] Removing intermediate container 95edfe4b1098 [2022-07-01T13:21:35.501Z] ---> 624b4e7e94ce [2022-07-01T13:21:35.501Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-01T13:21:35.501Z] ---> Running in cb8e937712b1 [2022-07-01T13:21:35.501Z] Removing intermediate container cb8e937712b1 [2022-07-01T13:21:35.501Z] ---> 9b04e053ca6d [2022-07-01T13:21:35.501Z] Step 23/25 : LABEL arch=arm64 [2022-07-01T13:21:35.501Z] ---> Running in f4fb790d2e31 [2022-07-01T13:21:35.501Z] Removing intermediate container f4fb790d2e31 [2022-07-01T13:21:35.501Z] ---> 58783dfb3750 [2022-07-01T13:21:35.501Z] Step 24/25 : LABEL git_sha=7d6adb19658aebbdce1e1ab237d480acf111f8fb [2022-07-01T13:21:35.501Z] ---> Running in ee511ae74039 [2022-07-01T13:21:35.501Z] Removing intermediate container ee511ae74039 [2022-07-01T13:21:35.501Z] ---> 25513caa1b9a [2022-07-01T13:21:35.501Z] Step 25/25 : LABEL version=0.0.0 [2022-07-01T13:21:35.501Z] ---> Running in c9229c03683d [2022-07-01T13:21:35.501Z] Removing intermediate container c9229c03683d [2022-07-01T13:21:35.501Z] ---> 2cdb961c60d7 [2022-07-01T13:21:35.501Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-01T13:21:35.501Z] Successfully built 2cdb961c60d7 [2022-07-01T13:21:35.501Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:21:35.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T13:21:35.960Z] [2022-07-01T13:21:35.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:21:36.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T13:21:36.589Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-01T13:21:36.589Z] 8998bd30e6a1: Pulling fs layer [2022-07-01T13:21:36.589Z] 04944245beec: Pulling fs layer [2022-07-01T13:21:36.589Z] 699f458cf7ca: Pulling fs layer [2022-07-01T13:21:36.589Z] 765212b225bb: Pulling fs layer [2022-07-01T13:21:36.589Z] f23df028b6ca: Pulling fs layer [2022-07-01T13:21:36.589Z] d65c8cfc05b1: Pulling fs layer [2022-07-01T13:21:36.589Z] 2437ff75d9bd: Pulling fs layer [2022-07-01T13:21:36.589Z] f23df028b6ca: Waiting [2022-07-01T13:21:36.589Z] d65c8cfc05b1: Waiting [2022-07-01T13:21:36.589Z] 2437ff75d9bd: Waiting [2022-07-01T13:21:36.589Z] 765212b225bb: Waiting [2022-07-01T13:21:36.589Z] 04944245beec: Verifying Checksum [2022-07-01T13:21:36.589Z] 04944245beec: Download complete [2022-07-01T13:21:36.589Z] 765212b225bb: Verifying Checksum [2022-07-01T13:21:36.589Z] 765212b225bb: Download complete [2022-07-01T13:21:36.589Z] f23df028b6ca: Verifying Checksum [2022-07-01T13:21:36.589Z] f23df028b6ca: Download complete [2022-07-01T13:21:36.589Z] d65c8cfc05b1: Verifying Checksum [2022-07-01T13:21:36.589Z] d65c8cfc05b1: Download complete [2022-07-01T13:21:36.864Z] 699f458cf7ca: Verifying Checksum [2022-07-01T13:21:36.864Z] 699f458cf7ca: Download complete [2022-07-01T13:21:37.140Z] 8998bd30e6a1: Download complete [2022-07-01T13:21:39.764Z] 2437ff75d9bd: Verifying Checksum [2022-07-01T13:21:39.764Z] 2437ff75d9bd: Download complete [2022-07-01T13:21:41.745Z] 8998bd30e6a1: Pull complete [2022-07-01T13:21:42.019Z] 04944245beec: Pull complete [2022-07-01T13:21:43.454Z] 699f458cf7ca: Pull complete [2022-07-01T13:21:43.728Z] 765212b225bb: Pull complete [2022-07-01T13:21:44.706Z] f23df028b6ca: Pull complete [2022-07-01T13:21:44.706Z] d65c8cfc05b1: Pull complete [2022-07-01T13:21:59.809Z] 2437ff75d9bd: Pull complete [2022-07-01T13:21:59.809Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-01T13:21:59.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-01T13:21:59.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:22:00.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-16571 does not seem to be running inside a container [2022-07-01T13:22:00.131Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-01T13:22:02.691Z] $ docker top 9f191858929fd87de2b59dd42c72d2fd9b5eff249b33020d758b9fdb9a374231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:03.625Z] ---> job-cost.sh [2022-07-01T13:22:03.625Z] lf-activate-venv: SKIPPING [2022-07-01T13:22:03.625Z] INFO: No Stack... [2022-07-01T13:22:03.897Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-01T13:22:04.873Z] INFO: Archiving Costs [Pipeline] sh [2022-07-01T13:22:05.531Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2022-07-01T13:22:05.532Z] + cut -d, -f6 [Pipeline] lock [2022-07-01T13:22:05.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [2022-07-01T13:22:05.601Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] did not exist. Created. [2022-07-01T13:22:05.601Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-01T13:22:06.272Z] /w/workspace/device-rest-go/4@tmp/durable-46a78e8e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-01T13:22:06.945Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-01T13:22:06.973Z] Warning: overwriting stash ‘stack-cost’ [2022-07-01T13:22:07.013Z] Stashed 1 file(s) [Pipeline] } [2022-07-01T13:22:07.021Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-01T13:22:07.037Z] $ docker stop --time=1 9f191858929fd87de2b59dd42c72d2fd9b5eff249b33020d758b9fdb9a374231 [2022-07-01T13:22:08.551Z] $ docker rm -f 9f191858929fd87de2b59dd42c72d2fd9b5eff249b33020d758b9fdb9a374231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-01T13:22:09.022Z] provisioning config files... [2022-07-01T13:22:09.030Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config5648822566235836333tmp [Pipeline] { [Pipeline] sh [2022-07-01T13:22:09.324Z] + set +x [2022-07-01T13:22:09.324Z] + curl -s https://codecov.io/bash [2022-07-01T13:22:09.324Z] + bash -s -- [2022-07-01T13:22:09.324Z] [2022-07-01T13:22:09.324Z] _____ _ [2022-07-01T13:22:09.324Z] / ____| | | [2022-07-01T13:22:09.324Z] | | ___ __| | ___ ___ _____ __ [2022-07-01T13:22:09.324Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-01T13:22:09.324Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-01T13:22:09.324Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-01T13:22:09.324Z] Bash-1.0.6 [2022-07-01T13:22:09.324Z] [2022-07-01T13:22:09.324Z] [2022-07-01T13:22:09.324Z] ==> git version 2.25.1 found [2022-07-01T13:22:09.324Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-01T13:22:09.324Z] Release-Date: 2020-01-08 [2022-07-01T13:22:09.324Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-01T13:22:09.324Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-01T13:22:09.324Z] ==> Jenkins CI detected. [2022-07-01T13:22:09.324Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-01T13:22:09.324Z] project root: . [2022-07-01T13:22:09.324Z] --> token set from env [2022-07-01T13:22:09.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-01T13:22:09.324Z] ==> Running gcov in . (disable via -X gcov) [2022-07-01T13:22:09.324Z] ==> Python coveragepy not found [2022-07-01T13:22:09.324Z] ==> Searching for coverage reports in: [2022-07-01T13:22:09.324Z] + . [2022-07-01T13:22:09.324Z] -> Found 1 reports [2022-07-01T13:22:09.324Z] ==> Detecting git/mercurial file structure [2022-07-01T13:22:09.324Z] ==> Reading reports [2022-07-01T13:22:09.324Z] + ./coverage.out bytes=9355 [2022-07-01T13:22:09.324Z] ==> Appending adjustments [2022-07-01T13:22:09.324Z] https://docs.codecov.io/docs/fixing-reports [2022-07-01T13:22:09.584Z] + Found adjustments [2022-07-01T13:22:09.584Z] ==> Gzipping contents [2022-07-01T13:22:09.584Z] 4.0K /tmp/codecov.F43UQz.gz [2022-07-01T13:22:09.584Z] ==> Uploading reports [2022-07-01T13:22:09.584Z] url: https://codecov.io [2022-07-01T13:22:09.584Z] query: branch=PR-202&commit=7d6adb19658aebbdce1e1ab237d480acf111f8fb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-01T13:22:09.584Z] -> Pinging Codecov [2022-07-01T13:22:09.584Z] 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=7d6adb19658aebbdce1e1ab237d480acf111f8fb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-01T13:22:09.844Z] -> Uploading to [2022-07-01T13:22:09.844Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-01/4E5D53B4F1F92C436F7061BF334D961C/7d6adb19658aebbdce1e1ab237d480acf111f8fb/e5a924ca-7461-4283-b6b6-32190092fb54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220701T132209Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37ddbbd6bc74a0ca23ff7b3d72f06b0f79bb82d03f0c2aedd14b73802b321a6f [2022-07-01T13:22:09.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-01T13:22:09.844Z] Dload Upload Total Spent Left Speed [2022-07-01T13:22:10.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1774 0 0 100 1774 0 7780 --:--:-- --:--:-- --:--:-- 7780 [2022-07-01T13:22:10.103Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7d6adb19658aebbdce1e1ab237d480acf111f8fb [Pipeline] } [2022-07-01T13:22:10.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-01T13:22:10.806Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-07-01T13:22:10.806Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-01T13:22:10.806Z] total 16 [2022-07-01T13:22:10.806Z] drwxr-xr-x 3 root root 4096 Jul 1 13:15 . [2022-07-01T13:22:10.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 13:15 .. [2022-07-01T13:22:10.806Z] drwxr-xr-x 2 root root 4096 Jul 1 13:15 cost [2022-07-01T13:22:10.806Z] -rw-r--r-- 1 root root 85 Jul 1 13:15 cost.csv [2022-07-01T13:22:10.806Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-01T13:22:10.806Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-01T13:22:10.806Z] total 16 [2022-07-01T13:22:10.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 13:15 . [2022-07-01T13:22:10.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 13:15 .. [2022-07-01T13:22:10.806Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 13:15 cost [2022-07-01T13:22:10.806Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 1 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:11.107Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:11.971Z] ---> package-listing.sh [2022-07-01T13:22:11.971Z] ++ facter osfamily [2022-07-01T13:22:11.971Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-01T13:22:12.233Z] + OS_FAMILY=debian [2022-07-01T13:22:12.233Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-01T13:22:12.233Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-01T13:22:12.233Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-01T13:22:12.233Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-01T13:22:12.233Z] + PACKAGES=/tmp/packages_start.txt [2022-07-01T13:22:12.233Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-01T13:22:12.233Z] + PACKAGES=/tmp/packages_end.txt [2022-07-01T13:22:12.233Z] + case "${OS_FAMILY}" in [2022-07-01T13:22:12.233Z] + dpkg -l [2022-07-01T13:22:12.233Z] + grep '^ii' [2022-07-01T13:22:12.233Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-01T13:22:12.233Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-01T13:22:12.233Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-01T13:22:12.233Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-01T13:22:12.233Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-07-01T13:22:12.233Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-07-01T13:22:12.245Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-01T13:22:12.526Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-01T13:22:13.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-01T13:22:13.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-01T13:22:13.255Z] prd-ubuntu20.04-docker-8c-8g-16570 does not seem to be running inside a container [2022-07-01T13:22:13.291Z] $ 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-07-01T13:22:13.536Z] $ docker top eec7d0e70646861d9ce651e6b0fc4e42064606404eb88b35a9b3e1e73ca75ab8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-01T13:22:13.898Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-01T13:22:14.182Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-01T13:22:14.471Z] + ls /var/log/sa-host [2022-07-01T13:22:14.471Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-01T13:22:14.598Z] provisioning config files... [2022-07-01T13:22:14.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config3410189334354502137tmp [Pipeline] { [Pipeline] echo [2022-07-01T13:22:14.625Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:14.909Z] ---> create-netrc.sh [Pipeline] } [2022-07-01T13:22:14.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:15.245Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-01T13:22:15.254Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:15.539Z] ---> sudo-logs.sh [2022-07-01T13:22:15.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-01T13:22:15.563Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:15.844Z] ---> job-cost.sh [2022-07-01T13:22:15.844Z] lf-activate-venv: SKIPPING [2022-07-01T13:22:15.844Z] DEBUG: total: 0.2199999988079071 [2022-07-01T13:22:15.844Z] INFO: Retrieving Stack Cost... [2022-07-01T13:22:16.103Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-01T13:22:16.673Z] INFO: Archiving Costs [Pipeline] echo [2022-07-01T13:22:16.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-01T13:22:16.975Z] ---> logs-deploy.sh [2022-07-01T13:22:16.975Z] lf-activate-venv: SKIPPING [2022-07-01T13:22:16.975Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/4 [2022-07-01T13:22:16.975Z] INFO: archiving workspace using pattern(s): [2022-07-01T13:22:17.915Z] Archives upload complete. [2022-07-01T13:22:17.915Z] INFO: archiving logs to Nexus