Pull request #163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 928ac87b7fcc99c492c1d1d83839fada765d9d81+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (74fa27ce0098d169143952c869c0ba9c5f5aa805) 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-ssh10853423722697939023.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh15546043228309617179.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-163/workspace@libs/edgex-global-pipelines # 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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15534380155391601717.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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1954036058250987870.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh12396231032352458541.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-163/workspace@libs/lf-pipelines # 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-163/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5584731617868767432.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9276 in /w/workspace/gexfoundry_device-rest-go_PR-163 [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-163 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 928ac87b7fcc99c492c1d1d83839fada765d9d81 Merge succeeded, producing 928ac87b7fcc99c492c1d1d83839fada765d9d81 Checking out Revision 928ac87b7fcc99c492c1d1d83839fada765d9d81 (PR-163) > 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/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 928ac87b7fcc99c492c1d1d83839fada765d9d81 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 928ac87b7fcc99c492c1d1d83839fada765d9d81 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T20:03:38.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T20:03:38.496Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T20:03:38.589Z] ========================================================= [2022-03-28T20:03:38.589Z] EdgeX Global Pipelines Version Info [2022-03-28T20:03:38.589Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:03:39.373Z] ------------------- [2022-03-28T20:03:39.373Z] stable info: [2022-03-28T20:03:39.373Z] ------------------- [2022-03-28T20:03:39.373Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T20:03:39.373Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T20:03:39.373Z] Message: update stable to v1.0.221 [2022-03-28T20:03:39.946Z] ------------------- [2022-03-28T20:03:39.946Z] experimental info: [2022-03-28T20:03:39.946Z] ------------------- [2022-03-28T20:03:39.946Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T20:03:39.946Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T20:03:39.946Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T20:03:40.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-28T20:03:40.221Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-28T20:03:40.257Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T20:03:40.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T20:03:40.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T20:03:40.359Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T20:03:40.401Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T20:03:40.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-28T20:03:40.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T20:03:40.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T20:03:40.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T20:03:40.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-28T20:03:40.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T20:03:40.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T20:03:40.726Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T20:03:40.764Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T20:03:40.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T20:03:40.845Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T20:03:40.884Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T20:03:40.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T20:03:40.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-28T20:03:41.024Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-28T20:03:41.063Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T20:03:41.106Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T20:03:41.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T20:03:41.184Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T20:03:41.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo [2022-03-28T20:03:41.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo [2022-03-28T20:03:41.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo [2022-03-28T20:03:41.341Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 928ac87b7fcc99c492c1d1d83839fada765d9d81 [Pipeline] echo [2022-03-28T20:03:41.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 928ac87 [Pipeline] echo [2022-03-28T20:03:41.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:03:41.530Z] provisioning config files... [2022-03-28T20:03:41.543Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/config791962940651030075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:03:41.893Z] ---> docker-login.sh [2022-03-28T20:03:41.893Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:03:42.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:42.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:42.153Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:42.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:42.153Z] [2022-03-28T20:03:42.153Z] Login Succeeded [2022-03-28T20:03:42.153Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:03:42.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:42.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:42.414Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:42.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:42.414Z] [2022-03-28T20:03:42.414Z] Login Succeeded [2022-03-28T20:03:42.414Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:03:42.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:42.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:42.414Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:42.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:42.414Z] [2022-03-28T20:03:42.414Z] Login Succeeded [2022-03-28T20:03:42.414Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:03:42.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:42.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:42.676Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:42.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:42.676Z] [2022-03-28T20:03:42.676Z] Login Succeeded [2022-03-28T20:03:42.676Z] docker.io [2022-03-28T20:03:42.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:43.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:43.003Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:43.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:43.003Z] [2022-03-28T20:03:43.003Z] Login Succeeded [2022-03-28T20:03:43.003Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:03:43.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T20:03:43.662Z] + git rev-list -1 --merges 928ac87b7fcc99c492c1d1d83839fada765d9d81~1..928ac87b7fcc99c492c1d1d83839fada765d9d81 [Pipeline] echo [2022-03-28T20:03:43.712Z] -----------> git rev-list -1 --merges 928ac87b7fcc99c492c1d1d83839fada765d9d81~1..928ac87b7fcc99c492c1d1d83839fada765d9d81 928ac87b7fcc99c492c1d1d83839fada765d9d81 [false] [Pipeline] sh [2022-03-28T20:03:44.023Z] + git log --format=format:%s -1 928ac87b7fcc99c492c1d1d83839fada765d9d81 [Pipeline] echo [2022-03-28T20:03:44.056Z] ========================================================= [2022-03-28T20:03:44.056Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T20:03:44.056Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:03:44.498Z] + git log --format=format:%s -1 928ac87b7fcc99c492c1d1d83839fada765d9d81 [Pipeline] echo [2022-03-28T20:03:44.533Z] [semverPrep] GIT_COMMIT: 928ac87b7fcc99c492c1d1d83839fada765d9d81, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-03-28T20:03:44.563Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T20:03:45.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T20:03:45.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T20:03:45.018Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T20:03:45.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T20:03:45.018Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T20:03:45.018Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T20:03:45.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:03:45.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:03:45.466Z] [2022-03-28T20:03:45.466Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:03:45.810Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:03:45.810Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T20:03:45.810Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T20:03:45.810Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T20:03:45.810Z] 4c7163046ea9: Pulling fs layer [2022-03-28T20:03:45.810Z] 0c2d73faf560: Pulling fs layer [2022-03-28T20:03:45.810Z] 0c2d73faf560: Waiting [2022-03-28T20:03:45.810Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T20:03:45.810Z] 3e5f54012d9b: Download complete [2022-03-28T20:03:45.810Z] a0d0a0d46f8b: Download complete [2022-03-28T20:03:45.810Z] 4c7163046ea9: Verifying Checksum [2022-03-28T20:03:45.810Z] 4c7163046ea9: Download complete [2022-03-28T20:03:45.810Z] 0c2d73faf560: Download complete [2022-03-28T20:03:46.071Z] a0d0a0d46f8b: Pull complete [2022-03-28T20:03:46.071Z] 3e5f54012d9b: Pull complete [2022-03-28T20:03:46.331Z] 4c7163046ea9: Pull complete [2022-03-28T20:03:46.592Z] 0c2d73faf560: Pull complete [2022-03-28T20:03:46.592Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T20:03:46.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:03:46.592Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T20:03:46.694Z] prd-ubuntu20.04-docker-8c-8g-9276 does not seem to be running inside a container [2022-03-28T20:03:46.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-163 -v /w/workspace/gexfoundry_device-rest-go_PR-163:/w/workspace/gexfoundry_device-rest-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-163@tmp:/w/workspace/gexfoundry_device-rest-go_PR-163@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T20:03:47.442Z] $ docker top ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T20:03:47.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T20:03:47.621Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T20:03:47.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T20:03:47.749Z] $ docker exec ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 ssh-agent [2022-03-28T20:03:47.860Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhKBJad/agent.14 [2022-03-28T20:03:47.860Z] SSH_AGENT_PID=21 [2022-03-28T20:03:47.867Z] Running ssh-add (command line suppressed) [2022-03-28T20:03:47.985Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-163@tmp/private_key_6939122488369287817.key (/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/private_key_6939122488369287817.key) [2022-03-28T20:03:47.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T20:03:48.325Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T20:03:48.378Z] $ docker exec --env ******** --env ******** ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 ssh-agent -k [2022-03-28T20:03:48.488Z] unset SSH_AUTH_SOCK; [2022-03-28T20:03:48.489Z] unset SSH_AGENT_PID; [2022-03-28T20:03:48.489Z] echo Agent pid 21 killed; [2022-03-28T20:03:48.495Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T20:03:48.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T20:03:48.582Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T20:03:48.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T20:03:48.715Z] $ docker exec ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 ssh-agent [2022-03-28T20:03:48.841Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCMcbCH/agent.53 [2022-03-28T20:03:48.841Z] SSH_AGENT_PID=60 [2022-03-28T20:03:48.846Z] Running ssh-add (command line suppressed) [2022-03-28T20:03:48.968Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-163@tmp/private_key_8335593066569406698.key (/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/private_key_8335593066569406698.key) [2022-03-28T20:03:48.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T20:03:49.317Z] + git semver init [2022-03-28T20:03:49.317Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T20:03:49.317Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-163/.git [2022-03-28T20:03:49.317Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-163 [2022-03-28T20:03:49.317Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T20:03:49.317Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T20:03:49.317Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T20:03:49.317Z] # $SEMVER_BRANCH = PR-163 [2022-03-28T20:03:49.317Z] # $SEMVER_TEMP = /tmp/semver-089870491 [2022-03-28T20:03:49.317Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-28T20:03:50.702Z] # '/tmp/semver-089870491' -> '/w/workspace/gexfoundry_device-rest-go_PR-163/.semver' [2022-03-28T20:03:50.702Z] # -> Force: false [2022-03-28T20:03:50.702Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-163/.semver [Pipeline] } [2022-03-28T20:03:50.734Z] $ docker exec --env ******** --env ******** ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 ssh-agent -k [2022-03-28T20:03:50.840Z] unset SSH_AUTH_SOCK; [2022-03-28T20:03:50.840Z] unset SSH_AGENT_PID; [2022-03-28T20:03:50.840Z] echo Agent pid 60 killed; [2022-03-28T20:03:50.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T20:03:51.270Z] + git semver [Pipeline] } [2022-03-28T20:03:51.309Z] $ docker stop --time=1 ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 [2022-03-28T20:03:52.681Z] $ docker rm -f ffaece0f45316e4417df83f132e19a63023021c92dd8fc0426d6e8bea70248a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:03:53.096Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T20:03:53.407Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T20:03:53.423Z] [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-03-28T20:03:54.039Z] provisioning config files... [2022-03-28T20:03:54.049Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/config6853379009484059712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:03:54.393Z] ---> docker-login.sh [2022-03-28T20:03:54.393Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:03:54.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:54.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:54.393Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:54.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:54.393Z] [2022-03-28T20:03:54.393Z] Login Succeeded [2022-03-28T20:03:54.393Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:03:54.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:54.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:54.654Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:54.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:54.654Z] [2022-03-28T20:03:54.654Z] Login Succeeded [2022-03-28T20:03:54.654Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:03:54.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:54.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:54.654Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:54.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:54.654Z] [2022-03-28T20:03:54.654Z] Login Succeeded [2022-03-28T20:03:54.654Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:03:54.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:54.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:54.654Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:54.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:54.654Z] [2022-03-28T20:03:54.916Z] Login Succeeded [2022-03-28T20:03:54.916Z] docker.io [2022-03-28T20:03:54.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:03:55.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:03:55.178Z] Configure a credential helper to remove this warning. See [2022-03-28T20:03:55.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:03:55.178Z] [2022-03-28T20:03:55.178Z] Login Succeeded [2022-03-28T20:03:55.178Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:03:55.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T20:03:55.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T20:03:55.436Z] ========================================================= [2022-03-28T20:03:55.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T20:03:55.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:03:55.834Z] + 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-03-28T20:03:55.834Z] Sending build context to Docker daemon 10.55MB [2022-03-28T20:03:55.834Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:03:55.834Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T20:03:55.834Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T20:03:55.834Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T20:03:55.834Z] 666ba61612fd: Pulling fs layer [2022-03-28T20:03:55.834Z] 8ed8ca486205: Pulling fs layer [2022-03-28T20:03:55.834Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T20:03:55.834Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T20:03:55.834Z] 640e595b4fbd: Pulling fs layer [2022-03-28T20:03:55.834Z] 763cafe07f6e: Pulling fs layer [2022-03-28T20:03:55.834Z] 0c0b528cf693: Pulling fs layer [2022-03-28T20:03:55.834Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T20:03:55.834Z] 763cafe07f6e: Waiting [2022-03-28T20:03:55.834Z] 4fe6c5a15a65: Waiting [2022-03-28T20:03:55.834Z] 22a0e8bec74d: Waiting [2022-03-28T20:03:55.834Z] 0c0b528cf693: Waiting [2022-03-28T20:03:55.834Z] 10935f4eaf8b: Waiting [2022-03-28T20:03:55.834Z] 640e595b4fbd: Waiting [2022-03-28T20:03:55.834Z] 8ed8ca486205: Download complete [2022-03-28T20:03:55.834Z] 666ba61612fd: Download complete [2022-03-28T20:03:55.834Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T20:03:55.834Z] 22a0e8bec74d: Download complete [2022-03-28T20:03:55.834Z] 640e595b4fbd: Verifying Checksum [2022-03-28T20:03:55.834Z] 640e595b4fbd: Download complete [2022-03-28T20:03:55.834Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T20:03:55.834Z] 59bf1c3509f3: Download complete [2022-03-28T20:03:56.093Z] 763cafe07f6e: Verifying Checksum [2022-03-28T20:03:56.093Z] 763cafe07f6e: Download complete [2022-03-28T20:03:56.093Z] 0c0b528cf693: Verifying Checksum [2022-03-28T20:03:56.093Z] 0c0b528cf693: Download complete [2022-03-28T20:03:56.093Z] 59bf1c3509f3: Pull complete [2022-03-28T20:03:56.353Z] 666ba61612fd: Pull complete [2022-03-28T20:03:56.353Z] 8ed8ca486205: Pull complete [2022-03-28T20:03:56.611Z] 10935f4eaf8b: Download complete [2022-03-28T20:03:56.611Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T20:03:56.611Z] 4fe6c5a15a65: Download complete [2022-03-28T20:04:00.813Z] 4fe6c5a15a65: Pull complete [2022-03-28T20:04:00.813Z] 22a0e8bec74d: Pull complete [2022-03-28T20:04:00.813Z] 640e595b4fbd: Pull complete [2022-03-28T20:04:00.813Z] 763cafe07f6e: Pull complete [2022-03-28T20:04:00.813Z] 0c0b528cf693: Pull complete [2022-03-28T20:04:02.732Z] 10935f4eaf8b: Pull complete [2022-03-28T20:04:02.732Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T20:04:02.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T20:04:02.732Z] ---> 99d49a6021b9 [2022-03-28T20:04:02.732Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T20:04:03.674Z] ---> Running in 04fea8600aac [2022-03-28T20:04:03.936Z] Removing intermediate container 04fea8600aac [2022-03-28T20:04:03.936Z] ---> 546fefa20f10 [2022-03-28T20:04:03.936Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:04:03.936Z] ---> Running in f915b67ebfdd [2022-03-28T20:04:03.936Z] Removing intermediate container f915b67ebfdd [2022-03-28T20:04:03.936Z] ---> aea15fba6a82 [2022-03-28T20:04:03.936Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:04:03.936Z] ---> Running in 008439adeb8d [2022-03-28T20:04:04.196Z] Removing intermediate container 008439adeb8d [2022-03-28T20:04:04.196Z] ---> 2fbc8f36b03d [2022-03-28T20:04:04.196Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:04:04.196Z] ---> Running in a03638aca073 [2022-03-28T20:04:04.766Z] Removing intermediate container a03638aca073 [2022-03-28T20:04:04.766Z] ---> 9afed0cfcab9 [2022-03-28T20:04:04.766Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:04:04.766Z] ---> Running in 24d30c92c820 [2022-03-28T20:04:05.029Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:04:05.970Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:04:06.234Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T20:04:06.234Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T20:04:06.495Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T20:04:06.495Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T20:04:06.495Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T20:04:06.495Z] OK: 224 MiB in 56 packages [2022-03-28T20:04:07.065Z] Removing intermediate container 24d30c92c820 [2022-03-28T20:04:07.065Z] ---> 3138a0893e8a [2022-03-28T20:04:07.065Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-28T20:04:07.065Z] ---> Running in 1a4260053c74 [2022-03-28T20:04:07.065Z] Removing intermediate container 1a4260053c74 [2022-03-28T20:04:07.065Z] ---> 75c65def5c6a [2022-03-28T20:04:07.065Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T20:04:07.330Z] ---> c0b731b2b7cf [2022-03-28T20:04:07.330Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:04:07.330Z] ---> Running in c77f915475c6 [2022-03-28T20:04:08.876Z] Still waiting to schedule task [2022-03-28T20:04:08.876Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-28T20:04:33.902Z] Removing intermediate container c77f915475c6 [2022-03-28T20:04:33.902Z] ---> 9720a2bb2767 [2022-03-28T20:04:33.902Z] Step 11/12 : COPY . . [2022-03-28T20:04:33.902Z] ---> fefd8f8e9d08 [2022-03-28T20:04:33.902Z] Step 12/12 : RUN $MAKE [2022-03-28T20:04:33.902Z] ---> Running in ba4e37bac5f3 [2022-03-28T20:04:33.902Z] noop [2022-03-28T20:04:33.902Z] Removing intermediate container ba4e37bac5f3 [2022-03-28T20:04:33.902Z] ---> 044b47539da2 [2022-03-28T20:04:33.902Z] Successfully built 044b47539da2 [2022-03-28T20:04:33.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:34.239Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T20:04:34.239Z] . [Pipeline] withDockerContainer [2022-03-28T20:04:34.330Z] prd-ubuntu20.04-docker-8c-8g-9276 does not seem to be running inside a container [2022-03-28T20:04:34.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-163 -v /w/workspace/gexfoundry_device-rest-go_PR-163:/w/workspace/gexfoundry_device-rest-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-163@tmp:/w/workspace/gexfoundry_device-rest-go_PR-163@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 ******** ci-base-image-x86_64 cat [2022-03-28T20:04:34.756Z] $ docker top 75a759016eb22a136f1853ce14cfdd9c412965b1b441d12a6b8b9eab11de6eb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:04:35.155Z] + go version [2022-03-28T20:04:35.155Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T20:04:35.192Z] $ docker stop --time=1 75a759016eb22a136f1853ce14cfdd9c412965b1b441d12a6b8b9eab11de6eb7 [2022-03-28T20:04:36.499Z] $ docker rm -f 75a759016eb22a136f1853ce14cfdd9c412965b1b441d12a6b8b9eab11de6eb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:37.154Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T20:04:37.154Z] . [Pipeline] withDockerContainer [2022-03-28T20:04:37.242Z] prd-ubuntu20.04-docker-8c-8g-9276 does not seem to be running inside a container [2022-03-28T20:04:37.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-163 -v /w/workspace/gexfoundry_device-rest-go_PR-163:/w/workspace/gexfoundry_device-rest-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-163@tmp:/w/workspace/gexfoundry_device-rest-go_PR-163@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 ******** ci-base-image-x86_64 cat [2022-03-28T20:04:37.710Z] $ docker top 833de1faf862331e7342fb23baff8401086bac909a90f4d6623a928bc73b8e12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T20:04:38.149Z] + make test [2022-03-28T20:04:38.149Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T20:04:38.412Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-28T20:04:45.114Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-28T20:04:45.114Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 56.0% of statements [2022-03-28T20:04:45.114Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T20:04:48.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T20:04:48.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T20:04:48.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T20:04:48.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T20:04:48.719Z] $ docker stop --time=1 833de1faf862331e7342fb23baff8401086bac909a90f4d6623a928bc73b8e12 [2022-03-28T20:04:50.349Z] $ docker rm -f 833de1faf862331e7342fb23baff8401086bac909a90f4d6623a928bc73b8e12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:04:50.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T20:04:50.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-28T20:04:52.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T20:04:52.308Z] + ls -al . [2022-03-28T20:04:52.308Z] total 180 [2022-03-28T20:04:52.308Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:04 . [2022-03-28T20:04:52.308Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:03 .. [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:03 .dockerignore [2022-03-28T20:04:52.308Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:03 .git [2022-03-28T20:04:52.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:03 .github [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:03 .gitignore [2022-03-28T20:04:52.308Z] drwx------ 3 jenkins jenkins 4096 Mar 28 20:03 .semver [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:03 Attribution.txt [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:03 CHANGELOG.md [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:03 Dockerfile [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:03 GOVERNANCE.md [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:03 Jenkinsfile [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:03 LICENSE [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:03 Makefile [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:03 OWNERS.md [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:03 README.md [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:03 VERSION [2022-03-28T20:04:52.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:03 bin [2022-03-28T20:04:52.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:03 cmd [2022-03-28T20:04:52.308Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:04 coverage.out [2022-03-28T20:04:52.308Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:03 driver [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:03 go.mod [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 50454 Mar 28 20:03 go.sum [2022-03-28T20:04:52.308Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:03 snap [2022-03-28T20:04:52.308Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:52.635Z] + 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=928ac87b7fcc99c492c1d1d83839fada765d9d81 --label arch=amd64 --label version=0.0.0 . [2022-03-28T20:04:52.635Z] Sending build context to Docker daemon 10.56MB [2022-03-28T20:04:52.635Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:04:52.635Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T20:04:52.635Z] ---> 044b47539da2 [2022-03-28T20:04:52.635Z] Step 3/25 : ARG MAKE='make build' [2022-03-28T20:04:52.635Z] ---> Running in 06548ad4a91f [2022-03-28T20:04:52.898Z] Removing intermediate container 06548ad4a91f [2022-03-28T20:04:52.898Z] ---> efa1c80554f1 [2022-03-28T20:04:52.898Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:04:52.898Z] ---> Running in 2aaa6b4a55ac [2022-03-28T20:04:52.898Z] Removing intermediate container 2aaa6b4a55ac [2022-03-28T20:04:52.898Z] ---> 5ebdfda13628 [2022-03-28T20:04:52.898Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:04:52.898Z] ---> Running in d2e8ebf71ac9 [2022-03-28T20:04:53.157Z] Removing intermediate container d2e8ebf71ac9 [2022-03-28T20:04:53.157Z] ---> 5ae7605c34ca [2022-03-28T20:04:53.157Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:04:53.157Z] ---> Running in 08d05d639cc0 [2022-03-28T20:04:53.728Z] Removing intermediate container 08d05d639cc0 [2022-03-28T20:04:53.728Z] ---> 1a7f5ee86ca7 [2022-03-28T20:04:53.728Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:04:53.729Z] ---> Running in 8b2381cd7e8b [2022-03-28T20:04:54.298Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:04:54.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:04:55.442Z] OK: 224 MiB in 56 packages [2022-03-28T20:04:55.704Z] Removing intermediate container 8b2381cd7e8b [2022-03-28T20:04:55.704Z] ---> 405b5af9fb59 [2022-03-28T20:04:55.704Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-28T20:04:55.704Z] ---> Running in da3b47bed1d1 [2022-03-28T20:04:55.704Z] Removing intermediate container da3b47bed1d1 [2022-03-28T20:04:55.704Z] ---> 533863125586 [2022-03-28T20:04:55.704Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-28T20:04:55.965Z] ---> feb6354938e8 [2022-03-28T20:04:55.965Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:04:55.965Z] ---> Running in 8dbd90c0090a [2022-03-28T20:04:56.909Z] Removing intermediate container 8dbd90c0090a [2022-03-28T20:04:56.909Z] ---> 96e5f0da4150 [2022-03-28T20:04:56.910Z] Step 11/25 : COPY . . [2022-03-28T20:04:56.910Z] ---> 74b4370def7e [2022-03-28T20:04:56.910Z] Step 12/25 : RUN $MAKE [2022-03-28T20:04:56.910Z] ---> Running in 9aead77648fb [2022-03-28T20:04:57.480Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-28T20:05:05.610Z] Removing intermediate container 9aead77648fb [2022-03-28T20:05:05.610Z] ---> 8a38a3981758 [2022-03-28T20:05:05.610Z] Step 13/25 : FROM alpine:3.14 [2022-03-28T20:05:05.610Z] 3.14: Pulling from library/alpine [2022-03-28T20:05:05.610Z] 36ccefbf3d8a: Pulling fs layer [2022-03-28T20:05:05.610Z] 36ccefbf3d8a: Verifying Checksum [2022-03-28T20:05:05.610Z] 36ccefbf3d8a: Download complete [2022-03-28T20:05:05.871Z] 36ccefbf3d8a: Pull complete [2022-03-28T20:05:05.871Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T20:05:05.871Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T20:05:05.871Z] ---> a33ac4f1069a [2022-03-28T20:05:05.871Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-28T20:05:05.871Z] ---> Running in e52226b75db5 [2022-03-28T20:05:05.871Z] Removing intermediate container e52226b75db5 [2022-03-28T20:05:05.871Z] ---> 1f20eb39f592 [2022-03-28T20:05:05.871Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-28T20:05:05.871Z] ---> Running in aafa1816b79c [2022-03-28T20:05:06.133Z] Removing intermediate container aafa1816b79c [2022-03-28T20:05:06.133Z] ---> 27f8251e6d10 [2022-03-28T20:05:06.133Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T20:05:06.133Z] ---> Running in 5363a3418435 [2022-03-28T20:05:06.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:06.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:06.654Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T20:05:06.654Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T20:05:06.654Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T20:05:06.654Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T20:05:06.654Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T20:05:06.654Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T20:05:06.654Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T20:05:06.654Z] OK: 8 MiB in 20 packages [2022-03-28T20:05:07.228Z] Removing intermediate container 5363a3418435 [2022-03-28T20:05:07.228Z] ---> eea199bfef2f [2022-03-28T20:05:07.228Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-28T20:05:07.488Z] ---> d01b5e8157fd [2022-03-28T20:05:07.488Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-28T20:05:07.488Z] ---> 3310e083b273 [2022-03-28T20:05:07.488Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-28T20:05:07.750Z] ---> 1b25ef6dcfa8 [2022-03-28T20:05:07.750Z] Step 20/25 : EXPOSE 59986 [2022-03-28T20:05:07.750Z] ---> Running in b107cf853aee [2022-03-28T20:05:07.750Z] Removing intermediate container b107cf853aee [2022-03-28T20:05:07.750Z] ---> d378f599ef83 [2022-03-28T20:05:07.750Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-28T20:05:08.013Z] ---> Running in 941c919a89bb [2022-03-28T20:05:08.013Z] Removing intermediate container 941c919a89bb [2022-03-28T20:05:08.013Z] ---> 5bb8c42f5a2b [2022-03-28T20:05:08.013Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-28T20:05:08.013Z] ---> Running in 19f94a7cf218 [2022-03-28T20:05:08.013Z] Removing intermediate container 19f94a7cf218 [2022-03-28T20:05:08.013Z] ---> 6e719fdd0acd [2022-03-28T20:05:08.013Z] Step 23/25 : LABEL arch=amd64 [2022-03-28T20:05:08.273Z] ---> Running in e9518d847a3d [2022-03-28T20:05:08.273Z] Removing intermediate container e9518d847a3d [2022-03-28T20:05:08.273Z] ---> febe0f2603ae [2022-03-28T20:05:08.273Z] Step 24/25 : LABEL git_sha=928ac87b7fcc99c492c1d1d83839fada765d9d81 [2022-03-28T20:05:08.274Z] ---> Running in ac0cd018ecaa [2022-03-28T20:05:08.534Z] Removing intermediate container ac0cd018ecaa [2022-03-28T20:05:08.534Z] ---> fa70dea076bb [2022-03-28T20:05:08.534Z] Step 25/25 : LABEL version=0.0.0 [2022-03-28T20:05:08.534Z] ---> Running in 7155612f1fd0 [2022-03-28T20:05:08.534Z] Removing intermediate container 7155612f1fd0 [2022-03-28T20:05:08.534Z] ---> 88e547c1c42a [2022-03-28T20:05:08.534Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T20:05:08.534Z] Successfully built 88e547c1c42a [2022-03-28T20:05:08.534Z] Successfully tagged device-rest:latest [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] sh [2022-03-28T20:05:09.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:05:09.326Z] [2022-03-28T20:05:09.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:05:09.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:05:09.671Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T20:05:09.671Z] 5eb5b503b376: Pulling fs layer [2022-03-28T20:05:09.671Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T20:05:09.671Z] ec43610c2a17: Pulling fs layer [2022-03-28T20:05:09.671Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T20:05:09.671Z] 33b1e0a273af: Pulling fs layer [2022-03-28T20:05:09.671Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T20:05:09.671Z] 2f39f015ded8: Pulling fs layer [2022-03-28T20:05:09.671Z] 33b1e0a273af: Waiting [2022-03-28T20:05:09.671Z] 5d3b04190fa2: Waiting [2022-03-28T20:05:09.671Z] 2f39f015ded8: Waiting [2022-03-28T20:05:09.671Z] 3a2ae6a8a46f: Waiting [2022-03-28T20:05:09.671Z] 5c69ac0246d0: Download complete [2022-03-28T20:05:09.671Z] 3a2ae6a8a46f: Download complete [2022-03-28T20:05:09.671Z] 33b1e0a273af: Verifying Checksum [2022-03-28T20:05:09.671Z] 33b1e0a273af: Download complete [2022-03-28T20:05:09.671Z] ec43610c2a17: Verifying Checksum [2022-03-28T20:05:09.671Z] ec43610c2a17: Download complete [2022-03-28T20:05:09.671Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T20:05:09.671Z] 5d3b04190fa2: Download complete [2022-03-28T20:05:09.932Z] 5eb5b503b376: Verifying Checksum [2022-03-28T20:05:09.932Z] 5eb5b503b376: Download complete [2022-03-28T20:05:10.501Z] 2f39f015ded8: Download complete [2022-03-28T20:05:11.439Z] 5eb5b503b376: Pull complete [2022-03-28T20:05:11.439Z] 5c69ac0246d0: Pull complete [2022-03-28T20:05:12.009Z] ec43610c2a17: Pull complete [2022-03-28T20:05:12.009Z] 3a2ae6a8a46f: Pull complete [2022-03-28T20:05:12.269Z] 33b1e0a273af: Pull complete [2022-03-28T20:05:12.269Z] 5d3b04190fa2: Pull complete [2022-03-28T20:05:16.464Z] 2f39f015ded8: Pull complete [2022-03-28T20:05:16.464Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T20:05:16.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:05:16.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T20:05:16.561Z] prd-ubuntu20.04-docker-8c-8g-9276 does not seem to be running inside a container [2022-03-28T20:05:16.600Z] $ 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-163 -v /w/workspace/gexfoundry_device-rest-go_PR-163:/w/workspace/gexfoundry_device-rest-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-163@tmp:/w/workspace/gexfoundry_device-rest-go_PR-163@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T20:05:18.238Z] $ docker top 1a577af00fbd66e272a720d3be97e2414a2a7ce3d0cc1e3ec4b0f36580a3bdb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:05:18.737Z] ---> job-cost.sh [2022-03-28T20:05:18.737Z] lf-activate-venv: SKIPPING [2022-03-28T20:05:18.737Z] INFO: No Stack... [2022-03-28T20:05:19.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T20:05:19.573Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T20:05:19.892Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-163/archives/cost.csv [2022-03-28T20:05:19.892Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T20:05:19.935Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [2022-03-28T20:05:19.941Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] did not exist. Created. [2022-03-28T20:05:19.941Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T20:05:20.332Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T20:05:20.381Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T20:05:20.415Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T20:05:20.501Z] $ docker stop --time=1 1a577af00fbd66e272a720d3be97e2414a2a7ce3d0cc1e3ec4b0f36580a3bdb8 [2022-03-28T20:05:21.668Z] $ docker rm -f 1a577af00fbd66e272a720d3be97e2414a2a7ce3d0cc1e3ec4b0f36580a3bdb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T20:05:44.018Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9279 in /w/workspace/gexfoundry_device-rest-go_PR-163 [Pipeline] { [Pipeline] ws [2022-03-28T20:05:44.062Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-03-28T20:05:44.637Z] The recommended git tool is: git [2022-03-28T20:05:51.193Z] using credential edgex-jenkins-ssh [2022-03-28T20:05:51.209Z] Cloning the remote Git repository [2022-03-28T20:05:51.287Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:05:51.365Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-03-28T20:05:51.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:05:51.457Z] > git --version # timeout=10 [2022-03-28T20:05:51.482Z] > git --version # 'git version 2.25.1' [2022-03-28T20:05:51.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:05:51.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T20:05:54.363Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 928ac87b7fcc99c492c1d1d83839fada765d9d81 [2022-03-28T20:05:54.592Z] Merge succeeded, producing 928ac87b7fcc99c492c1d1d83839fada765d9d81 [2022-03-28T20:05:54.592Z] Checking out Revision 928ac87b7fcc99c492c1d1d83839fada765d9d81 (PR-163) [2022-03-28T20:05:53.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-28T20:05:53.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T20:05:53.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-28T20:05:53.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:05:53.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:05:53.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T20:05:54.391Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T20:05:54.413Z] > git checkout -f 928ac87b7fcc99c492c1d1d83839fada765d9d81 # timeout=10 [2022-03-28T20:05:54.499Z] > git remote # timeout=10 [2022-03-28T20:05:54.517Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T20:05:54.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:05:54.557Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-28T20:05:54.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T20:05:54.605Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T20:05:54.658Z] > git checkout -f 928ac87b7fcc99c492c1d1d83839fada765d9d81 # timeout=10 [2022-03-28T20:05:59.156Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-03-28T20:05:59.231Z] > git --version # timeout=10 [2022-03-28T20:05:59.246Z] > git --version # 'git version 2.25.1' [2022-03-28T20:05:59.261Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:06:00.566Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T20:06:00.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T20:06:00.566Z] Dload Upload Total Spent Left Speed [2022-03-28T20:06:00.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh [2022-03-28T20:06:01.188Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T20:06:01.551Z] + sudo tee /etc/docker/daemon.new [2022-03-28T20:06:01.551Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T20:06:01.551Z] { [2022-03-28T20:06:01.551Z] "registry-mirrors": [ [2022-03-28T20:06:01.551Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T20:06:01.551Z] ], [2022-03-28T20:06:01.551Z] "bip": "10.250.0.254/24", [2022-03-28T20:06:01.551Z] "hosts": [ [2022-03-28T20:06:01.551Z] "tcp://0.0.0.0:5555", [2022-03-28T20:06:01.551Z] "unix:///var/run/docker.sock" [2022-03-28T20:06:01.551Z] ], [2022-03-28T20:06:01.551Z] "mtu": 1458, [2022-03-28T20:06:01.551Z] "selinux-enabled": true, [2022-03-28T20:06:01.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T20:06:01.551Z] } [Pipeline] sh [2022-03-28T20:06:01.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T20:06:02.290Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:06:20.763Z] provisioning config files... [2022-03-28T20:06:20.789Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6092711691614487582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:06:21.347Z] ---> docker-login.sh [2022-03-28T20:06:21.347Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:06:21.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:06:22.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:06:22.220Z] Configure a credential helper to remove this warning. See [2022-03-28T20:06:22.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:06:22.220Z] [2022-03-28T20:06:22.220Z] Login Succeeded [2022-03-28T20:06:22.220Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:06:22.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:06:22.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:06:22.768Z] Configure a credential helper to remove this warning. See [2022-03-28T20:06:22.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:06:22.768Z] [2022-03-28T20:06:22.768Z] Login Succeeded [2022-03-28T20:06:22.768Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:06:23.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:06:23.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:06:23.050Z] Configure a credential helper to remove this warning. See [2022-03-28T20:06:23.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:06:23.050Z] [2022-03-28T20:06:23.325Z] Login Succeeded [2022-03-28T20:06:23.325Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:06:23.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:06:23.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:06:23.601Z] Configure a credential helper to remove this warning. See [2022-03-28T20:06:23.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:06:23.601Z] [2022-03-28T20:06:23.601Z] Login Succeeded [2022-03-28T20:06:23.601Z] docker.io [2022-03-28T20:06:24.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:06:24.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:06:24.478Z] Configure a credential helper to remove this warning. See [2022-03-28T20:06:24.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:06:24.478Z] [2022-03-28T20:06:24.478Z] Login Succeeded [2022-03-28T20:06:24.478Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:06:24.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T20:06:24.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T20:06:24.919Z] ========================================================= [2022-03-28T20:06:24.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T20:06:24.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:06:25.366Z] + 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-03-28T20:06:25.367Z] Sending build context to Docker daemon 124.9kB [2022-03-28T20:06:25.642Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:06:25.642Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T20:06:25.919Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T20:06:25.919Z] 9b3977197b4f: Pulling fs layer [2022-03-28T20:06:25.919Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T20:06:25.919Z] 94645a83ff95: Pulling fs layer [2022-03-28T20:06:25.919Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T20:06:25.919Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T20:06:25.919Z] f7c0051592d6: Pulling fs layer [2022-03-28T20:06:25.919Z] a227ed2f7395: Pulling fs layer [2022-03-28T20:06:25.919Z] 7b1c46037f91: Pulling fs layer [2022-03-28T20:06:25.919Z] 0c92f367c5e7: Waiting [2022-03-28T20:06:25.919Z] f7c0051592d6: Waiting [2022-03-28T20:06:25.919Z] a227ed2f7395: Waiting [2022-03-28T20:06:25.919Z] 7b1c46037f91: Waiting [2022-03-28T20:06:25.919Z] 94645a83ff95: Verifying Checksum [2022-03-28T20:06:25.919Z] 94645a83ff95: Download complete [2022-03-28T20:06:25.919Z] 1a89e8eeedd5: Verifying Checksum [2022-03-28T20:06:25.919Z] 1a89e8eeedd5: Download complete [2022-03-28T20:06:25.919Z] 0c92f367c5e7: Verifying Checksum [2022-03-28T20:06:25.919Z] 0c92f367c5e7: Download complete [2022-03-28T20:06:25.919Z] f7c0051592d6: Verifying Checksum [2022-03-28T20:06:25.919Z] f7c0051592d6: Download complete [2022-03-28T20:06:25.919Z] 9b3977197b4f: Download complete [2022-03-28T20:06:25.919Z] a227ed2f7395: Verifying Checksum [2022-03-28T20:06:25.919Z] a227ed2f7395: Download complete [2022-03-28T20:06:26.913Z] 9b3977197b4f: Pull complete [2022-03-28T20:06:27.192Z] 1a89e8eeedd5: Pull complete [2022-03-28T20:06:27.791Z] 94645a83ff95: Pull complete [2022-03-28T20:06:28.066Z] 7b1c46037f91: Verifying Checksum [2022-03-28T20:06:28.066Z] 7b1c46037f91: Download complete [2022-03-28T20:06:28.662Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T20:06:28.662Z] 3f3a8bcf1eab: Download complete [2022-03-28T20:06:41.083Z] 3f3a8bcf1eab: Pull complete [2022-03-28T20:06:41.083Z] 0c92f367c5e7: Pull complete [2022-03-28T20:06:41.360Z] f7c0051592d6: Pull complete [2022-03-28T20:06:41.633Z] a227ed2f7395: Pull complete [2022-03-28T20:06:48.362Z] 7b1c46037f91: Pull complete [2022-03-28T20:06:48.362Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T20:06:48.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T20:06:48.362Z] ---> f79e39bc4007 [2022-03-28T20:06:48.362Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T20:06:48.636Z] ---> Running in ca6a401ec921 [2022-03-28T20:06:48.910Z] Removing intermediate container ca6a401ec921 [2022-03-28T20:06:48.910Z] ---> f32d6f190d4e [2022-03-28T20:06:48.910Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:06:49.185Z] ---> Running in e260997bc063 [2022-03-28T20:06:49.461Z] Removing intermediate container e260997bc063 [2022-03-28T20:06:49.461Z] ---> 405ba70c7967 [2022-03-28T20:06:49.461Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:06:49.461Z] ---> Running in 7db8ce0971c5 [2022-03-28T20:06:49.740Z] Removing intermediate container 7db8ce0971c5 [2022-03-28T20:06:49.740Z] ---> f544b84de9d5 [2022-03-28T20:06:49.740Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:06:49.740Z] ---> Running in bf8116a58e05 [2022-03-28T20:06:51.722Z] Removing intermediate container bf8116a58e05 [2022-03-28T20:06:51.722Z] ---> 71915e17d044 [2022-03-28T20:06:51.722Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:06:51.722Z] ---> Running in 292e70d5eb74 [2022-03-28T20:06:52.707Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:06:53.688Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:06:54.292Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T20:06:54.568Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T20:06:54.568Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T20:06:54.846Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T20:06:54.846Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T20:06:54.846Z] OK: 224 MiB in 56 packages [2022-03-28T20:06:55.837Z] Removing intermediate container 292e70d5eb74 [2022-03-28T20:06:55.837Z] ---> 978bc5c0c673 [2022-03-28T20:06:55.837Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-28T20:06:55.837Z] ---> Running in 06be3b2c58f9 [2022-03-28T20:06:56.111Z] Removing intermediate container 06be3b2c58f9 [2022-03-28T20:06:56.111Z] ---> aef0819a343b [2022-03-28T20:06:56.111Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T20:06:56.715Z] ---> 2508837718b4 [2022-03-28T20:06:56.715Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:06:56.715Z] ---> Running in 891b7a54422d [2022-03-28T20:08:18.524Z] Removing intermediate container 891b7a54422d [2022-03-28T20:08:18.524Z] ---> eb474ca718ed [2022-03-28T20:08:18.524Z] Step 11/12 : COPY . . [2022-03-28T20:08:18.524Z] ---> 45d0af01c86f [2022-03-28T20:08:18.524Z] Step 12/12 : RUN $MAKE [2022-03-28T20:08:18.524Z] ---> Running in 8e6304ab7bc6 [2022-03-28T20:08:18.524Z] noop [2022-03-28T20:08:18.524Z] Removing intermediate container 8e6304ab7bc6 [2022-03-28T20:08:18.524Z] ---> c6726ed559ec [2022-03-28T20:08:18.524Z] Successfully built c6726ed559ec [2022-03-28T20:08:18.524Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:08:18.891Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T20:08:18.891Z] . [Pipeline] withDockerContainer [2022-03-28T20:08:19.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-9279 does not seem to be running inside a container [2022-03-28T20:08:19.197Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-28T20:08:20.438Z] $ docker top e41a22cb8ede3b358c03262f2182d4dacf6a90e4531529dbab52e635095e7210 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:08:21.377Z] + go version [2022-03-28T20:08:21.378Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T20:08:21.414Z] $ docker stop --time=1 e41a22cb8ede3b358c03262f2182d4dacf6a90e4531529dbab52e635095e7210 [2022-03-28T20:08:23.029Z] $ docker rm -f e41a22cb8ede3b358c03262f2182d4dacf6a90e4531529dbab52e635095e7210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:08:23.906Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T20:08:23.906Z] . [Pipeline] withDockerContainer [2022-03-28T20:08:24.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-9279 does not seem to be running inside a container [2022-03-28T20:08:24.248Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-28T20:08:25.495Z] $ docker top 69054d33536e7262800a3f7eadb948be0acec682be3a3255f0543d7b2569f2ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T20:08:26.495Z] + make test [2022-03-28T20:08:26.495Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T20:08:27.938Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-28T20:09:14.982Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-28T20:09:19.321Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 56.0% of statements [2022-03-28T20:09:19.600Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T20:09:41.804Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T20:09:41.804Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T20:09:41.804Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T20:09:41.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T20:09:41.870Z] $ docker stop --time=1 69054d33536e7262800a3f7eadb948be0acec682be3a3255f0543d7b2569f2ea [2022-03-28T20:09:43.698Z] $ docker rm -f 69054d33536e7262800a3f7eadb948be0acec682be3a3255f0543d7b2569f2ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:09:44.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T20:09:44.606Z] Warning: overwriting stash ‘coverage-report’ [2022-03-28T20:09:45.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:09:45.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T20:09:46.051Z] + ls -al . [2022-03-28T20:09:46.051Z] total 176 [2022-03-28T20:09:46.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:09 . [2022-03-28T20:09:46.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:05 .. [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:05 .dockerignore [2022-03-28T20:09:46.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:05 .git [2022-03-28T20:09:46.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:05 .github [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:05 .gitignore [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:05 Attribution.txt [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:05 CHANGELOG.md [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:05 Dockerfile [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:05 GOVERNANCE.md [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:05 Jenkinsfile [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:05 LICENSE [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:05 Makefile [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:05 OWNERS.md [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:05 README.md [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:03 VERSION [2022-03-28T20:09:46.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:05 bin [2022-03-28T20:09:46.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:05 cmd [2022-03-28T20:09:46.051Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:09 coverage.out [2022-03-28T20:09:46.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:05 driver [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:05 go.mod [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 50454 Mar 28 20:05 go.sum [2022-03-28T20:09:46.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:05 snap [2022-03-28T20:09:46.051Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:09:46.421Z] + 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=928ac87b7fcc99c492c1d1d83839fada765d9d81 --label arch=arm64 --label version=0.0.0 . [2022-03-28T20:09:46.421Z] Sending build context to Docker daemon 134.7kB [2022-03-28T20:09:46.694Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:09:46.694Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T20:09:46.694Z] ---> c6726ed559ec [2022-03-28T20:09:46.694Z] Step 3/25 : ARG MAKE='make build' [2022-03-28T20:09:46.694Z] ---> Running in d85d70c2c3b2 [2022-03-28T20:09:47.290Z] Removing intermediate container d85d70c2c3b2 [2022-03-28T20:09:47.290Z] ---> 134611b6bc51 [2022-03-28T20:09:47.290Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:09:47.290Z] ---> Running in 4f251beaa02b [2022-03-28T20:09:47.562Z] Removing intermediate container 4f251beaa02b [2022-03-28T20:09:47.562Z] ---> 6d9708723200 [2022-03-28T20:09:47.562Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:09:47.562Z] ---> Running in ee828625cc05 [2022-03-28T20:09:47.843Z] Removing intermediate container ee828625cc05 [2022-03-28T20:09:47.843Z] ---> c7f5ad588e1b [2022-03-28T20:09:47.843Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:09:47.843Z] ---> Running in f97ce51a90c8 [2022-03-28T20:09:49.830Z] Removing intermediate container f97ce51a90c8 [2022-03-28T20:09:49.830Z] ---> f197a85542c4 [2022-03-28T20:09:49.830Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:09:49.830Z] ---> Running in cd5aea689085 [2022-03-28T20:09:50.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:09:51.785Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:09:52.389Z] OK: 224 MiB in 56 packages [2022-03-28T20:09:53.376Z] Removing intermediate container cd5aea689085 [2022-03-28T20:09:53.376Z] ---> fda559fa3400 [2022-03-28T20:09:53.376Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-28T20:09:53.376Z] ---> Running in e1b3039e914c [2022-03-28T20:09:53.982Z] Removing intermediate container e1b3039e914c [2022-03-28T20:09:53.982Z] ---> a184c66414b6 [2022-03-28T20:09:53.982Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-28T20:09:54.264Z] ---> 04eeb189c1ee [2022-03-28T20:09:54.264Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:09:54.543Z] ---> Running in ddd7413f8c96 [2022-03-28T20:09:56.528Z] Removing intermediate container ddd7413f8c96 [2022-03-28T20:09:56.528Z] ---> 27041229afbd [2022-03-28T20:09:56.528Z] Step 11/25 : COPY . . [2022-03-28T20:09:57.135Z] ---> eeca64200694 [2022-03-28T20:09:57.135Z] Step 12/25 : RUN $MAKE [2022-03-28T20:09:57.135Z] ---> Running in d9b0adadc177 [2022-03-28T20:09:58.580Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-28T20:10:45.633Z] Removing intermediate container d9b0adadc177 [2022-03-28T20:10:45.633Z] ---> 6688a701eb29 [2022-03-28T20:10:45.633Z] Step 13/25 : FROM alpine:3.14 [2022-03-28T20:10:45.633Z] 3.14: Pulling from library/alpine [2022-03-28T20:10:45.633Z] 93a1719cf261: Pulling fs layer [2022-03-28T20:10:45.633Z] 93a1719cf261: Verifying Checksum [2022-03-28T20:10:45.633Z] 93a1719cf261: Pull complete [2022-03-28T20:10:45.633Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T20:10:45.633Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T20:10:45.633Z] ---> 71a2028e5025 [2022-03-28T20:10:45.633Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-28T20:10:45.633Z] ---> Running in 9fbf92f1df82 [2022-03-28T20:10:45.633Z] Removing intermediate container 9fbf92f1df82 [2022-03-28T20:10:45.633Z] ---> 8265e8035044 [2022-03-28T20:10:45.633Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-28T20:10:45.633Z] ---> Running in 3485556e489c [2022-03-28T20:10:45.633Z] Removing intermediate container 3485556e489c [2022-03-28T20:10:45.633Z] ---> 7089dbcc3270 [2022-03-28T20:10:45.633Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T20:10:45.633Z] ---> Running in 43ffea36b985 [2022-03-28T20:10:45.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:10:45.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:10:45.633Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T20:10:45.633Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T20:10:45.633Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T20:10:45.633Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T20:10:45.633Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T20:10:45.633Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T20:10:45.633Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T20:10:45.633Z] OK: 8 MiB in 20 packages [2022-03-28T20:10:46.627Z] Removing intermediate container 43ffea36b985 [2022-03-28T20:10:46.627Z] ---> 65eb2e128cd1 [2022-03-28T20:10:46.627Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-28T20:10:47.618Z] ---> 9bded1f8ff0f [2022-03-28T20:10:47.618Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-28T20:10:48.220Z] ---> 0f6e1ad048a3 [2022-03-28T20:10:48.220Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-28T20:10:48.504Z] ---> bca62d47426e [2022-03-28T20:10:48.504Z] Step 20/25 : EXPOSE 59986 [2022-03-28T20:10:48.780Z] ---> Running in d62ef9f72451 [2022-03-28T20:10:49.055Z] Removing intermediate container d62ef9f72451 [2022-03-28T20:10:49.055Z] ---> 809cb4df360c [2022-03-28T20:10:49.055Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-28T20:10:49.055Z] ---> Running in cbf0dccb5b83 [2022-03-28T20:10:49.333Z] Removing intermediate container cbf0dccb5b83 [2022-03-28T20:10:49.333Z] ---> aaf54696440b [2022-03-28T20:10:49.333Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-28T20:10:49.614Z] ---> Running in e745358f3750 [2022-03-28T20:10:49.893Z] Removing intermediate container e745358f3750 [2022-03-28T20:10:49.893Z] ---> de8203d8e5ce [2022-03-28T20:10:49.893Z] Step 23/25 : LABEL arch=arm64 [2022-03-28T20:10:49.893Z] ---> Running in eebcfe96654d [2022-03-28T20:10:50.168Z] Removing intermediate container eebcfe96654d [2022-03-28T20:10:50.168Z] ---> 25dfb88624fa [2022-03-28T20:10:50.168Z] Step 24/25 : LABEL git_sha=928ac87b7fcc99c492c1d1d83839fada765d9d81 [2022-03-28T20:10:50.168Z] ---> Running in 15d3177bf72f [2022-03-28T20:10:50.446Z] Removing intermediate container 15d3177bf72f [2022-03-28T20:10:50.446Z] ---> 9062631261dc [2022-03-28T20:10:50.446Z] Step 25/25 : LABEL version=0.0.0 [2022-03-28T20:10:50.722Z] ---> Running in 631a5877ae79 [2022-03-28T20:10:50.998Z] Removing intermediate container 631a5877ae79 [2022-03-28T20:10:50.998Z] ---> 5271a61fd749 [2022-03-28T20:10:50.998Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T20:10:50.998Z] Successfully built 5271a61fd749 [2022-03-28T20:10:50.998Z] Successfully tagged device-rest-arm64:latest [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] sh [2022-03-28T20:10:51.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:10:51.690Z] [2022-03-28T20:10:51.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:10:52.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:10:52.363Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T20:10:52.363Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T20:10:52.363Z] 04944245beec: Pulling fs layer [2022-03-28T20:10:52.363Z] 699f458cf7ca: Pulling fs layer [2022-03-28T20:10:52.363Z] 765212b225bb: Pulling fs layer [2022-03-28T20:10:52.363Z] f23df028b6ca: Pulling fs layer [2022-03-28T20:10:52.363Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T20:10:52.363Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T20:10:52.363Z] 765212b225bb: Waiting [2022-03-28T20:10:52.363Z] f23df028b6ca: Waiting [2022-03-28T20:10:52.363Z] d65c8cfc05b1: Waiting [2022-03-28T20:10:52.363Z] 2437ff75d9bd: Waiting [2022-03-28T20:10:52.363Z] 04944245beec: Verifying Checksum [2022-03-28T20:10:52.363Z] 04944245beec: Download complete [2022-03-28T20:10:52.363Z] 765212b225bb: Verifying Checksum [2022-03-28T20:10:52.363Z] 765212b225bb: Download complete [2022-03-28T20:10:52.363Z] f23df028b6ca: Verifying Checksum [2022-03-28T20:10:52.363Z] f23df028b6ca: Download complete [2022-03-28T20:10:52.363Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T20:10:52.363Z] d65c8cfc05b1: Download complete [2022-03-28T20:10:52.641Z] 699f458cf7ca: Verifying Checksum [2022-03-28T20:10:52.641Z] 699f458cf7ca: Download complete [2022-03-28T20:10:52.920Z] 8998bd30e6a1: Download complete [2022-03-28T20:10:55.555Z] 2437ff75d9bd: Download complete [2022-03-28T20:10:57.543Z] 8998bd30e6a1: Pull complete [2022-03-28T20:10:57.818Z] 04944245beec: Pull complete [2022-03-28T20:10:59.802Z] 699f458cf7ca: Pull complete [2022-03-28T20:10:59.802Z] 765212b225bb: Pull complete [2022-03-28T20:11:00.787Z] f23df028b6ca: Pull complete [2022-03-28T20:11:00.787Z] d65c8cfc05b1: Pull complete [2022-03-28T20:11:15.922Z] 2437ff75d9bd: Pull complete [2022-03-28T20:11:15.922Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T20:11:15.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:11:15.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T20:11:16.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-9279 does not seem to be running inside a container [2022-03-28T20:11:16.280Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T20:11:18.999Z] $ docker top ed76a2902079ae4e61f47db23a78480265dc788e5a26d0d36e9f191135c88a35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:20.028Z] ---> job-cost.sh [2022-03-28T20:11:20.028Z] lf-activate-venv: SKIPPING [2022-03-28T20:11:20.028Z] INFO: No Stack... [2022-03-28T20:11:20.303Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T20:11:21.293Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T20:11:21.995Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-03-28T20:11:21.995Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T20:11:22.085Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [2022-03-28T20:11:22.091Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] did not exist. Created. [2022-03-28T20:11:22.091Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T20:11:22.854Z] /w/workspace/device-rest-go/1@tmp/durable-59b0afc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T20:11:23.568Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T20:11:23.606Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T20:11:23.657Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T20:11:23.671Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T20:11:23.757Z] $ docker stop --time=1 ed76a2902079ae4e61f47db23a78480265dc788e5a26d0d36e9f191135c88a35 [2022-03-28T20:11:25.314Z] $ docker rm -f ed76a2902079ae4e61f47db23a78480265dc788e5a26d0d36e9f191135c88a35 [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-03-28T20:11:26.343Z] provisioning config files... [2022-03-28T20:11:26.355Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/config8334829661584032857tmp [Pipeline] { [Pipeline] sh [2022-03-28T20:11:26.691Z] + set +x [2022-03-28T20:11:26.691Z] + curl -s https://codecov.io/bash [2022-03-28T20:11:26.691Z] + bash -s -- [2022-03-28T20:11:26.691Z] [2022-03-28T20:11:26.691Z] _____ _ [2022-03-28T20:11:26.691Z] / ____| | | [2022-03-28T20:11:26.691Z] | | ___ __| | ___ ___ _____ __ [2022-03-28T20:11:26.691Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-28T20:11:26.691Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-28T20:11:26.691Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-28T20:11:26.691Z] Bash-1.0.6 [2022-03-28T20:11:26.691Z] [2022-03-28T20:11:26.691Z] [2022-03-28T20:11:26.691Z] ==> git version 2.25.1 found [2022-03-28T20:11:26.691Z] ==> 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-03-28T20:11:26.691Z] Release-Date: 2020-01-08 [2022-03-28T20:11:26.691Z] 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-03-28T20:11:26.691Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-28T20:11:26.691Z] ==> Jenkins CI detected. [2022-03-28T20:11:26.691Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-163 [2022-03-28T20:11:26.691Z] project root: . [2022-03-28T20:11:26.691Z] --> token set from env [2022-03-28T20:11:26.691Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-28T20:11:26.691Z] ==> Running gcov in . (disable via -X gcov) [2022-03-28T20:11:26.691Z] ==> Python coveragepy not found [2022-03-28T20:11:26.691Z] ==> Searching for coverage reports in: [2022-03-28T20:11:26.691Z] + . [2022-03-28T20:11:26.691Z] -> Found 1 reports [2022-03-28T20:11:26.691Z] ==> Detecting git/mercurial file structure [2022-03-28T20:11:26.691Z] ==> Reading reports [2022-03-28T20:11:26.691Z] + ./coverage.out bytes=9215 [2022-03-28T20:11:26.691Z] ==> Appending adjustments [2022-03-28T20:11:26.691Z] https://docs.codecov.io/docs/fixing-reports [2022-03-28T20:11:26.951Z] + Found adjustments [2022-03-28T20:11:26.951Z] ==> Gzipping contents [2022-03-28T20:11:26.951Z] 4.0K /tmp/codecov.yTZkbf.gz [2022-03-28T20:11:26.951Z] ==> Uploading reports [2022-03-28T20:11:26.951Z] url: https://codecov.io [2022-03-28T20:11:26.951Z] query: branch=PR-163&commit=928ac87b7fcc99c492c1d1d83839fada765d9d81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-03-28T20:11:26.951Z] -> Pinging Codecov [2022-03-28T20:11:26.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-163&commit=928ac87b7fcc99c492c1d1d83839fada765d9d81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-03-28T20:11:27.522Z] -> Uploading to [2022-03-28T20:11:27.522Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-28/4E5D53B4F1F92C436F7061BF334D961C/928ac87b7fcc99c492c1d1d83839fada765d9d81/d73bfb2c-c3e7-4db7-823a-9abbbff6908f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T201127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f23ef5d36a216437f3cd4ffb224cd8dbb1765c82e6b83034a95e258dcfe1d8e4 [2022-03-28T20:11:27.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T20:11:27.522Z] Dload Upload Total Spent Left Speed [2022-03-28T20:11:27.522Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 7716 --:--:-- --:--:-- --:--:-- 7716 [2022-03-28T20:11:27.784Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/928ac87b7fcc99c492c1d1d83839fada765d9d81 [Pipeline] } [2022-03-28T20:11:27.828Z] 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-03-28T20:11:29.722Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-163/archives ] [2022-03-28T20:11:29.722Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-163/archives [2022-03-28T20:11:29.722Z] total 16 [2022-03-28T20:11:29.722Z] drwxr-xr-x 3 root root 4096 Mar 28 20:05 . [2022-03-28T20:11:29.722Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:05 .. [2022-03-28T20:11:29.722Z] drwxr-xr-x 2 root root 4096 Mar 28 20:05 cost [2022-03-28T20:11:29.722Z] -rw-r--r-- 1 root root 85 Mar 28 20:05 cost.csv [2022-03-28T20:11:29.722Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-163/archives [2022-03-28T20:11:29.722Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-163/archives [2022-03-28T20:11:29.722Z] total 16 [2022-03-28T20:11:29.722Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:05 . [2022-03-28T20:11:29.722Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:05 .. [2022-03-28T20:11:29.722Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:05 cost [2022-03-28T20:11:29.722Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 28 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:30.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:30.970Z] ---> package-listing.sh [2022-03-28T20:11:30.970Z] ++ facter osfamily [2022-03-28T20:11:30.970Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T20:11:31.234Z] + OS_FAMILY=debian [2022-03-28T20:11:31.234Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-163 [2022-03-28T20:11:31.234Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T20:11:31.234Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T20:11:31.234Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T20:11:31.234Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T20:11:31.234Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-163 ']' [2022-03-28T20:11:31.234Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T20:11:31.234Z] + case "${OS_FAMILY}" in [2022-03-28T20:11:31.234Z] + dpkg -l [2022-03-28T20:11:31.234Z] + grep '^ii' [2022-03-28T20:11:31.234Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T20:11:31.234Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T20:11:31.234Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T20:11:31.234Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-163 ']' [2022-03-28T20:11:31.234Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-163/archives/ [2022-03-28T20:11:31.234Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-163/archives/ [Pipeline] echo [2022-03-28T20:11:31.269Z] 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T20:11:31.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:11:32.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:11:32.150Z] . [Pipeline] withDockerContainer [2022-03-28T20:11:32.243Z] prd-ubuntu20.04-docker-8c-8g-9276 does not seem to be running inside a container [2022-03-28T20:11:32.283Z] $ 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-163/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-163 -v /w/workspace/gexfoundry_device-rest-go_PR-163:/w/workspace/gexfoundry_device-rest-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-163@tmp:/w/workspace/gexfoundry_device-rest-go_PR-163@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-lftools-log-publisher:latest cat [2022-03-28T20:11:32.500Z] $ docker top 905998b714a4b21dec29eefc2dd33ce9c98868dd6fb9a2f384e46dabbb62210c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:11:32.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T20:11:33.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T20:11:33.522Z] + ls /var/log/sa-host [2022-03-28T20:11:33.522Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:11:33.809Z] provisioning config files... [2022-03-28T20:11:33.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-163@tmp/config8913397995359182191tmp [Pipeline] { [Pipeline] echo [2022-03-28T20:11:33.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:34.186Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T20:11:34.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:34.622Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T20:11:34.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:34.972Z] ---> sudo-logs.sh [2022-03-28T20:11:34.973Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T20:11:35.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:35.388Z] ---> job-cost.sh [2022-03-28T20:11:35.388Z] lf-activate-venv: SKIPPING [2022-03-28T20:11:35.388Z] DEBUG: total: 0.2199999988079071 [2022-03-28T20:11:35.388Z] INFO: Retrieving Stack Cost... [2022-03-28T20:11:35.649Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T20:11:36.220Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T20:11:36.258Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:11:36.570Z] ---> logs-deploy.sh [2022-03-28T20:11:36.570Z] lf-activate-venv: SKIPPING [2022-03-28T20:11:36.570Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-163/1 [2022-03-28T20:11:36.570Z] INFO: archiving workspace using pattern(s): [2022-03-28T20:11:37.514Z] Archives upload complete. [2022-03-28T20:11:37.514Z] INFO: archiving logs to Nexus