Pull request #201 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0+a3ce1b492942266db7d07684db880175cd9968c1 (e1b3330f31e669b6943da737c5bac37c85a72960) 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-ssh9067135779693708835.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-ssh2883063783754438160.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh384470202937472914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-201/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4337193715316409568.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6151149239695695824.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-201/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7183373003958658116.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16130’ Running on prd-ubuntu20.04-docker-8c-8g-16134 in /w/workspace/gexfoundry_device-rest-go_PR-201 [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-201 # 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 a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 Merge succeeded, producing 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 Checking out Revision 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 (PR-201) > 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/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # 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 a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T20:05:27.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T20:05:27.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T20:05:27.307Z] ========================================================= [2022-06-27T20:05:27.307Z] EdgeX Global Pipelines Version Info [2022-06-27T20:05:27.307Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:05:28.090Z] ------------------- [2022-06-27T20:05:28.090Z] stable info: [2022-06-27T20:05:28.090Z] ------------------- [2022-06-27T20:05:28.090Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T20:05:28.090Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:05:28.090Z] Message: update stable to v1.0.234 [2022-06-27T20:05:28.667Z] ------------------- [2022-06-27T20:05:28.667Z] experimental info: [2022-06-27T20:05:28.667Z] ------------------- [2022-06-27T20:05:28.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T20:05:28.667Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:05:28.667Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T20:05:29.011Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-27T20:05:29.045Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-27T20:05:29.078Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T20:05:29.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T20:05:29.157Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T20:05:29.198Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T20:05:29.237Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T20:05:29.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T20:05:29.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T20:05:29.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T20:05:29.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T20:05:29.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-27T20:05:29.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T20:05:29.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T20:05:29.521Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:05:29.556Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:05:29.595Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:05:29.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:05:29.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T20:05:29.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T20:05:29.736Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T20:05:29.774Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T20:05:29.814Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T20:05:29.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T20:05:29.887Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T20:05:29.925Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T20:05:29.963Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T20:05:29.999Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-201 [Pipeline] echo [2022-06-27T20:05:30.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-201 [Pipeline] echo [2022-06-27T20:05:30.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-201 [Pipeline] echo [2022-06-27T20:05:30.116Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo [2022-06-27T20:05:30.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d0a345 [Pipeline] echo [2022-06-27T20:05:30.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:05:30.293Z] provisioning config files... [2022-06-27T20:05:30.307Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config8671888797850189032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:05:30.648Z] ---> docker-login.sh [2022-06-27T20:05:30.648Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:05:30.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:30.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:30.908Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:30.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:30.908Z] [2022-06-27T20:05:30.908Z] Login Succeeded [2022-06-27T20:05:30.908Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:05:31.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:31.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:31.171Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:31.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:31.171Z] [2022-06-27T20:05:31.171Z] Login Succeeded [2022-06-27T20:05:31.171Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:05:31.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:31.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:31.171Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:31.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:31.171Z] [2022-06-27T20:05:31.171Z] Login Succeeded [2022-06-27T20:05:31.171Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:05:31.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:31.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:31.432Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:31.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:31.432Z] [2022-06-27T20:05:31.432Z] Login Succeeded [2022-06-27T20:05:31.432Z] docker.io [2022-06-27T20:05:31.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:31.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:31.691Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:31.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:31.691Z] [2022-06-27T20:05:31.691Z] Login Succeeded [2022-06-27T20:05:31.691Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:05:31.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T20:05:32.306Z] + git rev-list -1 --merges 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0~1..7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo [2022-06-27T20:05:32.352Z] -----------> git rev-list -1 --merges 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0~1..7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [false] [Pipeline] sh [2022-06-27T20:05:32.665Z] + git log --format=format:%s -1 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo [2022-06-27T20:05:32.699Z] ========================================================= [2022-06-27T20:05:32.699Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T20:05:32.699Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:05:33.137Z] + git log --format=format:%s -1 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] echo [2022-06-27T20:05:33.171Z] [semverPrep] GIT_COMMIT: 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 [Pipeline] echo [2022-06-27T20:05:33.201Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T20:05:33.640Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T20:05:33.640Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T20:05:33.640Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T20:05:33.640Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T20:05:33.640Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T20:05:33.640Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T20:05:33.640Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:05:34.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:05:34.070Z] [2022-06-27T20:05:34.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:05:34.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:05:34.435Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T20:05:34.435Z] 42c077c10790: Pulling fs layer [2022-06-27T20:05:34.435Z] f63e77b7563a: Pulling fs layer [2022-06-27T20:05:34.435Z] bd5fdadae976: Pulling fs layer [2022-06-27T20:05:34.435Z] 205491f53016: Pulling fs layer [2022-06-27T20:05:34.435Z] df18705c85c3: Pulling fs layer [2022-06-27T20:05:34.435Z] bdb3f477010e: Pulling fs layer [2022-06-27T20:05:34.435Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T20:05:34.435Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T20:05:34.435Z] df18705c85c3: Waiting [2022-06-27T20:05:34.435Z] bdb3f477010e: Waiting [2022-06-27T20:05:34.435Z] 205491f53016: Waiting [2022-06-27T20:05:34.435Z] c8a8fc8e1c8f: Waiting [2022-06-27T20:05:34.435Z] bdb8f0575790: Pulling fs layer [2022-06-27T20:05:34.435Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T20:05:34.435Z] 2343380bae48: Pulling fs layer [2022-06-27T20:05:34.435Z] 386e3cb2ff24: Waiting [2022-06-27T20:05:34.435Z] 2c6e9b1d212d: Waiting [2022-06-27T20:05:34.435Z] 2343380bae48: Waiting [2022-06-27T20:05:34.435Z] bdb8f0575790: Waiting [2022-06-27T20:05:34.435Z] f63e77b7563a: Verifying Checksum [2022-06-27T20:05:34.435Z] f63e77b7563a: Download complete [2022-06-27T20:05:34.435Z] 205491f53016: Verifying Checksum [2022-06-27T20:05:34.435Z] 205491f53016: Download complete [2022-06-27T20:05:34.697Z] df18705c85c3: Verifying Checksum [2022-06-27T20:05:34.697Z] df18705c85c3: Download complete [2022-06-27T20:05:34.697Z] bd5fdadae976: Verifying Checksum [2022-06-27T20:05:34.697Z] bd5fdadae976: Download complete [2022-06-27T20:05:34.697Z] bdb3f477010e: Download complete [2022-06-27T20:05:34.697Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T20:05:34.697Z] 2c6e9b1d212d: Download complete [2022-06-27T20:05:34.697Z] bdb8f0575790: Download complete [2022-06-27T20:05:34.697Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T20:05:34.697Z] 386e3cb2ff24: Download complete [2022-06-27T20:05:34.697Z] 2343380bae48: Verifying Checksum [2022-06-27T20:05:34.697Z] 2343380bae48: Download complete [2022-06-27T20:05:34.697Z] 42c077c10790: Verifying Checksum [2022-06-27T20:05:34.697Z] 42c077c10790: Download complete [2022-06-27T20:05:34.958Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T20:05:34.958Z] c8a8fc8e1c8f: Download complete [2022-06-27T20:05:35.908Z] 42c077c10790: Pull complete [2022-06-27T20:05:36.178Z] f63e77b7563a: Pull complete [2022-06-27T20:05:36.748Z] bd5fdadae976: Pull complete [2022-06-27T20:05:36.748Z] 205491f53016: Pull complete [2022-06-27T20:05:37.009Z] df18705c85c3: Pull complete [2022-06-27T20:05:37.009Z] bdb3f477010e: Pull complete [2022-06-27T20:05:39.557Z] c8a8fc8e1c8f: Pull complete [2022-06-27T20:05:39.557Z] 2c6e9b1d212d: Pull complete [2022-06-27T20:05:39.557Z] bdb8f0575790: Pull complete [2022-06-27T20:05:39.557Z] 386e3cb2ff24: Pull complete [2022-06-27T20:05:39.557Z] 2343380bae48: Pull complete [2022-06-27T20:05:39.557Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T20:05:39.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:05:39.557Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:05:39.774Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2022-06-27T20:05:39.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T20:05:41.082Z] $ docker top ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 -eo pid,comm [2022-06-27T20:05:41.151Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-27T20:05:41.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T20:05:41.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:05:41.271Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:05:41.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:05:41.400Z] $ docker exec ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent [2022-06-27T20:05:41.523Z] SSH_AUTH_SOCK=/tmp/ssh-EPSnfqyRNIPe/agent.33 [2022-06-27T20:05:41.523Z] SSH_AGENT_PID=40 [2022-06-27T20:05:41.528Z] Running ssh-add (command line suppressed) [2022-06-27T20:05:41.649Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_239232817035473611.key (/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_239232817035473611.key) [2022-06-27T20:05:41.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:05:41.993Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T20:05:42.024Z] $ docker exec --env ******** --env ******** ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent -k [2022-06-27T20:05:42.147Z] unset SSH_AUTH_SOCK; [2022-06-27T20:05:42.147Z] unset SSH_AGENT_PID; [2022-06-27T20:05:42.147Z] echo Agent pid 40 killed; [2022-06-27T20:05:42.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T20:05:42.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:05:42.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:05:42.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:05:42.362Z] $ docker exec ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent [2022-06-27T20:05:42.479Z] SSH_AUTH_SOCK=/tmp/ssh-HRM6ReNsxqnz/agent.74 [2022-06-27T20:05:42.479Z] SSH_AGENT_PID=80 [2022-06-27T20:05:42.484Z] Running ssh-add (command line suppressed) [2022-06-27T20:05:42.598Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_97268449626884437.key (/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/private_key_97268449626884437.key) [2022-06-27T20:05:42.610Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:05:42.946Z] + git semver init [2022-06-27T20:05:43.204Z] 2022-06-27 20:05:43,153 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T20:05:43.204Z] 2022-06-27 20:05:43,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver [2022-06-27T20:05:43.204Z] 2022-06-27 20:05:43,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-201/.semver [2022-06-27T20:05:43.204Z] 2022-06-27 20:05:43,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-201/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201, universal_newlines=False, shell=None, istream=None) [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,988 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-201/.git/info/exclude [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,989 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 with force:False [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,989 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,992 [execute] INFO git cat-file --batch-check [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,997 [execute] INFO git cat-file --batch [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:43,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-201/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T20:05:44.150Z] 2022-06-27 20:05:44,002 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-201/.semver/PR-201 [2022-06-27T20:05:44.150Z] 0.0.0 [Pipeline] } [2022-06-27T20:05:44.175Z] $ docker exec --env ******** --env ******** ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 ssh-agent -k [2022-06-27T20:05:44.272Z] unset SSH_AUTH_SOCK; [2022-06-27T20:05:44.272Z] unset SSH_AGENT_PID; [2022-06-27T20:05:44.272Z] echo Agent pid 80 killed; [2022-06-27T20:05:44.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T20:05:44.696Z] + git semver [Pipeline] } [2022-06-27T20:05:45.292Z] $ docker stop --time=1 ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 [2022-06-27T20:05:46.588Z] $ docker rm -f ddf1f4edebe309e4b983eb9f7e5b3adc720bce848d9aca3b7f8eabeed0327f56 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:05:46.990Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T20:05:47.271Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T20:05:47.288Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:05:47.836Z] provisioning config files... [2022-06-27T20:05:47.845Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config2476757424843076994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:05:48.184Z] ---> docker-login.sh [2022-06-27T20:05:48.184Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:05:48.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:48.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:48.184Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:48.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:48.185Z] [2022-06-27T20:05:48.185Z] Login Succeeded [2022-06-27T20:05:48.185Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:05:48.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:48.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:48.443Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:48.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:48.443Z] [2022-06-27T20:05:48.443Z] Login Succeeded [2022-06-27T20:05:48.443Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:05:48.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:48.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:48.443Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:48.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:48.443Z] [2022-06-27T20:05:48.443Z] Login Succeeded [2022-06-27T20:05:48.443Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:05:48.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:48.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:48.704Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:48.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:48.705Z] [2022-06-27T20:05:48.705Z] Login Succeeded [2022-06-27T20:05:48.705Z] docker.io [2022-06-27T20:05:48.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:05:48.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:05:48.965Z] Configure a credential helper to remove this warning. See [2022-06-27T20:05:48.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:05:48.965Z] [2022-06-27T20:05:48.965Z] Login Succeeded [2022-06-27T20:05:48.965Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:05:48.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:05:49.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:05:49.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:05:49.243Z] ========================================================= [2022-06-27T20:05:49.243Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T20:05:49.243Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:05:49.689Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T20:05:49.689Z] Sending build context to Docker daemon 10.68MB [2022-06-27T20:05:49.689Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:05:49.689Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T20:05:49.689Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T20:05:49.689Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T20:05:49.689Z] 666ba61612fd: Pulling fs layer [2022-06-27T20:05:49.689Z] 8ed8ca486205: Pulling fs layer [2022-06-27T20:05:49.689Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T20:05:49.689Z] c516ae0d96e1: Pulling fs layer [2022-06-27T20:05:49.689Z] c516ae0d96e1: Waiting [2022-06-27T20:05:49.689Z] cc1cd167ecdc: Waiting [2022-06-27T20:05:49.689Z] 684cea983483: Pulling fs layer [2022-06-27T20:05:49.689Z] dd3240ac7de5: Pulling fs layer [2022-06-27T20:05:49.689Z] b1e948a4e11c: Pulling fs layer [2022-06-27T20:05:49.689Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T20:05:49.689Z] 646ad004c059: Pulling fs layer [2022-06-27T20:05:49.689Z] 684cea983483: Waiting [2022-06-27T20:05:49.689Z] dd3240ac7de5: Waiting [2022-06-27T20:05:49.689Z] b1e948a4e11c: Waiting [2022-06-27T20:05:49.689Z] a8fd76ee1af6: Waiting [2022-06-27T20:05:49.689Z] 8ed8ca486205: Verifying Checksum [2022-06-27T20:05:49.689Z] 8ed8ca486205: Download complete [2022-06-27T20:05:49.689Z] 666ba61612fd: Download complete [2022-06-27T20:05:49.689Z] c516ae0d96e1: Download complete [2022-06-27T20:05:49.689Z] 684cea983483: Download complete [2022-06-27T20:05:49.689Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T20:05:49.689Z] 59bf1c3509f3: Download complete [2022-06-27T20:05:49.954Z] dd3240ac7de5: Verifying Checksum [2022-06-27T20:05:49.954Z] dd3240ac7de5: Download complete [2022-06-27T20:05:49.954Z] b1e948a4e11c: Verifying Checksum [2022-06-27T20:05:49.954Z] b1e948a4e11c: Download complete [2022-06-27T20:05:49.954Z] 59bf1c3509f3: Pull complete [2022-06-27T20:05:50.231Z] 666ba61612fd: Pull complete [2022-06-27T20:05:50.231Z] 8ed8ca486205: Pull complete [2022-06-27T20:05:50.231Z] 646ad004c059: Verifying Checksum [2022-06-27T20:05:50.231Z] 646ad004c059: Download complete [2022-06-27T20:05:50.492Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T20:05:50.492Z] cc1cd167ecdc: Download complete [2022-06-27T20:05:50.752Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T20:05:50.752Z] a8fd76ee1af6: Download complete [2022-06-27T20:05:54.038Z] cc1cd167ecdc: Pull complete [2022-06-27T20:05:54.038Z] c516ae0d96e1: Pull complete [2022-06-27T20:05:54.038Z] 684cea983483: Pull complete [2022-06-27T20:05:54.297Z] dd3240ac7de5: Pull complete [2022-06-27T20:05:54.297Z] b1e948a4e11c: Pull complete [2022-06-27T20:05:56.845Z] a8fd76ee1af6: Pull complete [2022-06-27T20:05:57.108Z] 646ad004c059: Pull complete [2022-06-27T20:05:57.108Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T20:05:57.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T20:05:57.108Z] ---> 8f69c11f6b0c [2022-06-27T20:05:57.108Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T20:05:59.018Z] ---> Running in c255259329b1 [2022-06-27T20:05:59.018Z] Removing intermediate container c255259329b1 [2022-06-27T20:05:59.018Z] ---> 01f89238366f [2022-06-27T20:05:59.018Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:05:59.018Z] ---> Running in ae2ba8141cd7 [2022-06-27T20:05:59.018Z] Removing intermediate container ae2ba8141cd7 [2022-06-27T20:05:59.018Z] ---> d91e6f4e774a [2022-06-27T20:05:59.018Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:05:59.018Z] ---> Running in 930c20d76891 [2022-06-27T20:05:59.018Z] Removing intermediate container 930c20d76891 [2022-06-27T20:05:59.018Z] ---> 2ca93ee61ba8 [2022-06-27T20:05:59.018Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:05:59.018Z] ---> Running in e5caa1855209 [2022-06-27T20:05:59.587Z] Removing intermediate container e5caa1855209 [2022-06-27T20:05:59.587Z] ---> 32105e63cbd2 [2022-06-27T20:05:59.587Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:05:59.587Z] ---> Running in 73f6ecd25c27 [2022-06-27T20:05:59.848Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:00.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:01.052Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T20:06:01.052Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T20:06:01.313Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T20:06:01.313Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T20:06:01.575Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T20:06:01.575Z] OK: 224 MiB in 56 packages [2022-06-27T20:06:01.834Z] Removing intermediate container 73f6ecd25c27 [2022-06-27T20:06:01.834Z] ---> 51f157f04faf [2022-06-27T20:06:01.834Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-27T20:06:01.834Z] ---> Running in cdcda3f3d79f [2022-06-27T20:06:02.093Z] Removing intermediate container cdcda3f3d79f [2022-06-27T20:06:02.093Z] ---> 103358a9859b [2022-06-27T20:06:02.093Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T20:06:02.093Z] ---> ce44980a832c [2022-06-27T20:06:02.093Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:06:02.093Z] ---> Running in 62dd641b777c [2022-06-27T20:06:02.681Z] Still waiting to schedule task [2022-06-27T20:06:02.681Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16131’ [2022-06-27T20:06:17.000Z] Removing intermediate container 62dd641b777c [2022-06-27T20:06:17.000Z] ---> 4ff1bdeb27d6 [2022-06-27T20:06:17.000Z] Step 11/12 : COPY . . [2022-06-27T20:06:17.000Z] ---> b641ad4d4463 [2022-06-27T20:06:17.000Z] Step 12/12 : RUN $MAKE [2022-06-27T20:06:17.000Z] ---> Running in f94ee4957b89 [2022-06-27T20:06:17.000Z] noop [2022-06-27T20:06:17.000Z] Removing intermediate container f94ee4957b89 [2022-06-27T20:06:17.000Z] ---> e93eae67f2c4 [2022-06-27T20:06:17.000Z] Successfully built e93eae67f2c4 [2022-06-27T20:06:17.000Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:17.429Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:06:17.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:17.576Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2022-06-27T20:06:17.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T20:06:17.972Z] $ docker top cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:06:18.357Z] + go version [2022-06-27T20:06:18.357Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T20:06:18.476Z] $ docker stop --time=1 cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 [2022-06-27T20:06:19.728Z] $ docker rm -f cb94d5f05efc6d11900d83d76b51bfa6d592dfd15654b4f792c156bd5ca083d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:20.413Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:06:20.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:06:20.555Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2022-06-27T20:06:20.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T20:06:20.991Z] $ docker top c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:06:21.440Z] + make test [2022-06-27T20:06:21.440Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:06:21.705Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-27T20:06:31.709Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-27T20:06:31.709Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-27T20:06:39.830Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:06:44.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:06:44.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:06:44.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T20:06:44.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T20:06:44.088Z] $ docker stop --time=1 c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a [2022-06-27T20:06:45.772Z] $ docker rm -f c0a87e00b3a7417065f44d0e5a7eb102ece4a0543799f91aa85e4b22e579477a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:06:46.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T20:06:46.332Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T20:06:47.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T20:06:47.428Z] + ls -al . [2022-06-27T20:06:47.428Z] total 172 [2022-06-27T20:06:47.428Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 20:06 . [2022-06-27T20:06:47.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:05 .. [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:05 .dockerignore [2022-06-27T20:06:47.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:05 .git [2022-06-27T20:06:47.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 .github [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:05 .gitignore [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:05 .golangci.yml [2022-06-27T20:06:47.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:05 .semver [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:05 Attribution.txt [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:05 CHANGELOG.md [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:05 Dockerfile [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:05 GOVERNANCE.md [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:05 Jenkinsfile [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:05 LICENSE [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:05 Makefile [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:05 OWNERS.md [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:05 README.md [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:05 VERSION [2022-06-27T20:06:47.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 bin [2022-06-27T20:06:47.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 cmd [2022-06-27T20:06:47.428Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:06 coverage.out [2022-06-27T20:06:47.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:05 driver [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 27 20:05 go.mod [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 36279 Jun 27 20:05 go.sum [2022-06-27T20:06:47.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:05 snap [2022-06-27T20:06:47.428Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:06:47.824Z] + 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=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 --label arch=amd64 --label version=0.0.0 . [2022-06-27T20:06:47.824Z] Sending build context to Docker daemon 10.69MB [2022-06-27T20:06:47.824Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:06:47.824Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-27T20:06:47.824Z] ---> e93eae67f2c4 [2022-06-27T20:06:47.824Z] Step 3/25 : ARG MAKE='make build' [2022-06-27T20:06:47.824Z] ---> Running in 480665b66ec4 [2022-06-27T20:06:48.087Z] Removing intermediate container 480665b66ec4 [2022-06-27T20:06:48.087Z] ---> b27c1c122268 [2022-06-27T20:06:48.087Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:06:48.087Z] ---> Running in 704967055a5d [2022-06-27T20:06:48.087Z] Removing intermediate container 704967055a5d [2022-06-27T20:06:48.087Z] ---> 520b80f4db7b [2022-06-27T20:06:48.087Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:06:48.087Z] ---> Running in 860e838bd4cc [2022-06-27T20:06:48.347Z] Removing intermediate container 860e838bd4cc [2022-06-27T20:06:48.347Z] ---> 8c95c591eb11 [2022-06-27T20:06:48.347Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:06:48.347Z] ---> Running in f332e4a590d2 [2022-06-27T20:06:48.913Z] Removing intermediate container f332e4a590d2 [2022-06-27T20:06:48.913Z] ---> 026e87e0d4a0 [2022-06-27T20:06:48.913Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:06:48.913Z] ---> Running in 2d37bd68b0c7 [2022-06-27T20:06:49.174Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:49.747Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:06:50.315Z] OK: 224 MiB in 56 packages [2022-06-27T20:06:50.575Z] Removing intermediate container 2d37bd68b0c7 [2022-06-27T20:06:50.575Z] ---> 8fd7f0016267 [2022-06-27T20:06:50.575Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-27T20:06:50.575Z] ---> Running in 94e7512db2e1 [2022-06-27T20:06:50.575Z] Removing intermediate container 94e7512db2e1 [2022-06-27T20:06:50.575Z] ---> 6b114a1283e0 [2022-06-27T20:06:50.575Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-27T20:06:50.834Z] ---> 3c6a9a9d5919 [2022-06-27T20:06:50.834Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:06:50.834Z] ---> Running in 7803c966f1e4 [2022-06-27T20:06:51.411Z] Removing intermediate container 7803c966f1e4 [2022-06-27T20:06:51.411Z] ---> a5d1269f9577 [2022-06-27T20:06:51.411Z] Step 11/25 : COPY . . [2022-06-27T20:06:51.671Z] ---> c44e7dadb3d8 [2022-06-27T20:06:51.671Z] Step 12/25 : RUN $MAKE [2022-06-27T20:06:51.671Z] ---> Running in c037536abca3 [2022-06-27T20:06:51.930Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-27T20:07:13.871Z] Removing intermediate container c037536abca3 [2022-06-27T20:07:13.871Z] ---> daeea74a9d90 [2022-06-27T20:07:13.871Z] Step 13/25 : FROM alpine:3.14 [2022-06-27T20:07:13.871Z] 3.14: Pulling from library/alpine [2022-06-27T20:07:13.871Z] 8663204ce13b: Pulling fs layer [2022-06-27T20:07:13.871Z] 8663204ce13b: Verifying Checksum [2022-06-27T20:07:13.871Z] 8663204ce13b: Download complete [2022-06-27T20:07:13.871Z] 8663204ce13b: Pull complete [2022-06-27T20:07:13.871Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T20:07:13.871Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T20:07:13.871Z] ---> e04c818066af [2022-06-27T20:07:13.871Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-27T20:07:13.871Z] ---> Running in 4ec017f5236c [2022-06-27T20:07:13.871Z] Removing intermediate container 4ec017f5236c [2022-06-27T20:07:13.871Z] ---> dc9bd35d70ff [2022-06-27T20:07:13.871Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-27T20:07:13.871Z] ---> Running in 9fb589f31dfb [2022-06-27T20:07:13.871Z] Removing intermediate container 9fb589f31dfb [2022-06-27T20:07:13.871Z] ---> e67803508c6c [2022-06-27T20:07:13.871Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T20:07:13.871Z] ---> Running in ddf0e4e6ff82 [2022-06-27T20:07:13.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:13.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:07:13.871Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T20:07:13.871Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T20:07:13.871Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T20:07:13.871Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T20:07:13.871Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T20:07:13.871Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T20:07:13.871Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T20:07:13.871Z] OK: 8 MiB in 20 packages [2022-06-27T20:07:13.871Z] Removing intermediate container ddf0e4e6ff82 [2022-06-27T20:07:13.871Z] ---> 9b5912bd8a6d [2022-06-27T20:07:13.871Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-27T20:07:14.440Z] ---> 059f37233009 [2022-06-27T20:07:14.440Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-27T20:07:14.701Z] ---> d406e098ca18 [2022-06-27T20:07:14.701Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-27T20:07:14.701Z] ---> cc31ea61ee29 [2022-06-27T20:07:14.701Z] Step 20/25 : EXPOSE 59986 [2022-06-27T20:07:14.701Z] ---> Running in d101fbc3622f [2022-06-27T20:07:14.960Z] Removing intermediate container d101fbc3622f [2022-06-27T20:07:14.960Z] ---> 06c33a943306 [2022-06-27T20:07:14.960Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-27T20:07:14.960Z] ---> Running in d6f28d040d71 [2022-06-27T20:07:14.960Z] Removing intermediate container d6f28d040d71 [2022-06-27T20:07:14.960Z] ---> 6806df69f4f4 [2022-06-27T20:07:14.960Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T20:07:14.960Z] ---> Running in 887df67c3e64 [2022-06-27T20:07:15.219Z] Removing intermediate container 887df67c3e64 [2022-06-27T20:07:15.219Z] ---> d984c88543a5 [2022-06-27T20:07:15.219Z] Step 23/25 : LABEL arch=amd64 [2022-06-27T20:07:15.219Z] ---> Running in 1cb078600e01 [2022-06-27T20:07:15.219Z] Removing intermediate container 1cb078600e01 [2022-06-27T20:07:15.219Z] ---> 57d26c9a2094 [2022-06-27T20:07:15.219Z] Step 24/25 : LABEL git_sha=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [2022-06-27T20:07:15.219Z] ---> Running in 2ca6ec57cf43 [2022-06-27T20:07:15.219Z] Removing intermediate container 2ca6ec57cf43 [2022-06-27T20:07:15.219Z] ---> 58127b197048 [2022-06-27T20:07:15.219Z] Step 25/25 : LABEL version=0.0.0 [2022-06-27T20:07:15.479Z] ---> Running in 5ca8e9274df7 [2022-06-27T20:07:15.479Z] Removing intermediate container 5ca8e9274df7 [2022-06-27T20:07:15.479Z] ---> 848b82c72642 [2022-06-27T20:07:15.479Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T20:07:15.479Z] Successfully built 848b82c72642 [2022-06-27T20:07:15.479Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:07:16.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:16.285Z] [2022-06-27T20:07:16.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:07:16.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:16.655Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T20:07:16.655Z] 5eb5b503b376: Pulling fs layer [2022-06-27T20:07:16.655Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T20:07:16.655Z] ec43610c2a17: Pulling fs layer [2022-06-27T20:07:16.655Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T20:07:16.655Z] 33b1e0a273af: Pulling fs layer [2022-06-27T20:07:16.655Z] 3a2ae6a8a46f: Waiting [2022-06-27T20:07:16.655Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T20:07:16.655Z] 2f39f015ded8: Pulling fs layer [2022-06-27T20:07:16.655Z] 33b1e0a273af: Waiting [2022-06-27T20:07:16.655Z] 5d3b04190fa2: Waiting [2022-06-27T20:07:16.655Z] 2f39f015ded8: Waiting [2022-06-27T20:07:16.655Z] 5c69ac0246d0: Download complete [2022-06-27T20:07:16.655Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T20:07:16.655Z] 3a2ae6a8a46f: Download complete [2022-06-27T20:07:16.655Z] 33b1e0a273af: Verifying Checksum [2022-06-27T20:07:16.655Z] 33b1e0a273af: Download complete [2022-06-27T20:07:16.655Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T20:07:16.655Z] 5d3b04190fa2: Download complete [2022-06-27T20:07:16.655Z] ec43610c2a17: Verifying Checksum [2022-06-27T20:07:16.655Z] ec43610c2a17: Download complete [2022-06-27T20:07:16.915Z] 5eb5b503b376: Verifying Checksum [2022-06-27T20:07:16.915Z] 5eb5b503b376: Download complete [2022-06-27T20:07:17.483Z] 2f39f015ded8: Download complete [2022-06-27T20:07:18.051Z] 5eb5b503b376: Pull complete [2022-06-27T20:07:18.309Z] 5c69ac0246d0: Pull complete [2022-06-27T20:07:18.568Z] ec43610c2a17: Pull complete [2022-06-27T20:07:18.828Z] 3a2ae6a8a46f: Pull complete [2022-06-27T20:07:18.828Z] 33b1e0a273af: Pull complete [2022-06-27T20:07:19.087Z] 5d3b04190fa2: Pull complete [2022-06-27T20:07:23.286Z] 2f39f015ded8: Pull complete [2022-06-27T20:07:23.286Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T20:07:23.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:07:23.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:07:23.499Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2022-06-27T20:07:23.534Z] $ 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-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:07:24.943Z] $ docker top 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:07:25.379Z] ---> job-cost.sh [2022-06-27T20:07:25.379Z] lf-activate-venv: SKIPPING [2022-06-27T20:07:25.379Z] INFO: No Stack... [2022-06-27T20:07:25.640Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:07:26.208Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:07:26.520Z] + + cutcat -d, /w/workspace/gexfoundry_device-rest-go_PR-201/archives/cost.csv -f6 [2022-06-27T20:07:26.520Z] [Pipeline] lock [2022-06-27T20:07:26.555Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [2022-06-27T20:07:26.560Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] did not exist. Created. [2022-06-27T20:07:26.560Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:07:26.950Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T20:07:26.995Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:07:27.018Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:07:27.086Z] $ docker stop --time=1 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 [2022-06-27T20:07:28.247Z] $ docker rm -f 6747f21ca0d971b5a0ec545ae22f0a66c628a0d535d162281d4b456bb96a20e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:08:10.762Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16136 in /w/workspace/gexfoundry_device-rest-go_PR-201 [Pipeline] { [Pipeline] ws [2022-06-27T20:08:10.799Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T20:08:10.907Z] The recommended git tool is: git [2022-06-27T20:08:17.424Z] using credential edgex-jenkins-ssh [2022-06-27T20:08:17.446Z] Cloning the remote Git repository [2022-06-27T20:08:17.499Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:08:17.579Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-27T20:08:17.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:08:17.651Z] > git --version # timeout=10 [2022-06-27T20:08:17.672Z] > git --version # 'git version 2.25.1' [2022-06-27T20:08:17.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:08:17.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:08:19.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-27T20:08:19.580Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:08:19.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-27T20:08:19.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-27T20:08:19.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:08:19.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/201/head:refs/remotes/origin/PR-201 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T20:08:20.112Z] Merging remotes/origin/main commit a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [2022-06-27T20:08:20.340Z] Merge succeeded, producing 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [2022-06-27T20:08:20.340Z] Checking out Revision 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 (PR-201) [2022-06-27T20:08:20.131Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:08:20.150Z] > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 [2022-06-27T20:08:20.239Z] > git remote # timeout=10 [2022-06-27T20:08:20.256Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T20:08:20.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:08:20.291Z] > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [2022-06-27T20:08:20.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T20:08:20.347Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:08:20.365Z] > git checkout -f 7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 # timeout=10 [2022-06-27T20:08:24.784Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5" [2022-06-27T20:08:24.849Z] > git --version # timeout=10 [2022-06-27T20:08:24.860Z] > git --version # 'git version 2.25.1' [2022-06-27T20:08:24.876Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:08:25.971Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T20:08:25.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:08:25.971Z] Dload Upload Total Spent Left Speed [2022-06-27T20:08:25.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86288 0 --:--:-- --:--:-- --:--:-- 86288 [Pipeline] sh [2022-06-27T20:08:26.732Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T20:08:27.323Z] + sudo tee /etc/docker/daemon.new [2022-06-27T20:08:27.323Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T20:08:27.323Z] { [2022-06-27T20:08:27.323Z] "registry-mirrors": [ [2022-06-27T20:08:27.323Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T20:08:27.323Z] ], [2022-06-27T20:08:27.323Z] "bip": "10.250.0.254/24", [2022-06-27T20:08:27.323Z] "hosts": [ [2022-06-27T20:08:27.323Z] "tcp://0.0.0.0:5555", [2022-06-27T20:08:27.323Z] "unix:///var/run/docker.sock" [2022-06-27T20:08:27.323Z] ], [2022-06-27T20:08:27.323Z] "mtu": 1458, [2022-06-27T20:08:27.323Z] "selinux-enabled": true, [2022-06-27T20:08:27.323Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T20:08:27.323Z] } [Pipeline] sh [2022-06-27T20:08:27.684Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T20:08:28.039Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:08:46.439Z] provisioning config files... [2022-06-27T20:08:46.465Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5795596867582880603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:08:46.858Z] ---> docker-login.sh [2022-06-27T20:08:46.858Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:08:47.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:08:47.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:08:47.725Z] Configure a credential helper to remove this warning. See [2022-06-27T20:08:47.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:08:47.725Z] [2022-06-27T20:08:47.725Z] Login Succeeded [2022-06-27T20:08:47.725Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:08:47.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:08:47.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:08:47.999Z] Configure a credential helper to remove this warning. See [2022-06-27T20:08:47.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:08:47.999Z] [2022-06-27T20:08:47.999Z] Login Succeeded [2022-06-27T20:08:47.999Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:08:48.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:08:48.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:08:48.599Z] Configure a credential helper to remove this warning. See [2022-06-27T20:08:48.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:08:48.599Z] [2022-06-27T20:08:48.599Z] Login Succeeded [2022-06-27T20:08:48.599Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:08:48.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:08:48.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:08:48.876Z] Configure a credential helper to remove this warning. See [2022-06-27T20:08:48.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:08:48.876Z] [2022-06-27T20:08:48.876Z] Login Succeeded [2022-06-27T20:08:48.876Z] docker.io [2022-06-27T20:08:49.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:08:49.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:08:49.741Z] Configure a credential helper to remove this warning. See [2022-06-27T20:08:49.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:08:49.741Z] [2022-06-27T20:08:49.741Z] Login Succeeded [2022-06-27T20:08:49.741Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:08:49.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:08:50.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:08:50.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:08:50.213Z] ========================================================= [2022-06-27T20:08:50.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T20:08:50.213Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:08:50.722Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T20:08:50.722Z] Sending build context to Docker daemon 129kB [2022-06-27T20:08:50.999Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:08:50.999Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T20:08:50.999Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T20:08:50.999Z] 9b3977197b4f: Pulling fs layer [2022-06-27T20:08:50.999Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T20:08:50.999Z] 94645a83ff95: Pulling fs layer [2022-06-27T20:08:50.999Z] e6fb740bc735: Pulling fs layer [2022-06-27T20:08:50.999Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T20:08:50.999Z] 355e64cbe906: Pulling fs layer [2022-06-27T20:08:50.999Z] 63ab81a10011: Pulling fs layer [2022-06-27T20:08:50.999Z] 555d1d1c4555: Pulling fs layer [2022-06-27T20:08:50.999Z] 7d9057610161: Pulling fs layer [2022-06-27T20:08:50.999Z] e6fb740bc735: Waiting [2022-06-27T20:08:50.999Z] 3a77bd46dcc9: Waiting [2022-06-27T20:08:50.999Z] 555d1d1c4555: Waiting [2022-06-27T20:08:50.999Z] 7d9057610161: Waiting [2022-06-27T20:08:50.999Z] 355e64cbe906: Waiting [2022-06-27T20:08:50.999Z] 63ab81a10011: Waiting [2022-06-27T20:08:51.272Z] 94645a83ff95: Verifying Checksum [2022-06-27T20:08:51.272Z] 94645a83ff95: Download complete [2022-06-27T20:08:51.272Z] 1a89e8eeedd5: Download complete [2022-06-27T20:08:51.272Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T20:08:51.272Z] 3a77bd46dcc9: Download complete [2022-06-27T20:08:51.272Z] 355e64cbe906: Verifying Checksum [2022-06-27T20:08:51.272Z] 355e64cbe906: Download complete [2022-06-27T20:08:51.272Z] 9b3977197b4f: Verifying Checksum [2022-06-27T20:08:51.272Z] 9b3977197b4f: Download complete [2022-06-27T20:08:51.272Z] 63ab81a10011: Verifying Checksum [2022-06-27T20:08:51.272Z] 63ab81a10011: Download complete [2022-06-27T20:08:52.275Z] 7d9057610161: Verifying Checksum [2022-06-27T20:08:52.275Z] 7d9057610161: Download complete [2022-06-27T20:08:52.275Z] 9b3977197b4f: Pull complete [2022-06-27T20:08:52.874Z] 1a89e8eeedd5: Pull complete [2022-06-27T20:08:53.151Z] 94645a83ff95: Pull complete [2022-06-27T20:08:53.426Z] 555d1d1c4555: Verifying Checksum [2022-06-27T20:08:53.426Z] 555d1d1c4555: Download complete [2022-06-27T20:08:54.026Z] e6fb740bc735: Verifying Checksum [2022-06-27T20:08:54.026Z] e6fb740bc735: Download complete [2022-06-27T20:09:06.420Z] e6fb740bc735: Pull complete [2022-06-27T20:09:06.420Z] 3a77bd46dcc9: Pull complete [2022-06-27T20:09:06.420Z] 355e64cbe906: Pull complete [2022-06-27T20:09:06.420Z] 63ab81a10011: Pull complete [2022-06-27T20:09:13.141Z] 555d1d1c4555: Pull complete [2022-06-27T20:09:14.576Z] 7d9057610161: Pull complete [2022-06-27T20:09:14.576Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T20:09:14.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T20:09:14.576Z] ---> 819e984ddca1 [2022-06-27T20:09:14.576Z] Step 3/12 : ARG MAKE='make build' [2022-06-27T20:09:16.007Z] ---> Running in fb7066009e7b [2022-06-27T20:09:16.608Z] Removing intermediate container fb7066009e7b [2022-06-27T20:09:16.608Z] ---> 06c6edabddf4 [2022-06-27T20:09:16.608Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:09:16.608Z] ---> Running in 4c1b830f6981 [2022-06-27T20:09:16.890Z] Removing intermediate container 4c1b830f6981 [2022-06-27T20:09:16.890Z] ---> 8a4ab7a4f3b6 [2022-06-27T20:09:16.890Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:09:17.169Z] ---> Running in 1d09eb4275f7 [2022-06-27T20:09:18.162Z] Removing intermediate container 1d09eb4275f7 [2022-06-27T20:09:18.162Z] ---> 3de18cd1f15e [2022-06-27T20:09:18.162Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:09:18.450Z] ---> Running in 93856b8598f2 [2022-06-27T20:09:20.438Z] Removing intermediate container 93856b8598f2 [2022-06-27T20:09:20.438Z] ---> 069b91fb2c7c [2022-06-27T20:09:20.438Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:09:20.438Z] ---> Running in b43a51fed698 [2022-06-27T20:09:21.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:09:22.018Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:09:22.996Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T20:09:22.996Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T20:09:23.269Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T20:09:23.269Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T20:09:23.558Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T20:09:23.558Z] OK: 224 MiB in 56 packages [2022-06-27T20:09:24.544Z] Removing intermediate container b43a51fed698 [2022-06-27T20:09:24.544Z] ---> e63599f0a034 [2022-06-27T20:09:24.544Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-27T20:09:24.544Z] ---> Running in dc8d5ea0fade [2022-06-27T20:09:24.822Z] Removing intermediate container dc8d5ea0fade [2022-06-27T20:09:24.822Z] ---> 0fc8eefc6748 [2022-06-27T20:09:24.822Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-27T20:09:25.422Z] ---> 9d31e8933e4d [2022-06-27T20:09:25.422Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:09:25.422Z] ---> Running in 8c3bff725450 [2022-06-27T20:10:12.422Z] Removing intermediate container 8c3bff725450 [2022-06-27T20:10:12.422Z] ---> 130c3d981829 [2022-06-27T20:10:12.422Z] Step 11/12 : COPY . . [2022-06-27T20:10:12.422Z] ---> 5f1a95218634 [2022-06-27T20:10:12.422Z] Step 12/12 : RUN $MAKE [2022-06-27T20:10:12.422Z] ---> Running in 421a48823ebb [2022-06-27T20:10:12.422Z] noop [2022-06-27T20:10:12.422Z] Removing intermediate container 421a48823ebb [2022-06-27T20:10:12.422Z] ---> 87bf32697059 [2022-06-27T20:10:12.422Z] Successfully built 87bf32697059 [2022-06-27T20:10:12.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:10:12.910Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:10:12.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:10:13.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container [2022-06-27T20:10:13.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T20:10:14.673Z] $ docker top b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:10:15.620Z] + go version [2022-06-27T20:10:15.620Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T20:10:15.657Z] $ docker stop --time=1 b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e [2022-06-27T20:10:17.345Z] $ docker rm -f b9a7737db3be2be823eebea0c49e9e561be8a40de752ae5c2fa0f8137df0a17e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:10:18.281Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:10:18.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:10:18.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container [2022-06-27T20:10:18.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T20:10:19.978Z] $ docker top 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:10:20.961Z] + make test [2022-06-27T20:10:20.961Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:10:22.393Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-27T20:11:44.228Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-27T20:11:44.228Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements [2022-06-27T20:11:44.228Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T20:11:44.228Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T20:12:11.046Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T20:12:11.046Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T20:12:11.046Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T20:12:13.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T20:12:13.742Z] $ docker stop --time=1 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f [2022-06-27T20:12:15.544Z] $ docker rm -f 253b7b24afbe2c8a3db77efa52a60e13e4f3b01fae58b987e90bb1b41da7ae8f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:12:16.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T20:12:16.621Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T20:12:17.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:12:17.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T20:12:18.086Z] + ls -al . [2022-06-27T20:12:18.086Z] total 168 [2022-06-27T20:12:18.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:12 . [2022-06-27T20:12:18.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 20:08 .. [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 20:08 .dockerignore [2022-06-27T20:12:18.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 20:08 .git [2022-06-27T20:12:18.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 .github [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 20:08 .gitignore [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 20:08 .golangci.yml [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 27 20:08 Attribution.txt [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 27 20:08 CHANGELOG.md [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 27 20:08 Dockerfile [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 20:08 GOVERNANCE.md [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 20:08 Jenkinsfile [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 20:08 LICENSE [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 27 20:08 Makefile [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 20:08 OWNERS.md [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 27 20:08 README.md [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 20:05 VERSION [2022-06-27T20:12:18.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:08 bin [2022-06-27T20:12:18.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 cmd [2022-06-27T20:12:18.086Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 27 20:11 coverage.out [2022-06-27T20:12:18.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 20:08 driver [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 27 20:08 go.mod [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 36279 Jun 27 20:08 go.sum [2022-06-27T20:12:18.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 20:08 snap [2022-06-27T20:12:18.086Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:12:18.553Z] + 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=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 --label arch=arm64 --label version=0.0.0 . [2022-06-27T20:12:18.553Z] Sending build context to Docker daemon 139.3kB [2022-06-27T20:12:18.829Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:12:18.829Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-27T20:12:18.829Z] ---> 87bf32697059 [2022-06-27T20:12:18.829Z] Step 3/25 : ARG MAKE='make build' [2022-06-27T20:12:19.110Z] ---> Running in e11b6860471d [2022-06-27T20:12:19.387Z] Removing intermediate container e11b6860471d [2022-06-27T20:12:19.387Z] ---> 359c2e3c5b41 [2022-06-27T20:12:19.387Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:12:19.387Z] ---> Running in 843a2bdd84be [2022-06-27T20:12:19.664Z] Removing intermediate container 843a2bdd84be [2022-06-27T20:12:19.664Z] ---> a525a910045e [2022-06-27T20:12:19.664Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:12:19.942Z] ---> Running in 4a1789c6ce76 [2022-06-27T20:12:20.223Z] Removing intermediate container 4a1789c6ce76 [2022-06-27T20:12:20.223Z] ---> 9bffae23a8f5 [2022-06-27T20:12:20.223Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:12:20.223Z] ---> Running in f202813d9d0a [2022-06-27T20:12:22.227Z] Removing intermediate container f202813d9d0a [2022-06-27T20:12:22.227Z] ---> 85d99ce1ef8b [2022-06-27T20:12:22.227Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:12:22.227Z] ---> Running in 5c204d3edb38 [2022-06-27T20:12:23.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:12:24.212Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:12:25.197Z] OK: 224 MiB in 56 packages [2022-06-27T20:12:25.819Z] Removing intermediate container 5c204d3edb38 [2022-06-27T20:12:25.819Z] ---> 1c57de44d51b [2022-06-27T20:12:25.819Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-27T20:12:26.096Z] ---> Running in 4f91cccf3c04 [2022-06-27T20:12:26.373Z] Removing intermediate container 4f91cccf3c04 [2022-06-27T20:12:26.373Z] ---> 939afbf483ce [2022-06-27T20:12:26.373Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-27T20:12:26.976Z] ---> 6f617d740c71 [2022-06-27T20:12:26.976Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:12:26.976Z] ---> Running in 388baaa640ce [2022-06-27T20:12:28.973Z] Removing intermediate container 388baaa640ce [2022-06-27T20:12:28.973Z] ---> a31ffb0c069e [2022-06-27T20:12:28.973Z] Step 11/25 : COPY . . [2022-06-27T20:12:29.581Z] ---> 2c0b5ac1aa53 [2022-06-27T20:12:29.581Z] Step 12/25 : RUN $MAKE [2022-06-27T20:12:29.874Z] ---> Running in 96f4de2b70ea [2022-06-27T20:12:30.861Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-27T20:14:37.769Z] Removing intermediate container 96f4de2b70ea [2022-06-27T20:14:37.769Z] ---> 080560b8ca4e [2022-06-27T20:14:37.769Z] Step 13/25 : FROM alpine:3.14 [2022-06-27T20:14:37.769Z] 3.14: Pulling from library/alpine [2022-06-27T20:14:37.769Z] 455c02918c45: Pulling fs layer [2022-06-27T20:14:37.769Z] 455c02918c45: Verifying Checksum [2022-06-27T20:14:37.769Z] 455c02918c45: Download complete [2022-06-27T20:14:37.769Z] 455c02918c45: Pull complete [2022-06-27T20:14:37.769Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T20:14:37.769Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T20:14:37.769Z] ---> ac73e934f311 [2022-06-27T20:14:37.769Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-27T20:14:37.769Z] ---> Running in 121d28c082bc [2022-06-27T20:14:37.769Z] Removing intermediate container 121d28c082bc [2022-06-27T20:14:37.769Z] ---> 0ff565cbbc09 [2022-06-27T20:14:37.769Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-27T20:14:37.769Z] ---> Running in 1e8a97cbd98d [2022-06-27T20:14:37.769Z] Removing intermediate container 1e8a97cbd98d [2022-06-27T20:14:37.769Z] ---> e4bc92f2339e [2022-06-27T20:14:37.769Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T20:14:37.769Z] ---> Running in ad4924850c77 [2022-06-27T20:14:37.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:14:38.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:14:38.649Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T20:14:38.649Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T20:14:38.928Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T20:14:38.928Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T20:14:38.928Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T20:14:38.928Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T20:14:38.928Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T20:14:38.928Z] OK: 8 MiB in 20 packages [2022-06-27T20:14:39.917Z] Removing intermediate container ad4924850c77 [2022-06-27T20:14:39.917Z] ---> dc2dac644ab1 [2022-06-27T20:14:39.917Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-27T20:14:41.359Z] ---> 40d86e2b9628 [2022-06-27T20:14:41.359Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-27T20:14:41.956Z] ---> 37419900450f [2022-06-27T20:14:41.956Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-27T20:14:42.555Z] ---> fac072dc50be [2022-06-27T20:14:42.555Z] Step 20/25 : EXPOSE 59986 [2022-06-27T20:14:42.555Z] ---> Running in 4348cba2d2d0 [2022-06-27T20:14:42.828Z] Removing intermediate container 4348cba2d2d0 [2022-06-27T20:14:42.829Z] ---> 0353b818aa3b [2022-06-27T20:14:42.829Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-27T20:14:42.829Z] ---> Running in f62142215b22 [2022-06-27T20:14:43.102Z] Removing intermediate container f62142215b22 [2022-06-27T20:14:43.102Z] ---> 1f18ac4f36d9 [2022-06-27T20:14:43.102Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-27T20:14:43.102Z] ---> Running in e826cdb1bb82 [2022-06-27T20:14:43.377Z] Removing intermediate container e826cdb1bb82 [2022-06-27T20:14:43.377Z] ---> 5b46a523d8bc [2022-06-27T20:14:43.377Z] Step 23/25 : LABEL arch=arm64 [2022-06-27T20:14:43.663Z] ---> Running in c02e9ae4803c [2022-06-27T20:14:43.939Z] Removing intermediate container c02e9ae4803c [2022-06-27T20:14:43.939Z] ---> fef9c3d9e0ba [2022-06-27T20:14:43.939Z] Step 24/25 : LABEL git_sha=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [2022-06-27T20:14:43.939Z] ---> Running in 1e12ba6fce5a [2022-06-27T20:14:44.214Z] Removing intermediate container 1e12ba6fce5a [2022-06-27T20:14:44.214Z] ---> 84f0c515ff19 [2022-06-27T20:14:44.214Z] Step 25/25 : LABEL version=0.0.0 [2022-06-27T20:14:44.505Z] ---> Running in a878f565f1ce [2022-06-27T20:14:44.781Z] Removing intermediate container a878f565f1ce [2022-06-27T20:14:44.781Z] ---> 949546419e7f [2022-06-27T20:14:44.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T20:14:44.781Z] Successfully built 949546419e7f [2022-06-27T20:14:44.781Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:14:45.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:14:45.559Z] [2022-06-27T20:14:45.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:14:45.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:14:46.247Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T20:14:46.247Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T20:14:46.247Z] 04944245beec: Pulling fs layer [2022-06-27T20:14:46.247Z] 699f458cf7ca: Pulling fs layer [2022-06-27T20:14:46.247Z] 765212b225bb: Pulling fs layer [2022-06-27T20:14:46.247Z] f23df028b6ca: Pulling fs layer [2022-06-27T20:14:46.247Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T20:14:46.247Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T20:14:46.247Z] 765212b225bb: Waiting [2022-06-27T20:14:46.247Z] f23df028b6ca: Waiting [2022-06-27T20:14:46.247Z] d65c8cfc05b1: Waiting [2022-06-27T20:14:46.247Z] 2437ff75d9bd: Waiting [2022-06-27T20:14:46.247Z] 04944245beec: Verifying Checksum [2022-06-27T20:14:46.247Z] 04944245beec: Download complete [2022-06-27T20:14:46.247Z] 765212b225bb: Verifying Checksum [2022-06-27T20:14:46.247Z] 765212b225bb: Download complete [2022-06-27T20:14:46.247Z] f23df028b6ca: Verifying Checksum [2022-06-27T20:14:46.247Z] f23df028b6ca: Download complete [2022-06-27T20:14:46.247Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T20:14:46.247Z] d65c8cfc05b1: Download complete [2022-06-27T20:14:46.524Z] 699f458cf7ca: Verifying Checksum [2022-06-27T20:14:46.524Z] 699f458cf7ca: Download complete [2022-06-27T20:14:46.799Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T20:14:46.799Z] 8998bd30e6a1: Download complete [2022-06-27T20:14:49.418Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T20:14:49.418Z] 2437ff75d9bd: Download complete [2022-06-27T20:14:51.407Z] 8998bd30e6a1: Pull complete [2022-06-27T20:14:51.407Z] 04944245beec: Pull complete [2022-06-27T20:14:52.844Z] 699f458cf7ca: Pull complete [2022-06-27T20:14:53.116Z] 765212b225bb: Pull complete [2022-06-27T20:14:54.103Z] f23df028b6ca: Pull complete [2022-06-27T20:14:54.379Z] d65c8cfc05b1: Pull complete [2022-06-27T20:15:09.491Z] 2437ff75d9bd: Pull complete [2022-06-27T20:15:09.491Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T20:15:09.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:15:09.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:15:09.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-16136 does not seem to be running inside a container [2022-06-27T20:15:09.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T20:15:12.557Z] $ docker top 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:13.532Z] ---> job-cost.sh [2022-06-27T20:15:13.532Z] lf-activate-venv: SKIPPING [2022-06-27T20:15:13.532Z] INFO: No Stack... [2022-06-27T20:15:13.809Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T20:15:14.788Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:15:15.479Z] + cut -d, -f6 [2022-06-27T20:15:15.479Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-06-27T20:15:15.568Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [2022-06-27T20:15:15.572Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] did not exist. Created. [2022-06-27T20:15:15.572Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:15:16.323Z] /w/workspace/device-rest-go/1@tmp/durable-5724e3ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T20:15:17.038Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T20:15:17.073Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T20:15:17.126Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:15:17.142Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-201-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:15:17.224Z] $ docker stop --time=1 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 [2022-06-27T20:15:18.772Z] $ docker rm -f 5c2182eaca50d38efc2a9597441617af6ca664a4682986537e8a37d512367244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-27T20:15:19.738Z] provisioning config files... [2022-06-27T20:15:19.745Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config9056801138261646216tmp [Pipeline] { [Pipeline] sh [2022-06-27T20:15:20.075Z] + set +x [2022-06-27T20:15:20.075Z] + + bash -s -- [2022-06-27T20:15:20.075Z] curl -s https://codecov.io/bash [2022-06-27T20:15:20.075Z] [2022-06-27T20:15:20.075Z] _____ _ [2022-06-27T20:15:20.075Z] / ____| | | [2022-06-27T20:15:20.075Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T20:15:20.075Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T20:15:20.075Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T20:15:20.075Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T20:15:20.075Z] Bash-1.0.6 [2022-06-27T20:15:20.075Z] [2022-06-27T20:15:20.075Z] [2022-06-27T20:15:20.075Z] ==> git version 2.25.1 found [2022-06-27T20:15:20.075Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-27T20:15:20.075Z] Release-Date: 2020-01-08 [2022-06-27T20:15:20.075Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-27T20:15:20.075Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T20:15:20.075Z] ==> Jenkins CI detected. [2022-06-27T20:15:20.075Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-201 [2022-06-27T20:15:20.075Z] project root: . [2022-06-27T20:15:20.075Z] --> token set from env [2022-06-27T20:15:20.075Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T20:15:20.075Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T20:15:20.075Z] ==> Python coveragepy not found [2022-06-27T20:15:20.075Z] ==> Searching for coverage reports in: [2022-06-27T20:15:20.075Z] + . [2022-06-27T20:15:20.075Z] -> Found 1 reports [2022-06-27T20:15:20.075Z] ==> Detecting git/mercurial file structure [2022-06-27T20:15:20.075Z] ==> Reading reports [2022-06-27T20:15:20.075Z] + ./coverage.out bytes=9355 [2022-06-27T20:15:20.075Z] ==> Appending adjustments [2022-06-27T20:15:20.075Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T20:15:20.075Z] + Found adjustments [2022-06-27T20:15:20.334Z] ==> Gzipping contents [2022-06-27T20:15:20.334Z] 4.0K /tmp/codecov.xR8Zou.gz [2022-06-27T20:15:20.334Z] ==> Uploading reports [2022-06-27T20:15:20.334Z] url: https://codecov.io [2022-06-27T20:15:20.334Z] query: branch=PR-201&commit=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-06-27T20:15:20.334Z] -> Pinging Codecov [2022-06-27T20:15:20.334Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-201&commit=7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-201%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=201&job=&cmd_args= [2022-06-27T20:15:20.594Z] -> Uploading to [2022-06-27T20:15:20.594Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/4E5D53B4F1F92C436F7061BF334D961C/7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0/00603844-89d4-419d-9fcd-65e53b0870f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T201520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cac36ce6c9f5b04dc7cca415abf28869217a1635fae741c72d12f1a694ac554f [2022-06-27T20:15:20.594Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:15:20.594Z] Dload Upload Total Spent Left Speed [2022-06-27T20:15:20.594Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8135 100 1806 0 0 100 1806 0 8098 --:--:-- --:--:-- --:--:-- 8062 [2022-06-27T20:15:20.853Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7d0a3459a62ec78e6a91ff6ba0c424d4027d8cd0 [Pipeline] } [2022-06-27T20:15:20.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-27T20:15:22.533Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-201/archives ] [2022-06-27T20:15:22.533Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-201/archives [2022-06-27T20:15:22.533Z] total 16 [2022-06-27T20:15:22.533Z] drwxr-xr-x 3 root root 4096 Jun 27 20:07 . [2022-06-27T20:15:22.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. [2022-06-27T20:15:22.533Z] drwxr-xr-x 2 root root 4096 Jun 27 20:07 cost [2022-06-27T20:15:22.533Z] -rw-r--r-- 1 root root 85 Jun 27 20:07 cost.csv [2022-06-27T20:15:22.533Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-201/archives [2022-06-27T20:15:22.533Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-201/archives [2022-06-27T20:15:22.533Z] total 16 [2022-06-27T20:15:22.533Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:07 . [2022-06-27T20:15:22.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:07 .. [2022-06-27T20:15:22.533Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:07 cost [2022-06-27T20:15:22.533Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 27 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:22.873Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:23.768Z] ---> package-listing.sh [2022-06-27T20:15:23.768Z] ++ facter osfamily [2022-06-27T20:15:23.768Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T20:15:24.027Z] + OS_FAMILY=debian [2022-06-27T20:15:24.027Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-201 [2022-06-27T20:15:24.027Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T20:15:24.027Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T20:15:24.027Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T20:15:24.027Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T20:15:24.027Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-201 ']' [2022-06-27T20:15:24.027Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T20:15:24.027Z] + case "${OS_FAMILY}" in [2022-06-27T20:15:24.027Z] + dpkg -l [2022-06-27T20:15:24.027Z] + grep '^ii' [2022-06-27T20:15:24.027Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T20:15:24.027Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T20:15:24.027Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T20:15:24.027Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-201 ']' [2022-06-27T20:15:24.027Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-201/archives/ [2022-06-27T20:15:24.027Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-201/archives/ [Pipeline] echo [2022-06-27T20:15:24.058Z] 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-201/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T20:15:24.352Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:15:24.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:15:24.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:15:25.126Z] prd-ubuntu20.04-docker-8c-8g-16134 does not seem to be running inside a container [2022-06-27T20:15:25.159Z] $ 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-201/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-201 -v /w/workspace/gexfoundry_device-rest-go_PR-201:/w/workspace/gexfoundry_device-rest-go_PR-201:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-201@tmp:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T20:15:25.370Z] $ docker top 35e280ee1d9564b1e8cd34c829272fa809ad11e9224b0328bea54d91a1f05be4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:15:25.757Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T20:15:26.066Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T20:15:26.369Z] + ls /var/log/sa-host [2022-06-27T20:15:26.369Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:15:26.547Z] provisioning config files... [2022-06-27T20:15:26.555Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-201@tmp/config136027271023209406tmp [Pipeline] { [Pipeline] echo [2022-06-27T20:15:26.605Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:26.912Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T20:15:26.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:27.328Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T20:15:27.359Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:27.671Z] ---> sudo-logs.sh [2022-06-27T20:15:27.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T20:15:27.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:28.058Z] ---> job-cost.sh [2022-06-27T20:15:28.058Z] lf-activate-venv: SKIPPING [2022-06-27T20:15:28.058Z] DEBUG: total: 0.2199999988079071 [2022-06-27T20:15:28.058Z] INFO: Retrieving Stack Cost... [2022-06-27T20:15:28.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:15:28.892Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T20:15:28.927Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:29.241Z] ---> logs-deploy.sh [2022-06-27T20:15:29.241Z] lf-activate-venv: SKIPPING [2022-06-27T20:15:29.241Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-201/1 [2022-06-27T20:15:29.241Z] INFO: archiving workspace using pattern(s): [2022-06-27T20:15:30.181Z] Archives upload complete. [2022-06-27T20:15:30.181Z] INFO: archiving logs to Nexus