Pull request #182 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 578fb88605a7b0beb16c95e7a15e89bf8109c0df+a43e2c30b821305cbbceda7bc94393c1897f4bc4 (5f81ba21794fcd58a814d7591f6dfc554f8aafdf) 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-ssh15895355098880124086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1635583755447631230.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-182/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-182/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15724522752067792678.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-182/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14150790355462335335.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh5131274831132584395.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-182/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-182/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14977652456399964079.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34497 in /w/workspace/gexfoundry_device-rest-go_PR-182 [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-182 # 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 a43e2c30b821305cbbceda7bc94393c1897f4bc4 into PR head commit 578fb88605a7b0beb16c95e7a15e89bf8109c0df Merge succeeded, producing 578fb88605a7b0beb16c95e7a15e89bf8109c0df Checking out Revision 578fb88605a7b0beb16c95e7a15e89bf8109c0df (PR-182) > 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/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 578fb88605a7b0beb16c95e7a15e89bf8109c0df # 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 a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 578fb88605a7b0beb16c95e7a15e89bf8109c0df # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-02T20:06:19.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-02T20:06:19.320Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-02T20:06:19.427Z] ========================================================= [2022-05-02T20:06:19.427Z] EdgeX Global Pipelines Version Info [2022-05-02T20:06:19.427Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:06:20.223Z] ------------------- [2022-05-02T20:06:20.223Z] stable info: [2022-05-02T20:06:20.223Z] ------------------- [2022-05-02T20:06:20.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-02T20:06:20.223Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-02T20:06:20.223Z] Message: update stable to v1.0.227 [2022-05-02T20:06:20.802Z] ------------------- [2022-05-02T20:06:20.803Z] experimental info: [2022-05-02T20:06:20.803Z] ------------------- [2022-05-02T20:06:20.803Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-02T20:06:20.803Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-02T20:06:20.803Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-02T20:06:21.039Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-02T20:06:21.080Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-02T20:06:21.120Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-02T20:06:21.156Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-02T20:06:21.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-02T20:06:21.230Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-02T20:06:21.266Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-02T20:06:21.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-02T20:06:21.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-02T20:06:21.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-02T20:06:21.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-02T20:06:21.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-02T20:06:21.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-02T20:06:21.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-02T20:06:21.578Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T20:06:21.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-02T20:06:21.657Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T20:06:21.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-02T20:06:21.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-02T20:06:21.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-02T20:06:21.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-02T20:06:21.849Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-02T20:06:21.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-02T20:06:21.928Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-02T20:06:21.970Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-02T20:06:22.011Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-02T20:06:22.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-05-02T20:06:22.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-05-02T20:06:22.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-05-02T20:06:22.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 578fb88605a7b0beb16c95e7a15e89bf8109c0df [Pipeline] echo [2022-05-02T20:06:22.212Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 578fb88 [Pipeline] echo [2022-05-02T20:06:22.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:06:22.360Z] provisioning config files... [2022-05-02T20:06:22.375Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config6310684078489070938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:06:22.725Z] ---> docker-login.sh [2022-05-02T20:06:22.725Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:06:22.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:22.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:22.986Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:22.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:22.986Z] [2022-05-02T20:06:22.986Z] Login Succeeded [2022-05-02T20:06:22.986Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:06:23.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:23.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:23.249Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:23.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:23.249Z] [2022-05-02T20:06:23.249Z] Login Succeeded [2022-05-02T20:06:23.249Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:06:23.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:23.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:23.513Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:23.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:23.513Z] [2022-05-02T20:06:23.513Z] Login Succeeded [2022-05-02T20:06:23.513Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:06:23.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:23.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:23.513Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:23.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:23.513Z] [2022-05-02T20:06:23.513Z] Login Succeeded [2022-05-02T20:06:23.513Z] docker.io [2022-05-02T20:06:23.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:24.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:24.090Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:24.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:24.090Z] [2022-05-02T20:06:24.090Z] Login Succeeded [2022-05-02T20:06:24.090Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:06:24.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-02T20:06:24.773Z] + git rev-list -1 --merges 578fb88605a7b0beb16c95e7a15e89bf8109c0df~1..578fb88605a7b0beb16c95e7a15e89bf8109c0df [Pipeline] echo [2022-05-02T20:06:24.913Z] -----------> git rev-list -1 --merges 578fb88605a7b0beb16c95e7a15e89bf8109c0df~1..578fb88605a7b0beb16c95e7a15e89bf8109c0df 578fb88605a7b0beb16c95e7a15e89bf8109c0df [false] [Pipeline] sh [2022-05-02T20:06:25.274Z] + git log --format=format:%s -1 578fb88605a7b0beb16c95e7a15e89bf8109c0df [Pipeline] echo [2022-05-02T20:06:25.312Z] ========================================================= [2022-05-02T20:06:25.312Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-02T20:06:25.312Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:06:25.868Z] + git log --format=format:%s -1 578fb88605a7b0beb16c95e7a15e89bf8109c0df [Pipeline] echo [2022-05-02T20:06:25.900Z] [semverPrep] GIT_COMMIT: 578fb88605a7b0beb16c95e7a15e89bf8109c0df, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-02T20:06:25.932Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-02T20:06:26.394Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-02T20:06:26.394Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-02T20:06:26.394Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-02T20:06:26.394Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-02T20:06:26.394Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-02T20:06:26.394Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-02T20:06:26.394Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:06:26.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:26.851Z] [2022-05-02T20:06:26.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:06:27.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:27.208Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-02T20:06:27.208Z] 1fe172e4850f: Pulling fs layer [2022-05-02T20:06:27.208Z] caf521ccaac6: Pulling fs layer [2022-05-02T20:06:27.208Z] 3ead6fa29328: Pulling fs layer [2022-05-02T20:06:27.208Z] 5c2a1cbceb83: Pulling fs layer [2022-05-02T20:06:27.208Z] a8d5f1318db7: Pulling fs layer [2022-05-02T20:06:27.208Z] c427282e49a2: Pulling fs layer [2022-05-02T20:06:27.208Z] 5c2a1cbceb83: Waiting [2022-05-02T20:06:27.208Z] 1827001aaf11: Pulling fs layer [2022-05-02T20:06:27.208Z] 0714d37db230: Pulling fs layer [2022-05-02T20:06:27.208Z] ac28cf19c067: Pulling fs layer [2022-05-02T20:06:27.208Z] ca983d60f3e2: Pulling fs layer [2022-05-02T20:06:27.208Z] 9f894cec8388: Pulling fs layer [2022-05-02T20:06:27.208Z] 0714d37db230: Waiting [2022-05-02T20:06:27.208Z] c427282e49a2: Waiting [2022-05-02T20:06:27.208Z] ac28cf19c067: Waiting [2022-05-02T20:06:27.208Z] 1827001aaf11: Waiting [2022-05-02T20:06:27.208Z] ca983d60f3e2: Waiting [2022-05-02T20:06:27.208Z] 9f894cec8388: Waiting [2022-05-02T20:06:27.208Z] caf521ccaac6: Verifying Checksum [2022-05-02T20:06:27.208Z] caf521ccaac6: Download complete [2022-05-02T20:06:27.208Z] 5c2a1cbceb83: Verifying Checksum [2022-05-02T20:06:27.208Z] 5c2a1cbceb83: Download complete [2022-05-02T20:06:27.208Z] a8d5f1318db7: Verifying Checksum [2022-05-02T20:06:27.208Z] a8d5f1318db7: Download complete [2022-05-02T20:06:27.468Z] c427282e49a2: Verifying Checksum [2022-05-02T20:06:27.468Z] c427282e49a2: Download complete [2022-05-02T20:06:27.468Z] 3ead6fa29328: Verifying Checksum [2022-05-02T20:06:27.468Z] 3ead6fa29328: Download complete [2022-05-02T20:06:27.468Z] 0714d37db230: Verifying Checksum [2022-05-02T20:06:27.468Z] 0714d37db230: Download complete [2022-05-02T20:06:27.468Z] ac28cf19c067: Download complete [2022-05-02T20:06:27.468Z] ca983d60f3e2: Verifying Checksum [2022-05-02T20:06:27.468Z] ca983d60f3e2: Download complete [2022-05-02T20:06:27.468Z] 1fe172e4850f: Download complete [2022-05-02T20:06:27.468Z] 9f894cec8388: Verifying Checksum [2022-05-02T20:06:27.468Z] 9f894cec8388: Download complete [2022-05-02T20:06:27.727Z] 1827001aaf11: Verifying Checksum [2022-05-02T20:06:27.727Z] 1827001aaf11: Download complete [2022-05-02T20:06:28.719Z] 1fe172e4850f: Pull complete [2022-05-02T20:06:28.719Z] caf521ccaac6: Pull complete [2022-05-02T20:06:29.291Z] 3ead6fa29328: Pull complete [2022-05-02T20:06:29.291Z] 5c2a1cbceb83: Pull complete [2022-05-02T20:06:29.553Z] a8d5f1318db7: Pull complete [2022-05-02T20:06:29.813Z] c427282e49a2: Pull complete [2022-05-02T20:06:31.724Z] 1827001aaf11: Pull complete [2022-05-02T20:06:31.724Z] 0714d37db230: Pull complete [2022-05-02T20:06:31.724Z] ac28cf19c067: Pull complete [2022-05-02T20:06:31.724Z] ca983d60f3e2: Pull complete [2022-05-02T20:06:31.724Z] 9f894cec8388: Pull complete [2022-05-02T20:06:31.724Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-02T20:06:31.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-02T20:06:31.724Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-02T20:06:31.811Z] prd-ubuntu20.04-docker-8c-8g-34497 does not seem to be running inside a container [2022-05-02T20:06:31.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-02T20:06:33.321Z] $ docker top 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd -eo pid,comm [2022-05-02T20:06:33.384Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-02T20:06:33.384Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-02T20:06:33.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T20:06:33.502Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T20:06:33.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T20:06:33.628Z] $ docker exec 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd ssh-agent [2022-05-02T20:06:33.755Z] SSH_AUTH_SOCK=/tmp/ssh-5Brdsk3MBpeR/agent.33 [2022-05-02T20:06:33.755Z] SSH_AGENT_PID=40 [2022-05-02T20:06:33.764Z] Running ssh-add (command line suppressed) [2022-05-02T20:06:33.883Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_5314209904480344023.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_5314209904480344023.key) [2022-05-02T20:06:33.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T20:06:34.230Z] + git tag --points-at HEAD [Pipeline] } [2022-05-02T20:06:34.254Z] $ docker exec --env ******** --env ******** 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd ssh-agent -k [2022-05-02T20:06:34.366Z] unset SSH_AUTH_SOCK; [2022-05-02T20:06:34.367Z] unset SSH_AGENT_PID; [2022-05-02T20:06:34.367Z] echo Agent pid 40 killed; [2022-05-02T20:06:34.379Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-02T20:06:34.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-02T20:06:34.467Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-02T20:06:34.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-02T20:06:34.605Z] $ docker exec 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd ssh-agent [2022-05-02T20:06:34.748Z] SSH_AUTH_SOCK=/tmp/ssh-On8uviNpduSQ/agent.72 [2022-05-02T20:06:34.748Z] SSH_AGENT_PID=78 [2022-05-02T20:06:34.754Z] Running ssh-add (command line suppressed) [2022-05-02T20:06:34.864Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_7111441092946513034.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_7111441092946513034.key) [2022-05-02T20:06:34.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-02T20:06:35.218Z] + git semver init [2022-05-02T20:06:35.480Z] 2022-05-02 20:06:35,410 [run_init] DEBUG init version:0.0.0 force:False [2022-05-02T20:06:35.480Z] 2022-05-02 20:06:35,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver [2022-05-02T20:06:35.480Z] 2022-05-02 20:06:35,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-182/.semver [2022-05-02T20:06:35.480Z] 2022-05-02 20:06:35,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-182/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182, universal_newlines=False, shell=None, istream=None) [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,372 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.git/info/exclude [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,373 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 with force:False [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,373 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,377 [execute] INFO git cat-file --batch-check [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,383 [execute] INFO git cat-file --batch [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-05-02T20:06:36.424Z] 2022-05-02 20:06:36,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 [2022-05-02T20:06:36.424Z] 0.0.0 [Pipeline] } [2022-05-02T20:06:36.453Z] $ docker exec --env ******** --env ******** 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd ssh-agent -k [2022-05-02T20:06:36.565Z] unset SSH_AUTH_SOCK; [2022-05-02T20:06:36.565Z] unset SSH_AGENT_PID; [2022-05-02T20:06:36.565Z] echo Agent pid 78 killed; [2022-05-02T20:06:36.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-02T20:06:37.002Z] + git semver [Pipeline] } [2022-05-02T20:06:37.286Z] $ docker stop --time=1 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd [2022-05-02T20:06:38.596Z] $ docker rm -f 1d35f115a0d946171d467222615b730b51f87d8c86b01c1c2e4ead4692ee7cdd [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:06:39.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-02T20:06:39.323Z] Stashed 1 file(s) [Pipeline] echo [2022-05-02T20:06:39.341Z] [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-05-02T20:06:39.898Z] provisioning config files... [2022-05-02T20:06:39.910Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config3036996906747524491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:06:40.273Z] ---> docker-login.sh [2022-05-02T20:06:40.273Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:06:40.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:40.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:40.273Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:40.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:40.273Z] [2022-05-02T20:06:40.273Z] Login Succeeded [2022-05-02T20:06:40.273Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:06:40.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:40.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:40.533Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:40.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:40.533Z] [2022-05-02T20:06:40.533Z] Login Succeeded [2022-05-02T20:06:40.533Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:06:40.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:40.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:40.533Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:40.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:40.533Z] [2022-05-02T20:06:40.533Z] Login Succeeded [2022-05-02T20:06:40.533Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:06:40.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:40.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:40.797Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:40.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:40.797Z] [2022-05-02T20:06:40.797Z] Login Succeeded [2022-05-02T20:06:40.797Z] docker.io [2022-05-02T20:06:40.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:06:41.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:06:41.057Z] Configure a credential helper to remove this warning. See [2022-05-02T20:06:41.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:06:41.057Z] [2022-05-02T20:06:41.057Z] Login Succeeded [2022-05-02T20:06:41.057Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:06:41.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T20:06:41.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T20:06:41.295Z] ========================================================= [2022-05-02T20:06:41.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-02T20:06:41.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:06:41.700Z] + 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-05-02T20:06:41.700Z] Sending build context to Docker daemon 10.61MB [2022-05-02T20:06:41.700Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:06:41.700Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-02T20:06:41.700Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-02T20:06:41.700Z] 59bf1c3509f3: Pulling fs layer [2022-05-02T20:06:41.700Z] 666ba61612fd: Pulling fs layer [2022-05-02T20:06:41.700Z] 8ed8ca486205: Pulling fs layer [2022-05-02T20:06:41.700Z] 4fe6c5a15a65: Pulling fs layer [2022-05-02T20:06:41.700Z] 22a0e8bec74d: Pulling fs layer [2022-05-02T20:06:41.700Z] ca2b28591e48: Pulling fs layer [2022-05-02T20:06:41.700Z] a51346096db8: Pulling fs layer [2022-05-02T20:06:41.700Z] daebc70d1ce1: Pulling fs layer [2022-05-02T20:06:41.700Z] 0e18a0eac166: Pulling fs layer [2022-05-02T20:06:41.700Z] 22a0e8bec74d: Waiting [2022-05-02T20:06:41.701Z] 4fe6c5a15a65: Waiting [2022-05-02T20:06:41.701Z] ca2b28591e48: Waiting [2022-05-02T20:06:41.701Z] a51346096db8: Waiting [2022-05-02T20:06:41.701Z] daebc70d1ce1: Waiting [2022-05-02T20:06:41.701Z] 0e18a0eac166: Waiting [2022-05-02T20:06:41.701Z] 8ed8ca486205: Verifying Checksum [2022-05-02T20:06:41.701Z] 8ed8ca486205: Download complete [2022-05-02T20:06:41.962Z] 666ba61612fd: Verifying Checksum [2022-05-02T20:06:41.962Z] 666ba61612fd: Download complete [2022-05-02T20:06:41.962Z] 22a0e8bec74d: Verifying Checksum [2022-05-02T20:06:41.962Z] 22a0e8bec74d: Download complete [2022-05-02T20:06:41.962Z] ca2b28591e48: Verifying Checksum [2022-05-02T20:06:41.962Z] ca2b28591e48: Download complete [2022-05-02T20:06:41.962Z] a51346096db8: Verifying Checksum [2022-05-02T20:06:41.962Z] a51346096db8: Download complete [2022-05-02T20:06:41.962Z] 59bf1c3509f3: Download complete [2022-05-02T20:06:41.962Z] daebc70d1ce1: Verifying Checksum [2022-05-02T20:06:41.962Z] daebc70d1ce1: Download complete [2022-05-02T20:06:41.962Z] 59bf1c3509f3: Pull complete [2022-05-02T20:06:42.223Z] 666ba61612fd: Pull complete [2022-05-02T20:06:42.223Z] 8ed8ca486205: Pull complete [2022-05-02T20:06:42.482Z] 0e18a0eac166: Verifying Checksum [2022-05-02T20:06:42.482Z] 0e18a0eac166: Download complete [2022-05-02T20:06:42.740Z] 4fe6c5a15a65: Verifying Checksum [2022-05-02T20:06:42.740Z] 4fe6c5a15a65: Download complete [2022-05-02T20:06:46.034Z] 4fe6c5a15a65: Pull complete [2022-05-02T20:06:46.034Z] 22a0e8bec74d: Pull complete [2022-05-02T20:06:46.293Z] ca2b28591e48: Pull complete [2022-05-02T20:06:46.293Z] a51346096db8: Pull complete [2022-05-02T20:06:46.293Z] daebc70d1ce1: Pull complete [2022-05-02T20:06:48.827Z] 0e18a0eac166: Pull complete [2022-05-02T20:06:48.828Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-02T20:06:48.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-02T20:06:48.828Z] ---> f018257e8ee9 [2022-05-02T20:06:48.828Z] Step 3/12 : ARG MAKE='make build' [2022-05-02T20:06:50.214Z] ---> Running in b8b3241f18b0 [2022-05-02T20:06:50.214Z] Removing intermediate container b8b3241f18b0 [2022-05-02T20:06:50.214Z] ---> 50e26622267f [2022-05-02T20:06:50.214Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:06:50.214Z] ---> Running in 6b42acb46c6b [2022-05-02T20:06:50.214Z] Removing intermediate container 6b42acb46c6b [2022-05-02T20:06:50.214Z] ---> 60b1e78acf0f [2022-05-02T20:06:50.214Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:06:50.214Z] ---> Running in d86f8cb116f5 [2022-05-02T20:06:50.214Z] Removing intermediate container d86f8cb116f5 [2022-05-02T20:06:50.214Z] ---> ac2485de300e [2022-05-02T20:06:50.214Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:06:50.214Z] ---> Running in 90b147e3a6d4 [2022-05-02T20:06:50.785Z] Removing intermediate container 90b147e3a6d4 [2022-05-02T20:06:50.785Z] ---> 41f2b7b0e4af [2022-05-02T20:06:50.785Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:06:50.785Z] ---> Running in c43e1c7d4deb [2022-05-02T20:06:51.356Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:06:51.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:06:52.497Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T20:06:52.497Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-02T20:06:52.497Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T20:06:52.497Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T20:06:52.757Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T20:06:52.757Z] OK: 224 MiB in 56 packages [2022-05-02T20:06:53.019Z] Removing intermediate container c43e1c7d4deb [2022-05-02T20:06:53.019Z] ---> 0617e1494b0d [2022-05-02T20:06:53.019Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-02T20:06:53.019Z] ---> Running in 55ed0c3d36d2 [2022-05-02T20:06:53.279Z] Removing intermediate container 55ed0c3d36d2 [2022-05-02T20:06:53.279Z] ---> 84ed355a2b9c [2022-05-02T20:06:53.279Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-02T20:06:53.279Z] ---> 8f54f994f43f [2022-05-02T20:06:53.279Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:06:53.279Z] ---> Running in ab455ff3ea47 [2022-05-02T20:06:54.724Z] Still waiting to schedule task [2022-05-02T20:06:54.724Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-02T20:07:08.248Z] Removing intermediate container ab455ff3ea47 [2022-05-02T20:07:08.248Z] ---> c2728dc35945 [2022-05-02T20:07:08.248Z] Step 11/12 : COPY . . [2022-05-02T20:07:08.508Z] ---> 4904e4eb65c4 [2022-05-02T20:07:08.508Z] Step 12/12 : RUN $MAKE [2022-05-02T20:07:08.508Z] ---> Running in d728b9608899 [2022-05-02T20:07:08.768Z] noop [2022-05-02T20:07:09.030Z] Removing intermediate container d728b9608899 [2022-05-02T20:07:09.030Z] ---> ebe87475ed42 [2022-05-02T20:07:09.030Z] Successfully built ebe87475ed42 [2022-05-02T20:07:09.030Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:09.362Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T20:07:09.362Z] . [Pipeline] withDockerContainer [2022-05-02T20:07:09.454Z] prd-ubuntu20.04-docker-8c-8g-34497 does not seem to be running inside a container [2022-05-02T20:07:09.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@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-x86_64 cat [2022-05-02T20:07:09.883Z] $ docker top 769925cd561777ac63953d3d1518a3158456fc43f5b4141500d813f4c90faceb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:07:10.274Z] + go version [2022-05-02T20:07:10.274Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-02T20:07:10.315Z] $ docker stop --time=1 769925cd561777ac63953d3d1518a3158456fc43f5b4141500d813f4c90faceb [2022-05-02T20:07:11.597Z] $ docker rm -f 769925cd561777ac63953d3d1518a3158456fc43f5b4141500d813f4c90faceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:12.263Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-02T20:07:12.263Z] . [Pipeline] withDockerContainer [2022-05-02T20:07:12.360Z] prd-ubuntu20.04-docker-8c-8g-34497 does not seem to be running inside a container [2022-05-02T20:07:12.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@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-x86_64 cat [2022-05-02T20:07:12.825Z] $ docker top d7b13f892602f77ffee266542892de0d1b3fb5833e200b2fd1597149506f9851 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T20:07:13.294Z] + make test [2022-05-02T20:07:13.294Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T20:07:13.553Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-02T20:07:23.536Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-02T20:07:23.536Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-05-02T20:07:28.813Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T20:07:32.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T20:07:32.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T20:07:32.115Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T20:07:32.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T20:07:32.758Z] $ docker stop --time=1 d7b13f892602f77ffee266542892de0d1b3fb5833e200b2fd1597149506f9851 [2022-05-02T20:07:34.580Z] $ docker rm -f d7b13f892602f77ffee266542892de0d1b3fb5833e200b2fd1597149506f9851 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:07:35.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T20:07:35.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-02T20:07:36.008Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T20:07:36.320Z] + ls -al . [2022-05-02T20:07:36.320Z] total 192 [2022-05-02T20:07:36.320Z] drwxrwxr-x 9 jenkins jenkins 4096 May 2 20:07 . [2022-05-02T20:07:36.320Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 20:06 .. [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 151 May 2 20:06 .dockerignore [2022-05-02T20:07:36.320Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:06 .git [2022-05-02T20:07:36.320Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 .github [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 20:06 .gitignore [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 20:06 .golangci.yml [2022-05-02T20:07:36.320Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:06 .semver [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 2 20:06 Attribution.txt [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 2 20:06 CHANGELOG.md [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 2 20:06 Dockerfile [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 20:06 GOVERNANCE.md [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 20:06 Jenkinsfile [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 20:06 LICENSE [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 2 20:06 Makefile [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 20:06 OWNERS.md [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 2 20:06 README.md [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 20:06 VERSION [2022-05-02T20:07:36.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:06 bin [2022-05-02T20:07:36.320Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 cmd [2022-05-02T20:07:36.320Z] -rw-r--r-- 1 jenkins jenkins 9355 May 2 20:07 coverage.out [2022-05-02T20:07:36.320Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:06 driver [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 20:06 go.mod [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 54250 May 2 20:06 go.sum [2022-05-02T20:07:36.320Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:06 snap [2022-05-02T20:07:36.320Z] -rw-rw-r-- 1 jenkins jenkins 713 May 2 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:07:36.651Z] + 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=578fb88605a7b0beb16c95e7a15e89bf8109c0df --label arch=amd64 --label version=0.0.0 . [2022-05-02T20:07:36.651Z] Sending build context to Docker daemon 10.62MB [2022-05-02T20:07:36.651Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:07:36.651Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T20:07:36.651Z] ---> ebe87475ed42 [2022-05-02T20:07:36.651Z] Step 3/25 : ARG MAKE='make build' [2022-05-02T20:07:36.651Z] ---> Running in 878d7113b47b [2022-05-02T20:07:36.911Z] Removing intermediate container 878d7113b47b [2022-05-02T20:07:36.911Z] ---> d920df0fca45 [2022-05-02T20:07:36.911Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:07:36.911Z] ---> Running in f7e22587638f [2022-05-02T20:07:36.911Z] Removing intermediate container f7e22587638f [2022-05-02T20:07:36.911Z] ---> 00963006be72 [2022-05-02T20:07:36.911Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:07:36.911Z] ---> Running in cd8fbc1bcc7c [2022-05-02T20:07:37.172Z] Removing intermediate container cd8fbc1bcc7c [2022-05-02T20:07:37.172Z] ---> 7bb5c4fc7dea [2022-05-02T20:07:37.172Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:07:37.172Z] ---> Running in 0b5241a3c6ce [2022-05-02T20:07:37.752Z] Removing intermediate container 0b5241a3c6ce [2022-05-02T20:07:37.753Z] ---> b28847dcfb2f [2022-05-02T20:07:37.753Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:07:37.753Z] ---> Running in 1e31bb10df3f [2022-05-02T20:07:38.014Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:07:38.957Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:07:39.218Z] OK: 224 MiB in 56 packages [2022-05-02T20:07:39.478Z] Removing intermediate container 1e31bb10df3f [2022-05-02T20:07:39.478Z] ---> 8f3d8e8f76ea [2022-05-02T20:07:39.478Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-02T20:07:39.478Z] ---> Running in bb23e01490e8 [2022-05-02T20:07:39.478Z] Removing intermediate container bb23e01490e8 [2022-05-02T20:07:39.478Z] ---> 0bf83aa6e463 [2022-05-02T20:07:39.478Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-02T20:07:39.738Z] ---> 0bd70db36876 [2022-05-02T20:07:39.738Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:07:39.738Z] ---> Running in 2e423a9bb50b [2022-05-02T20:07:40.307Z] Removing intermediate container 2e423a9bb50b [2022-05-02T20:07:40.307Z] ---> c1f14f2b9c0c [2022-05-02T20:07:40.307Z] Step 11/25 : COPY . . [2022-05-02T20:07:40.878Z] ---> c9c8d0ac4fc7 [2022-05-02T20:07:40.878Z] Step 12/25 : RUN $MAKE [2022-05-02T20:07:40.878Z] ---> Running in ee3abb2680ce [2022-05-02T20:07:40.878Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-02T20:08:02.838Z] Removing intermediate container ee3abb2680ce [2022-05-02T20:08:02.838Z] ---> b8b3db9296be [2022-05-02T20:08:02.838Z] Step 13/25 : FROM alpine:3.14 [2022-05-02T20:08:02.838Z] 3.14: Pulling from library/alpine [2022-05-02T20:08:02.838Z] 8663204ce13b: Pulling fs layer [2022-05-02T20:08:02.838Z] 8663204ce13b: Verifying Checksum [2022-05-02T20:08:02.838Z] 8663204ce13b: Download complete [2022-05-02T20:08:02.838Z] 8663204ce13b: Pull complete [2022-05-02T20:08:02.838Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T20:08:02.838Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T20:08:02.838Z] ---> e04c818066af [2022-05-02T20:08:02.838Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-02T20:08:02.838Z] ---> Running in 9bd85ecdbf59 [2022-05-02T20:08:02.838Z] Removing intermediate container 9bd85ecdbf59 [2022-05-02T20:08:02.838Z] ---> e32a4263709f [2022-05-02T20:08:02.838Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-02T20:08:02.838Z] ---> Running in ee7dd78df549 [2022-05-02T20:08:02.838Z] Removing intermediate container ee7dd78df549 [2022-05-02T20:08:02.838Z] ---> 9995bedb418d [2022-05-02T20:08:02.838Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T20:08:02.838Z] ---> Running in 6cfb56cbede0 [2022-05-02T20:08:02.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:02.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-02T20:08:02.838Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T20:08:02.838Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T20:08:02.838Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T20:08:02.838Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T20:08:02.838Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T20:08:02.838Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T20:08:02.838Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T20:08:02.838Z] OK: 8 MiB in 20 packages [2022-05-02T20:08:02.838Z] Removing intermediate container 6cfb56cbede0 [2022-05-02T20:08:02.838Z] ---> b559344068ad [2022-05-02T20:08:02.838Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-02T20:08:02.838Z] ---> c06e3ef1829f [2022-05-02T20:08:02.838Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-02T20:08:03.100Z] ---> 7386e2d7a938 [2022-05-02T20:08:03.100Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-02T20:08:03.100Z] ---> a3c84e16c167 [2022-05-02T20:08:03.100Z] Step 20/25 : EXPOSE 59986 [2022-05-02T20:08:03.100Z] ---> Running in 8303cd58ee3a [2022-05-02T20:08:03.361Z] Removing intermediate container 8303cd58ee3a [2022-05-02T20:08:03.361Z] ---> 37c90b8922ab [2022-05-02T20:08:03.361Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-02T20:08:03.361Z] ---> Running in 01e9bd1678d1 [2022-05-02T20:08:03.361Z] Removing intermediate container 01e9bd1678d1 [2022-05-02T20:08:03.361Z] ---> b85898178610 [2022-05-02T20:08:03.361Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-02T20:08:03.361Z] ---> Running in 61e5a8134795 [2022-05-02T20:08:03.624Z] Removing intermediate container 61e5a8134795 [2022-05-02T20:08:03.624Z] ---> dde09c8fac36 [2022-05-02T20:08:03.624Z] Step 23/25 : LABEL arch=amd64 [2022-05-02T20:08:03.624Z] ---> Running in 34c7153d58ea [2022-05-02T20:08:03.624Z] Removing intermediate container 34c7153d58ea [2022-05-02T20:08:03.624Z] ---> fd8d5454eb6f [2022-05-02T20:08:03.624Z] Step 24/25 : LABEL git_sha=578fb88605a7b0beb16c95e7a15e89bf8109c0df [2022-05-02T20:08:03.884Z] ---> Running in 754fc81a995b [2022-05-02T20:08:03.884Z] Removing intermediate container 754fc81a995b [2022-05-02T20:08:03.884Z] ---> 7ee302450d39 [2022-05-02T20:08:03.884Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T20:08:03.884Z] ---> Running in b3aac2a73ef1 [2022-05-02T20:08:04.144Z] Removing intermediate container b3aac2a73ef1 [2022-05-02T20:08:04.144Z] ---> 528e4699bba2 [2022-05-02T20:08:04.144Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T20:08:04.144Z] Successfully built 528e4699bba2 [2022-05-02T20:08:04.144Z] 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-05-02T20:08:04.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:04.914Z] [2022-05-02T20:08:04.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:08:05.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:05.265Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-02T20:08:05.265Z] 5eb5b503b376: Pulling fs layer [2022-05-02T20:08:05.265Z] 5c69ac0246d0: Pulling fs layer [2022-05-02T20:08:05.265Z] ec43610c2a17: Pulling fs layer [2022-05-02T20:08:05.265Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-02T20:08:05.265Z] 33b1e0a273af: Pulling fs layer [2022-05-02T20:08:05.265Z] 5d3b04190fa2: Pulling fs layer [2022-05-02T20:08:05.265Z] 2f39f015ded8: Pulling fs layer [2022-05-02T20:08:05.265Z] 3a2ae6a8a46f: Waiting [2022-05-02T20:08:05.265Z] 33b1e0a273af: Waiting [2022-05-02T20:08:05.265Z] 2f39f015ded8: Waiting [2022-05-02T20:08:05.265Z] 5d3b04190fa2: Waiting [2022-05-02T20:08:05.265Z] 5c69ac0246d0: Download complete [2022-05-02T20:08:05.265Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-02T20:08:05.265Z] 3a2ae6a8a46f: Download complete [2022-05-02T20:08:05.265Z] 33b1e0a273af: Verifying Checksum [2022-05-02T20:08:05.265Z] 33b1e0a273af: Download complete [2022-05-02T20:08:05.265Z] ec43610c2a17: Verifying Checksum [2022-05-02T20:08:05.265Z] ec43610c2a17: Download complete [2022-05-02T20:08:05.265Z] 5d3b04190fa2: Verifying Checksum [2022-05-02T20:08:05.265Z] 5d3b04190fa2: Download complete [2022-05-02T20:08:05.524Z] 5eb5b503b376: Verifying Checksum [2022-05-02T20:08:05.525Z] 5eb5b503b376: Download complete [2022-05-02T20:08:06.093Z] 2f39f015ded8: Download complete [2022-05-02T20:08:06.661Z] 5eb5b503b376: Pull complete [2022-05-02T20:08:06.661Z] 5c69ac0246d0: Pull complete [2022-05-02T20:08:07.228Z] ec43610c2a17: Pull complete [2022-05-02T20:08:07.228Z] 3a2ae6a8a46f: Pull complete [2022-05-02T20:08:07.488Z] 33b1e0a273af: Pull complete [2022-05-02T20:08:07.488Z] 5d3b04190fa2: Pull complete [2022-05-02T20:08:11.686Z] 2f39f015ded8: Pull complete [2022-05-02T20:08:11.686Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-02T20:08:11.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:08:11.686Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-02T20:08:11.780Z] prd-ubuntu20.04-docker-8c-8g-34497 does not seem to be running inside a container [2022-05-02T20:08:11.827Z] $ 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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-02T20:08:13.723Z] $ docker top 52c5af66b65302d9f91a59386d3aeb347696455f8d6359be0b95c089486a0551 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:08:14.218Z] ---> job-cost.sh [2022-05-02T20:08:14.218Z] lf-activate-venv: SKIPPING [2022-05-02T20:08:14.218Z] INFO: No Stack... [2022-05-02T20:08:14.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T20:08:15.048Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T20:08:15.462Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-182/archives/cost.csv [2022-05-02T20:08:15.462Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T20:08:15.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [2022-05-02T20:08:15.508Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] did not exist. Created. [2022-05-02T20:08:15.508Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T20:08:15.908Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-02T20:08:16.015Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T20:08:16.045Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T20:08:16.140Z] $ docker stop --time=1 52c5af66b65302d9f91a59386d3aeb347696455f8d6359be0b95c089486a0551 [2022-05-02T20:08:17.320Z] $ docker rm -f 52c5af66b65302d9f91a59386d3aeb347696455f8d6359be0b95c089486a0551 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-02T20:09:42.598Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-34499 in /w/workspace/gexfoundry_device-rest-go_PR-182 [Pipeline] { [Pipeline] ws [2022-05-02T20:09:42.643Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-02T20:09:43.025Z] The recommended git tool is: git [2022-05-02T20:09:48.876Z] using credential edgex-jenkins-ssh [2022-05-02T20:09:48.909Z] Cloning the remote Git repository [2022-05-02T20:09:49.033Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:09:49.207Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-02T20:09:49.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:09:49.308Z] > git --version # timeout=10 [2022-05-02T20:09:49.339Z] > git --version # 'git version 2.25.1' [2022-05-02T20:09:49.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:09:49.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T20:09:51.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-02T20:09:51.424Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-02T20:09:51.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-02T20:09:51.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-02T20:09:51.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:09:51.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-02T20:09:52.082Z] Merging remotes/origin/main commit a43e2c30b821305cbbceda7bc94393c1897f4bc4 into PR head commit 578fb88605a7b0beb16c95e7a15e89bf8109c0df [2022-05-02T20:09:52.322Z] Merge succeeded, producing 578fb88605a7b0beb16c95e7a15e89bf8109c0df [2022-05-02T20:09:52.322Z] Checking out Revision 578fb88605a7b0beb16c95e7a15e89bf8109c0df (PR-182) [2022-05-02T20:09:52.107Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T20:09:52.125Z] > git checkout -f 578fb88605a7b0beb16c95e7a15e89bf8109c0df # timeout=10 [2022-05-02T20:09:52.219Z] > git remote # timeout=10 [2022-05-02T20:09:52.238Z] > git config --get remote.origin.url # timeout=10 [2022-05-02T20:09:52.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-02T20:09:52.278Z] > git merge a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 [2022-05-02T20:09:52.307Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-02T20:09:52.334Z] > git config core.sparsecheckout # timeout=10 [2022-05-02T20:09:52.349Z] > git checkout -f 578fb88605a7b0beb16c95e7a15e89bf8109c0df # timeout=10 [2022-05-02T20:09:56.759Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-05-02T20:09:56.838Z] > git --version # timeout=10 [2022-05-02T20:09:56.855Z] > git --version # 'git version 2.25.1' [2022-05-02T20:09:56.876Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:09:58.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-02T20:09:58.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T20:09:58.086Z] Dload Upload Total Spent Left Speed [2022-05-02T20:09:58.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh [2022-05-02T20:09:58.677Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-02T20:09:59.049Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-02T20:09:59.049Z] + sudo tee /etc/docker/daemon.new [2022-05-02T20:09:59.049Z] { [2022-05-02T20:09:59.049Z] "registry-mirrors": [ [2022-05-02T20:09:59.049Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-02T20:09:59.049Z] ], [2022-05-02T20:09:59.049Z] "bip": "10.250.0.254/24", [2022-05-02T20:09:59.049Z] "hosts": [ [2022-05-02T20:09:59.049Z] "tcp://0.0.0.0:5555", [2022-05-02T20:09:59.049Z] "unix:///var/run/docker.sock" [2022-05-02T20:09:59.049Z] ], [2022-05-02T20:09:59.049Z] "mtu": 1458, [2022-05-02T20:09:59.049Z] "selinux-enabled": true, [2022-05-02T20:09:59.049Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-02T20:09:59.049Z] } [Pipeline] sh [2022-05-02T20:09:59.417Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-02T20:09:59.860Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:10:18.301Z] provisioning config files... [2022-05-02T20:10:18.331Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4412305629810519446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:10:18.930Z] ---> docker-login.sh [2022-05-02T20:10:18.930Z] nexus3.edgexfoundry.org:10001 [2022-05-02T20:10:19.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:10:19.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:10:19.802Z] Configure a credential helper to remove this warning. See [2022-05-02T20:10:19.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:10:19.802Z] [2022-05-02T20:10:19.802Z] Login Succeeded [2022-05-02T20:10:19.802Z] nexus3.edgexfoundry.org:10002 [2022-05-02T20:10:20.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:10:20.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:10:20.355Z] Configure a credential helper to remove this warning. See [2022-05-02T20:10:20.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:10:20.355Z] [2022-05-02T20:10:20.355Z] Login Succeeded [2022-05-02T20:10:20.355Z] nexus3.edgexfoundry.org:10003 [2022-05-02T20:10:20.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:10:20.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:10:20.913Z] Configure a credential helper to remove this warning. See [2022-05-02T20:10:20.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:10:20.913Z] [2022-05-02T20:10:20.913Z] Login Succeeded [2022-05-02T20:10:20.913Z] nexus3.edgexfoundry.org:10004 [2022-05-02T20:10:21.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:10:21.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:10:21.463Z] Configure a credential helper to remove this warning. See [2022-05-02T20:10:21.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:10:21.463Z] [2022-05-02T20:10:21.463Z] Login Succeeded [2022-05-02T20:10:21.463Z] docker.io [2022-05-02T20:10:21.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-02T20:10:22.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-02T20:10:22.334Z] Configure a credential helper to remove this warning. See [2022-05-02T20:10:22.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-02T20:10:22.334Z] [2022-05-02T20:10:22.334Z] Login Succeeded [2022-05-02T20:10:22.334Z] ---> docker-login.sh ends [Pipeline] } [2022-05-02T20:10:22.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-02T20:10:22.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-02T20:10:22.810Z] ========================================================= [2022-05-02T20:10:22.810Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-02T20:10:22.810Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:10:23.279Z] + 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-05-02T20:10:23.279Z] Sending build context to Docker daemon 130kB [2022-05-02T20:10:23.559Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:10:23.559Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-02T20:10:23.839Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-02T20:10:23.839Z] 9b3977197b4f: Pulling fs layer [2022-05-02T20:10:23.839Z] 1a89e8eeedd5: Pulling fs layer [2022-05-02T20:10:23.839Z] 94645a83ff95: Pulling fs layer [2022-05-02T20:10:23.839Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-02T20:10:23.839Z] 0c92f367c5e7: Pulling fs layer [2022-05-02T20:10:23.839Z] 3096ccb668a1: Pulling fs layer [2022-05-02T20:10:23.839Z] e8cf19c19ddd: Pulling fs layer [2022-05-02T20:10:23.839Z] a4caa8a26152: Pulling fs layer [2022-05-02T20:10:23.839Z] 3f3a8bcf1eab: Waiting [2022-05-02T20:10:23.839Z] 0c92f367c5e7: Waiting [2022-05-02T20:10:23.839Z] 3096ccb668a1: Waiting [2022-05-02T20:10:23.839Z] e8cf19c19ddd: Waiting [2022-05-02T20:10:23.839Z] a4caa8a26152: Waiting [2022-05-02T20:10:23.839Z] 94645a83ff95: Verifying Checksum [2022-05-02T20:10:23.839Z] 94645a83ff95: Download complete [2022-05-02T20:10:23.839Z] 1a89e8eeedd5: Verifying Checksum [2022-05-02T20:10:23.839Z] 1a89e8eeedd5: Download complete [2022-05-02T20:10:23.839Z] 0c92f367c5e7: Verifying Checksum [2022-05-02T20:10:23.839Z] 0c92f367c5e7: Download complete [2022-05-02T20:10:23.839Z] 3096ccb668a1: Verifying Checksum [2022-05-02T20:10:23.839Z] 3096ccb668a1: Download complete [2022-05-02T20:10:23.839Z] 9b3977197b4f: Verifying Checksum [2022-05-02T20:10:23.839Z] 9b3977197b4f: Download complete [2022-05-02T20:10:23.839Z] e8cf19c19ddd: Verifying Checksum [2022-05-02T20:10:23.839Z] e8cf19c19ddd: Download complete [2022-05-02T20:10:24.848Z] 9b3977197b4f: Pull complete [2022-05-02T20:10:25.475Z] 1a89e8eeedd5: Pull complete [2022-05-02T20:10:25.761Z] 94645a83ff95: Pull complete [2022-05-02T20:10:26.046Z] a4caa8a26152: Verifying Checksum [2022-05-02T20:10:26.046Z] a4caa8a26152: Download complete [2022-05-02T20:10:26.653Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-02T20:10:26.653Z] 3f3a8bcf1eab: Download complete [2022-05-02T20:10:39.101Z] 3f3a8bcf1eab: Pull complete [2022-05-02T20:10:39.377Z] 0c92f367c5e7: Pull complete [2022-05-02T20:10:39.652Z] 3096ccb668a1: Pull complete [2022-05-02T20:10:39.929Z] e8cf19c19ddd: Pull complete [2022-05-02T20:10:48.256Z] a4caa8a26152: Pull complete [2022-05-02T20:10:48.256Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-02T20:10:48.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-02T20:10:48.256Z] ---> 725f1c02e7f9 [2022-05-02T20:10:48.256Z] Step 3/12 : ARG MAKE='make build' [2022-05-02T20:10:49.257Z] ---> Running in c738ac64f93b [2022-05-02T20:10:49.538Z] Removing intermediate container c738ac64f93b [2022-05-02T20:10:49.538Z] ---> 9bfdd8a898f2 [2022-05-02T20:10:49.538Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:10:49.538Z] ---> Running in 73fbc2bb25c7 [2022-05-02T20:10:49.818Z] Removing intermediate container 73fbc2bb25c7 [2022-05-02T20:10:49.818Z] ---> bb5ca7d8890d [2022-05-02T20:10:49.818Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:10:49.818Z] ---> Running in 073387ed28e7 [2022-05-02T20:10:50.428Z] Removing intermediate container 073387ed28e7 [2022-05-02T20:10:50.428Z] ---> badf343f8063 [2022-05-02T20:10:50.428Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:10:50.428Z] ---> Running in 1e70b9fa860e [2022-05-02T20:10:52.438Z] Removing intermediate container 1e70b9fa860e [2022-05-02T20:10:52.438Z] ---> bacd58ae1e31 [2022-05-02T20:10:52.438Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:10:52.438Z] ---> Running in f29abd37ea30 [2022-05-02T20:10:53.424Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:10:54.414Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:10:55.410Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-02T20:10:55.410Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-02T20:10:55.410Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-02T20:10:55.686Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-02T20:10:55.686Z] Executing busybox-1.34.1-r3.trigger [2022-05-02T20:10:55.961Z] OK: 224 MiB in 56 packages [2022-05-02T20:10:56.950Z] Removing intermediate container f29abd37ea30 [2022-05-02T20:10:56.950Z] ---> 5b257bbe4c73 [2022-05-02T20:10:56.950Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-02T20:10:56.950Z] ---> Running in e442c8a979f0 [2022-05-02T20:10:57.228Z] Removing intermediate container e442c8a979f0 [2022-05-02T20:10:57.228Z] ---> 4f20ad832f82 [2022-05-02T20:10:57.228Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-02T20:10:57.833Z] ---> df6f29e27416 [2022-05-02T20:10:57.833Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:10:57.833Z] ---> Running in d3d349e88760 [2022-05-02T20:11:44.856Z] Removing intermediate container d3d349e88760 [2022-05-02T20:11:44.856Z] ---> 7eaf75f5837a [2022-05-02T20:11:44.856Z] Step 11/12 : COPY . . [2022-05-02T20:11:45.465Z] ---> 7ad863f7edd3 [2022-05-02T20:11:45.465Z] Step 12/12 : RUN $MAKE [2022-05-02T20:11:45.465Z] ---> Running in 44d3bc046aa3 [2022-05-02T20:11:46.941Z] noop [2022-05-02T20:11:47.548Z] Removing intermediate container 44d3bc046aa3 [2022-05-02T20:11:47.548Z] ---> e0d99ba5189a [2022-05-02T20:11:47.548Z] Successfully built e0d99ba5189a [2022-05-02T20:11:47.548Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:11:47.935Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T20:11:47.935Z] . [Pipeline] withDockerContainer [2022-05-02T20:11:48.223Z] prd-ubuntu20.04-docker-arm64-4c-16g-34499 does not seem to be running inside a container [2022-05-02T20:11:48.320Z] $ 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-05-02T20:11:49.751Z] $ docker top 21b13ddc51cd736055d52f9f00d47c1269bdc2e620fcb1ddd3ea9ed9ebb1059e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:11:50.754Z] + go version [2022-05-02T20:11:50.754Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-02T20:11:50.792Z] $ docker stop --time=1 21b13ddc51cd736055d52f9f00d47c1269bdc2e620fcb1ddd3ea9ed9ebb1059e [2022-05-02T20:11:52.509Z] $ docker rm -f 21b13ddc51cd736055d52f9f00d47c1269bdc2e620fcb1ddd3ea9ed9ebb1059e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:11:53.460Z] + docker inspect -f . ci-base-image-arm64 [2022-05-02T20:11:53.460Z] . [Pipeline] withDockerContainer [2022-05-02T20:11:53.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-34499 does not seem to be running inside a container [2022-05-02T20:11:53.838Z] $ 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-05-02T20:11:55.303Z] $ docker top cb7505792821f14ed6fb961e4bc73cb69f5ef5f250fa31aef99b2ca907c85748 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-02T20:11:56.379Z] + make test [2022-05-02T20:11:56.379Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-02T20:11:58.389Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-02T20:13:35.344Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-02T20:13:35.344Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-05-02T20:13:35.344Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-02T20:13:35.344Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-02T20:14:07.788Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-02T20:14:07.788Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-02T20:14:07.788Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-02T20:14:07.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-02T20:14:07.862Z] $ docker stop --time=1 cb7505792821f14ed6fb961e4bc73cb69f5ef5f250fa31aef99b2ca907c85748 [2022-05-02T20:14:09.789Z] $ docker rm -f cb7505792821f14ed6fb961e4bc73cb69f5ef5f250fa31aef99b2ca907c85748 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-02T20:14:10.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-02T20:14:11.015Z] Warning: overwriting stash ‘coverage-report’ [2022-05-02T20:14:11.722Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-02T20:14:12.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-02T20:14:12.776Z] + ls -al . [2022-05-02T20:14:12.776Z] total 188 [2022-05-02T20:14:12.776Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:14 . [2022-05-02T20:14:12.776Z] drwxrwxr-x 4 jenkins jenkins 4096 May 2 20:09 .. [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 151 May 2 20:09 .dockerignore [2022-05-02T20:14:12.776Z] drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:09 .git [2022-05-02T20:14:12.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:09 .github [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 329 May 2 20:09 .gitignore [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 41 May 2 20:09 .golangci.yml [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 2 20:09 Attribution.txt [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 2 20:09 CHANGELOG.md [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 2 20:09 Dockerfile [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 677 May 2 20:09 GOVERNANCE.md [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 680 May 2 20:09 Jenkinsfile [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 2 20:09 LICENSE [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 2 20:09 Makefile [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 620 May 2 20:09 OWNERS.md [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 2 20:09 README.md [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 5 May 2 20:06 VERSION [2022-05-02T20:14:12.776Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:09 bin [2022-05-02T20:14:12.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:09 cmd [2022-05-02T20:14:12.776Z] -rw-r--r-- 1 jenkins jenkins 9355 May 2 20:13 coverage.out [2022-05-02T20:14:12.776Z] drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:09 driver [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 2 20:09 go.mod [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 54250 May 2 20:09 go.sum [2022-05-02T20:14:12.776Z] drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:09 snap [2022-05-02T20:14:12.776Z] -rw-rw-r-- 1 jenkins jenkins 713 May 2 20:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:14:13.194Z] + 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=578fb88605a7b0beb16c95e7a15e89bf8109c0df --label arch=arm64 --label version=0.0.0 . [2022-05-02T20:14:13.194Z] Sending build context to Docker daemon 140.3kB [2022-05-02T20:14:13.502Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-02T20:14:13.502Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-02T20:14:13.502Z] ---> e0d99ba5189a [2022-05-02T20:14:13.502Z] Step 3/25 : ARG MAKE='make build' [2022-05-02T20:14:13.789Z] ---> Running in 84f25c416128 [2022-05-02T20:14:14.069Z] Removing intermediate container 84f25c416128 [2022-05-02T20:14:14.069Z] ---> 964c8e00db0a [2022-05-02T20:14:14.069Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-02T20:14:14.069Z] ---> Running in 30bab328f9d1 [2022-05-02T20:14:14.673Z] Removing intermediate container 30bab328f9d1 [2022-05-02T20:14:14.673Z] ---> 55f3762bcd6e [2022-05-02T20:14:14.673Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-02T20:14:14.673Z] ---> Running in e50ee3b6ef97 [2022-05-02T20:14:14.950Z] Removing intermediate container e50ee3b6ef97 [2022-05-02T20:14:14.950Z] ---> 27d5a1ecd5a2 [2022-05-02T20:14:14.950Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-02T20:14:15.227Z] ---> Running in 9daba39bde31 [2022-05-02T20:14:17.228Z] Removing intermediate container 9daba39bde31 [2022-05-02T20:14:17.228Z] ---> ce5dd0185193 [2022-05-02T20:14:17.228Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-02T20:14:17.228Z] ---> Running in 6ff1984e1623 [2022-05-02T20:14:18.212Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:14:19.194Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:14:20.175Z] OK: 224 MiB in 56 packages [2022-05-02T20:14:21.158Z] Removing intermediate container 6ff1984e1623 [2022-05-02T20:14:21.158Z] ---> a94d5fc82f18 [2022-05-02T20:14:21.158Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-02T20:14:21.158Z] ---> Running in 774256b2977e [2022-05-02T20:14:21.433Z] Removing intermediate container 774256b2977e [2022-05-02T20:14:21.433Z] ---> 65be69b76de1 [2022-05-02T20:14:21.433Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-02T20:14:22.047Z] ---> 2bb6d81086e5 [2022-05-02T20:14:22.047Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-02T20:14:22.047Z] ---> Running in a0593842762a [2022-05-02T20:14:24.720Z] Removing intermediate container a0593842762a [2022-05-02T20:14:24.720Z] ---> 43ecd0d8a225 [2022-05-02T20:14:24.720Z] Step 11/25 : COPY . . [2022-05-02T20:14:24.996Z] ---> 878401143e8b [2022-05-02T20:14:24.996Z] Step 12/25 : RUN $MAKE [2022-05-02T20:14:24.996Z] ---> Running in 340eae1d97c7 [2022-05-02T20:14:25.987Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-02T20:16:47.914Z] Removing intermediate container 340eae1d97c7 [2022-05-02T20:16:47.914Z] ---> 78d9feb2d90b [2022-05-02T20:16:47.914Z] Step 13/25 : FROM alpine:3.14 [2022-05-02T20:16:47.914Z] 3.14: Pulling from library/alpine [2022-05-02T20:16:47.914Z] 455c02918c45: Pulling fs layer [2022-05-02T20:16:47.914Z] 455c02918c45: Verifying Checksum [2022-05-02T20:16:47.914Z] 455c02918c45: Download complete [2022-05-02T20:16:47.914Z] 455c02918c45: Pull complete [2022-05-02T20:16:47.914Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-02T20:16:47.914Z] Status: Downloaded newer image for alpine:3.14 [2022-05-02T20:16:47.914Z] ---> ac73e934f311 [2022-05-02T20:16:47.914Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-02T20:16:47.914Z] ---> Running in f800b8521291 [2022-05-02T20:16:47.914Z] Removing intermediate container f800b8521291 [2022-05-02T20:16:47.914Z] ---> dd319be999af [2022-05-02T20:16:47.914Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-02T20:16:47.914Z] ---> Running in f77d039e0344 [2022-05-02T20:16:47.914Z] Removing intermediate container f77d039e0344 [2022-05-02T20:16:47.914Z] ---> a344fa3c7109 [2022-05-02T20:16:47.914Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-02T20:16:47.914Z] ---> Running in 6eb03bc885b7 [2022-05-02T20:16:47.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-02T20:16:48.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-02T20:16:49.164Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-02T20:16:49.164Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-02T20:16:49.164Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-02T20:16:49.164Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-02T20:16:49.164Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-02T20:16:49.164Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-02T20:16:49.164Z] Executing busybox-1.33.1-r7.trigger [2022-05-02T20:16:49.164Z] OK: 8 MiB in 20 packages [2022-05-02T20:16:50.145Z] Removing intermediate container 6eb03bc885b7 [2022-05-02T20:16:50.145Z] ---> 030c77f49bed [2022-05-02T20:16:50.145Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-02T20:16:51.577Z] ---> 8302364d966a [2022-05-02T20:16:51.577Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-02T20:16:52.179Z] ---> 814427ee15a3 [2022-05-02T20:16:52.179Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-02T20:16:52.774Z] ---> 34f5a291707b [2022-05-02T20:16:52.774Z] Step 20/25 : EXPOSE 59986 [2022-05-02T20:16:52.774Z] ---> Running in bcbe941a306e [2022-05-02T20:16:53.046Z] Removing intermediate container bcbe941a306e [2022-05-02T20:16:53.046Z] ---> e289cae09b7d [2022-05-02T20:16:53.046Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-02T20:16:53.046Z] ---> Running in 995f5d95dcb4 [2022-05-02T20:16:53.641Z] Removing intermediate container 995f5d95dcb4 [2022-05-02T20:16:53.642Z] ---> 5eb024db4627 [2022-05-02T20:16:53.642Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-02T20:16:53.642Z] ---> Running in 5586b98138dc [2022-05-02T20:16:53.916Z] Removing intermediate container 5586b98138dc [2022-05-02T20:16:53.916Z] ---> 11b88965e2fb [2022-05-02T20:16:53.916Z] Step 23/25 : LABEL arch=arm64 [2022-05-02T20:16:53.916Z] ---> Running in 22b3ba114450 [2022-05-02T20:16:54.190Z] Removing intermediate container 22b3ba114450 [2022-05-02T20:16:54.190Z] ---> 3e20fa90dedd [2022-05-02T20:16:54.190Z] Step 24/25 : LABEL git_sha=578fb88605a7b0beb16c95e7a15e89bf8109c0df [2022-05-02T20:16:54.461Z] ---> Running in a1f9d69fcf9a [2022-05-02T20:16:54.736Z] Removing intermediate container a1f9d69fcf9a [2022-05-02T20:16:54.736Z] ---> a3b9dad0c6ab [2022-05-02T20:16:54.736Z] Step 25/25 : LABEL version=0.0.0 [2022-05-02T20:16:54.736Z] ---> Running in 7e57e91ee41e [2022-05-02T20:16:55.010Z] Removing intermediate container 7e57e91ee41e [2022-05-02T20:16:55.010Z] ---> ff91974468f1 [2022-05-02T20:16:55.010Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-02T20:16:55.010Z] Successfully built ff91974468f1 [2022-05-02T20:16:55.010Z] 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-05-02T20:16:55.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:16:55.720Z] [2022-05-02T20:16:55.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:16:56.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:16:56.391Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-02T20:16:56.391Z] 8998bd30e6a1: Pulling fs layer [2022-05-02T20:16:56.391Z] 04944245beec: Pulling fs layer [2022-05-02T20:16:56.391Z] 699f458cf7ca: Pulling fs layer [2022-05-02T20:16:56.391Z] 765212b225bb: Pulling fs layer [2022-05-02T20:16:56.391Z] f23df028b6ca: Pulling fs layer [2022-05-02T20:16:56.391Z] d65c8cfc05b1: Pulling fs layer [2022-05-02T20:16:56.391Z] 2437ff75d9bd: Pulling fs layer [2022-05-02T20:16:56.391Z] 765212b225bb: Waiting [2022-05-02T20:16:56.391Z] f23df028b6ca: Waiting [2022-05-02T20:16:56.391Z] d65c8cfc05b1: Waiting [2022-05-02T20:16:56.391Z] 2437ff75d9bd: Waiting [2022-05-02T20:16:56.391Z] 04944245beec: Verifying Checksum [2022-05-02T20:16:56.391Z] 04944245beec: Download complete [2022-05-02T20:16:56.391Z] 765212b225bb: Verifying Checksum [2022-05-02T20:16:56.391Z] 765212b225bb: Download complete [2022-05-02T20:16:56.391Z] f23df028b6ca: Verifying Checksum [2022-05-02T20:16:56.391Z] f23df028b6ca: Download complete [2022-05-02T20:16:56.391Z] d65c8cfc05b1: Verifying Checksum [2022-05-02T20:16:56.391Z] d65c8cfc05b1: Download complete [2022-05-02T20:16:56.666Z] 699f458cf7ca: Verifying Checksum [2022-05-02T20:16:56.666Z] 699f458cf7ca: Download complete [2022-05-02T20:16:56.941Z] 8998bd30e6a1: Verifying Checksum [2022-05-02T20:16:56.941Z] 8998bd30e6a1: Download complete [2022-05-02T20:16:59.573Z] 2437ff75d9bd: Verifying Checksum [2022-05-02T20:16:59.573Z] 2437ff75d9bd: Download complete [2022-05-02T20:17:01.556Z] 8998bd30e6a1: Pull complete [2022-05-02T20:17:02.162Z] 04944245beec: Pull complete [2022-05-02T20:17:03.597Z] 699f458cf7ca: Pull complete [2022-05-02T20:17:03.874Z] 765212b225bb: Pull complete [2022-05-02T20:17:04.862Z] f23df028b6ca: Pull complete [2022-05-02T20:17:04.862Z] d65c8cfc05b1: Pull complete [2022-05-02T20:17:19.948Z] 2437ff75d9bd: Pull complete [2022-05-02T20:17:19.948Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-02T20:17:19.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-02T20:17:19.948Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-02T20:17:20.202Z] prd-ubuntu20.04-docker-arm64-4c-16g-34499 does not seem to be running inside a container [2022-05-02T20:17:20.292Z] $ 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-05-02T20:17:23.043Z] $ docker top fcd2c0b1c7abe90addfac75f49633328ab4ad3fcb4ac14d657407ecd052ccaa0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:24.050Z] ---> job-cost.sh [2022-05-02T20:17:24.050Z] lf-activate-venv: SKIPPING [2022-05-02T20:17:24.050Z] INFO: No Stack... [2022-05-02T20:17:24.647Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-02T20:17:25.630Z] INFO: Archiving Costs [Pipeline] sh [2022-05-02T20:17:26.329Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-05-02T20:17:26.329Z] + cut -d, -f6 [Pipeline] lock [2022-05-02T20:17:26.446Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [2022-05-02T20:17:26.451Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] did not exist. Created. [2022-05-02T20:17:26.451Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-02T20:17:27.246Z] /w/workspace/device-rest-go/1@tmp/durable-c141ecfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-02T20:17:28.007Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-02T20:17:28.048Z] Warning: overwriting stash ‘stack-cost’ [2022-05-02T20:17:28.110Z] Stashed 1 file(s) [Pipeline] } [2022-05-02T20:17:28.127Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-02T20:17:28.212Z] $ docker stop --time=1 fcd2c0b1c7abe90addfac75f49633328ab4ad3fcb4ac14d657407ecd052ccaa0 [2022-05-02T20:17:29.735Z] $ docker rm -f fcd2c0b1c7abe90addfac75f49633328ab4ad3fcb4ac14d657407ecd052ccaa0 [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-05-02T20:17:30.730Z] provisioning config files... [2022-05-02T20:17:30.738Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config8563564394509888254tmp [Pipeline] { [Pipeline] sh [2022-05-02T20:17:31.078Z] + set +x [2022-05-02T20:17:31.078Z] + bash -s -- [2022-05-02T20:17:31.078Z] + curl -s https://codecov.io/bash [2022-05-02T20:17:31.078Z] [2022-05-02T20:17:31.078Z] _____ _ [2022-05-02T20:17:31.078Z] / ____| | | [2022-05-02T20:17:31.078Z] | | ___ __| | ___ ___ _____ __ [2022-05-02T20:17:31.078Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-02T20:17:31.078Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-02T20:17:31.078Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-02T20:17:31.078Z] Bash-1.0.6 [2022-05-02T20:17:31.078Z] [2022-05-02T20:17:31.078Z] [2022-05-02T20:17:31.078Z] ==> git version 2.25.1 found [2022-05-02T20:17:31.078Z] ==> 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-05-02T20:17:31.078Z] Release-Date: 2020-01-08 [2022-05-02T20:17:31.078Z] 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-05-02T20:17:31.078Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-02T20:17:31.078Z] ==> Jenkins CI detected. [2022-05-02T20:17:31.078Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-182 [2022-05-02T20:17:31.078Z] project root: . [2022-05-02T20:17:31.078Z] --> token set from env [2022-05-02T20:17:31.078Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-02T20:17:31.078Z] ==> Running gcov in . (disable via -X gcov) [2022-05-02T20:17:31.078Z] ==> Python coveragepy not found [2022-05-02T20:17:31.078Z] ==> Searching for coverage reports in: [2022-05-02T20:17:31.078Z] + . [2022-05-02T20:17:31.078Z] -> Found 1 reports [2022-05-02T20:17:31.078Z] ==> Detecting git/mercurial file structure [2022-05-02T20:17:31.078Z] ==> Reading reports [2022-05-02T20:17:31.078Z] + ./coverage.out bytes=9355 [2022-05-02T20:17:31.078Z] ==> Appending adjustments [2022-05-02T20:17:31.078Z] https://docs.codecov.io/docs/fixing-reports [2022-05-02T20:17:31.339Z] + Found adjustments [2022-05-02T20:17:31.339Z] ==> Gzipping contents [2022-05-02T20:17:31.339Z] 4.0K /tmp/codecov.H3gRA3.gz [2022-05-02T20:17:31.339Z] ==> Uploading reports [2022-05-02T20:17:31.339Z] url: https://codecov.io [2022-05-02T20:17:31.339Z] query: branch=PR-182&commit=578fb88605a7b0beb16c95e7a15e89bf8109c0df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-05-02T20:17:31.339Z] -> Pinging Codecov [2022-05-02T20:17:31.339Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-182&commit=578fb88605a7b0beb16c95e7a15e89bf8109c0df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-05-02T20:17:31.624Z] -> Uploading to [2022-05-02T20:17:31.624Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-02/4E5D53B4F1F92C436F7061BF334D961C/578fb88605a7b0beb16c95e7a15e89bf8109c0df/5d0de6cd-934b-4634-b044-e5bee197de68.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T201731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7743c85e22dbd8638a74b0eb0184cafbce36eac341f6e1a88f50bf42c9dcee4e [2022-05-02T20:17:31.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-02T20:17:31.624Z] Dload Upload Total Spent Left Speed [2022-05-02T20:17:31.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8896 --:--:-- --:--:-- --:--:-- 8852 100 1806 0 0 100 1806 0 8641 --:--:-- --:--:-- --:--:-- 8600 [2022-05-02T20:17:31.957Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/578fb88605a7b0beb16c95e7a15e89bf8109c0df [Pipeline] } [2022-05-02T20:17:31.988Z] 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-05-02T20:17:33.686Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-182/archives ] [2022-05-02T20:17:33.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-02T20:17:33.686Z] total 16 [2022-05-02T20:17:33.686Z] drwxr-xr-x 3 root root 4096 May 2 20:08 . [2022-05-02T20:17:33.686Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:08 .. [2022-05-02T20:17:33.686Z] drwxr-xr-x 2 root root 4096 May 2 20:08 cost [2022-05-02T20:17:33.686Z] -rw-r--r-- 1 root root 85 May 2 20:08 cost.csv [2022-05-02T20:17:33.686Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-02T20:17:33.686Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-02T20:17:33.686Z] total 16 [2022-05-02T20:17:33.686Z] drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:08 . [2022-05-02T20:17:33.686Z] drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:08 .. [2022-05-02T20:17:33.686Z] drwxr-xr-x 2 jenkins jenkins 4096 May 2 20:08 cost [2022-05-02T20:17:33.686Z] -rw-r--r-- 1 jenkins jenkins 85 May 2 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:34.023Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:34.923Z] ---> package-listing.sh [2022-05-02T20:17:34.923Z] ++ facter osfamily [2022-05-02T20:17:34.923Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-02T20:17:35.185Z] + OS_FAMILY=debian [2022-05-02T20:17:35.185Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-182 [2022-05-02T20:17:35.185Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-02T20:17:35.185Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-02T20:17:35.185Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-02T20:17:35.185Z] + PACKAGES=/tmp/packages_start.txt [2022-05-02T20:17:35.185Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' [2022-05-02T20:17:35.185Z] + PACKAGES=/tmp/packages_end.txt [2022-05-02T20:17:35.185Z] + case "${OS_FAMILY}" in [2022-05-02T20:17:35.185Z] + dpkg -l [2022-05-02T20:17:35.185Z] + grep '^ii' [2022-05-02T20:17:35.185Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-02T20:17:35.185Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-02T20:17:35.185Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-02T20:17:35.185Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' [2022-05-02T20:17:35.185Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ [2022-05-02T20:17:35.185Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ [Pipeline] echo [2022-05-02T20:17:35.220Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-02T20:17:35.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-02T20:17:36.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-02T20:17:36.099Z] . [Pipeline] withDockerContainer [2022-05-02T20:17:36.189Z] prd-ubuntu20.04-docker-8c-8g-34497 does not seem to be running inside a container [2022-05-02T20:17:36.242Z] $ 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-182/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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@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-05-02T20:17:36.462Z] $ docker top 35289c40783742a665106564a9c018c8c902a68ac832e7e01a4015f8d84252e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-02T20:17:36.857Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-02T20:17:37.173Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-02T20:17:37.491Z] + ls /var/log/sa-host [2022-05-02T20:17:37.491Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-02T20:17:37.655Z] provisioning config files... [2022-05-02T20:17:37.665Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config7369800125385689375tmp [Pipeline] { [Pipeline] echo [2022-05-02T20:17:37.713Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:38.028Z] ---> create-netrc.sh [Pipeline] } [2022-05-02T20:17:38.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:38.452Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-02T20:17:38.484Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:38.810Z] ---> sudo-logs.sh [2022-05-02T20:17:38.810Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-02T20:17:38.893Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:39.213Z] ---> job-cost.sh [2022-05-02T20:17:39.213Z] lf-activate-venv: SKIPPING [2022-05-02T20:17:39.213Z] DEBUG: total: 0.2199999988079071 [2022-05-02T20:17:39.213Z] INFO: Retrieving Stack Cost... [2022-05-02T20:17:39.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-02T20:17:40.044Z] INFO: Archiving Costs [Pipeline] echo [2022-05-02T20:17:40.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-02T20:17:40.397Z] ---> logs-deploy.sh [2022-05-02T20:17:40.397Z] lf-activate-venv: SKIPPING [2022-05-02T20:17:40.397Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-182/1 [2022-05-02T20:17:40.397Z] INFO: archiving workspace using pattern(s): [2022-05-02T20:17:41.339Z] Archives upload complete. [2022-05-02T20:17:41.339Z] INFO: archiving logs to Nexus