Pull request #191 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 99d2988c42a4468ca534e1bc92575890b1a7bdf5 rather than 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d Obtained Jenkinsfile from 99d2988c42a4468ca534e1bc92575890b1a7bdf5 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-ssh5461206138007006065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh9404335257200109444.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16494620378673869454.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-191/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7877145430255267515.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3169224302415010391.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-191/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13479811831803941439.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-235’ Running on prd-ubuntu20.04-docker-8c-8g-238 in /w/workspace/gexfoundry_device-rest-go_PR-191 [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-191 # 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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 into PR head commit 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d Merge succeeded, producing 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d Checking out Revision 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d (PR-191) > 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/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d # 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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-27T05:12:48.779Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-27T05:12:48.953Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-27T05:12:49.057Z] ========================================================= [2022-05-27T05:12:49.057Z] EdgeX Global Pipelines Version Info [2022-05-27T05:12:49.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:12:49.858Z] ------------------- [2022-05-27T05:12:49.859Z] stable info: [2022-05-27T05:12:49.859Z] ------------------- [2022-05-27T05:12:49.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T05:12:49.859Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T05:12:49.859Z] Message: update stable to v1.0.230 [2022-05-27T05:12:50.448Z] ------------------- [2022-05-27T05:12:50.448Z] experimental info: [2022-05-27T05:12:50.448Z] ------------------- [2022-05-27T05:12:50.448Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-27T05:12:50.448Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-27T05:12:50.448Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-27T05:12:50.820Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-27T05:12:50.858Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-27T05:12:50.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-27T05:12:50.928Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-27T05:12:50.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-27T05:12:50.999Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-27T05:12:51.039Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-27T05:12:51.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-27T05:12:51.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-27T05:12:51.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-27T05:12:51.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-27T05:12:51.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-27T05:12:51.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-27T05:12:51.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-27T05:12:51.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T05:12:51.374Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-27T05:12:51.410Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T05:12:51.447Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-27T05:12:51.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-27T05:12:51.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-27T05:12:51.556Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-27T05:12:51.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-27T05:12:51.630Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-27T05:12:51.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-27T05:12:51.702Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-27T05:12:51.740Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-27T05:12:51.781Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo [2022-05-27T05:12:51.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo [2022-05-27T05:12:51.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo [2022-05-27T05:12:51.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [Pipeline] echo [2022-05-27T05:12:51.943Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bcd884 [Pipeline] echo [2022-05-27T05:12:51.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T05:12:52.108Z] provisioning config files... [2022-05-27T05:12:52.127Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/config3475749233995990317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:12:52.493Z] ---> docker-login.sh [2022-05-27T05:12:52.493Z] nexus3.edgexfoundry.org:10001 [2022-05-27T05:12:52.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:12:52.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:12:52.757Z] Configure a credential helper to remove this warning. See [2022-05-27T05:12:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:12:52.757Z] [2022-05-27T05:12:52.757Z] Login Succeeded [2022-05-27T05:12:53.020Z] nexus3.edgexfoundry.org:10002 [2022-05-27T05:12:53.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:12:53.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:12:53.020Z] Configure a credential helper to remove this warning. See [2022-05-27T05:12:53.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:12:53.020Z] [2022-05-27T05:12:53.020Z] Login Succeeded [2022-05-27T05:12:53.020Z] nexus3.edgexfoundry.org:10003 [2022-05-27T05:12:53.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:12:53.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:12:53.281Z] Configure a credential helper to remove this warning. See [2022-05-27T05:12:53.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:12:53.281Z] [2022-05-27T05:12:53.281Z] Login Succeeded [2022-05-27T05:12:53.281Z] nexus3.edgexfoundry.org:10004 [2022-05-27T05:12:53.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:12:53.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:12:53.281Z] Configure a credential helper to remove this warning. See [2022-05-27T05:12:53.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:12:53.281Z] [2022-05-27T05:12:53.281Z] Login Succeeded [2022-05-27T05:12:53.281Z] docker.io [2022-05-27T05:12:53.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:12:53.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:12:53.812Z] Configure a credential helper to remove this warning. See [2022-05-27T05:12:53.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:12:53.812Z] [2022-05-27T05:12:53.812Z] Login Succeeded [2022-05-27T05:12:53.812Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T05:12:53.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-27T05:12:54.446Z] + git rev-list -1 --merges 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d~1..2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [Pipeline] echo [2022-05-27T05:12:54.500Z] -----------> git rev-list -1 --merges 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d~1..2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [false] [Pipeline] sh [2022-05-27T05:12:54.815Z] + git log --format=format:%s -1 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [Pipeline] echo [2022-05-27T05:12:54.853Z] ========================================================= [2022-05-27T05:12:54.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-27T05:12:54.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T05:12:55.290Z] + git log --format=format:%s -1 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [Pipeline] echo [2022-05-27T05:12:55.330Z] [semverPrep] GIT_COMMIT: 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) [Pipeline] echo [2022-05-27T05:12:55.361Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-27T05:12:55.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-27T05:12:55.865Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-27T05:12:55.865Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-27T05:12:55.865Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-27T05:12:55.865Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-27T05:12:55.865Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-27T05:12:55.866Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:12:56.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T05:12:56.308Z] [2022-05-27T05:12:56.308Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:12:56.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T05:12:56.693Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-27T05:12:56.693Z] 1fe172e4850f: Pulling fs layer [2022-05-27T05:12:56.693Z] caf521ccaac6: Pulling fs layer [2022-05-27T05:12:56.693Z] 3ead6fa29328: Pulling fs layer [2022-05-27T05:12:56.693Z] 5c2a1cbceb83: Pulling fs layer [2022-05-27T05:12:56.693Z] a8d5f1318db7: Pulling fs layer [2022-05-27T05:12:56.693Z] c427282e49a2: Pulling fs layer [2022-05-27T05:12:56.693Z] 1827001aaf11: Pulling fs layer [2022-05-27T05:12:56.693Z] 0714d37db230: Pulling fs layer [2022-05-27T05:12:56.693Z] ac28cf19c067: Pulling fs layer [2022-05-27T05:12:56.693Z] ca983d60f3e2: Pulling fs layer [2022-05-27T05:12:56.693Z] 9f894cec8388: Pulling fs layer [2022-05-27T05:12:56.693Z] 5c2a1cbceb83: Waiting [2022-05-27T05:12:56.693Z] a8d5f1318db7: Waiting [2022-05-27T05:12:56.693Z] c427282e49a2: Waiting [2022-05-27T05:12:56.693Z] 1827001aaf11: Waiting [2022-05-27T05:12:56.693Z] 0714d37db230: Waiting [2022-05-27T05:12:56.693Z] ac28cf19c067: Waiting [2022-05-27T05:12:56.693Z] ca983d60f3e2: Waiting [2022-05-27T05:12:56.954Z] caf521ccaac6: Verifying Checksum [2022-05-27T05:12:56.954Z] caf521ccaac6: Download complete [2022-05-27T05:12:56.954Z] 5c2a1cbceb83: Verifying Checksum [2022-05-27T05:12:56.954Z] 5c2a1cbceb83: Download complete [2022-05-27T05:12:56.954Z] a8d5f1318db7: Verifying Checksum [2022-05-27T05:12:56.954Z] a8d5f1318db7: Download complete [2022-05-27T05:12:56.954Z] 3ead6fa29328: Verifying Checksum [2022-05-27T05:12:56.954Z] 3ead6fa29328: Download complete [2022-05-27T05:12:56.954Z] c427282e49a2: Verifying Checksum [2022-05-27T05:12:56.954Z] c427282e49a2: Download complete [2022-05-27T05:12:56.954Z] 0714d37db230: Verifying Checksum [2022-05-27T05:12:56.954Z] 0714d37db230: Download complete [2022-05-27T05:12:56.954Z] ac28cf19c067: Verifying Checksum [2022-05-27T05:12:56.954Z] ac28cf19c067: Download complete [2022-05-27T05:12:56.954Z] ca983d60f3e2: Verifying Checksum [2022-05-27T05:12:56.954Z] ca983d60f3e2: Download complete [2022-05-27T05:12:56.954Z] 9f894cec8388: Verifying Checksum [2022-05-27T05:12:56.954Z] 9f894cec8388: Download complete [2022-05-27T05:12:57.215Z] 1fe172e4850f: Download complete [2022-05-27T05:12:57.476Z] 1827001aaf11: Verifying Checksum [2022-05-27T05:12:57.476Z] 1827001aaf11: Download complete [2022-05-27T05:12:58.419Z] 1fe172e4850f: Pull complete [2022-05-27T05:12:58.682Z] caf521ccaac6: Pull complete [2022-05-27T05:12:58.942Z] 3ead6fa29328: Pull complete [2022-05-27T05:12:59.202Z] 5c2a1cbceb83: Pull complete [2022-05-27T05:12:59.466Z] a8d5f1318db7: Pull complete [2022-05-27T05:12:59.466Z] c427282e49a2: Pull complete [2022-05-27T05:13:01.379Z] 1827001aaf11: Pull complete [2022-05-27T05:13:01.379Z] 0714d37db230: Pull complete [2022-05-27T05:13:01.642Z] ac28cf19c067: Pull complete [2022-05-27T05:13:01.642Z] ca983d60f3e2: Pull complete [2022-05-27T05:13:01.905Z] 9f894cec8388: Pull complete [2022-05-27T05:13:01.905Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-27T05:13:01.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-27T05:13:01.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:13:02.201Z] prd-ubuntu20.04-docker-8c-8g-238 does not seem to be running inside a container [2022-05-27T05:13:02.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-191 -v /w/workspace/gexfoundry_device-rest-go_PR-191:/w/workspace/gexfoundry_device-rest-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-191@tmp:/w/workspace/gexfoundry_device-rest-go_PR-191@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-devops/py-git-semver:latest cat [2022-05-27T05:13:03.903Z] $ docker top e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf -eo pid,comm [2022-05-27T05:13:03.968Z] 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-27T05:13:03.968Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-27T05:13:04.087Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T05:13:04.087Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T05:13:04.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T05:13:04.239Z] $ docker exec e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf ssh-agent [2022-05-27T05:13:04.368Z] SSH_AUTH_SOCK=/tmp/ssh-6GPOKa9B0UAu/agent.34 [2022-05-27T05:13:04.368Z] SSH_AGENT_PID=41 [2022-05-27T05:13:04.376Z] Running ssh-add (command line suppressed) [2022-05-27T05:13:04.501Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-191@tmp/private_key_5827513260739795558.key (/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/private_key_5827513260739795558.key) [2022-05-27T05:13:04.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T05:13:04.842Z] + git tag --points-at HEAD [Pipeline] } [2022-05-27T05:13:04.875Z] $ docker exec --env ******** --env ******** e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf ssh-agent -k [2022-05-27T05:13:04.981Z] unset SSH_AUTH_SOCK; [2022-05-27T05:13:04.981Z] unset SSH_AGENT_PID; [2022-05-27T05:13:04.981Z] echo Agent pid 41 killed; [2022-05-27T05:13:04.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-27T05:13:05.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-27T05:13:05.064Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-27T05:13:05.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-27T05:13:05.209Z] $ docker exec e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf ssh-agent [2022-05-27T05:13:05.331Z] SSH_AUTH_SOCK=/tmp/ssh-U9ktuTsmdumh/agent.75 [2022-05-27T05:13:05.331Z] SSH_AGENT_PID=81 [2022-05-27T05:13:05.336Z] Running ssh-add (command line suppressed) [2022-05-27T05:13:05.464Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-191@tmp/private_key_768340272109856328.key (/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/private_key_768340272109856328.key) [2022-05-27T05:13:05.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-27T05:13:05.800Z] + git semver init [2022-05-27T05:13:06.062Z] 2022-05-27 05:13:06,012 [run_init] DEBUG init version:0.0.0 force:False [2022-05-27T05:13:06.062Z] 2022-05-27 05:13:06,013 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-191/.semver [2022-05-27T05:13:06.062Z] 2022-05-27 05:13:06,013 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-191/.semver [2022-05-27T05:13:06.062Z] 2022-05-27 05:13:06,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-191/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-191, universal_newlines=False, shell=None, istream=None) [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,965 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-191/.git/info/exclude [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,967 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-191/.semver/PR-191 with force:False [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,967 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-191/.semver/PR-191 [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,971 [execute] INFO git cat-file --batch-check [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,977 [execute] INFO git cat-file --batch [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-191/.semver, universal_newlines=False, shell=None, istream=) [2022-05-27T05:13:07.006Z] 2022-05-27 05:13:06,983 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-191/.semver/PR-191 [2022-05-27T05:13:07.006Z] 0.0.0 [Pipeline] } [2022-05-27T05:13:07.039Z] $ docker exec --env ******** --env ******** e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf ssh-agent -k [2022-05-27T05:13:07.162Z] unset SSH_AUTH_SOCK; [2022-05-27T05:13:07.163Z] unset SSH_AGENT_PID; [2022-05-27T05:13:07.163Z] echo Agent pid 81 killed; [2022-05-27T05:13:07.170Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-27T05:13:07.598Z] + git semver [Pipeline] } [2022-05-27T05:13:07.891Z] $ docker stop --time=1 e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf [2022-05-27T05:13:09.248Z] $ docker rm -f e0e01ced64bbf91fc7879ee435c85829dd74a6c74bef9e5758c31faf05ae28cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T05:13:09.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-27T05:13:09.982Z] Stashed 1 file(s) [Pipeline] echo [2022-05-27T05:13:09.998Z] [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-27T05:13:10.532Z] provisioning config files... [2022-05-27T05:13:10.543Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/config4870747462423435008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:13:10.891Z] ---> docker-login.sh [2022-05-27T05:13:10.891Z] nexus3.edgexfoundry.org:10001 [2022-05-27T05:13:10.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:13:10.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:13:10.891Z] Configure a credential helper to remove this warning. See [2022-05-27T05:13:10.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:13:10.891Z] [2022-05-27T05:13:10.891Z] Login Succeeded [2022-05-27T05:13:10.891Z] nexus3.edgexfoundry.org:10002 [2022-05-27T05:13:10.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:13:11.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:13:11.154Z] Configure a credential helper to remove this warning. See [2022-05-27T05:13:11.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:13:11.154Z] [2022-05-27T05:13:11.154Z] Login Succeeded [2022-05-27T05:13:11.154Z] nexus3.edgexfoundry.org:10003 [2022-05-27T05:13:11.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:13:11.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:13:11.154Z] Configure a credential helper to remove this warning. See [2022-05-27T05:13:11.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:13:11.154Z] [2022-05-27T05:13:11.154Z] Login Succeeded [2022-05-27T05:13:11.154Z] nexus3.edgexfoundry.org:10004 [2022-05-27T05:13:11.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:13:11.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:13:11.413Z] Configure a credential helper to remove this warning. See [2022-05-27T05:13:11.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:13:11.413Z] [2022-05-27T05:13:11.413Z] Login Succeeded [2022-05-27T05:13:11.413Z] docker.io [2022-05-27T05:13:11.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:13:11.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:13:11.676Z] Configure a credential helper to remove this warning. See [2022-05-27T05:13:11.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:13:11.676Z] [2022-05-27T05:13:11.676Z] Login Succeeded [2022-05-27T05:13:11.676Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T05:13:11.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T05:13:11.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T05:13:11.938Z] ========================================================= [2022-05-27T05:13:11.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-27T05:13:11.938Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:13:12.411Z] + 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-27T05:13:12.411Z] Sending build context to Docker daemon 10.61MB [2022-05-27T05:13:12.411Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T05:13:12.411Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-27T05:13:12.411Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-27T05:13:12.411Z] 59bf1c3509f3: Pulling fs layer [2022-05-27T05:13:12.411Z] 666ba61612fd: Pulling fs layer [2022-05-27T05:13:12.411Z] 8ed8ca486205: Pulling fs layer [2022-05-27T05:13:12.411Z] 4fe6c5a15a65: Pulling fs layer [2022-05-27T05:13:12.411Z] 22a0e8bec74d: Pulling fs layer [2022-05-27T05:13:12.411Z] ca2b28591e48: Pulling fs layer [2022-05-27T05:13:12.411Z] a51346096db8: Pulling fs layer [2022-05-27T05:13:12.411Z] daebc70d1ce1: Pulling fs layer [2022-05-27T05:13:12.411Z] 0e18a0eac166: Pulling fs layer [2022-05-27T05:13:12.411Z] ca2b28591e48: Waiting [2022-05-27T05:13:12.411Z] a51346096db8: Waiting [2022-05-27T05:13:12.411Z] daebc70d1ce1: Waiting [2022-05-27T05:13:12.411Z] 0e18a0eac166: Waiting [2022-05-27T05:13:12.411Z] 4fe6c5a15a65: Waiting [2022-05-27T05:13:12.411Z] 22a0e8bec74d: Waiting [2022-05-27T05:13:12.411Z] 8ed8ca486205: Download complete [2022-05-27T05:13:12.411Z] 666ba61612fd: Verifying Checksum [2022-05-27T05:13:12.411Z] 666ba61612fd: Download complete [2022-05-27T05:13:12.676Z] 22a0e8bec74d: Verifying Checksum [2022-05-27T05:13:12.676Z] 22a0e8bec74d: Download complete [2022-05-27T05:13:12.676Z] ca2b28591e48: Verifying Checksum [2022-05-27T05:13:12.676Z] ca2b28591e48: Download complete [2022-05-27T05:13:12.676Z] a51346096db8: Verifying Checksum [2022-05-27T05:13:12.676Z] a51346096db8: Download complete [2022-05-27T05:13:12.676Z] 59bf1c3509f3: Verifying Checksum [2022-05-27T05:13:12.676Z] 59bf1c3509f3: Download complete [2022-05-27T05:13:12.676Z] daebc70d1ce1: Verifying Checksum [2022-05-27T05:13:12.676Z] daebc70d1ce1: Download complete [2022-05-27T05:13:12.676Z] 59bf1c3509f3: Pull complete [2022-05-27T05:13:12.940Z] 666ba61612fd: Pull complete [2022-05-27T05:13:12.940Z] 8ed8ca486205: Pull complete [2022-05-27T05:13:13.203Z] 0e18a0eac166: Verifying Checksum [2022-05-27T05:13:13.203Z] 0e18a0eac166: Download complete [2022-05-27T05:13:13.203Z] 4fe6c5a15a65: Verifying Checksum [2022-05-27T05:13:13.203Z] 4fe6c5a15a65: Download complete [2022-05-27T05:13:17.406Z] 4fe6c5a15a65: Pull complete [2022-05-27T05:13:17.406Z] 22a0e8bec74d: Pull complete [2022-05-27T05:13:17.667Z] ca2b28591e48: Pull complete [2022-05-27T05:13:17.667Z] a51346096db8: Pull complete [2022-05-27T05:13:17.667Z] daebc70d1ce1: Pull complete [2022-05-27T05:13:20.210Z] 0e18a0eac166: Pull complete [2022-05-27T05:13:20.210Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-27T05:13:20.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-27T05:13:20.210Z] ---> f018257e8ee9 [2022-05-27T05:13:20.210Z] Step 3/12 : ARG MAKE='make build' [2022-05-27T05:13:21.606Z] ---> Running in c58f720b6732 [2022-05-27T05:13:21.606Z] Removing intermediate container c58f720b6732 [2022-05-27T05:13:21.606Z] ---> 3720e6b9cf1b [2022-05-27T05:13:21.606Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T05:13:21.869Z] ---> Running in 5804eda0c733 [2022-05-27T05:13:21.869Z] Removing intermediate container 5804eda0c733 [2022-05-27T05:13:21.869Z] ---> c79a44cdbc6b [2022-05-27T05:13:21.869Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T05:13:21.869Z] ---> Running in da3156de2826 [2022-05-27T05:13:22.131Z] Removing intermediate container da3156de2826 [2022-05-27T05:13:22.131Z] ---> b4d80ef24b20 [2022-05-27T05:13:22.131Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T05:13:22.131Z] ---> Running in 544f6e664475 [2022-05-27T05:13:22.704Z] Removing intermediate container 544f6e664475 [2022-05-27T05:13:22.704Z] ---> a5b82918b4cf [2022-05-27T05:13:22.704Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T05:13:22.704Z] ---> Running in 93852669af49 [2022-05-27T05:13:22.965Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T05:13:23.910Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T05:13:24.171Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-27T05:13:24.171Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-27T05:13:24.437Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-27T05:13:24.437Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-27T05:13:24.437Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T05:13:24.437Z] OK: 224 MiB in 56 packages [2022-05-27T05:13:25.009Z] Removing intermediate container 93852669af49 [2022-05-27T05:13:25.009Z] ---> 6b033ae96dd7 [2022-05-27T05:13:25.009Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-27T05:13:25.009Z] ---> Running in 934085b9fa04 [2022-05-27T05:13:25.268Z] Removing intermediate container 934085b9fa04 [2022-05-27T05:13:25.268Z] ---> bcf06f3716c1 [2022-05-27T05:13:25.268Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-27T05:13:25.268Z] ---> 59d8222e870f [2022-05-27T05:13:25.268Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T05:13:25.268Z] ---> Running in d72fc4206a84 [2022-05-27T05:13:25.377Z] Still waiting to schedule task [2022-05-27T05:13:25.378Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-236’ [2022-05-27T05:13:43.401Z] Removing intermediate container d72fc4206a84 [2022-05-27T05:13:43.401Z] ---> f61f06224cb6 [2022-05-27T05:13:43.401Z] Step 11/12 : COPY . . [2022-05-27T05:13:43.401Z] ---> f5865b7998d7 [2022-05-27T05:13:43.401Z] Step 12/12 : RUN $MAKE [2022-05-27T05:13:43.401Z] ---> Running in eb594e9ee147 [2022-05-27T05:13:43.401Z] noop [2022-05-27T05:13:43.401Z] Removing intermediate container eb594e9ee147 [2022-05-27T05:13:43.401Z] ---> 1bf8082a9b6d [2022-05-27T05:13:43.401Z] Successfully built 1bf8082a9b6d [2022-05-27T05:13:43.401Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:13:43.819Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T05:13:43.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:13:43.993Z] prd-ubuntu20.04-docker-8c-8g-238 does not seem to be running inside a container [2022-05-27T05:13:44.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-191 -v /w/workspace/gexfoundry_device-rest-go_PR-191:/w/workspace/gexfoundry_device-rest-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-191@tmp:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T05:13:44.520Z] $ docker top 106d5de53c8c22b6fc94e8a3349d75d7ec3810f91a746b0cd035fc4d4ffce62e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T05:13:44.948Z] + go version [2022-05-27T05:13:44.948Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-27T05:13:44.985Z] $ docker stop --time=1 106d5de53c8c22b6fc94e8a3349d75d7ec3810f91a746b0cd035fc4d4ffce62e [2022-05-27T05:13:46.315Z] $ docker rm -f 106d5de53c8c22b6fc94e8a3349d75d7ec3810f91a746b0cd035fc4d4ffce62e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:13:47.011Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-27T05:13:47.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:13:47.174Z] prd-ubuntu20.04-docker-8c-8g-238 does not seem to be running inside a container [2022-05-27T05:13:47.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-191 -v /w/workspace/gexfoundry_device-rest-go_PR-191:/w/workspace/gexfoundry_device-rest-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-191@tmp:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-27T05:13:47.658Z] $ docker top 06d3659a76396420e908abc64ce4e5a588b4ded25f5f89cc357a78b4f117fed2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T05:13:48.104Z] + make test [2022-05-27T05:13:48.104Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T05:13:48.367Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-27T05:13:58.360Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-27T05:13:58.360Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements [2022-05-27T05:14:06.496Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T05:14:10.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T05:14:10.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T05:14:10.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T05:14:11.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T05:14:11.042Z] $ docker stop --time=1 06d3659a76396420e908abc64ce4e5a588b4ded25f5f89cc357a78b4f117fed2 [2022-05-27T05:14:12.974Z] $ docker rm -f 06d3659a76396420e908abc64ce4e5a588b4ded25f5f89cc357a78b4f117fed2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T05:14:13.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T05:14:13.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-27T05:14:14.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T05:14:14.611Z] + ls -al . [2022-05-27T05:14:14.611Z] total 172 [2022-05-27T05:14:14.611Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 05:14 . [2022-05-27T05:14:14.611Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:12 .. [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 151 May 27 05:12 .dockerignore [2022-05-27T05:14:14.611Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 05:13 .git [2022-05-27T05:14:14.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:12 .github [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 329 May 27 05:12 .gitignore [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 05:12 .golangci.yml [2022-05-27T05:14:14.611Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 05:13 .semver [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 8596 May 27 05:12 Attribution.txt [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 27 05:12 CHANGELOG.md [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 27 05:12 Dockerfile [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 05:12 GOVERNANCE.md [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 680 May 27 05:12 Jenkinsfile [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 05:12 LICENSE [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 27 05:12 Makefile [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 620 May 27 05:12 OWNERS.md [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 27 05:12 README.md [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 05:13 VERSION [2022-05-27T05:14:14.611Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:12 bin [2022-05-27T05:14:14.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:12 cmd [2022-05-27T05:14:14.611Z] -rw-r--r-- 1 jenkins jenkins 9355 May 27 05:13 coverage.out [2022-05-27T05:14:14.611Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:12 driver [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 27 05:12 go.mod [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 27 05:12 go.sum [2022-05-27T05:14:14.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:12 snap [2022-05-27T05:14:14.611Z] -rw-rw-r-- 1 jenkins jenkins 713 May 27 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:14:15.031Z] + 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=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d --label arch=amd64 --label version=0.0.0 . [2022-05-27T05:14:15.032Z] Sending build context to Docker daemon 10.62MB [2022-05-27T05:14:15.032Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T05:14:15.032Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-27T05:14:15.032Z] ---> 1bf8082a9b6d [2022-05-27T05:14:15.032Z] Step 3/25 : ARG MAKE='make build' [2022-05-27T05:14:15.295Z] ---> Running in 814cd5c48351 [2022-05-27T05:14:15.295Z] Removing intermediate container 814cd5c48351 [2022-05-27T05:14:15.295Z] ---> fe2fa28fb05a [2022-05-27T05:14:15.295Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T05:14:15.564Z] ---> Running in 9f958414b196 [2022-05-27T05:14:15.825Z] Removing intermediate container 9f958414b196 [2022-05-27T05:14:15.825Z] ---> 0d7ac2420706 [2022-05-27T05:14:15.825Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T05:14:15.825Z] ---> Running in cc512df29ef9 [2022-05-27T05:14:16.085Z] Removing intermediate container cc512df29ef9 [2022-05-27T05:14:16.085Z] ---> b3641b7e095e [2022-05-27T05:14:16.085Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T05:14:16.085Z] ---> Running in d2b9228a04ba [2022-05-27T05:14:16.657Z] Removing intermediate container d2b9228a04ba [2022-05-27T05:14:16.657Z] ---> 2eef43d00ad2 [2022-05-27T05:14:16.657Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T05:14:16.657Z] ---> Running in f7b909c185ec [2022-05-27T05:14:17.230Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-27T05:14:17.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-27T05:14:18.376Z] OK: 224 MiB in 56 packages [2022-05-27T05:14:18.638Z] Removing intermediate container f7b909c185ec [2022-05-27T05:14:18.638Z] ---> e643f78206b3 [2022-05-27T05:14:18.638Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-27T05:14:18.638Z] ---> Running in 8e6dc2eba463 [2022-05-27T05:14:18.902Z] Removing intermediate container 8e6dc2eba463 [2022-05-27T05:14:18.902Z] ---> f924c5ec01d0 [2022-05-27T05:14:18.902Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-27T05:14:18.902Z] ---> ffe118e08291 [2022-05-27T05:14:18.902Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T05:14:19.165Z] ---> Running in 3c0e838f5937 [2022-05-27T05:14:19.737Z] Removing intermediate container 3c0e838f5937 [2022-05-27T05:14:19.737Z] ---> 0ae678060ecd [2022-05-27T05:14:19.737Z] Step 11/25 : COPY . . [2022-05-27T05:14:20.309Z] ---> 9a24274195f2 [2022-05-27T05:14:20.309Z] Step 12/25 : RUN $MAKE [2022-05-27T05:14:20.309Z] ---> Running in 6cb673dfaf1f [2022-05-27T05:14:20.573Z] 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-27T05:14:42.529Z] Removing intermediate container 6cb673dfaf1f [2022-05-27T05:14:42.529Z] ---> 612c18968b93 [2022-05-27T05:14:42.529Z] Step 13/25 : FROM alpine:3.14 [2022-05-27T05:14:42.529Z] 3.14: Pulling from library/alpine [2022-05-27T05:14:42.529Z] 8663204ce13b: Pulling fs layer [2022-05-27T05:14:42.529Z] 8663204ce13b: Verifying Checksum [2022-05-27T05:14:42.529Z] 8663204ce13b: Download complete [2022-05-27T05:14:42.529Z] 8663204ce13b: Pull complete [2022-05-27T05:14:42.529Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-27T05:14:42.529Z] Status: Downloaded newer image for alpine:3.14 [2022-05-27T05:14:42.529Z] ---> e04c818066af [2022-05-27T05:14:42.529Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-27T05:14:42.529Z] ---> Running in aa8bf1ac806a [2022-05-27T05:14:42.529Z] Removing intermediate container aa8bf1ac806a [2022-05-27T05:14:42.529Z] ---> a8f6c50167e1 [2022-05-27T05:14:42.529Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-27T05:14:42.529Z] ---> Running in a8b27630868f [2022-05-27T05:14:42.529Z] Removing intermediate container a8b27630868f [2022-05-27T05:14:42.529Z] ---> ff78abda3528 [2022-05-27T05:14:42.529Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T05:14:42.529Z] ---> Running in fa49b56b70f7 [2022-05-27T05:14:42.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-27T05:14:42.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-27T05:14:42.529Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T05:14:42.529Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-27T05:14:42.790Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T05:14:42.790Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-27T05:14:42.790Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T05:14:42.790Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T05:14:42.790Z] Executing busybox-1.33.1-r7.trigger [2022-05-27T05:14:42.790Z] OK: 8 MiB in 20 packages [2022-05-27T05:14:43.052Z] Removing intermediate container fa49b56b70f7 [2022-05-27T05:14:43.052Z] ---> c7cb4af01da4 [2022-05-27T05:14:43.052Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-27T05:14:43.993Z] ---> ef3e0b265494 [2022-05-27T05:14:43.993Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-27T05:14:43.993Z] ---> b0ba24d814d1 [2022-05-27T05:14:43.993Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-27T05:14:44.253Z] ---> bdd8a7cee832 [2022-05-27T05:14:44.253Z] Step 20/25 : EXPOSE 59986 [2022-05-27T05:14:44.253Z] ---> Running in 89f5d328982e [2022-05-27T05:14:44.513Z] Removing intermediate container 89f5d328982e [2022-05-27T05:14:44.513Z] ---> a2f619aec175 [2022-05-27T05:14:44.513Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-27T05:14:44.513Z] ---> Running in 80af6388a809 [2022-05-27T05:14:44.513Z] Removing intermediate container 80af6388a809 [2022-05-27T05:14:44.513Z] ---> df8c35657736 [2022-05-27T05:14:44.513Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-27T05:14:44.513Z] ---> Running in 24f1857d76df [2022-05-27T05:14:44.774Z] Removing intermediate container 24f1857d76df [2022-05-27T05:14:44.774Z] ---> d2cb32d79a55 [2022-05-27T05:14:44.774Z] Step 23/25 : LABEL arch=amd64 [2022-05-27T05:14:44.774Z] ---> Running in caea819619e5 [2022-05-27T05:14:44.774Z] Removing intermediate container caea819619e5 [2022-05-27T05:14:44.774Z] ---> 5a4ceb318574 [2022-05-27T05:14:44.774Z] Step 24/25 : LABEL git_sha=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [2022-05-27T05:14:44.774Z] ---> Running in 4327307adff7 [2022-05-27T05:14:45.035Z] Removing intermediate container 4327307adff7 [2022-05-27T05:14:45.035Z] ---> 982c2c9192ff [2022-05-27T05:14:45.035Z] Step 25/25 : LABEL version=0.0.0 [2022-05-27T05:14:45.035Z] ---> Running in a29dd3a58029 [2022-05-27T05:14:45.298Z] Removing intermediate container a29dd3a58029 [2022-05-27T05:14:45.298Z] ---> 64cb75f154ee [2022-05-27T05:14:45.298Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T05:14:45.298Z] Successfully built 64cb75f154ee [2022-05-27T05:14:45.298Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:14:46.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T05:14:46.793Z] [2022-05-27T05:14:46.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:14:47.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T05:14:47.354Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-27T05:14:47.354Z] 5eb5b503b376: Pulling fs layer [2022-05-27T05:14:47.354Z] 5c69ac0246d0: Pulling fs layer [2022-05-27T05:14:47.354Z] ec43610c2a17: Pulling fs layer [2022-05-27T05:14:47.354Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-27T05:14:47.354Z] 33b1e0a273af: Pulling fs layer [2022-05-27T05:14:47.354Z] 5d3b04190fa2: Pulling fs layer [2022-05-27T05:14:47.354Z] 2f39f015ded8: Pulling fs layer [2022-05-27T05:14:47.354Z] 33b1e0a273af: Waiting [2022-05-27T05:14:47.354Z] 5d3b04190fa2: Waiting [2022-05-27T05:14:47.354Z] 3a2ae6a8a46f: Waiting [2022-05-27T05:14:47.354Z] 2f39f015ded8: Waiting [2022-05-27T05:14:47.354Z] 5c69ac0246d0: Verifying Checksum [2022-05-27T05:14:47.354Z] 5c69ac0246d0: Download complete [2022-05-27T05:14:47.354Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-27T05:14:47.354Z] 3a2ae6a8a46f: Download complete [2022-05-27T05:14:47.354Z] 33b1e0a273af: Verifying Checksum [2022-05-27T05:14:47.354Z] 33b1e0a273af: Download complete [2022-05-27T05:14:47.354Z] 5d3b04190fa2: Verifying Checksum [2022-05-27T05:14:47.354Z] 5d3b04190fa2: Download complete [2022-05-27T05:14:47.354Z] ec43610c2a17: Verifying Checksum [2022-05-27T05:14:47.354Z] ec43610c2a17: Download complete [2022-05-27T05:14:47.616Z] 5eb5b503b376: Verifying Checksum [2022-05-27T05:14:47.616Z] 5eb5b503b376: Download complete [2022-05-27T05:14:48.183Z] 2f39f015ded8: Verifying Checksum [2022-05-27T05:14:48.183Z] 2f39f015ded8: Download complete [2022-05-27T05:14:49.120Z] 5eb5b503b376: Pull complete [2022-05-27T05:14:49.120Z] 5c69ac0246d0: Pull complete [2022-05-27T05:14:49.689Z] ec43610c2a17: Pull complete [2022-05-27T05:14:49.689Z] 3a2ae6a8a46f: Pull complete [2022-05-27T05:14:49.948Z] 33b1e0a273af: Pull complete [2022-05-27T05:14:49.948Z] 5d3b04190fa2: Pull complete [2022-05-27T05:14:55.232Z] 2f39f015ded8: Pull complete [2022-05-27T05:14:55.232Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-27T05:14:55.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T05:14:55.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:14:55.455Z] prd-ubuntu20.04-docker-8c-8g-238 does not seem to be running inside a container [2022-05-27T05:14:55.500Z] $ 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-191 -v /w/workspace/gexfoundry_device-rest-go_PR-191:/w/workspace/gexfoundry_device-rest-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-191@tmp:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T05:14:57.581Z] $ docker top 51a1efa2772790a87229ca9456401ee748649cb5407cd32a9cd8e66f531377d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:14:58.042Z] ---> job-cost.sh [2022-05-27T05:14:58.042Z] lf-activate-venv: SKIPPING [2022-05-27T05:14:58.042Z] INFO: No Stack... [2022-05-27T05:14:58.616Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T05:14:58.877Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T05:14:59.193Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-191/archives/cost.csv [2022-05-27T05:14:59.193Z] + cut -d, -f6 [Pipeline] lock [2022-05-27T05:14:59.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [2022-05-27T05:14:59.235Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] did not exist. Created. [2022-05-27T05:14:59.235Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T05:14:59.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-27T05:14:59.722Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T05:14:59.737Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T05:14:59.816Z] $ docker stop --time=1 51a1efa2772790a87229ca9456401ee748649cb5407cd32a9cd8e66f531377d8 [2022-05-27T05:15:01.004Z] $ docker rm -f 51a1efa2772790a87229ca9456401ee748649cb5407cd32a9cd8e66f531377d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-27T05:16:27.606Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-241 in /w/workspace/gexfoundry_device-rest-go_PR-191 [Pipeline] { [Pipeline] ws [2022-05-27T05:16:27.646Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-27T05:16:27.732Z] The recommended git tool is: git [2022-05-27T05:16:34.888Z] using credential edgex-jenkins-ssh [2022-05-27T05:16:34.905Z] Cloning the remote Git repository [2022-05-27T05:16:34.975Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-27T05:16:35.071Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-27T05:16:35.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-27T05:16:35.148Z] > git --version # timeout=10 [2022-05-27T05:16:35.175Z] > git --version # 'git version 2.25.1' [2022-05-27T05:16:35.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T05:16:35.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T05:16:37.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-27T05:16:37.077Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-27T05:16:37.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-27T05:16:37.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-27T05:16:37.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T05:16:37.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-27T05:16:37.760Z] Merging remotes/origin/main commit 99d2988c42a4468ca534e1bc92575890b1a7bdf5 into PR head commit 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [2022-05-27T05:16:38.013Z] Merge succeeded, producing 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [2022-05-27T05:16:38.013Z] Checking out Revision 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d (PR-191) [2022-05-27T05:16:37.790Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T05:16:37.816Z] > git checkout -f 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d # timeout=10 [2022-05-27T05:16:37.905Z] > git remote # timeout=10 [2022-05-27T05:16:37.927Z] > git config --get remote.origin.url # timeout=10 [2022-05-27T05:16:37.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-27T05:16:37.964Z] > git merge 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [2022-05-27T05:16:37.999Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-27T05:16:38.028Z] > git config core.sparsecheckout # timeout=10 [2022-05-27T05:16:38.043Z] > git checkout -f 2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d # timeout=10 [2022-05-27T05:16:42.270Z] Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency)" [2022-05-27T05:16:42.345Z] > git --version # timeout=10 [2022-05-27T05:16:42.356Z] > git --version # 'git version 2.25.1' [2022-05-27T05:16:42.374Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T05:16:43.354Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-27T05:16:43.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T05:16:43.354Z] Dload Upload Total Spent Left Speed [2022-05-27T05:16:43.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 225k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh [2022-05-27T05:16:44.109Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-27T05:16:44.472Z] + sudo tee /etc/docker/daemon.new [2022-05-27T05:16:44.472Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-27T05:16:44.472Z] { [2022-05-27T05:16:44.472Z] "registry-mirrors": [ [2022-05-27T05:16:44.472Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-27T05:16:44.472Z] ], [2022-05-27T05:16:44.472Z] "bip": "10.250.0.254/24", [2022-05-27T05:16:44.472Z] "hosts": [ [2022-05-27T05:16:44.472Z] "tcp://0.0.0.0:5555", [2022-05-27T05:16:44.472Z] "unix:///var/run/docker.sock" [2022-05-27T05:16:44.472Z] ], [2022-05-27T05:16:44.472Z] "mtu": 1458, [2022-05-27T05:16:44.472Z] "selinux-enabled": true, [2022-05-27T05:16:44.472Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-27T05:16:44.472Z] } [Pipeline] sh [2022-05-27T05:16:44.817Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-27T05:16:45.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T05:17:03.680Z] provisioning config files... [2022-05-27T05:17:03.709Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3411727038891913857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:17:04.113Z] ---> docker-login.sh [2022-05-27T05:17:04.113Z] nexus3.edgexfoundry.org:10001 [2022-05-27T05:17:04.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:17:04.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:17:04.986Z] Configure a credential helper to remove this warning. See [2022-05-27T05:17:04.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:17:04.986Z] [2022-05-27T05:17:04.986Z] Login Succeeded [2022-05-27T05:17:04.986Z] nexus3.edgexfoundry.org:10002 [2022-05-27T05:17:05.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:17:05.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:17:05.539Z] Configure a credential helper to remove this warning. See [2022-05-27T05:17:05.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:17:05.539Z] [2022-05-27T05:17:05.539Z] Login Succeeded [2022-05-27T05:17:05.539Z] nexus3.edgexfoundry.org:10003 [2022-05-27T05:17:05.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:17:06.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:17:06.090Z] Configure a credential helper to remove this warning. See [2022-05-27T05:17:06.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:17:06.090Z] [2022-05-27T05:17:06.090Z] Login Succeeded [2022-05-27T05:17:06.090Z] nexus3.edgexfoundry.org:10004 [2022-05-27T05:17:06.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:17:06.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:17:06.652Z] Configure a credential helper to remove this warning. See [2022-05-27T05:17:06.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:17:06.652Z] [2022-05-27T05:17:06.652Z] Login Succeeded [2022-05-27T05:17:06.652Z] docker.io [2022-05-27T05:17:06.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-27T05:17:07.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-27T05:17:07.200Z] Configure a credential helper to remove this warning. See [2022-05-27T05:17:07.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-27T05:17:07.200Z] [2022-05-27T05:17:07.200Z] Login Succeeded [2022-05-27T05:17:07.200Z] ---> docker-login.sh ends [Pipeline] } [2022-05-27T05:17:07.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-27T05:17:07.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-27T05:17:07.899Z] ========================================================= [2022-05-27T05:17:07.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-27T05:17:07.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:17:08.446Z] + 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-27T05:17:08.446Z] Sending build context to Docker daemon 128.5kB [2022-05-27T05:17:08.723Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T05:17:08.723Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-27T05:17:09.011Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-27T05:17:09.011Z] 9b3977197b4f: Pulling fs layer [2022-05-27T05:17:09.011Z] 1a89e8eeedd5: Pulling fs layer [2022-05-27T05:17:09.011Z] 94645a83ff95: Pulling fs layer [2022-05-27T05:17:09.011Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-27T05:17:09.011Z] 0c92f367c5e7: Pulling fs layer [2022-05-27T05:17:09.011Z] 3096ccb668a1: Pulling fs layer [2022-05-27T05:17:09.011Z] e8cf19c19ddd: Pulling fs layer [2022-05-27T05:17:09.011Z] a4caa8a26152: Pulling fs layer [2022-05-27T05:17:09.011Z] 3096ccb668a1: Waiting [2022-05-27T05:17:09.011Z] e8cf19c19ddd: Waiting [2022-05-27T05:17:09.011Z] 0c92f367c5e7: Waiting [2022-05-27T05:17:09.011Z] a4caa8a26152: Waiting [2022-05-27T05:17:09.011Z] 94645a83ff95: Verifying Checksum [2022-05-27T05:17:09.011Z] 94645a83ff95: Download complete [2022-05-27T05:17:09.011Z] 1a89e8eeedd5: Verifying Checksum [2022-05-27T05:17:09.011Z] 1a89e8eeedd5: Download complete [2022-05-27T05:17:09.011Z] 0c92f367c5e7: Verifying Checksum [2022-05-27T05:17:09.011Z] 0c92f367c5e7: Download complete [2022-05-27T05:17:09.011Z] 3096ccb668a1: Download complete [2022-05-27T05:17:09.011Z] 9b3977197b4f: Verifying Checksum [2022-05-27T05:17:09.011Z] 9b3977197b4f: Download complete [2022-05-27T05:17:09.011Z] e8cf19c19ddd: Verifying Checksum [2022-05-27T05:17:09.011Z] e8cf19c19ddd: Download complete [2022-05-27T05:17:09.626Z] 9b3977197b4f: Pull complete [2022-05-27T05:17:10.619Z] 1a89e8eeedd5: Pull complete [2022-05-27T05:17:10.896Z] 94645a83ff95: Pull complete [2022-05-27T05:17:11.172Z] a4caa8a26152: Download complete [2022-05-27T05:17:11.770Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-27T05:17:11.770Z] 3f3a8bcf1eab: Download complete [2022-05-27T05:17:24.193Z] 3f3a8bcf1eab: Pull complete [2022-05-27T05:17:24.193Z] 0c92f367c5e7: Pull complete [2022-05-27T05:17:24.193Z] 3096ccb668a1: Pull complete [2022-05-27T05:17:24.469Z] e8cf19c19ddd: Pull complete [2022-05-27T05:17:31.215Z] a4caa8a26152: Pull complete [2022-05-27T05:17:31.215Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-27T05:17:31.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-27T05:17:31.215Z] ---> 725f1c02e7f9 [2022-05-27T05:17:31.215Z] Step 3/12 : ARG MAKE='make build' [2022-05-27T05:17:32.224Z] ---> Running in 1b1827b43231 [2022-05-27T05:17:32.505Z] Removing intermediate container 1b1827b43231 [2022-05-27T05:17:32.505Z] ---> d120131281e5 [2022-05-27T05:17:32.505Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T05:17:32.505Z] ---> Running in 8f611c71e927 [2022-05-27T05:17:32.788Z] Removing intermediate container 8f611c71e927 [2022-05-27T05:17:32.788Z] ---> 0dfda9a5372e [2022-05-27T05:17:32.788Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T05:17:32.788Z] ---> Running in 66a250c991bf [2022-05-27T05:17:33.065Z] Removing intermediate container 66a250c991bf [2022-05-27T05:17:33.065Z] ---> 983a4b419b65 [2022-05-27T05:17:33.065Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T05:17:33.340Z] ---> Running in c5c272306276 [2022-05-27T05:17:36.755Z] Removing intermediate container c5c272306276 [2022-05-27T05:17:36.755Z] ---> a0d6595a596f [2022-05-27T05:17:36.755Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T05:17:36.755Z] ---> Running in e64dbdc6ab89 [2022-05-27T05:17:37.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T05:17:38.329Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T05:17:38.920Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-27T05:17:39.193Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-27T05:17:39.193Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-27T05:17:39.471Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-27T05:17:39.471Z] Executing busybox-1.34.1-r3.trigger [2022-05-27T05:17:39.471Z] OK: 224 MiB in 56 packages [2022-05-27T05:17:40.451Z] Removing intermediate container e64dbdc6ab89 [2022-05-27T05:17:40.451Z] ---> e386dd5fa9c6 [2022-05-27T05:17:40.451Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-27T05:17:40.451Z] ---> Running in 8dbf945cab97 [2022-05-27T05:17:40.721Z] Removing intermediate container 8dbf945cab97 [2022-05-27T05:17:40.721Z] ---> 47906714a204 [2022-05-27T05:17:40.721Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-27T05:17:41.311Z] ---> 9cbd0059d0ee [2022-05-27T05:17:41.312Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T05:17:41.312Z] ---> Running in 222c023ceb52 [2022-05-27T05:18:28.278Z] Removing intermediate container 222c023ceb52 [2022-05-27T05:18:28.278Z] ---> 2b66f52d390b [2022-05-27T05:18:28.278Z] Step 11/12 : COPY . . [2022-05-27T05:18:28.278Z] ---> 5cbded061792 [2022-05-27T05:18:28.278Z] Step 12/12 : RUN $MAKE [2022-05-27T05:18:28.278Z] ---> Running in 55c455edd4d2 [2022-05-27T05:18:28.278Z] noop [2022-05-27T05:18:28.278Z] Removing intermediate container 55c455edd4d2 [2022-05-27T05:18:28.278Z] ---> 9be12c0221e4 [2022-05-27T05:18:28.278Z] Successfully built 9be12c0221e4 [2022-05-27T05:18:28.278Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:18:28.777Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T05:18:28.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:18:29.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-241 does not seem to be running inside a container [2022-05-27T05:18:29.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T05:18:30.514Z] $ docker top aeede6e95847e020ba66605a0c504ab20a07e034b33831f563e1c294b2b6f490 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T05:18:31.451Z] + go version [2022-05-27T05:18:31.451Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-27T05:18:31.492Z] $ docker stop --time=1 aeede6e95847e020ba66605a0c504ab20a07e034b33831f563e1c294b2b6f490 [2022-05-27T05:18:33.103Z] $ docker rm -f aeede6e95847e020ba66605a0c504ab20a07e034b33831f563e1c294b2b6f490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:18:34.023Z] + docker inspect -f . ci-base-image-arm64 [2022-05-27T05:18:34.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:18:34.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-241 does not seem to be running inside a container [2022-05-27T05:18:34.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-27T05:18:35.848Z] $ docker top fd29cdbb91d1406f02cd75f48d82c0043f6b1b8efc19db827d51994f9631633c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-27T05:18:36.866Z] + make test [2022-05-27T05:18:36.866Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-27T05:18:38.854Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-27T05:20:15.786Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-27T05:20:15.786Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-05-27T05:20:15.786Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-27T05:20:15.786Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-27T05:20:30.898Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-27T05:20:30.898Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-27T05:20:30.898Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-27T05:20:32.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-27T05:20:32.945Z] $ docker stop --time=1 fd29cdbb91d1406f02cd75f48d82c0043f6b1b8efc19db827d51994f9631633c [2022-05-27T05:20:34.761Z] $ docker rm -f fd29cdbb91d1406f02cd75f48d82c0043f6b1b8efc19db827d51994f9631633c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-27T05:20:35.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-27T05:20:35.821Z] Warning: overwriting stash ‘coverage-report’ [2022-05-27T05:20:36.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-27T05:20:36.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-27T05:20:37.334Z] + ls -al . [2022-05-27T05:20:37.334Z] total 168 [2022-05-27T05:20:37.334Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 05:20 . [2022-05-27T05:20:37.334Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:16 .. [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 151 May 27 05:16 .dockerignore [2022-05-27T05:20:37.334Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 05:16 .git [2022-05-27T05:20:37.334Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:16 .github [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 329 May 27 05:16 .gitignore [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 05:16 .golangci.yml [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 8596 May 27 05:16 Attribution.txt [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 27 05:16 CHANGELOG.md [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 27 05:16 Dockerfile [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 05:16 GOVERNANCE.md [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 680 May 27 05:16 Jenkinsfile [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 05:16 LICENSE [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 27 05:16 Makefile [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 620 May 27 05:16 OWNERS.md [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 27 05:16 README.md [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 05:13 VERSION [2022-05-27T05:20:37.334Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:16 bin [2022-05-27T05:20:37.334Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:16 cmd [2022-05-27T05:20:37.334Z] -rw-r--r-- 1 jenkins jenkins 9355 May 27 05:20 coverage.out [2022-05-27T05:20:37.334Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:16 driver [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 27 05:16 go.mod [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 27 05:16 go.sum [2022-05-27T05:20:37.334Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 05:16 snap [2022-05-27T05:20:37.334Z] -rw-rw-r-- 1 jenkins jenkins 713 May 27 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:20:37.806Z] + 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=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d --label arch=arm64 --label version=0.0.0 . [2022-05-27T05:20:37.806Z] Sending build context to Docker daemon 138.8kB [2022-05-27T05:20:38.102Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-27T05:20:38.102Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-27T05:20:38.102Z] ---> 9be12c0221e4 [2022-05-27T05:20:38.102Z] Step 3/25 : ARG MAKE='make build' [2022-05-27T05:20:38.377Z] ---> Running in a3f3997ebb31 [2022-05-27T05:20:38.652Z] Removing intermediate container a3f3997ebb31 [2022-05-27T05:20:38.652Z] ---> 93cd7931bcda [2022-05-27T05:20:38.652Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-27T05:20:38.652Z] ---> Running in 843ab59c45ec [2022-05-27T05:20:39.256Z] Removing intermediate container 843ab59c45ec [2022-05-27T05:20:39.256Z] ---> 7a4fad47b284 [2022-05-27T05:20:39.256Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-27T05:20:39.256Z] ---> Running in 22728b296eae [2022-05-27T05:20:39.538Z] Removing intermediate container 22728b296eae [2022-05-27T05:20:39.538Z] ---> 42111a7134d5 [2022-05-27T05:20:39.538Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-27T05:20:39.538Z] ---> Running in 6db30d94720e [2022-05-27T05:20:41.521Z] Removing intermediate container 6db30d94720e [2022-05-27T05:20:41.521Z] ---> 24b14da93b14 [2022-05-27T05:20:41.521Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-27T05:20:41.521Z] ---> Running in 73532e579bb8 [2022-05-27T05:20:42.511Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-27T05:20:43.494Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-27T05:20:44.474Z] OK: 224 MiB in 56 packages [2022-05-27T05:20:45.082Z] Removing intermediate container 73532e579bb8 [2022-05-27T05:20:45.082Z] ---> 068df5d6e82b [2022-05-27T05:20:45.082Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-27T05:20:45.082Z] ---> Running in 4833344405de [2022-05-27T05:20:45.680Z] Removing intermediate container 4833344405de [2022-05-27T05:20:45.680Z] ---> 1439971a6bc5 [2022-05-27T05:20:45.681Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-27T05:20:46.292Z] ---> 8e86883b6ff0 [2022-05-27T05:20:46.292Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-27T05:20:46.292Z] ---> Running in ca8ddf6e10b6 [2022-05-27T05:20:48.273Z] Removing intermediate container ca8ddf6e10b6 [2022-05-27T05:20:48.273Z] ---> d98b775ceca5 [2022-05-27T05:20:48.273Z] Step 11/25 : COPY . . [2022-05-27T05:20:48.869Z] ---> 496b4b9de68b [2022-05-27T05:20:48.869Z] Step 12/25 : RUN $MAKE [2022-05-27T05:20:48.869Z] ---> Running in a3ead04bac1c [2022-05-27T05:20:49.851Z] 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-27T05:23:11.741Z] Removing intermediate container a3ead04bac1c [2022-05-27T05:23:11.741Z] ---> 1e44221c7c3a [2022-05-27T05:23:11.741Z] Step 13/25 : FROM alpine:3.14 [2022-05-27T05:23:11.741Z] 3.14: Pulling from library/alpine [2022-05-27T05:23:11.741Z] 455c02918c45: Pulling fs layer [2022-05-27T05:23:11.741Z] 455c02918c45: Verifying Checksum [2022-05-27T05:23:11.741Z] 455c02918c45: Download complete [2022-05-27T05:23:11.741Z] 455c02918c45: Pull complete [2022-05-27T05:23:11.741Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-27T05:23:11.741Z] Status: Downloaded newer image for alpine:3.14 [2022-05-27T05:23:11.741Z] ---> ac73e934f311 [2022-05-27T05:23:11.741Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-27T05:23:11.741Z] ---> Running in 0f1d0371c476 [2022-05-27T05:23:11.741Z] Removing intermediate container 0f1d0371c476 [2022-05-27T05:23:11.741Z] ---> 972f72909b74 [2022-05-27T05:23:11.741Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-27T05:23:11.741Z] ---> Running in c18a86a03e3d [2022-05-27T05:23:11.741Z] Removing intermediate container c18a86a03e3d [2022-05-27T05:23:11.741Z] ---> f93846c5a9c8 [2022-05-27T05:23:11.741Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-27T05:23:11.741Z] ---> Running in 83314eca08e5 [2022-05-27T05:23:11.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-27T05:23:11.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-27T05:23:11.741Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-27T05:23:11.741Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-27T05:23:11.741Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-27T05:23:11.741Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-27T05:23:11.741Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-27T05:23:11.741Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-27T05:23:11.741Z] Executing busybox-1.33.1-r7.trigger [2022-05-27T05:23:11.741Z] OK: 8 MiB in 20 packages [2022-05-27T05:23:11.741Z] Removing intermediate container 83314eca08e5 [2022-05-27T05:23:11.741Z] ---> 169ef03f40f1 [2022-05-27T05:23:11.741Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-27T05:23:11.741Z] ---> c115ef76bf0a [2022-05-27T05:23:11.741Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-27T05:23:11.741Z] ---> a86d5e774668 [2022-05-27T05:23:11.741Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-27T05:23:11.741Z] ---> 6340ca1bd6e8 [2022-05-27T05:23:11.741Z] Step 20/25 : EXPOSE 59986 [2022-05-27T05:23:11.741Z] ---> Running in 5a24bc4db0a1 [2022-05-27T05:23:11.741Z] Removing intermediate container 5a24bc4db0a1 [2022-05-27T05:23:11.741Z] ---> ef72fe2e00ef [2022-05-27T05:23:11.741Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-27T05:23:11.741Z] ---> Running in 5e49217c30bd [2022-05-27T05:23:11.741Z] Removing intermediate container 5e49217c30bd [2022-05-27T05:23:11.741Z] ---> 6659f7468944 [2022-05-27T05:23:11.741Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-27T05:23:11.741Z] ---> Running in cb216fbbd94e [2022-05-27T05:23:11.741Z] Removing intermediate container cb216fbbd94e [2022-05-27T05:23:11.741Z] ---> baa8803a468a [2022-05-27T05:23:11.741Z] Step 23/25 : LABEL arch=arm64 [2022-05-27T05:23:11.741Z] ---> Running in 18a2fcb7fbea [2022-05-27T05:23:11.741Z] Removing intermediate container 18a2fcb7fbea [2022-05-27T05:23:11.741Z] ---> 9af55610e8aa [2022-05-27T05:23:11.741Z] Step 24/25 : LABEL git_sha=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [2022-05-27T05:23:11.741Z] ---> Running in edf7953faa7b [2022-05-27T05:23:11.741Z] Removing intermediate container edf7953faa7b [2022-05-27T05:23:11.741Z] ---> b40007d29876 [2022-05-27T05:23:11.741Z] Step 25/25 : LABEL version=0.0.0 [2022-05-27T05:23:11.741Z] ---> Running in ddb799368e6a [2022-05-27T05:23:11.741Z] Removing intermediate container ddb799368e6a [2022-05-27T05:23:11.741Z] ---> 5898793900bc [2022-05-27T05:23:11.741Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-27T05:23:11.741Z] Successfully built 5898793900bc [2022-05-27T05:23:11.741Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:23:12.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T05:23:12.520Z] [2022-05-27T05:23:12.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:23:12.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T05:23:13.209Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-27T05:23:13.209Z] 8998bd30e6a1: Pulling fs layer [2022-05-27T05:23:13.209Z] 04944245beec: Pulling fs layer [2022-05-27T05:23:13.209Z] 699f458cf7ca: Pulling fs layer [2022-05-27T05:23:13.209Z] 765212b225bb: Pulling fs layer [2022-05-27T05:23:13.209Z] f23df028b6ca: Pulling fs layer [2022-05-27T05:23:13.209Z] d65c8cfc05b1: Pulling fs layer [2022-05-27T05:23:13.209Z] 2437ff75d9bd: Pulling fs layer [2022-05-27T05:23:13.209Z] f23df028b6ca: Waiting [2022-05-27T05:23:13.209Z] 2437ff75d9bd: Waiting [2022-05-27T05:23:13.209Z] d65c8cfc05b1: Waiting [2022-05-27T05:23:13.209Z] 765212b225bb: Waiting [2022-05-27T05:23:13.209Z] 04944245beec: Verifying Checksum [2022-05-27T05:23:13.209Z] 04944245beec: Download complete [2022-05-27T05:23:13.209Z] 765212b225bb: Verifying Checksum [2022-05-27T05:23:13.209Z] 765212b225bb: Download complete [2022-05-27T05:23:13.209Z] f23df028b6ca: Verifying Checksum [2022-05-27T05:23:13.209Z] f23df028b6ca: Download complete [2022-05-27T05:23:13.209Z] d65c8cfc05b1: Verifying Checksum [2022-05-27T05:23:13.209Z] d65c8cfc05b1: Download complete [2022-05-27T05:23:13.485Z] 699f458cf7ca: Verifying Checksum [2022-05-27T05:23:13.485Z] 699f458cf7ca: Download complete [2022-05-27T05:23:13.770Z] 8998bd30e6a1: Verifying Checksum [2022-05-27T05:23:13.770Z] 8998bd30e6a1: Download complete [2022-05-27T05:23:16.392Z] 2437ff75d9bd: Verifying Checksum [2022-05-27T05:23:16.392Z] 2437ff75d9bd: Download complete [2022-05-27T05:23:18.381Z] 8998bd30e6a1: Pull complete [2022-05-27T05:23:18.655Z] 04944245beec: Pull complete [2022-05-27T05:23:20.097Z] 699f458cf7ca: Pull complete [2022-05-27T05:23:20.369Z] 765212b225bb: Pull complete [2022-05-27T05:23:21.348Z] f23df028b6ca: Pull complete [2022-05-27T05:23:21.620Z] d65c8cfc05b1: Pull complete [2022-05-27T05:23:36.705Z] 2437ff75d9bd: Pull complete [2022-05-27T05:23:36.705Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-27T05:23:36.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-27T05:23:36.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:23:37.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-241 does not seem to be running inside a container [2022-05-27T05:23:37.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-27T05:23:39.924Z] $ docker top 2ef07eb47070d8bdbbb1c107dc9f7f113559f76df1fde6937a149bb62761a37e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:40.885Z] ---> job-cost.sh [2022-05-27T05:23:40.885Z] lf-activate-venv: SKIPPING [2022-05-27T05:23:40.885Z] INFO: No Stack... [2022-05-27T05:23:41.478Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-27T05:23:42.070Z] INFO: Archiving Costs [Pipeline] sh [2022-05-27T05:23:42.863Z] + cut -d, -f6 [2022-05-27T05:23:42.863Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-05-27T05:23:42.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [2022-05-27T05:23:42.962Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] did not exist. Created. [2022-05-27T05:23:42.962Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-27T05:23:43.710Z] /w/workspace/device-rest-go/1@tmp/durable-e75042c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-27T05:23:44.414Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-27T05:23:44.447Z] Warning: overwriting stash ‘stack-cost’ [2022-05-27T05:23:44.499Z] Stashed 1 file(s) [Pipeline] } [2022-05-27T05:23:44.521Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-191-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-27T05:23:44.600Z] $ docker stop --time=1 2ef07eb47070d8bdbbb1c107dc9f7f113559f76df1fde6937a149bb62761a37e [2022-05-27T05:23:46.136Z] $ docker rm -f 2ef07eb47070d8bdbbb1c107dc9f7f113559f76df1fde6937a149bb62761a37e [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-27T05:23:47.091Z] provisioning config files... [2022-05-27T05:23:47.100Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/config6303133659804390952tmp [Pipeline] { [Pipeline] sh [2022-05-27T05:23:47.441Z] + set +x [2022-05-27T05:23:47.441Z] + curl -s https://codecov.io/bash [2022-05-27T05:23:47.441Z] + bash -s -- [2022-05-27T05:23:47.441Z] [2022-05-27T05:23:47.441Z] _____ _ [2022-05-27T05:23:47.441Z] / ____| | | [2022-05-27T05:23:47.441Z] | | ___ __| | ___ ___ _____ __ [2022-05-27T05:23:47.441Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-27T05:23:47.441Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-27T05:23:47.441Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-27T05:23:47.441Z] Bash-1.0.6 [2022-05-27T05:23:47.441Z] [2022-05-27T05:23:47.441Z] [2022-05-27T05:23:47.441Z] ==> git version 2.25.1 found [2022-05-27T05:23:47.441Z] ==> 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-27T05:23:47.441Z] Release-Date: 2020-01-08 [2022-05-27T05:23:47.441Z] 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-27T05:23:47.441Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-27T05:23:47.441Z] ==> Jenkins CI detected. [2022-05-27T05:23:47.441Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-191 [2022-05-27T05:23:47.441Z] project root: . [2022-05-27T05:23:47.441Z] --> token set from env [2022-05-27T05:23:47.441Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-27T05:23:47.441Z] ==> Running gcov in . (disable via -X gcov) [2022-05-27T05:23:47.441Z] ==> Python coveragepy not found [2022-05-27T05:23:47.441Z] ==> Searching for coverage reports in: [2022-05-27T05:23:47.441Z] + . [2022-05-27T05:23:47.441Z] -> Found 1 reports [2022-05-27T05:23:47.441Z] ==> Detecting git/mercurial file structure [2022-05-27T05:23:47.441Z] ==> Reading reports [2022-05-27T05:23:47.441Z] + ./coverage.out bytes=9355 [2022-05-27T05:23:47.441Z] ==> Appending adjustments [2022-05-27T05:23:47.441Z] https://docs.codecov.io/docs/fixing-reports [2022-05-27T05:23:47.703Z] + Found adjustments [2022-05-27T05:23:47.703Z] ==> Gzipping contents [2022-05-27T05:23:47.703Z] 4.0K /tmp/codecov.VnsGp9.gz [2022-05-27T05:23:47.703Z] ==> Uploading reports [2022-05-27T05:23:47.703Z] url: https://codecov.io [2022-05-27T05:23:47.704Z] query: branch=PR-191&commit=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-05-27T05:23:47.704Z] -> Pinging Codecov [2022-05-27T05:23:47.704Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-191&commit=2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2022-05-27T05:23:47.965Z] -> Uploading to [2022-05-27T05:23:47.965Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-27/4E5D53B4F1F92C436F7061BF334D961C/2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d/0957cb49-da46-4f44-ac66-509187103b20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220527T052347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea54294d2bc16a714e7784a7050b77e0fb06e26a74f621df4a10f5e3bf2216e1 [2022-05-27T05:23:47.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-27T05:23:47.965Z] Dload Upload Total Spent Left Speed [2022-05-27T05:23:48.229Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7082 --:--:-- --:--:-- --:--:-- 7082 [2022-05-27T05:23:48.229Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2bcd884eb0f4fc2f60409d1b033de5cf5cdec46d [Pipeline] } [2022-05-27T05:23:48.254Z] 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-27T05:23:49.839Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-191/archives ] [2022-05-27T05:23:49.839Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-191/archives [2022-05-27T05:23:49.839Z] total 16 [2022-05-27T05:23:49.839Z] drwxr-xr-x 3 root root 4096 May 27 05:14 . [2022-05-27T05:23:49.839Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 05:14 .. [2022-05-27T05:23:49.839Z] drwxr-xr-x 2 root root 4096 May 27 05:14 cost [2022-05-27T05:23:49.840Z] -rw-r--r-- 1 root root 85 May 27 05:14 cost.csv [2022-05-27T05:23:49.840Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-191/archives [2022-05-27T05:23:49.840Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-191/archives [2022-05-27T05:23:49.840Z] total 16 [2022-05-27T05:23:49.840Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 05:14 . [2022-05-27T05:23:49.840Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 05:14 .. [2022-05-27T05:23:49.840Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 05:14 cost [2022-05-27T05:23:49.840Z] -rw-r--r-- 1 jenkins jenkins 85 May 27 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:50.172Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:51.102Z] ---> package-listing.sh [2022-05-27T05:23:51.102Z] ++ facter osfamily [2022-05-27T05:23:51.102Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-27T05:23:51.365Z] + OS_FAMILY=debian [2022-05-27T05:23:51.365Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-191 [2022-05-27T05:23:51.365Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-27T05:23:51.365Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-27T05:23:51.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-27T05:23:51.365Z] + PACKAGES=/tmp/packages_start.txt [2022-05-27T05:23:51.365Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-191 ']' [2022-05-27T05:23:51.365Z] + PACKAGES=/tmp/packages_end.txt [2022-05-27T05:23:51.365Z] + case "${OS_FAMILY}" in [2022-05-27T05:23:51.365Z] + dpkg -l [2022-05-27T05:23:51.365Z] + grep '^ii' [2022-05-27T05:23:51.366Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-27T05:23:51.366Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-27T05:23:51.366Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-27T05:23:51.366Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-191 ']' [2022-05-27T05:23:51.366Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-191/archives/ [2022-05-27T05:23:51.366Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-191/archives/ [Pipeline] echo [2022-05-27T05:23:51.400Z] 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-191/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-27T05:23:51.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-27T05:23:52.323Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-27T05:23:52.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-27T05:23:52.476Z] prd-ubuntu20.04-docker-8c-8g-238 does not seem to be running inside a container [2022-05-27T05:23:52.522Z] $ 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-191/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-191 -v /w/workspace/gexfoundry_device-rest-go_PR-191:/w/workspace/gexfoundry_device-rest-go_PR-191:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-191@tmp:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-27T05:23:52.762Z] $ docker top 5db10b8b1d19221d0b97164c81da9058d5965212e0f758b0e24528936f99c139 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-27T05:23:53.150Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-27T05:23:53.457Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-27T05:23:53.772Z] + ls /var/log/sa-host [2022-05-27T05:23:53.772Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-27T05:23:53.899Z] provisioning config files... [2022-05-27T05:23:53.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-191@tmp/config828060710130940726tmp [Pipeline] { [Pipeline] echo [2022-05-27T05:23:53.954Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:54.263Z] ---> create-netrc.sh [Pipeline] } [2022-05-27T05:23:54.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:54.681Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-27T05:23:54.713Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:55.024Z] ---> sudo-logs.sh [2022-05-27T05:23:55.024Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-27T05:23:55.105Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:55.516Z] ---> job-cost.sh [2022-05-27T05:23:55.516Z] lf-activate-venv: SKIPPING [2022-05-27T05:23:55.516Z] DEBUG: total: 0.2199999988079071 [2022-05-27T05:23:55.516Z] INFO: Retrieving Stack Cost... [2022-05-27T05:23:55.780Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-27T05:23:56.353Z] INFO: Archiving Costs [Pipeline] echo [2022-05-27T05:23:56.423Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-27T05:23:56.742Z] ---> logs-deploy.sh [2022-05-27T05:23:56.742Z] lf-activate-venv: SKIPPING [2022-05-27T05:23:56.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-191/1 [2022-05-27T05:23:56.742Z] INFO: archiving workspace using pattern(s): [2022-05-27T05:23:57.686Z] Archives upload complete. [2022-05-27T05:23:57.686Z] INFO: archiving logs to Nexus