Pull request #207 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eadd394bb8d801aa6bc790772c870e1a21249c80+a8865c056b3ddfa2315b5fa3a0a86be937f1051f (034cbd4480f55204056c791250e33e546d68ad03) 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-ssh5523470528488340323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5442357311406712986.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-207/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-207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6836976915144387528.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-207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17968470035832622653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh17373710347701605160.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-207/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-207/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11416014446069862979.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20439 in /w/workspace/gexfoundry_device-rest-go_PR-207 [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-207 # 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 a8865c056b3ddfa2315b5fa3a0a86be937f1051f into PR head commit eadd394bb8d801aa6bc790772c870e1a21249c80 Merge succeeded, producing eadd394bb8d801aa6bc790772c870e1a21249c80 Checking out Revision eadd394bb8d801aa6bc790772c870e1a21249c80 (PR-207) > 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/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eadd394bb8d801aa6bc790772c870e1a21249c80 # 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 a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eadd394bb8d801aa6bc790772c870e1a21249c80 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T20:19:20.762Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T20:19:20.928Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T20:19:21.042Z] ========================================================= [2022-07-18T20:19:21.042Z] EdgeX Global Pipelines Version Info [2022-07-18T20:19:21.042Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:19:21.869Z] ------------------- [2022-07-18T20:19:21.869Z] stable info: [2022-07-18T20:19:21.869Z] ------------------- [2022-07-18T20:19:21.869Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T20:19:21.869Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T20:19:21.869Z] Message: update stable to v1.0.238 [2022-07-18T20:19:22.444Z] ------------------- [2022-07-18T20:19:22.444Z] experimental info: [2022-07-18T20:19:22.444Z] ------------------- [2022-07-18T20:19:22.444Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T20:19:22.444Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T20:19:22.444Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T20:19:22.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-18T20:19:22.889Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-18T20:19:22.927Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T20:19:22.971Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T20:19:23.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T20:19:23.051Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T20:19:23.088Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T20:19:23.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T20:19:23.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T20:19:23.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T20:19:23.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T20:19:23.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-18T20:19:23.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T20:19:23.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T20:19:23.396Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T20:19:23.435Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T20:19:23.477Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T20:19:23.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T20:19:23.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T20:19:23.594Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T20:19:23.639Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T20:19:23.682Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T20:19:23.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T20:19:23.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T20:19:23.804Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T20:19:23.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T20:19:23.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T20:19:23.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-207 [Pipeline] echo [2022-07-18T20:19:23.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-207 [Pipeline] echo [2022-07-18T20:19:24.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-207 [Pipeline] echo [2022-07-18T20:19:24.051Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eadd394bb8d801aa6bc790772c870e1a21249c80 [Pipeline] echo [2022-07-18T20:19:24.091Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eadd394 [Pipeline] echo [2022-07-18T20:19:24.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T20:19:24.254Z] provisioning config files... [2022-07-18T20:19:24.274Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/config7230548418073744662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:19:24.617Z] ---> docker-login.sh [2022-07-18T20:19:24.617Z] nexus3.edgexfoundry.org:10001 [2022-07-18T20:19:24.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:25.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:25.150Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:25.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:25.150Z] [2022-07-18T20:19:25.150Z] Login Succeeded [2022-07-18T20:19:25.150Z] nexus3.edgexfoundry.org:10002 [2022-07-18T20:19:25.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:25.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:25.150Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:25.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:25.150Z] [2022-07-18T20:19:25.150Z] Login Succeeded [2022-07-18T20:19:25.150Z] nexus3.edgexfoundry.org:10003 [2022-07-18T20:19:25.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:25.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:25.412Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:25.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:25.412Z] [2022-07-18T20:19:25.412Z] Login Succeeded [2022-07-18T20:19:25.412Z] nexus3.edgexfoundry.org:10004 [2022-07-18T20:19:25.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:25.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:25.412Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:25.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:25.412Z] [2022-07-18T20:19:25.412Z] Login Succeeded [2022-07-18T20:19:25.412Z] docker.io [2022-07-18T20:19:25.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:25.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:25.937Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:25.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:25.937Z] [2022-07-18T20:19:25.937Z] Login Succeeded [2022-07-18T20:19:25.937Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T20:19:25.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T20:19:26.609Z] + git rev-list -1 --merges eadd394bb8d801aa6bc790772c870e1a21249c80~1..eadd394bb8d801aa6bc790772c870e1a21249c80 [Pipeline] echo [2022-07-18T20:19:26.663Z] -----------> git rev-list -1 --merges eadd394bb8d801aa6bc790772c870e1a21249c80~1..eadd394bb8d801aa6bc790772c870e1a21249c80 eadd394bb8d801aa6bc790772c870e1a21249c80 [false] [Pipeline] sh [2022-07-18T20:19:26.980Z] + git log --format=format:%s -1 eadd394bb8d801aa6bc790772c870e1a21249c80 [Pipeline] echo [2022-07-18T20:19:27.014Z] ========================================================= [2022-07-18T20:19:27.014Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T20:19:27.014Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T20:19:27.459Z] + git log --format=format:%s -1 eadd394bb8d801aa6bc790772c870e1a21249c80 [Pipeline] echo [2022-07-18T20:19:27.492Z] [semverPrep] GIT_COMMIT: eadd394bb8d801aa6bc790772c870e1a21249c80, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-18T20:19:27.521Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T20:19:27.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T20:19:27.919Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T20:19:27.919Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T20:19:27.919Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T20:19:27.919Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T20:19:27.919Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T20:19:27.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:19:28.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T20:19:28.346Z] [2022-07-18T20:19:28.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:19:28.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T20:19:28.732Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T20:19:28.732Z] b85a868b505f: Pulling fs layer [2022-07-18T20:19:28.732Z] e2be974225ed: Pulling fs layer [2022-07-18T20:19:28.732Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T20:19:28.732Z] 988bab9f4d93: Pulling fs layer [2022-07-18T20:19:28.732Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T20:19:28.732Z] eaf3925da568: Pulling fs layer [2022-07-18T20:19:28.732Z] bab4dde63d76: Pulling fs layer [2022-07-18T20:19:28.732Z] bde34c3a00c8: Pulling fs layer [2022-07-18T20:19:28.732Z] b352a97aabf1: Pulling fs layer [2022-07-18T20:19:28.732Z] 4872d77fe225: Pulling fs layer [2022-07-18T20:19:28.732Z] 5851b861e8e6: Pulling fs layer [2022-07-18T20:19:28.732Z] 1469e6f7b9e6: Waiting [2022-07-18T20:19:28.732Z] 988bab9f4d93: Waiting [2022-07-18T20:19:28.732Z] bab4dde63d76: Waiting [2022-07-18T20:19:28.732Z] eaf3925da568: Waiting [2022-07-18T20:19:28.732Z] bde34c3a00c8: Waiting [2022-07-18T20:19:28.732Z] b352a97aabf1: Waiting [2022-07-18T20:19:28.732Z] 5851b861e8e6: Waiting [2022-07-18T20:19:28.732Z] e2be974225ed: Download complete [2022-07-18T20:19:28.732Z] 988bab9f4d93: Verifying Checksum [2022-07-18T20:19:28.732Z] 988bab9f4d93: Download complete [2022-07-18T20:19:28.992Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T20:19:28.992Z] 1469e6f7b9e6: Download complete [2022-07-18T20:19:28.992Z] eaf3925da568: Verifying Checksum [2022-07-18T20:19:28.992Z] eaf3925da568: Download complete [2022-07-18T20:19:28.992Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T20:19:28.992Z] 339a4e72a1f5: Download complete [2022-07-18T20:19:28.992Z] bde34c3a00c8: Download complete [2022-07-18T20:19:28.992Z] b352a97aabf1: Download complete [2022-07-18T20:19:28.992Z] 4872d77fe225: Verifying Checksum [2022-07-18T20:19:28.992Z] 4872d77fe225: Download complete [2022-07-18T20:19:28.992Z] 5851b861e8e6: Download complete [2022-07-18T20:19:28.992Z] b85a868b505f: Verifying Checksum [2022-07-18T20:19:28.992Z] b85a868b505f: Download complete [2022-07-18T20:19:29.252Z] bab4dde63d76: Verifying Checksum [2022-07-18T20:19:29.252Z] bab4dde63d76: Download complete [2022-07-18T20:19:30.650Z] b85a868b505f: Pull complete [2022-07-18T20:19:30.651Z] e2be974225ed: Pull complete [2022-07-18T20:19:31.220Z] 339a4e72a1f5: Pull complete [2022-07-18T20:19:31.220Z] 988bab9f4d93: Pull complete [2022-07-18T20:19:31.481Z] 1469e6f7b9e6: Pull complete [2022-07-18T20:19:31.481Z] eaf3925da568: Pull complete [2022-07-18T20:19:34.017Z] bab4dde63d76: Pull complete [2022-07-18T20:19:34.017Z] bde34c3a00c8: Pull complete [2022-07-18T20:19:34.017Z] b352a97aabf1: Pull complete [2022-07-18T20:19:34.017Z] 4872d77fe225: Pull complete [2022-07-18T20:19:34.017Z] 5851b861e8e6: Pull complete [2022-07-18T20:19:34.017Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T20:19:34.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T20:19:34.017Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:19:34.236Z] prd-ubuntu20.04-docker-8c-8g-20439 does not seem to be running inside a container [2022-07-18T20:19:34.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-207 -v /w/workspace/gexfoundry_device-rest-go_PR-207:/w/workspace/gexfoundry_device-rest-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-207@tmp:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T20:19:36.545Z] $ docker top 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T20:19:36.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T20:19:36.747Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T20:19:36.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T20:19:36.902Z] $ docker exec 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec ssh-agent [2022-07-18T20:19:37.028Z] SSH_AUTH_SOCK=/tmp/ssh-Zl5DvaaVsnxW/agent.34 [2022-07-18T20:19:37.028Z] SSH_AGENT_PID=40 [2022-07-18T20:19:37.037Z] Running ssh-add (command line suppressed) [2022-07-18T20:19:37.201Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-207@tmp/private_key_862677220109690793.key (/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/private_key_862677220109690793.key) [2022-07-18T20:19:37.216Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T20:19:37.558Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T20:19:37.589Z] $ docker exec --env ******** --env ******** 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec ssh-agent -k [2022-07-18T20:19:37.709Z] unset SSH_AUTH_SOCK; [2022-07-18T20:19:37.709Z] unset SSH_AGENT_PID; [2022-07-18T20:19:37.709Z] echo Agent pid 40 killed; [2022-07-18T20:19:37.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T20:19:37.814Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T20:19:37.814Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T20:19:37.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T20:19:37.963Z] $ docker exec 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec ssh-agent [2022-07-18T20:19:38.096Z] SSH_AUTH_SOCK=/tmp/ssh-bS9Kik6EUzq1/agent.72 [2022-07-18T20:19:38.096Z] SSH_AGENT_PID=78 [2022-07-18T20:19:38.102Z] Running ssh-add (command line suppressed) [2022-07-18T20:19:38.221Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-207@tmp/private_key_4297761072130873181.key (/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/private_key_4297761072130873181.key) [2022-07-18T20:19:38.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T20:19:38.572Z] + git semver init [2022-07-18T20:19:38.831Z] 2022-07-18 20:19:38,745 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T20:19:38.831Z] 2022-07-18 20:19:38,746 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-207/.semver [2022-07-18T20:19:38.831Z] 2022-07-18 20:19:38,746 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-207/.semver [2022-07-18T20:19:38.831Z] 2022-07-18 20:19:38,746 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-207/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-207, universal_newlines=False, shell=None, istream=None) [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,684 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-207/.git/info/exclude [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,684 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-207/.semver/PR-207 with force:False [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,684 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-207/.semver/PR-207 [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,689 [execute] INFO git cat-file --batch-check [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-207/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,695 [execute] INFO git cat-file --batch [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-207/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T20:19:39.769Z] 2022-07-18 20:19:39,700 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-207/.semver/PR-207 [2022-07-18T20:19:39.769Z] 0.0.0 [Pipeline] } [2022-07-18T20:19:39.799Z] $ docker exec --env ******** --env ******** 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec ssh-agent -k [2022-07-18T20:19:39.914Z] unset SSH_AUTH_SOCK; [2022-07-18T20:19:39.914Z] unset SSH_AGENT_PID; [2022-07-18T20:19:39.914Z] echo Agent pid 78 killed; [2022-07-18T20:19:39.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T20:19:40.364Z] + git semver [Pipeline] } [2022-07-18T20:19:40.653Z] $ docker stop --time=1 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec [2022-07-18T20:19:42.010Z] $ docker rm -f 4c7869440ff57eeb9d49c114c58901c3ae21a6ec92a4dc6d987d4526899e10ec [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T20:19:42.435Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T20:19:42.787Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T20:19:42.804Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T20:19:43.360Z] provisioning config files... [2022-07-18T20:19:43.371Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/config5067315264851121172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:19:43.718Z] ---> docker-login.sh [2022-07-18T20:19:43.718Z] nexus3.edgexfoundry.org:10001 [2022-07-18T20:19:43.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:43.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:43.718Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:43.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:43.718Z] [2022-07-18T20:19:43.718Z] Login Succeeded [2022-07-18T20:19:43.718Z] nexus3.edgexfoundry.org:10002 [2022-07-18T20:19:43.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:43.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:43.978Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:43.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:43.978Z] [2022-07-18T20:19:43.978Z] Login Succeeded [2022-07-18T20:19:43.978Z] nexus3.edgexfoundry.org:10003 [2022-07-18T20:19:43.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:43.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:43.978Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:43.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:43.978Z] [2022-07-18T20:19:43.978Z] Login Succeeded [2022-07-18T20:19:43.978Z] nexus3.edgexfoundry.org:10004 [2022-07-18T20:19:44.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:44.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:44.240Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:44.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:44.240Z] [2022-07-18T20:19:44.240Z] Login Succeeded [2022-07-18T20:19:44.240Z] docker.io [2022-07-18T20:19:44.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:19:44.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:19:44.500Z] Configure a credential helper to remove this warning. See [2022-07-18T20:19:44.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:19:44.500Z] [2022-07-18T20:19:44.500Z] Login Succeeded [2022-07-18T20:19:44.500Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T20:19:44.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T20:19:44.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T20:19:44.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T20:19:44.790Z] ========================================================= [2022-07-18T20:19:44.791Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T20:19:44.791Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:19:45.246Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T20:19:45.246Z] Sending build context to Docker daemon 10.69MB [2022-07-18T20:19:45.246Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T20:19:45.246Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T20:19:45.506Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T20:19:45.506Z] 2408cc74d12b: Pulling fs layer [2022-07-18T20:19:45.506Z] ea60b727a1ce: Pulling fs layer [2022-07-18T20:19:45.506Z] 30c4a7721957: Pulling fs layer [2022-07-18T20:19:45.506Z] 370296b7ddb6: Pulling fs layer [2022-07-18T20:19:45.506Z] 7c6cee850709: Pulling fs layer [2022-07-18T20:19:45.506Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T20:19:45.506Z] d94ebbe4e438: Pulling fs layer [2022-07-18T20:19:45.506Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T20:19:45.506Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T20:19:45.506Z] d94ebbe4e438: Waiting [2022-07-18T20:19:45.506Z] bcfd1f05c69d: Waiting [2022-07-18T20:19:45.506Z] 370296b7ddb6: Waiting [2022-07-18T20:19:45.506Z] 59ccb84bbe0f: Waiting [2022-07-18T20:19:45.506Z] 7c6cee850709: Waiting [2022-07-18T20:19:45.506Z] 39a5fcdaea64: Waiting [2022-07-18T20:19:45.506Z] 30c4a7721957: Download complete [2022-07-18T20:19:45.506Z] ea60b727a1ce: Download complete [2022-07-18T20:19:45.506Z] 7c6cee850709: Verifying Checksum [2022-07-18T20:19:45.506Z] 7c6cee850709: Download complete [2022-07-18T20:19:45.506Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T20:19:45.506Z] 39a5fcdaea64: Download complete [2022-07-18T20:19:45.506Z] 2408cc74d12b: Verifying Checksum [2022-07-18T20:19:45.506Z] 2408cc74d12b: Download complete [2022-07-18T20:19:45.506Z] d94ebbe4e438: Download complete [2022-07-18T20:19:45.772Z] 2408cc74d12b: Pull complete [2022-07-18T20:19:46.032Z] ea60b727a1ce: Pull complete [2022-07-18T20:19:46.032Z] 30c4a7721957: Pull complete [2022-07-18T20:19:46.292Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T20:19:46.292Z] 59ccb84bbe0f: Download complete [2022-07-18T20:19:46.292Z] 370296b7ddb6: Verifying Checksum [2022-07-18T20:19:46.292Z] 370296b7ddb6: Download complete [2022-07-18T20:19:46.559Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T20:19:46.559Z] bcfd1f05c69d: Download complete [2022-07-18T20:19:50.767Z] 370296b7ddb6: Pull complete [2022-07-18T20:19:50.767Z] 7c6cee850709: Pull complete [2022-07-18T20:19:50.767Z] 39a5fcdaea64: Pull complete [2022-07-18T20:19:50.767Z] d94ebbe4e438: Pull complete [2022-07-18T20:19:52.672Z] bcfd1f05c69d: Pull complete [2022-07-18T20:19:53.616Z] 59ccb84bbe0f: Pull complete [2022-07-18T20:19:53.616Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T20:19:53.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T20:19:53.616Z] ---> a4fb48ad2a94 [2022-07-18T20:19:53.616Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T20:19:56.158Z] ---> Running in 0ead34b4cd64 [2022-07-18T20:19:56.158Z] Removing intermediate container 0ead34b4cd64 [2022-07-18T20:19:56.158Z] ---> 9fc18a525055 [2022-07-18T20:19:56.158Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T20:19:56.158Z] ---> Running in 8a1e54d71915 [2022-07-18T20:19:56.158Z] Removing intermediate container 8a1e54d71915 [2022-07-18T20:19:56.158Z] ---> 7e942c48b161 [2022-07-18T20:19:56.158Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T20:19:56.158Z] ---> Running in 5d9a32efd6c6 [2022-07-18T20:19:56.419Z] Removing intermediate container 5d9a32efd6c6 [2022-07-18T20:19:56.419Z] ---> 75b61a495719 [2022-07-18T20:19:56.419Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T20:19:56.419Z] ---> Running in 4c604d876371 [2022-07-18T20:19:56.992Z] Removing intermediate container 4c604d876371 [2022-07-18T20:19:56.992Z] ---> 04d9a17efb03 [2022-07-18T20:19:56.992Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T20:19:56.992Z] ---> Running in 86a69bf96801 [2022-07-18T20:19:57.253Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T20:19:58.192Z] Still waiting to schedule task [2022-07-18T20:19:58.192Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T20:19:58.198Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T20:19:58.770Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T20:19:58.770Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T20:19:59.031Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T20:19:59.031Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T20:19:59.031Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T20:19:59.031Z] OK: 216 MiB in 55 packages [2022-07-18T20:19:59.604Z] Removing intermediate container 86a69bf96801 [2022-07-18T20:19:59.604Z] ---> 6afe34bf64e4 [2022-07-18T20:19:59.604Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-18T20:19:59.604Z] ---> Running in f4fb13fa29bb [2022-07-18T20:19:59.604Z] Removing intermediate container f4fb13fa29bb [2022-07-18T20:19:59.604Z] ---> bfe596eda529 [2022-07-18T20:19:59.604Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T20:19:59.865Z] ---> 6ea15fe41c70 [2022-07-18T20:19:59.865Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T20:19:59.865Z] ---> Running in 71e016cb114d [2022-07-18T20:20:26.460Z] Removing intermediate container 71e016cb114d [2022-07-18T20:20:26.460Z] ---> bcee92037d3c [2022-07-18T20:20:26.460Z] Step 11/12 : COPY . . [2022-07-18T20:20:26.460Z] ---> 67916dd686c2 [2022-07-18T20:20:26.460Z] Step 12/12 : RUN $MAKE [2022-07-18T20:20:26.460Z] ---> Running in 2d5e9946a381 [2022-07-18T20:20:26.460Z] noop [2022-07-18T20:20:26.460Z] Removing intermediate container 2d5e9946a381 [2022-07-18T20:20:26.460Z] ---> 2953a8693cdd [2022-07-18T20:20:26.460Z] Successfully built 2953a8693cdd [2022-07-18T20:20:26.460Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:20:26.900Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T20:20:26.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:20:27.066Z] prd-ubuntu20.04-docker-8c-8g-20439 does not seem to be running inside a container [2022-07-18T20:20:27.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-207 -v /w/workspace/gexfoundry_device-rest-go_PR-207:/w/workspace/gexfoundry_device-rest-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-207@tmp:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T20:20:27.455Z] $ docker top d76315731a15150fedf73407152e8d51c9a30db66de4d675ad62da2a3075fa76 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T20:20:27.862Z] + go version [2022-07-18T20:20:27.862Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T20:20:27.897Z] $ docker stop --time=1 d76315731a15150fedf73407152e8d51c9a30db66de4d675ad62da2a3075fa76 [2022-07-18T20:20:29.209Z] $ docker rm -f d76315731a15150fedf73407152e8d51c9a30db66de4d675ad62da2a3075fa76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:20:29.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T20:20:29.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:20:30.222Z] prd-ubuntu20.04-docker-8c-8g-20439 does not seem to be running inside a container [2022-07-18T20:20:30.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-207 -v /w/workspace/gexfoundry_device-rest-go_PR-207:/w/workspace/gexfoundry_device-rest-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-207@tmp:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-18T20:20:30.751Z] $ docker top d84f4e6bee90cf4cf2b74990509d83d67e87b9a3b8b39b9e9197a00b4e514cee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T20:20:31.165Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-207 [Pipeline] fileExists [Pipeline] sh [2022-07-18T20:20:31.524Z] + make test [2022-07-18T20:20:31.524Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T20:20:31.783Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-18T20:20:41.785Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-18T20:20:42.356Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-07-18T20:20:50.491Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-18T20:20:50.491Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T20:20:53.027Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T20:20:53.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T20:20:53.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T20:20:53.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T20:20:53.101Z] $ docker stop --time=1 d84f4e6bee90cf4cf2b74990509d83d67e87b9a3b8b39b9e9197a00b4e514cee [2022-07-18T20:20:55.192Z] $ docker rm -f d84f4e6bee90cf4cf2b74990509d83d67e87b9a3b8b39b9e9197a00b4e514cee [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T20:20:55.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T20:20:55.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T20:20:56.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T20:20:56.739Z] + ls -al . [2022-07-18T20:20:56.739Z] total 172 [2022-07-18T20:20:56.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 20:20 . [2022-07-18T20:20:56.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 20:19 .. [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 20:19 .dockerignore [2022-07-18T20:20:56.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 20:20 .git [2022-07-18T20:20:56.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 20:19 .github [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 20:19 .gitignore [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 20:19 .golangci.yml [2022-07-18T20:20:56.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 20:19 .semver [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 20:19 Attribution.txt [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 20:19 CHANGELOG.md [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 20:19 Dockerfile [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 20:19 GOVERNANCE.md [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 20:19 Jenkinsfile [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 20:19 LICENSE [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 20:19 Makefile [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 20:19 OWNERS.md [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 20:19 README.md [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 20:19 VERSION [2022-07-18T20:20:56.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 20:19 bin [2022-07-18T20:20:56.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 20:19 cmd [2022-07-18T20:20:56.739Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 20:20 coverage.out [2022-07-18T20:20:56.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 20:19 driver [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 20:19 go.mod [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 20:19 go.sum [2022-07-18T20:20:56.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 20:19 snap [2022-07-18T20:20:56.739Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:20:57.131Z] + 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=eadd394bb8d801aa6bc790772c870e1a21249c80 --label arch=amd64 --label version=0.0.0 . [2022-07-18T20:20:57.131Z] Sending build context to Docker daemon 10.7MB [2022-07-18T20:20:57.131Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T20:20:57.131Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-18T20:20:57.131Z] ---> 2953a8693cdd [2022-07-18T20:20:57.131Z] Step 3/25 : ARG MAKE='make build' [2022-07-18T20:20:57.392Z] ---> Running in 96d63fca9a97 [2022-07-18T20:20:57.392Z] Removing intermediate container 96d63fca9a97 [2022-07-18T20:20:57.392Z] ---> 25b9c70906e9 [2022-07-18T20:20:57.392Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T20:20:57.392Z] ---> Running in 9b1e8f1d9826 [2022-07-18T20:20:57.392Z] Removing intermediate container 9b1e8f1d9826 [2022-07-18T20:20:57.392Z] ---> 20e01634258b [2022-07-18T20:20:57.392Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T20:20:57.392Z] ---> Running in cd22c6b442f3 [2022-07-18T20:20:57.652Z] Removing intermediate container cd22c6b442f3 [2022-07-18T20:20:57.652Z] ---> 147e4f94c176 [2022-07-18T20:20:57.652Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T20:20:57.652Z] ---> Running in 580c146989a5 [2022-07-18T20:20:58.223Z] Removing intermediate container 580c146989a5 [2022-07-18T20:20:58.223Z] ---> ef33034b2f49 [2022-07-18T20:20:58.223Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T20:20:58.223Z] ---> Running in 8153de9ac4ce [2022-07-18T20:20:58.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T20:20:59.363Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T20:20:59.936Z] OK: 216 MiB in 55 packages [2022-07-18T20:21:00.197Z] Removing intermediate container 8153de9ac4ce [2022-07-18T20:21:00.198Z] ---> b62f61ed00a6 [2022-07-18T20:21:00.198Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-18T20:21:00.198Z] ---> Running in 0e279f33d43d [2022-07-18T20:21:00.198Z] Removing intermediate container 0e279f33d43d [2022-07-18T20:21:00.198Z] ---> 32b724eb9fdb [2022-07-18T20:21:00.198Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-18T20:21:00.458Z] ---> 753eed018e8e [2022-07-18T20:21:00.458Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T20:21:00.458Z] ---> Running in 3f230dd433f7 [2022-07-18T20:21:01.031Z] Removing intermediate container 3f230dd433f7 [2022-07-18T20:21:01.031Z] ---> 29a18c6bf12d [2022-07-18T20:21:01.031Z] Step 11/25 : COPY . . [2022-07-18T20:21:01.291Z] ---> 470b21c1b5a6 [2022-07-18T20:21:01.291Z] Step 12/25 : RUN $MAKE [2022-07-18T20:21:01.291Z] ---> Running in aa37cb766574 [2022-07-18T20:21:01.864Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-18T20:21:23.818Z] Removing intermediate container aa37cb766574 [2022-07-18T20:21:23.818Z] ---> b82e81577913 [2022-07-18T20:21:23.818Z] Step 13/25 : FROM alpine:3.16 [2022-07-18T20:21:23.818Z] 3.16: Pulling from library/alpine [2022-07-18T20:21:23.818Z] 2408cc74d12b: Already exists [2022-07-18T20:21:23.818Z] Digest: sha256:afb1adf03c8e455310fe52844312457bc242d3f0fae4cf545a3cb523e6d193aa [2022-07-18T20:21:23.818Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T20:21:23.818Z] ---> e66264b98777 [2022-07-18T20:21:23.818Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-18T20:21:23.818Z] ---> Running in 99844b09998d [2022-07-18T20:21:23.818Z] Removing intermediate container 99844b09998d [2022-07-18T20:21:23.818Z] ---> e5b27a476f21 [2022-07-18T20:21:23.818Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-18T20:21:23.818Z] ---> Running in 91fd16d3d882 [2022-07-18T20:21:23.818Z] Removing intermediate container 91fd16d3d882 [2022-07-18T20:21:23.818Z] ---> 372d06c208c9 [2022-07-18T20:21:23.818Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T20:21:23.818Z] ---> Running in eff341d56ea2 [2022-07-18T20:21:24.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T20:21:24.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T20:21:24.340Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T20:21:24.340Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T20:21:24.340Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T20:21:24.340Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T20:21:24.340Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T20:21:24.602Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T20:21:24.602Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T20:21:24.602Z] OK: 8 MiB in 20 packages [2022-07-18T20:21:24.864Z] Removing intermediate container eff341d56ea2 [2022-07-18T20:21:24.864Z] ---> 8a516111f225 [2022-07-18T20:21:24.864Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-18T20:21:25.434Z] ---> b9121f6ccfb3 [2022-07-18T20:21:25.434Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-18T20:21:25.695Z] ---> 721540901c21 [2022-07-18T20:21:25.695Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-18T20:21:25.695Z] ---> 62643fa4d880 [2022-07-18T20:21:25.695Z] Step 20/25 : EXPOSE 59986 [2022-07-18T20:21:25.695Z] ---> Running in dd639530aa0b [2022-07-18T20:21:25.955Z] Removing intermediate container dd639530aa0b [2022-07-18T20:21:25.955Z] ---> 6578cf4fd98e [2022-07-18T20:21:25.955Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-18T20:21:25.955Z] ---> Running in 9dbb6ff0566a [2022-07-18T20:21:25.955Z] Removing intermediate container 9dbb6ff0566a [2022-07-18T20:21:25.955Z] ---> 47422d9879cd [2022-07-18T20:21:25.955Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-18T20:21:25.956Z] ---> Running in d5b7cfce17cc [2022-07-18T20:21:25.956Z] Removing intermediate container d5b7cfce17cc [2022-07-18T20:21:25.956Z] ---> ea9da7c41a4f [2022-07-18T20:21:25.956Z] Step 23/25 : LABEL arch=amd64 [2022-07-18T20:21:25.956Z] ---> Running in 6e467c798ee0 [2022-07-18T20:21:26.216Z] Removing intermediate container 6e467c798ee0 [2022-07-18T20:21:26.216Z] ---> 48c33d3f661d [2022-07-18T20:21:26.216Z] Step 24/25 : LABEL git_sha=eadd394bb8d801aa6bc790772c870e1a21249c80 [2022-07-18T20:21:26.216Z] ---> Running in 205ceb77d4a7 [2022-07-18T20:21:26.216Z] Removing intermediate container 205ceb77d4a7 [2022-07-18T20:21:26.216Z] ---> 0ebfddce5d16 [2022-07-18T20:21:26.216Z] Step 25/25 : LABEL version=0.0.0 [2022-07-18T20:21:26.216Z] ---> Running in 41c0c8a6010b [2022-07-18T20:21:26.477Z] Removing intermediate container 41c0c8a6010b [2022-07-18T20:21:26.477Z] ---> 08952fc4084f [2022-07-18T20:21:26.477Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T20:21:26.477Z] Successfully built 08952fc4084f [2022-07-18T20:21:26.477Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:21:27.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T20:21:27.310Z] [2022-07-18T20:21:27.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:21:27.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T20:21:27.686Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T20:21:27.686Z] 5eb5b503b376: Pulling fs layer [2022-07-18T20:21:27.686Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T20:21:27.686Z] ec43610c2a17: Pulling fs layer [2022-07-18T20:21:27.686Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T20:21:27.686Z] 33b1e0a273af: Pulling fs layer [2022-07-18T20:21:27.686Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T20:21:27.686Z] 2f39f015ded8: Pulling fs layer [2022-07-18T20:21:27.686Z] 3a2ae6a8a46f: Waiting [2022-07-18T20:21:27.686Z] 33b1e0a273af: Waiting [2022-07-18T20:21:27.686Z] 2f39f015ded8: Waiting [2022-07-18T20:21:27.686Z] 5d3b04190fa2: Waiting [2022-07-18T20:21:27.686Z] 5c69ac0246d0: Download complete [2022-07-18T20:21:27.686Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T20:21:27.686Z] 3a2ae6a8a46f: Download complete [2022-07-18T20:21:27.686Z] 33b1e0a273af: Verifying Checksum [2022-07-18T20:21:27.686Z] 33b1e0a273af: Download complete [2022-07-18T20:21:27.686Z] ec43610c2a17: Verifying Checksum [2022-07-18T20:21:27.686Z] ec43610c2a17: Download complete [2022-07-18T20:21:27.686Z] 5d3b04190fa2: Download complete [2022-07-18T20:21:27.945Z] 5eb5b503b376: Verifying Checksum [2022-07-18T20:21:27.945Z] 5eb5b503b376: Download complete [2022-07-18T20:21:28.517Z] 2f39f015ded8: Download complete [2022-07-18T20:21:29.083Z] 5eb5b503b376: Pull complete [2022-07-18T20:21:29.342Z] 5c69ac0246d0: Pull complete [2022-07-18T20:21:29.911Z] ec43610c2a17: Pull complete [2022-07-18T20:21:29.911Z] 3a2ae6a8a46f: Pull complete [2022-07-18T20:21:30.171Z] 33b1e0a273af: Pull complete [2022-07-18T20:21:30.171Z] 5d3b04190fa2: Pull complete [2022-07-18T20:21:35.447Z] 2f39f015ded8: Pull complete [2022-07-18T20:21:35.447Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T20:21:35.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T20:21:35.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:21:35.694Z] prd-ubuntu20.04-docker-8c-8g-20439 does not seem to be running inside a container [2022-07-18T20:21:35.728Z] $ 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-207 -v /w/workspace/gexfoundry_device-rest-go_PR-207:/w/workspace/gexfoundry_device-rest-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-207@tmp:/w/workspace/gexfoundry_device-rest-go_PR-207@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-07-18T20:21:37.841Z] $ docker top 6fada2b2a67499933f747fe1e8b49508579382bbae3b5573d03ec1af88c4ba3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:21:38.314Z] ---> job-cost.sh [2022-07-18T20:21:38.314Z] lf-activate-venv: SKIPPING [2022-07-18T20:21:38.314Z] INFO: No Stack... [2022-07-18T20:21:38.884Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T20:21:39.175Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20440 in /w/workspace/gexfoundry_device-rest-go_PR-207 [Pipeline] { [Pipeline] ws [2022-07-18T20:21:39.218Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-07-18T20:21:39.300Z] The recommended git tool is: git [2022-07-18T20:21:39.451Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T20:21:39.769Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-207/archives/cost.csv [2022-07-18T20:21:39.769Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T20:21:39.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [2022-07-18T20:21:39.812Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] did not exist. Created. [2022-07-18T20:21:39.812Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T20:21:40.206Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T20:21:40.257Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T20:21:40.283Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T20:21:40.366Z] $ docker stop --time=1 6fada2b2a67499933f747fe1e8b49508579382bbae3b5573d03ec1af88c4ba3b [2022-07-18T20:21:41.535Z] $ docker rm -f 6fada2b2a67499933f747fe1e8b49508579382bbae3b5573d03ec1af88c4ba3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T20:21:45.046Z] using credential edgex-jenkins-ssh [2022-07-18T20:21:45.066Z] Cloning the remote Git repository [2022-07-18T20:21:45.150Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-18T20:21:45.423Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-07-18T20:21:45.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-18T20:21:45.497Z] > git --version # timeout=10 [2022-07-18T20:21:45.516Z] > git --version # 'git version 2.25.1' [2022-07-18T20:21:45.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T20:21:45.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T20:21:47.972Z] Merging remotes/origin/main commit a8865c056b3ddfa2315b5fa3a0a86be937f1051f into PR head commit eadd394bb8d801aa6bc790772c870e1a21249c80 [2022-07-18T20:21:48.182Z] Merge succeeded, producing eadd394bb8d801aa6bc790772c870e1a21249c80 [2022-07-18T20:21:48.183Z] Checking out Revision eadd394bb8d801aa6bc790772c870e1a21249c80 (PR-207) [2022-07-18T20:21:47.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-18T20:21:47.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T20:21:47.474Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-18T20:21:47.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-18T20:21:47.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T20:21:47.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/207/head:refs/remotes/origin/PR-207 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-18T20:21:47.996Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T20:21:48.012Z] > git checkout -f eadd394bb8d801aa6bc790772c870e1a21249c80 # timeout=10 [2022-07-18T20:21:48.096Z] > git remote # timeout=10 [2022-07-18T20:21:48.112Z] > git config --get remote.origin.url # timeout=10 [2022-07-18T20:21:48.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T20:21:48.138Z] > git merge a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 [2022-07-18T20:21:48.164Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-18T20:21:48.194Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T20:21:48.211Z] > git checkout -f eadd394bb8d801aa6bc790772c870e1a21249c80 # timeout=10 [2022-07-18T20:21:52.393Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-18T20:21:52.454Z] > git --version # timeout=10 [2022-07-18T20:21:52.470Z] > git --version # 'git version 2.25.1' [2022-07-18T20:21:52.485Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T20:21:53.577Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T20:21:53.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T20:21:53.577Z] Dload Upload Total Spent Left Speed [2022-07-18T20:21:53.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 95596 0 --:--:-- --:--:-- --:--:-- 95596 [Pipeline] sh [2022-07-18T20:21:54.287Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T20:21:54.647Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T20:21:54.647Z] + sudo tee /etc/docker/daemon.new [2022-07-18T20:21:54.647Z] { [2022-07-18T20:21:54.647Z] "registry-mirrors": [ [2022-07-18T20:21:54.647Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T20:21:54.647Z] ], [2022-07-18T20:21:54.647Z] "bip": "10.250.0.254/24", [2022-07-18T20:21:54.647Z] "hosts": [ [2022-07-18T20:21:54.647Z] "tcp://0.0.0.0:5555", [2022-07-18T20:21:54.647Z] "unix:///var/run/docker.sock" [2022-07-18T20:21:54.647Z] ], [2022-07-18T20:21:54.647Z] "mtu": 1458, [2022-07-18T20:21:54.647Z] "selinux-enabled": true, [2022-07-18T20:21:54.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T20:21:54.647Z] } [Pipeline] sh [2022-07-18T20:21:55.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T20:21:55.561Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T20:22:13.984Z] provisioning config files... [2022-07-18T20:22:14.008Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2282076103902538657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:22:14.403Z] ---> docker-login.sh [2022-07-18T20:22:14.404Z] nexus3.edgexfoundry.org:10001 [2022-07-18T20:22:14.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:22:15.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:22:15.272Z] Configure a credential helper to remove this warning. See [2022-07-18T20:22:15.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:22:15.272Z] [2022-07-18T20:22:15.272Z] Login Succeeded [2022-07-18T20:22:15.272Z] nexus3.edgexfoundry.org:10002 [2022-07-18T20:22:15.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:22:15.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:22:15.819Z] Configure a credential helper to remove this warning. See [2022-07-18T20:22:15.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:22:15.819Z] [2022-07-18T20:22:15.819Z] Login Succeeded [2022-07-18T20:22:15.819Z] nexus3.edgexfoundry.org:10003 [2022-07-18T20:22:16.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:22:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:22:16.095Z] Configure a credential helper to remove this warning. See [2022-07-18T20:22:16.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:22:16.095Z] [2022-07-18T20:22:16.095Z] Login Succeeded [2022-07-18T20:22:16.095Z] nexus3.edgexfoundry.org:10004 [2022-07-18T20:22:16.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:22:16.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:22:16.646Z] Configure a credential helper to remove this warning. See [2022-07-18T20:22:16.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:22:16.646Z] [2022-07-18T20:22:16.646Z] Login Succeeded [2022-07-18T20:22:16.646Z] docker.io [2022-07-18T20:22:16.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T20:22:17.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T20:22:17.190Z] Configure a credential helper to remove this warning. See [2022-07-18T20:22:17.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T20:22:17.190Z] [2022-07-18T20:22:17.190Z] Login Succeeded [2022-07-18T20:22:17.190Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T20:22:17.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T20:22:17.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T20:22:17.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T20:22:17.772Z] ========================================================= [2022-07-18T20:22:17.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T20:22:17.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:22:18.279Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T20:22:18.279Z] Sending build context to Docker daemon 126.5kB [2022-07-18T20:22:18.555Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T20:22:18.555Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T20:22:18.837Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T20:22:18.837Z] b3c136eddcbf: Pulling fs layer [2022-07-18T20:22:18.837Z] c0a3192eca97: Pulling fs layer [2022-07-18T20:22:18.837Z] a050256f5b6f: Pulling fs layer [2022-07-18T20:22:18.837Z] 656be50a0ddc: Pulling fs layer [2022-07-18T20:22:18.837Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T20:22:18.837Z] 46d945488cbd: Pulling fs layer [2022-07-18T20:22:18.837Z] 8a5474983e97: Pulling fs layer [2022-07-18T20:22:18.837Z] 329c88fbcd65: Pulling fs layer [2022-07-18T20:22:18.837Z] 2bbca73fdf42: Waiting [2022-07-18T20:22:18.837Z] 46d945488cbd: Waiting [2022-07-18T20:22:18.837Z] 8a5474983e97: Waiting [2022-07-18T20:22:18.837Z] 329c88fbcd65: Waiting [2022-07-18T20:22:18.837Z] 656be50a0ddc: Waiting [2022-07-18T20:22:18.837Z] a050256f5b6f: Download complete [2022-07-18T20:22:18.837Z] c0a3192eca97: Download complete [2022-07-18T20:22:18.837Z] 2bbca73fdf42: Download complete [2022-07-18T20:22:18.837Z] 46d945488cbd: Verifying Checksum [2022-07-18T20:22:18.837Z] 46d945488cbd: Download complete [2022-07-18T20:22:18.837Z] b3c136eddcbf: Verifying Checksum [2022-07-18T20:22:19.832Z] b3c136eddcbf: Pull complete [2022-07-18T20:22:19.832Z] 329c88fbcd65: Verifying Checksum [2022-07-18T20:22:19.832Z] 329c88fbcd65: Download complete [2022-07-18T20:22:20.438Z] c0a3192eca97: Pull complete [2022-07-18T20:22:20.714Z] a050256f5b6f: Pull complete [2022-07-18T20:22:21.318Z] 8a5474983e97: Verifying Checksum [2022-07-18T20:22:21.318Z] 8a5474983e97: Download complete [2022-07-18T20:22:21.917Z] 656be50a0ddc: Verifying Checksum [2022-07-18T20:22:21.917Z] 656be50a0ddc: Download complete [2022-07-18T20:22:34.331Z] 656be50a0ddc: Pull complete [2022-07-18T20:22:34.613Z] 2bbca73fdf42: Pull complete [2022-07-18T20:22:34.890Z] 46d945488cbd: Pull complete [2022-07-18T20:22:41.627Z] 8a5474983e97: Pull complete [2022-07-18T20:22:43.618Z] 329c88fbcd65: Pull complete [2022-07-18T20:22:43.618Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T20:22:43.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T20:22:43.618Z] ---> ff4287adb874 [2022-07-18T20:22:43.618Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T20:22:44.626Z] ---> Running in c1ac16bc1023 [2022-07-18T20:22:46.068Z] Removing intermediate container c1ac16bc1023 [2022-07-18T20:22:46.068Z] ---> 2a247a264df4 [2022-07-18T20:22:46.068Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T20:22:46.068Z] ---> Running in 27f7011aa847 [2022-07-18T20:22:46.068Z] Removing intermediate container 27f7011aa847 [2022-07-18T20:22:46.068Z] ---> 549f7c6dfede [2022-07-18T20:22:46.068Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T20:22:46.347Z] ---> Running in 3ee96b56b9fe [2022-07-18T20:22:46.621Z] Removing intermediate container 3ee96b56b9fe [2022-07-18T20:22:46.621Z] ---> f8861bcda921 [2022-07-18T20:22:46.621Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T20:22:46.621Z] ---> Running in 949207c16262 [2022-07-18T20:22:48.615Z] Removing intermediate container 949207c16262 [2022-07-18T20:22:48.615Z] ---> 0911a165726a [2022-07-18T20:22:48.615Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T20:22:48.615Z] ---> Running in 81c7375a6d48 [2022-07-18T20:22:49.213Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T20:22:50.188Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T20:22:51.166Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T20:22:51.166Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T20:22:51.439Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T20:22:51.439Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T20:22:51.712Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T20:22:51.712Z] OK: 226 MiB in 55 packages [2022-07-18T20:22:52.697Z] Removing intermediate container 81c7375a6d48 [2022-07-18T20:22:52.697Z] ---> 4cf508c2c4be [2022-07-18T20:22:52.697Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-18T20:22:52.697Z] ---> Running in c35cb2b6007d [2022-07-18T20:22:52.970Z] Removing intermediate container c35cb2b6007d [2022-07-18T20:22:52.970Z] ---> 4ba88f59292c [2022-07-18T20:22:52.970Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T20:22:53.567Z] ---> cee8829bc854 [2022-07-18T20:22:53.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T20:22:53.567Z] ---> Running in 477d51669601 [2022-07-18T20:23:40.563Z] Removing intermediate container 477d51669601 [2022-07-18T20:23:40.563Z] ---> 4fae3a65add2 [2022-07-18T20:23:40.563Z] Step 11/12 : COPY . . [2022-07-18T20:23:40.563Z] ---> a685e3f5cd83 [2022-07-18T20:23:40.563Z] Step 12/12 : RUN $MAKE [2022-07-18T20:23:40.563Z] ---> Running in 2fc020425aa1 [2022-07-18T20:23:40.563Z] noop [2022-07-18T20:23:40.563Z] Removing intermediate container 2fc020425aa1 [2022-07-18T20:23:40.563Z] ---> 4f0d14a630ec [2022-07-18T20:23:40.563Z] Successfully built 4f0d14a630ec [2022-07-18T20:23:40.563Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:23:41.045Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T20:23:41.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:23:41.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-20440 does not seem to be running inside a container [2022-07-18T20:23:41.459Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T20:23:42.739Z] $ docker top b63756c3c6925895bd9e6dcdcb899c7d455a7b1448657726560838cd08e252a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T20:23:43.703Z] + go version [2022-07-18T20:23:43.703Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T20:23:43.744Z] $ docker stop --time=1 b63756c3c6925895bd9e6dcdcb899c7d455a7b1448657726560838cd08e252a3 [2022-07-18T20:23:45.393Z] $ docker rm -f b63756c3c6925895bd9e6dcdcb899c7d455a7b1448657726560838cd08e252a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:23:46.255Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T20:23:46.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:23:46.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-20440 does not seem to be running inside a container [2022-07-18T20:23:46.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-18T20:23:47.915Z] $ docker top 786b9f176cf4da3ff4ac5b51de1fec91dcc1aa2bec904b182f084af123f0c6a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T20:23:48.869Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-18T20:23:49.596Z] + make test [2022-07-18T20:23:49.596Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T20:23:51.038Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-18T20:25:12.910Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-18T20:25:12.910Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-07-18T20:25:12.910Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T20:25:12.910Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T20:25:28.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T20:25:28.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T20:25:28.023Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T20:25:28.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T20:25:28.101Z] $ docker stop --time=1 786b9f176cf4da3ff4ac5b51de1fec91dcc1aa2bec904b182f084af123f0c6a9 [2022-07-18T20:25:29.896Z] $ docker rm -f 786b9f176cf4da3ff4ac5b51de1fec91dcc1aa2bec904b182f084af123f0c6a9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T20:25:30.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T20:25:30.939Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T20:25:31.381Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T20:25:31.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T20:25:32.336Z] + ls -al . [2022-07-18T20:25:32.336Z] total 168 [2022-07-18T20:25:32.336Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 20:23 . [2022-07-18T20:25:32.336Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 20:21 .. [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 20:21 .dockerignore [2022-07-18T20:25:32.336Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 20:21 .git [2022-07-18T20:25:32.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 20:21 .github [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 20:21 .gitignore [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 20:21 .golangci.yml [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 20:21 Attribution.txt [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 20:21 CHANGELOG.md [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 20:21 Dockerfile [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 20:21 GOVERNANCE.md [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 20:21 Jenkinsfile [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 20:21 LICENSE [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 20:21 Makefile [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 20:21 OWNERS.md [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 20:21 README.md [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 20:19 VERSION [2022-07-18T20:25:32.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 20:21 bin [2022-07-18T20:25:32.336Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 20:21 cmd [2022-07-18T20:25:32.336Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 20:25 coverage.out [2022-07-18T20:25:32.336Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 20:21 driver [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 20:21 go.mod [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 20:21 go.sum [2022-07-18T20:25:32.336Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 20:21 snap [2022-07-18T20:25:32.336Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:25:32.769Z] + 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=eadd394bb8d801aa6bc790772c870e1a21249c80 --label arch=arm64 --label version=0.0.0 . [2022-07-18T20:25:32.769Z] Sending build context to Docker daemon 136.7kB [2022-07-18T20:25:33.044Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T20:25:33.044Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-18T20:25:33.044Z] ---> 4f0d14a630ec [2022-07-18T20:25:33.044Z] Step 3/25 : ARG MAKE='make build' [2022-07-18T20:25:33.044Z] ---> Running in 13af4a3be8ab [2022-07-18T20:25:33.319Z] Removing intermediate container 13af4a3be8ab [2022-07-18T20:25:33.319Z] ---> cc866b93b332 [2022-07-18T20:25:33.319Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T20:25:33.596Z] ---> Running in 36927f97e3bf [2022-07-18T20:25:33.870Z] Removing intermediate container 36927f97e3bf [2022-07-18T20:25:33.870Z] ---> 9341dcdd116b [2022-07-18T20:25:33.870Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T20:25:33.870Z] ---> Running in f99c322b8dad [2022-07-18T20:25:34.148Z] Removing intermediate container f99c322b8dad [2022-07-18T20:25:34.148Z] ---> 3910d318f186 [2022-07-18T20:25:34.148Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T20:25:34.148Z] ---> Running in 0a929de9e618 [2022-07-18T20:25:36.126Z] Removing intermediate container 0a929de9e618 [2022-07-18T20:25:36.126Z] ---> f456a66f96cb [2022-07-18T20:25:36.126Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T20:25:36.126Z] ---> Running in e95710cae21e [2022-07-18T20:25:37.110Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T20:25:37.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T20:25:38.690Z] OK: 226 MiB in 55 packages [2022-07-18T20:25:39.290Z] Removing intermediate container e95710cae21e [2022-07-18T20:25:39.290Z] ---> 3b38c68aaa56 [2022-07-18T20:25:39.290Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-18T20:25:39.566Z] ---> Running in 2db92b2aaf0a [2022-07-18T20:25:39.840Z] Removing intermediate container 2db92b2aaf0a [2022-07-18T20:25:39.840Z] ---> da76a604ccd0 [2022-07-18T20:25:39.840Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-18T20:25:40.438Z] ---> f6d976e45638 [2022-07-18T20:25:40.438Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T20:25:40.438Z] ---> Running in bb6ae1ea8d02 [2022-07-18T20:25:42.421Z] Removing intermediate container bb6ae1ea8d02 [2022-07-18T20:25:42.421Z] ---> d3c5502cce5d [2022-07-18T20:25:42.421Z] Step 11/25 : COPY . . [2022-07-18T20:25:42.699Z] ---> 8bd3a6bdab29 [2022-07-18T20:25:42.699Z] Step 12/25 : RUN $MAKE [2022-07-18T20:25:42.977Z] ---> Running in ac42fef99b02 [2022-07-18T20:25:43.969Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-18T20:27:50.901Z] Removing intermediate container ac42fef99b02 [2022-07-18T20:27:50.901Z] ---> 93d776144ed0 [2022-07-18T20:27:50.901Z] Step 13/25 : FROM alpine:3.16 [2022-07-18T20:27:50.901Z] 3.16: Pulling from library/alpine [2022-07-18T20:27:50.901Z] b3c136eddcbf: Already exists [2022-07-18T20:27:50.901Z] Digest: sha256:afb1adf03c8e455310fe52844312457bc242d3f0fae4cf545a3cb523e6d193aa [2022-07-18T20:27:50.901Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T20:27:50.901Z] ---> 6e30ab57aeee [2022-07-18T20:27:50.901Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-18T20:27:50.901Z] ---> Running in 626952c78e65 [2022-07-18T20:27:50.901Z] Removing intermediate container 626952c78e65 [2022-07-18T20:27:50.901Z] ---> 0def188d47ba [2022-07-18T20:27:50.901Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-18T20:27:50.901Z] ---> Running in 4921b939ddc3 [2022-07-18T20:27:50.901Z] Removing intermediate container 4921b939ddc3 [2022-07-18T20:27:50.901Z] ---> 9fa0f4c916f9 [2022-07-18T20:27:50.901Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T20:27:50.901Z] ---> Running in 1de97ad47d0d [2022-07-18T20:27:50.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T20:27:50.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T20:27:50.901Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-18T20:27:50.901Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T20:27:50.901Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-18T20:27:50.901Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T20:27:50.901Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-18T20:27:50.901Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-18T20:27:50.901Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T20:27:50.901Z] OK: 8 MiB in 20 packages [2022-07-18T20:27:50.901Z] Removing intermediate container 1de97ad47d0d [2022-07-18T20:27:50.901Z] ---> 65b8b0160c37 [2022-07-18T20:27:50.901Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-18T20:27:50.901Z] ---> a76ccdad2a33 [2022-07-18T20:27:50.901Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-18T20:27:50.901Z] ---> baf3f7deda76 [2022-07-18T20:27:50.901Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-18T20:27:50.901Z] ---> 0e75f53805b9 [2022-07-18T20:27:50.901Z] Step 20/25 : EXPOSE 59986 [2022-07-18T20:27:50.901Z] ---> Running in 9d28f9a35566 [2022-07-18T20:27:50.901Z] Removing intermediate container 9d28f9a35566 [2022-07-18T20:27:50.901Z] ---> 8829b7d28689 [2022-07-18T20:27:50.901Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-18T20:27:50.901Z] ---> Running in 4d3b0e1ad382 [2022-07-18T20:27:50.901Z] Removing intermediate container 4d3b0e1ad382 [2022-07-18T20:27:50.901Z] ---> 4905aa1d6007 [2022-07-18T20:27:50.901Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-18T20:27:50.901Z] ---> Running in a41645068bb2 [2022-07-18T20:27:51.181Z] Removing intermediate container a41645068bb2 [2022-07-18T20:27:51.181Z] ---> 5bceedf031e6 [2022-07-18T20:27:51.181Z] Step 23/25 : LABEL arch=arm64 [2022-07-18T20:27:51.459Z] ---> Running in cc9a9de532f5 [2022-07-18T20:27:51.735Z] Removing intermediate container cc9a9de532f5 [2022-07-18T20:27:51.735Z] ---> 65e9ef66e611 [2022-07-18T20:27:51.735Z] Step 24/25 : LABEL git_sha=eadd394bb8d801aa6bc790772c870e1a21249c80 [2022-07-18T20:27:51.735Z] ---> Running in 2bf82e1b053d [2022-07-18T20:27:52.013Z] Removing intermediate container 2bf82e1b053d [2022-07-18T20:27:52.013Z] ---> 3ec57aee7c37 [2022-07-18T20:27:52.013Z] Step 25/25 : LABEL version=0.0.0 [2022-07-18T20:27:52.013Z] ---> Running in c912cc973eb4 [2022-07-18T20:27:52.619Z] Removing intermediate container c912cc973eb4 [2022-07-18T20:27:52.619Z] ---> 2b461c09e5a1 [2022-07-18T20:27:52.619Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T20:27:52.619Z] Successfully built 2b461c09e5a1 [2022-07-18T20:27:52.619Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:27:53.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T20:27:53.412Z] [2022-07-18T20:27:53.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:27:53.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T20:27:54.115Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T20:27:54.115Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T20:27:54.115Z] 04944245beec: Pulling fs layer [2022-07-18T20:27:54.115Z] 699f458cf7ca: Pulling fs layer [2022-07-18T20:27:54.115Z] 765212b225bb: Pulling fs layer [2022-07-18T20:27:54.115Z] f23df028b6ca: Pulling fs layer [2022-07-18T20:27:54.115Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T20:27:54.115Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T20:27:54.115Z] f23df028b6ca: Waiting [2022-07-18T20:27:54.115Z] d65c8cfc05b1: Waiting [2022-07-18T20:27:54.115Z] 2437ff75d9bd: Waiting [2022-07-18T20:27:54.115Z] 765212b225bb: Waiting [2022-07-18T20:27:54.115Z] 04944245beec: Download complete [2022-07-18T20:27:54.115Z] 765212b225bb: Verifying Checksum [2022-07-18T20:27:54.115Z] 765212b225bb: Download complete [2022-07-18T20:27:54.115Z] f23df028b6ca: Download complete [2022-07-18T20:27:54.391Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T20:27:54.391Z] d65c8cfc05b1: Download complete [2022-07-18T20:27:54.391Z] 699f458cf7ca: Verifying Checksum [2022-07-18T20:27:54.391Z] 699f458cf7ca: Download complete [2022-07-18T20:27:54.669Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T20:27:54.669Z] 8998bd30e6a1: Download complete [2022-07-18T20:27:57.301Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T20:27:57.301Z] 2437ff75d9bd: Download complete [2022-07-18T20:27:59.281Z] 8998bd30e6a1: Pull complete [2022-07-18T20:27:59.281Z] 04944245beec: Pull complete [2022-07-18T20:28:00.720Z] 699f458cf7ca: Pull complete [2022-07-18T20:28:01.002Z] 765212b225bb: Pull complete [2022-07-18T20:28:01.989Z] f23df028b6ca: Pull complete [2022-07-18T20:28:02.262Z] d65c8cfc05b1: Pull complete [2022-07-18T20:28:17.369Z] 2437ff75d9bd: Pull complete [2022-07-18T20:28:17.369Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T20:28:17.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T20:28:17.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:28:17.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-20440 does not seem to be running inside a container [2022-07-18T20:28:17.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-18T20:28:20.419Z] $ docker top ad2c651cc6cb576bc3bc5c29d308df7b89ba2a17ad2dda85885beaa38817668f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:21.419Z] ---> job-cost.sh [2022-07-18T20:28:21.419Z] lf-activate-venv: SKIPPING [2022-07-18T20:28:21.419Z] INFO: No Stack... [2022-07-18T20:28:21.694Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T20:28:22.669Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T20:28:23.352Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-07-18T20:28:23.352Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T20:28:23.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [2022-07-18T20:28:23.442Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] did not exist. Created. [2022-07-18T20:28:23.442Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T20:28:24.194Z] /w/workspace/device-rest-go/1@tmp/durable-09bdb787/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T20:28:24.899Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T20:28:24.934Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T20:28:24.976Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T20:28:24.993Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-207-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T20:28:25.075Z] $ docker stop --time=1 ad2c651cc6cb576bc3bc5c29d308df7b89ba2a17ad2dda85885beaa38817668f [2022-07-18T20:28:26.587Z] $ docker rm -f ad2c651cc6cb576bc3bc5c29d308df7b89ba2a17ad2dda85885beaa38817668f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-18T20:28:27.623Z] provisioning config files... [2022-07-18T20:28:27.651Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/config1420831192942607701tmp [Pipeline] { [Pipeline] sh [2022-07-18T20:28:27.985Z] + set +x [2022-07-18T20:28:27.985Z] + curl -s https://codecov.io/bash [2022-07-18T20:28:27.985Z] + bash -s -- [2022-07-18T20:28:27.985Z] [2022-07-18T20:28:27.985Z] _____ _ [2022-07-18T20:28:27.985Z] / ____| | | [2022-07-18T20:28:27.985Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T20:28:27.985Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T20:28:27.985Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T20:28:27.985Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T20:28:27.985Z] Bash-1.0.6 [2022-07-18T20:28:27.985Z] [2022-07-18T20:28:27.985Z] [2022-07-18T20:28:27.985Z] ==> git version 2.25.1 found [2022-07-18T20:28:27.985Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-18T20:28:27.985Z] Release-Date: 2020-01-08 [2022-07-18T20:28:27.985Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-18T20:28:27.985Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T20:28:27.985Z] ==> Jenkins CI detected. [2022-07-18T20:28:27.985Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-207 [2022-07-18T20:28:27.985Z] project root: . [2022-07-18T20:28:27.985Z] --> token set from env [2022-07-18T20:28:27.985Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T20:28:27.985Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T20:28:27.985Z] ==> Python coveragepy not found [2022-07-18T20:28:27.985Z] ==> Searching for coverage reports in: [2022-07-18T20:28:27.985Z] + . [2022-07-18T20:28:27.985Z] -> Found 1 reports [2022-07-18T20:28:27.985Z] ==> Detecting git/mercurial file structure [2022-07-18T20:28:27.985Z] ==> Reading reports [2022-07-18T20:28:28.245Z] + ./coverage.out bytes=9355 [2022-07-18T20:28:28.245Z] ==> Appending adjustments [2022-07-18T20:28:28.245Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T20:28:28.245Z] + Found adjustments [2022-07-18T20:28:28.245Z] ==> Gzipping contents [2022-07-18T20:28:28.245Z] 4.0K /tmp/codecov.n7a82x.gz [2022-07-18T20:28:28.245Z] ==> Uploading reports [2022-07-18T20:28:28.245Z] url: https://codecov.io [2022-07-18T20:28:28.245Z] query: branch=PR-207&commit=eadd394bb8d801aa6bc790772c870e1a21249c80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=207&job=&cmd_args= [2022-07-18T20:28:28.245Z] -> Pinging Codecov [2022-07-18T20:28:28.245Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-207&commit=eadd394bb8d801aa6bc790772c870e1a21249c80&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=207&job=&cmd_args= [2022-07-18T20:28:28.505Z] -> Uploading to [2022-07-18T20:28:28.505Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/4E5D53B4F1F92C436F7061BF334D961C/eadd394bb8d801aa6bc790772c870e1a21249c80/0324f6b9-387f-4912-8e9e-238727f3a79d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T202828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc39414a3bc9e0e31faabec45f4c899567cf80875248cb3533d543bc37f4282b [2022-07-18T20:28:28.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T20:28:28.505Z] Dload Upload Total Spent Left Speed [2022-07-18T20:28:28.767Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1758 0 0 100 1758 0 6234 --:--:-- --:--:-- --:--:-- 6212 100 1758 0 0 100 1758 0 6234 --:--:-- --:--:-- --:--:-- 6212 [2022-07-18T20:28:28.767Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/eadd394bb8d801aa6bc790772c870e1a21249c80 [Pipeline] } [2022-07-18T20:28:28.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-18T20:28:30.503Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-207/archives ] [2022-07-18T20:28:30.503Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-207/archives [2022-07-18T20:28:30.503Z] total 16 [2022-07-18T20:28:30.503Z] drwxr-xr-x 3 root root 4096 Jul 18 20:21 . [2022-07-18T20:28:30.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 20:21 .. [2022-07-18T20:28:30.503Z] drwxr-xr-x 2 root root 4096 Jul 18 20:21 cost [2022-07-18T20:28:30.503Z] -rw-r--r-- 1 root root 85 Jul 18 20:21 cost.csv [2022-07-18T20:28:30.503Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-207/archives [2022-07-18T20:28:30.503Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-207/archives [2022-07-18T20:28:30.503Z] total 16 [2022-07-18T20:28:30.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 20:21 . [2022-07-18T20:28:30.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 20:21 .. [2022-07-18T20:28:30.503Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 20:21 cost [2022-07-18T20:28:30.503Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 18 20:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:30.831Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:31.721Z] ---> package-listing.sh [2022-07-18T20:28:31.721Z] ++ facter osfamily [2022-07-18T20:28:31.721Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T20:28:31.980Z] + OS_FAMILY=debian [2022-07-18T20:28:31.980Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-207 [2022-07-18T20:28:31.980Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T20:28:31.980Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T20:28:31.980Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T20:28:31.980Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T20:28:31.980Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-207 ']' [2022-07-18T20:28:31.980Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T20:28:31.980Z] + case "${OS_FAMILY}" in [2022-07-18T20:28:31.980Z] + dpkg -l [2022-07-18T20:28:31.980Z] + grep '^ii' [2022-07-18T20:28:31.981Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T20:28:31.981Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T20:28:31.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T20:28:31.981Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-207 ']' [2022-07-18T20:28:31.981Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-207/archives/ [2022-07-18T20:28:31.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-207/archives/ [Pipeline] echo [2022-07-18T20:28:32.012Z] 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-207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-18T20:28:32.309Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T20:28:32.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T20:28:32.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T20:28:33.101Z] prd-ubuntu20.04-docker-8c-8g-20439 does not seem to be running inside a container [2022-07-18T20:28:33.139Z] $ 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-207/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-207 -v /w/workspace/gexfoundry_device-rest-go_PR-207:/w/workspace/gexfoundry_device-rest-go_PR-207:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-207@tmp:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-18T20:28:33.321Z] $ docker top dad361d4e19aae463a859ece39d5ebaec7a0efb7616b49ccb069e6e14635c771 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T20:28:33.721Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T20:28:34.043Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T20:28:34.354Z] + ls /var/log/sa-host [2022-07-18T20:28:34.355Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T20:28:34.489Z] provisioning config files... [2022-07-18T20:28:34.501Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-207@tmp/config6161006254368628077tmp [Pipeline] { [Pipeline] echo [2022-07-18T20:28:34.547Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:34.865Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T20:28:34.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:35.293Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T20:28:35.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:35.643Z] ---> sudo-logs.sh [2022-07-18T20:28:35.643Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T20:28:35.724Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:36.032Z] ---> job-cost.sh [2022-07-18T20:28:36.032Z] lf-activate-venv: SKIPPING [2022-07-18T20:28:36.032Z] DEBUG: total: 0.2199999988079071 [2022-07-18T20:28:36.032Z] INFO: Retrieving Stack Cost... [2022-07-18T20:28:36.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T20:28:36.863Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T20:28:36.897Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T20:28:37.210Z] ---> logs-deploy.sh [2022-07-18T20:28:37.210Z] lf-activate-venv: SKIPPING [2022-07-18T20:28:37.210Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-207/1 [2022-07-18T20:28:37.210Z] INFO: archiving workspace using pattern(s): [2022-07-18T20:28:38.158Z] Archives upload complete. [2022-07-18T20:28:38.418Z] INFO: archiving logs to Nexus