Pull request #190 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20d41b3bab5ff82f49c5ebdd339864f47be0f28f+78d408cb2e9c2823d5dddcb6179e75cdf16507ed (b3fb87f0871f2ad8b149f032e0b10835af59080d) 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-ssh16935805129939380961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh12251057060355161184.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7578392745594383898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh2111331584082752387.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13019305460306727292.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1575 in /w/workspace/gexfoundry_device-rest-go_PR-190 [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-190 # 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 78d408cb2e9c2823d5dddcb6179e75cdf16507ed into PR head commit 20d41b3bab5ff82f49c5ebdd339864f47be0f28f Merge succeeded, producing 20d41b3bab5ff82f49c5ebdd339864f47be0f28f Checking out Revision 20d41b3bab5ff82f49c5ebdd339864f47be0f28f (PR-190) > 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/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # 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 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T00:43:17.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T00:43:17.875Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T00:43:17.889Z] ========================================================= [2022-06-07T00:43:17.889Z] EdgeX Global Pipelines Version Info [2022-06-07T00:43:17.889Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 34992166ae0c1e9fe6d149153aa7d83c66273a5f # timeout=10 [2022-06-07T00:43:18.654Z] ------------------- [2022-06-07T00:43:18.654Z] stable info: [2022-06-07T00:43:18.654Z] ------------------- [2022-06-07T00:43:18.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T00:43:18.654Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:43:18.654Z] Message: update stable to v1.0.232 [2022-06-07T00:43:19.226Z] ------------------- [2022-06-07T00:43:19.226Z] experimental info: [2022-06-07T00:43:19.226Z] ------------------- [2022-06-07T00:43:19.226Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T00:43:19.226Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:43:19.226Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T00:43:19.405Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-07T00:43:19.414Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-07T00:43:19.431Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T00:43:19.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T00:43:19.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T00:43:19.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T00:43:19.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T00:43:19.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T00:43:19.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T00:43:19.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T00:43:19.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T00:43:19.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-07T00:43:19.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T00:43:19.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T00:43:19.555Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:43:19.566Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:43:19.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:43:19.587Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:43:19.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T00:43:19.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T00:43:19.622Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T00:43:19.634Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T00:43:19.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T00:43:19.659Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T00:43:19.671Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T00:43:19.684Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T00:43:19.698Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T00:43:19.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo [2022-06-07T00:43:19.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo [2022-06-07T00:43:19.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo [2022-06-07T00:43:19.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo [2022-06-07T00:43:19.754Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20d41b3 [Pipeline] echo [2022-06-07T00:43:19.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:43:19.808Z] provisioning config files... [2022-06-07T00:43:19.821Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config8565083980326440120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:43:20.125Z] ---> docker-login.sh [2022-06-07T00:43:20.125Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:43:20.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:20.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:20.384Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:20.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:20.384Z] [2022-06-07T00:43:20.384Z] Login Succeeded [2022-06-07T00:43:20.384Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:43:20.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:20.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:20.645Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:20.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:20.645Z] [2022-06-07T00:43:20.645Z] Login Succeeded [2022-06-07T00:43:20.646Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:43:20.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:20.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:20.646Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:20.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:20.646Z] [2022-06-07T00:43:20.646Z] Login Succeeded [2022-06-07T00:43:20.646Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:43:20.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:20.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:20.912Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:20.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:20.912Z] [2022-06-07T00:43:20.912Z] Login Succeeded [2022-06-07T00:43:20.912Z] docker.io [2022-06-07T00:43:20.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:21.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:21.173Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:21.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:21.173Z] [2022-06-07T00:43:21.173Z] Login Succeeded [2022-06-07T00:43:21.173Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:43:21.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T00:43:21.557Z] + git rev-list -1 --merges 20d41b3bab5ff82f49c5ebdd339864f47be0f28f~1..20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo [2022-06-07T00:43:21.590Z] -----------> git rev-list -1 --merges 20d41b3bab5ff82f49c5ebdd339864f47be0f28f~1..20d41b3bab5ff82f49c5ebdd339864f47be0f28f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [false] [Pipeline] sh [2022-06-07T00:43:21.881Z] + git log --format=format:%s -1 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo [2022-06-07T00:43:21.896Z] ========================================================= [2022-06-07T00:43:21.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T00:43:21.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:43:22.227Z] + git log --format=format:%s -1 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo [2022-06-07T00:43:22.241Z] [semverPrep] GIT_COMMIT: 20d41b3bab5ff82f49c5ebdd339864f47be0f28f, Commit Message: build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0 [Pipeline] echo [2022-06-07T00:43:22.249Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T00:43:22.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:43:22.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T00:43:22.588Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T00:43:22.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T00:43:22.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T00:43:22.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T00:43:22.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:22.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:43:22.945Z] [2022-06-07T00:43:22.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:23.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:43:23.253Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T00:43:23.253Z] 42c077c10790: Pulling fs layer [2022-06-07T00:43:23.253Z] f63e77b7563a: Pulling fs layer [2022-06-07T00:43:23.253Z] bd5fdadae976: Pulling fs layer [2022-06-07T00:43:23.253Z] 205491f53016: Pulling fs layer [2022-06-07T00:43:23.253Z] df18705c85c3: Pulling fs layer [2022-06-07T00:43:23.253Z] bdb3f477010e: Pulling fs layer [2022-06-07T00:43:23.253Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T00:43:23.253Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T00:43:23.253Z] bdb8f0575790: Pulling fs layer [2022-06-07T00:43:23.253Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T00:43:23.253Z] 2343380bae48: Pulling fs layer [2022-06-07T00:43:23.253Z] c8a8fc8e1c8f: Waiting [2022-06-07T00:43:23.253Z] 205491f53016: Waiting [2022-06-07T00:43:23.253Z] 386e3cb2ff24: Waiting [2022-06-07T00:43:23.253Z] df18705c85c3: Waiting [2022-06-07T00:43:23.253Z] bdb3f477010e: Waiting [2022-06-07T00:43:23.253Z] 2343380bae48: Waiting [2022-06-07T00:43:23.253Z] 2c6e9b1d212d: Waiting [2022-06-07T00:43:23.253Z] bdb8f0575790: Waiting [2022-06-07T00:43:23.253Z] f63e77b7563a: Verifying Checksum [2022-06-07T00:43:23.253Z] f63e77b7563a: Download complete [2022-06-07T00:43:23.253Z] 205491f53016: Verifying Checksum [2022-06-07T00:43:23.253Z] 205491f53016: Download complete [2022-06-07T00:43:23.513Z] df18705c85c3: Verifying Checksum [2022-06-07T00:43:23.513Z] df18705c85c3: Download complete [2022-06-07T00:43:23.513Z] bdb3f477010e: Verifying Checksum [2022-06-07T00:43:23.513Z] bdb3f477010e: Download complete [2022-06-07T00:43:23.513Z] bd5fdadae976: Verifying Checksum [2022-06-07T00:43:23.513Z] bd5fdadae976: Download complete [2022-06-07T00:43:23.513Z] 2c6e9b1d212d: Download complete [2022-06-07T00:43:23.513Z] bdb8f0575790: Download complete [2022-06-07T00:43:23.513Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T00:43:23.513Z] 386e3cb2ff24: Download complete [2022-06-07T00:43:23.513Z] 2343380bae48: Verifying Checksum [2022-06-07T00:43:23.513Z] 2343380bae48: Download complete [2022-06-07T00:43:23.513Z] 42c077c10790: Verifying Checksum [2022-06-07T00:43:23.513Z] 42c077c10790: Download complete [2022-06-07T00:43:23.772Z] c8a8fc8e1c8f: Download complete [2022-06-07T00:43:24.711Z] 42c077c10790: Pull complete [2022-06-07T00:43:24.971Z] f63e77b7563a: Pull complete [2022-06-07T00:43:25.541Z] bd5fdadae976: Pull complete [2022-06-07T00:43:25.541Z] 205491f53016: Pull complete [2022-06-07T00:43:25.799Z] df18705c85c3: Pull complete [2022-06-07T00:43:25.799Z] bdb3f477010e: Pull complete [2022-06-07T00:43:27.709Z] c8a8fc8e1c8f: Pull complete [2022-06-07T00:43:27.709Z] 2c6e9b1d212d: Pull complete [2022-06-07T00:43:27.709Z] bdb8f0575790: Pull complete [2022-06-07T00:43:27.709Z] 386e3cb2ff24: Pull complete [2022-06-07T00:43:27.709Z] 2343380bae48: Pull complete [2022-06-07T00:43:27.709Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T00:43:27.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:43:27.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:43:28.128Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2022-06-07T00:43:28.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@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-devops/py-git-semver:0.1.4 cat [2022-06-07T00:43:29.507Z] $ docker top 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb -eo pid,comm [2022-06-07T00:43:29.608Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-07T00:43:29.608Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:43:29.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:43:29.648Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:43:29.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:43:29.782Z] $ docker exec 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent [2022-06-07T00:43:29.891Z] SSH_AUTH_SOCK=/tmp/ssh-12tqAmcMsPfk/agent.34 [2022-06-07T00:43:29.891Z] SSH_AGENT_PID=40 [2022-06-07T00:43:29.897Z] Running ssh-add (command line suppressed) [2022-06-07T00:43:30.027Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7520512862630236678.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7520512862630236678.key) [2022-06-07T00:43:30.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:43:30.320Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T00:43:30.338Z] $ docker exec --env ******** --env ******** 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent -k [2022-06-07T00:43:30.448Z] unset SSH_AUTH_SOCK; [2022-06-07T00:43:30.448Z] unset SSH_AGENT_PID; [2022-06-07T00:43:30.449Z] echo Agent pid 40 killed; [2022-06-07T00:43:30.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T00:43:30.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:43:30.475Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:43:30.592Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:43:30.601Z] $ docker exec 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent [2022-06-07T00:43:30.711Z] SSH_AUTH_SOCK=/tmp/ssh-fUmJ25SIvbK4/agent.73 [2022-06-07T00:43:30.711Z] SSH_AGENT_PID=79 [2022-06-07T00:43:30.717Z] Running ssh-add (command line suppressed) [2022-06-07T00:43:30.829Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_8613002815265864157.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_8613002815265864157.key) [2022-06-07T00:43:30.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:43:31.133Z] + git semver init [2022-06-07T00:43:31.393Z] 2022-06-07 00:43:31,337 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T00:43:31.393Z] 2022-06-07 00:43:31,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver [2022-06-07T00:43:31.393Z] 2022-06-07 00:43:31,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-190/.semver [2022-06-07T00:43:31.393Z] 2022-06-07 00:43:31,339 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190, universal_newlines=False, shell=None, istream=None) [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,264 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.git/info/exclude [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 with force:False [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,268 [execute] INFO git cat-file --batch-check [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,274 [execute] INFO git cat-file --batch [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T00:43:32.336Z] 2022-06-07 00:43:32,280 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 [2022-06-07T00:43:32.336Z] 0.0.0 [Pipeline] } [2022-06-07T00:43:32.353Z] $ docker exec --env ******** --env ******** 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent -k [2022-06-07T00:43:32.465Z] unset SSH_AUTH_SOCK; [2022-06-07T00:43:32.466Z] unset SSH_AGENT_PID; [2022-06-07T00:43:32.466Z] echo Agent pid 79 killed; [2022-06-07T00:43:32.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:43:32.783Z] + git semver [Pipeline] } [2022-06-07T00:43:33.065Z] $ docker stop --time=1 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb [2022-06-07T00:43:34.374Z] $ docker rm -f 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:43:34.717Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T00:43:34.948Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T00:43:34.950Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:43:35.072Z] provisioning config files... [2022-06-07T00:43:35.082Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config8105842703997310398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:43:35.381Z] ---> docker-login.sh [2022-06-07T00:43:35.381Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:43:35.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:35.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:35.381Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:35.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:35.381Z] [2022-06-07T00:43:35.381Z] Login Succeeded [2022-06-07T00:43:35.381Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:43:35.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:35.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:35.381Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:35.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:35.381Z] [2022-06-07T00:43:35.381Z] Login Succeeded [2022-06-07T00:43:35.646Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:43:35.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:35.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:35.646Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:35.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:35.646Z] [2022-06-07T00:43:35.646Z] Login Succeeded [2022-06-07T00:43:35.646Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:43:35.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:35.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:35.906Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:35.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:35.906Z] [2022-06-07T00:43:35.906Z] Login Succeeded [2022-06-07T00:43:35.906Z] docker.io [2022-06-07T00:43:35.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:36.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:36.168Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:36.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:36.168Z] [2022-06-07T00:43:36.168Z] Login Succeeded [2022-06-07T00:43:36.168Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:43:36.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:43:36.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:43:36.249Z] ========================================================= [2022-06-07T00:43:36.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T00:43:36.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:36.564Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T00:43:36.564Z] Sending build context to Docker daemon 10.67MB [2022-06-07T00:43:36.564Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:43:36.564Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T00:43:36.564Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T00:43:36.564Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T00:43:36.564Z] 666ba61612fd: Pulling fs layer [2022-06-07T00:43:36.564Z] 8ed8ca486205: Pulling fs layer [2022-06-07T00:43:36.564Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T00:43:36.564Z] c516ae0d96e1: Pulling fs layer [2022-06-07T00:43:36.564Z] 684cea983483: Pulling fs layer [2022-06-07T00:43:36.564Z] dd3240ac7de5: Pulling fs layer [2022-06-07T00:43:36.564Z] b1e948a4e11c: Pulling fs layer [2022-06-07T00:43:36.564Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T00:43:36.564Z] 646ad004c059: Pulling fs layer [2022-06-07T00:43:36.564Z] cc1cd167ecdc: Waiting [2022-06-07T00:43:36.564Z] c516ae0d96e1: Waiting [2022-06-07T00:43:36.564Z] 684cea983483: Waiting [2022-06-07T00:43:36.564Z] 646ad004c059: Waiting [2022-06-07T00:43:36.564Z] b1e948a4e11c: Waiting [2022-06-07T00:43:36.564Z] 8ed8ca486205: Download complete [2022-06-07T00:43:36.564Z] 666ba61612fd: Download complete [2022-06-07T00:43:36.827Z] c516ae0d96e1: Verifying Checksum [2022-06-07T00:43:36.827Z] c516ae0d96e1: Download complete [2022-06-07T00:43:36.827Z] 684cea983483: Download complete [2022-06-07T00:43:36.827Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T00:43:36.827Z] 59bf1c3509f3: Download complete [2022-06-07T00:43:36.827Z] dd3240ac7de5: Verifying Checksum [2022-06-07T00:43:36.827Z] dd3240ac7de5: Download complete [2022-06-07T00:43:36.827Z] b1e948a4e11c: Verifying Checksum [2022-06-07T00:43:36.827Z] b1e948a4e11c: Download complete [2022-06-07T00:43:36.827Z] 59bf1c3509f3: Pull complete [2022-06-07T00:43:37.101Z] 666ba61612fd: Pull complete [2022-06-07T00:43:37.101Z] 8ed8ca486205: Pull complete [2022-06-07T00:43:37.361Z] 646ad004c059: Verifying Checksum [2022-06-07T00:43:37.362Z] 646ad004c059: Download complete [2022-06-07T00:43:37.362Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T00:43:37.362Z] a8fd76ee1af6: Download complete [2022-06-07T00:43:37.620Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T00:43:37.620Z] cc1cd167ecdc: Download complete [2022-06-07T00:43:40.908Z] cc1cd167ecdc: Pull complete [2022-06-07T00:43:40.908Z] c516ae0d96e1: Pull complete [2022-06-07T00:43:40.908Z] 684cea983483: Pull complete [2022-06-07T00:43:40.908Z] dd3240ac7de5: Pull complete [2022-06-07T00:43:41.167Z] b1e948a4e11c: Pull complete [2022-06-07T00:43:43.078Z] a8fd76ee1af6: Pull complete [2022-06-07T00:43:44.014Z] 646ad004c059: Pull complete [2022-06-07T00:43:44.014Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T00:43:44.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T00:43:44.014Z] ---> 8f69c11f6b0c [2022-06-07T00:43:44.014Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T00:43:45.398Z] ---> Running in 5bad711ed9b7 [2022-06-07T00:43:45.398Z] Removing intermediate container 5bad711ed9b7 [2022-06-07T00:43:45.398Z] ---> 97470c9d4477 [2022-06-07T00:43:45.398Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:43:45.398Z] ---> Running in 7c72259baf36 [2022-06-07T00:43:45.657Z] Removing intermediate container 7c72259baf36 [2022-06-07T00:43:45.657Z] ---> 062fa765cfed [2022-06-07T00:43:45.657Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:43:45.657Z] ---> Running in 1148eb53125d [2022-06-07T00:43:45.657Z] Removing intermediate container 1148eb53125d [2022-06-07T00:43:45.657Z] ---> 0a845295fe24 [2022-06-07T00:43:45.657Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:43:45.657Z] ---> Running in 796126346b03 [2022-06-07T00:43:46.228Z] Removing intermediate container 796126346b03 [2022-06-07T00:43:46.228Z] ---> 16c25d5c142d [2022-06-07T00:43:46.228Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:43:46.228Z] ---> Running in 1243be97ba6c [2022-06-07T00:43:46.488Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:43:47.431Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:43:47.691Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:43:47.691Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:43:47.691Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:43:47.951Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:43:47.951Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:43:47.951Z] OK: 224 MiB in 56 packages [2022-06-07T00:43:48.211Z] Removing intermediate container 1243be97ba6c [2022-06-07T00:43:48.211Z] ---> 1ec80f9a8d07 [2022-06-07T00:43:48.211Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T00:43:48.472Z] ---> Running in 63f9b0249395 [2022-06-07T00:43:48.472Z] Removing intermediate container 63f9b0249395 [2022-06-07T00:43:48.472Z] ---> c87fd1440aa5 [2022-06-07T00:43:48.472Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T00:43:48.472Z] ---> bc54ed461015 [2022-06-07T00:43:48.472Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:43:48.472Z] ---> Running in 0c1c241ff3f5 [2022-06-07T00:43:50.047Z] Still waiting to schedule task [2022-06-07T00:43:50.047Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1567’ [2022-06-07T00:44:00.693Z] Removing intermediate container 0c1c241ff3f5 [2022-06-07T00:44:00.693Z] ---> eb4ddbd35468 [2022-06-07T00:44:00.693Z] Step 11/12 : COPY . . [2022-06-07T00:44:00.953Z] ---> 4a5f5515da53 [2022-06-07T00:44:00.953Z] Step 12/12 : RUN $MAKE [2022-06-07T00:44:00.953Z] ---> Running in 79f380ca8219 [2022-06-07T00:44:01.213Z] noop [2022-06-07T00:44:01.475Z] Removing intermediate container 79f380ca8219 [2022-06-07T00:44:01.475Z] ---> 80401f587585 [2022-06-07T00:44:01.475Z] Successfully built 80401f587585 [2022-06-07T00:44:01.475Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:01.786Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:44:01.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:44:01.863Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2022-06-07T00:44:01.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T00:44:02.309Z] $ docker top 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:44:02.657Z] + go version [2022-06-07T00:44:02.657Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T00:44:02.681Z] $ docker stop --time=1 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 [2022-06-07T00:44:03.955Z] $ docker rm -f 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:04.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:44:04.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:44:04.508Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2022-06-07T00:44:04.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T00:44:04.929Z] $ docker top 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:44:05.286Z] + make test [2022-06-07T00:44:05.286Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T00:44:05.544Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T00:44:15.522Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T00:44:15.522Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-06-07T00:44:20.801Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:44:24.997Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:44:24.997Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:44:24.997Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T00:44:25.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T00:44:25.290Z] $ docker stop --time=1 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e [2022-06-07T00:44:26.991Z] $ docker rm -f 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:44:27.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:44:27.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T00:44:27.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:44:28.157Z] + ls -al . [2022-06-07T00:44:28.157Z] total 172 [2022-06-07T00:44:28.157Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 00:44 . [2022-06-07T00:44:28.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:43 .. [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:43 .dockerignore [2022-06-07T00:44:28.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:43 .git [2022-06-07T00:44:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 .github [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:43 .gitignore [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:43 .golangci.yml [2022-06-07T00:44:28.157Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:43 .semver [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:43 Attribution.txt [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:43 CHANGELOG.md [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:43 Dockerfile [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:43 GOVERNANCE.md [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:43 Jenkinsfile [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:43 LICENSE [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:43 Makefile [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:43 OWNERS.md [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:43 README.md [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:43 VERSION [2022-06-07T00:44:28.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:43 bin [2022-06-07T00:44:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 cmd [2022-06-07T00:44:28.157Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:44 coverage.out [2022-06-07T00:44:28.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:43 driver [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:43 go.mod [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 00:43 go.sum [2022-06-07T00:44:28.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 snap [2022-06-07T00:44:28.157Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:28.468Z] + 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=20d41b3bab5ff82f49c5ebdd339864f47be0f28f --label arch=amd64 --label version=0.0.0 . [2022-06-07T00:44:28.468Z] Sending build context to Docker daemon 10.68MB [2022-06-07T00:44:28.468Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:44:28.468Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T00:44:28.468Z] ---> 80401f587585 [2022-06-07T00:44:28.468Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T00:44:28.468Z] ---> Running in 60b653d49a3e [2022-06-07T00:44:28.729Z] Removing intermediate container 60b653d49a3e [2022-06-07T00:44:28.729Z] ---> a3c2fd31b9f9 [2022-06-07T00:44:28.729Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:44:28.729Z] ---> Running in 6a3133980fce [2022-06-07T00:44:28.729Z] Removing intermediate container 6a3133980fce [2022-06-07T00:44:28.729Z] ---> 1552946f1285 [2022-06-07T00:44:28.729Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:44:28.729Z] ---> Running in 49271390bf78 [2022-06-07T00:44:28.989Z] Removing intermediate container 49271390bf78 [2022-06-07T00:44:28.989Z] ---> 46332a6efacd [2022-06-07T00:44:28.989Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:44:28.989Z] ---> Running in 78ff5ef6c283 [2022-06-07T00:44:29.557Z] Removing intermediate container 78ff5ef6c283 [2022-06-07T00:44:29.557Z] ---> b26f13c0a4b4 [2022-06-07T00:44:29.557Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:44:29.557Z] ---> Running in bf53e49eccc6 [2022-06-07T00:44:29.817Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:30.761Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:31.020Z] OK: 224 MiB in 56 packages [2022-06-07T00:44:31.279Z] Removing intermediate container bf53e49eccc6 [2022-06-07T00:44:31.279Z] ---> 1d821432af52 [2022-06-07T00:44:31.279Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T00:44:31.279Z] ---> Running in fb9bdea4356f [2022-06-07T00:44:31.279Z] Removing intermediate container fb9bdea4356f [2022-06-07T00:44:31.279Z] ---> f861e674423c [2022-06-07T00:44:31.279Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T00:44:31.538Z] ---> 109d0de2b455 [2022-06-07T00:44:31.538Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:44:31.538Z] ---> Running in dab9cfde6819 [2022-06-07T00:44:32.109Z] Removing intermediate container dab9cfde6819 [2022-06-07T00:44:32.109Z] ---> d4a642f080d2 [2022-06-07T00:44:32.109Z] Step 11/25 : COPY . . [2022-06-07T00:44:32.370Z] ---> 5cde09a66c2c [2022-06-07T00:44:32.370Z] Step 12/25 : RUN $MAKE [2022-06-07T00:44:32.370Z] ---> Running in 4b3846b077d6 [2022-06-07T00:44:32.630Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T00:44:50.739Z] Removing intermediate container 4b3846b077d6 [2022-06-07T00:44:50.739Z] ---> a04920670862 [2022-06-07T00:44:50.739Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T00:44:50.999Z] 3.14: Pulling from library/alpine [2022-06-07T00:44:51.259Z] 8663204ce13b: Pulling fs layer [2022-06-07T00:44:51.827Z] 8663204ce13b: Verifying Checksum [2022-06-07T00:44:51.827Z] 8663204ce13b: Download complete [2022-06-07T00:44:51.827Z] 8663204ce13b: Pull complete [2022-06-07T00:44:51.827Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:44:51.827Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:44:51.827Z] ---> e04c818066af [2022-06-07T00:44:51.827Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T00:44:51.827Z] ---> Running in d0f7920cb0e5 [2022-06-07T00:44:52.086Z] Removing intermediate container d0f7920cb0e5 [2022-06-07T00:44:52.086Z] ---> bd58e884984f [2022-06-07T00:44:52.086Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T00:44:52.086Z] ---> Running in f9e35907620d [2022-06-07T00:44:52.086Z] Removing intermediate container f9e35907620d [2022-06-07T00:44:52.086Z] ---> 0110fff21180 [2022-06-07T00:44:52.086Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:44:52.086Z] ---> Running in 2ec4482e304a [2022-06-07T00:44:52.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:52.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:52.608Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:44:52.608Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:44:52.608Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:44:52.608Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:44:52.608Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:44:52.608Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:44:52.608Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:44:52.608Z] OK: 8 MiB in 20 packages [2022-06-07T00:44:53.180Z] Removing intermediate container 2ec4482e304a [2022-06-07T00:44:53.180Z] ---> 769df71315b0 [2022-06-07T00:44:53.180Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T00:44:53.750Z] ---> 12442e29c1e0 [2022-06-07T00:44:53.750Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T00:44:53.750Z] ---> 3d3af1ebca5f [2022-06-07T00:44:53.750Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T00:44:53.750Z] ---> 30ad055ffe59 [2022-06-07T00:44:53.750Z] Step 20/25 : EXPOSE 59986 [2022-06-07T00:44:54.010Z] ---> Running in 5c7af12ee32c [2022-06-07T00:44:54.010Z] Removing intermediate container 5c7af12ee32c [2022-06-07T00:44:54.010Z] ---> b62d4ce4019a [2022-06-07T00:44:54.010Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T00:44:54.010Z] ---> Running in 47d90eff2e8f [2022-06-07T00:44:54.010Z] Removing intermediate container 47d90eff2e8f [2022-06-07T00:44:54.010Z] ---> 566413675682 [2022-06-07T00:44:54.010Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:44:54.010Z] ---> Running in fd7a87b8f6ec [2022-06-07T00:44:54.275Z] Removing intermediate container fd7a87b8f6ec [2022-06-07T00:44:54.275Z] ---> f13fb84d0246 [2022-06-07T00:44:54.275Z] Step 23/25 : LABEL arch=amd64 [2022-06-07T00:44:54.275Z] ---> Running in 7ac65559266f [2022-06-07T00:44:54.275Z] Removing intermediate container 7ac65559266f [2022-06-07T00:44:54.275Z] ---> 8da83e78b47d [2022-06-07T00:44:54.275Z] Step 24/25 : LABEL git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f [2022-06-07T00:44:54.275Z] ---> Running in fffba860daaf [2022-06-07T00:44:54.535Z] Removing intermediate container fffba860daaf [2022-06-07T00:44:54.535Z] ---> bd7bce1b8e9b [2022-06-07T00:44:54.535Z] Step 25/25 : LABEL version=0.0.0 [2022-06-07T00:44:54.535Z] ---> Running in ae04c3e6ae26 [2022-06-07T00:44:54.535Z] Removing intermediate container ae04c3e6ae26 [2022-06-07T00:44:54.535Z] ---> 3be68544232f [2022-06-07T00:44:54.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:44:54.535Z] Successfully built 3be68544232f [2022-06-07T00:44:54.535Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:54.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:44:54.966Z] [2022-06-07T00:44:54.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:55.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:44:55.264Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T00:44:55.264Z] 5eb5b503b376: Pulling fs layer [2022-06-07T00:44:55.264Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T00:44:55.264Z] ec43610c2a17: Pulling fs layer [2022-06-07T00:44:55.264Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T00:44:55.264Z] 33b1e0a273af: Pulling fs layer [2022-06-07T00:44:55.264Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T00:44:55.264Z] 2f39f015ded8: Pulling fs layer [2022-06-07T00:44:55.264Z] 5d3b04190fa2: Waiting [2022-06-07T00:44:55.264Z] 33b1e0a273af: Waiting [2022-06-07T00:44:55.264Z] 3a2ae6a8a46f: Waiting [2022-06-07T00:44:55.264Z] 2f39f015ded8: Waiting [2022-06-07T00:44:55.264Z] 5c69ac0246d0: Verifying Checksum [2022-06-07T00:44:55.264Z] 5c69ac0246d0: Download complete [2022-06-07T00:44:55.265Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T00:44:55.265Z] 3a2ae6a8a46f: Download complete [2022-06-07T00:44:55.265Z] 33b1e0a273af: Verifying Checksum [2022-06-07T00:44:55.265Z] 33b1e0a273af: Download complete [2022-06-07T00:44:55.265Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T00:44:55.265Z] 5d3b04190fa2: Download complete [2022-06-07T00:44:55.265Z] ec43610c2a17: Verifying Checksum [2022-06-07T00:44:55.265Z] ec43610c2a17: Download complete [2022-06-07T00:44:55.526Z] 5eb5b503b376: Verifying Checksum [2022-06-07T00:44:55.526Z] 5eb5b503b376: Download complete [2022-06-07T00:44:56.094Z] 2f39f015ded8: Download complete [2022-06-07T00:44:56.663Z] 5eb5b503b376: Pull complete [2022-06-07T00:44:56.663Z] 5c69ac0246d0: Pull complete [2022-06-07T00:44:57.230Z] ec43610c2a17: Pull complete [2022-06-07T00:44:57.230Z] 3a2ae6a8a46f: Pull complete [2022-06-07T00:44:57.489Z] 33b1e0a273af: Pull complete [2022-06-07T00:44:57.489Z] 5d3b04190fa2: Pull complete [2022-06-07T00:45:01.682Z] 2f39f015ded8: Pull complete [2022-06-07T00:45:01.682Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T00:45:01.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:45:01.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:45:01.771Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2022-06-07T00:45:01.811Z] $ 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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T00:45:03.227Z] $ docker top 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:45:03.603Z] ---> job-cost.sh [2022-06-07T00:45:03.603Z] lf-activate-venv: SKIPPING [2022-06-07T00:45:03.603Z] INFO: No Stack... [2022-06-07T00:45:03.865Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:45:04.437Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:45:04.731Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-190/archives/cost.csv [2022-06-07T00:45:04.732Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:45:04.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [2022-06-07T00:45:04.750Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] did not exist. Created. [2022-06-07T00:45:04.750Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:45:05.055Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T00:45:05.084Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:45:05.091Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:45:05.114Z] $ docker stop --time=1 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 [2022-06-07T00:45:06.262Z] $ docker rm -f 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T00:46:55.807Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1578 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] ws [2022-06-07T00:46:55.821Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2022-06-07T00:46:55.877Z] The recommended git tool is: git [2022-06-07T00:47:02.493Z] using credential edgex-jenkins-ssh [2022-06-07T00:47:02.516Z] Cloning the remote Git repository [2022-06-07T00:47:02.594Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T00:47:02.677Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2022-06-07T00:47:02.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T00:47:02.768Z] > git --version # timeout=10 [2022-06-07T00:47:02.791Z] > git --version # 'git version 2.25.1' [2022-06-07T00:47:02.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:47:02.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:47:04.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-07T00:47:04.816Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:47:04.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-07T00:47:04.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T00:47:04.893Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:47:04.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T00:47:05.392Z] Merging remotes/origin/main commit 78d408cb2e9c2823d5dddcb6179e75cdf16507ed into PR head commit 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [2022-06-07T00:47:05.630Z] Merge succeeded, producing 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [2022-06-07T00:47:05.630Z] Checking out Revision 20d41b3bab5ff82f49c5ebdd339864f47be0f28f (PR-190) [2022-06-07T00:47:05.416Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T00:47:05.440Z] > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 [2022-06-07T00:47:05.535Z] > git remote # timeout=10 [2022-06-07T00:47:05.552Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T00:47:05.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:47:05.585Z] > git merge 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 [2022-06-07T00:47:05.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T00:47:05.643Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T00:47:05.655Z] > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 [2022-06-07T00:47:09.840Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:47:10.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T00:47:10.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:47:10.837Z] Dload Upload Total Spent Left Speed [2022-06-07T00:47:10.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2022-06-07T00:47:11.649Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T00:47:11.998Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T00:47:11.998Z] + sudo tee /etc/docker/daemon.new [2022-06-07T00:47:11.998Z] { [2022-06-07T00:47:11.998Z] "registry-mirrors": [ [2022-06-07T00:47:11.998Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T00:47:11.998Z] ], [2022-06-07T00:47:11.998Z] "bip": "10.250.0.254/24", [2022-06-07T00:47:11.998Z] "hosts": [ [2022-06-07T00:47:11.998Z] "tcp://0.0.0.0:5555", [2022-06-07T00:47:11.998Z] "unix:///var/run/docker.sock" [2022-06-07T00:47:11.998Z] ], [2022-06-07T00:47:11.998Z] "mtu": 1458, [2022-06-07T00:47:11.998Z] "selinux-enabled": true, [2022-06-07T00:47:11.998Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T00:47:11.998Z] } [Pipeline] sh [2022-06-07T00:47:12.351Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T00:47:12.697Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:47:31.056Z] provisioning config files... [2022-06-07T00:47:31.084Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config4645988771713668126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:47:31.685Z] ---> docker-login.sh [2022-06-07T00:47:31.685Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:47:32.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:32.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:32.882Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:32.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:32.882Z] [2022-06-07T00:47:32.882Z] Login Succeeded [2022-06-07T00:47:32.882Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:47:33.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:33.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:33.155Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:33.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:33.155Z] [2022-06-07T00:47:33.155Z] Login Succeeded [2022-06-07T00:47:33.155Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:47:33.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:33.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:33.759Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:33.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:33.759Z] [2022-06-07T00:47:33.759Z] Login Succeeded [2022-06-07T00:47:33.759Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:47:34.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:34.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:34.305Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:34.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:34.305Z] [2022-06-07T00:47:34.305Z] Login Succeeded [2022-06-07T00:47:34.305Z] docker.io [2022-06-07T00:47:34.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:34.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:34.852Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:34.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:34.852Z] [2022-06-07T00:47:34.852Z] Login Succeeded [2022-06-07T00:47:34.852Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:47:34.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:47:35.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:47:35.192Z] ========================================================= [2022-06-07T00:47:35.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T00:47:35.193Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:47:35.554Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T00:47:35.555Z] Sending build context to Docker daemon 128.5kB [2022-06-07T00:47:35.829Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:47:35.829Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T00:47:36.104Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T00:47:36.104Z] 9b3977197b4f: Pulling fs layer [2022-06-07T00:47:36.104Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T00:47:36.104Z] 94645a83ff95: Pulling fs layer [2022-06-07T00:47:36.104Z] e6fb740bc735: Pulling fs layer [2022-06-07T00:47:36.104Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T00:47:36.104Z] 355e64cbe906: Pulling fs layer [2022-06-07T00:47:36.104Z] 63ab81a10011: Pulling fs layer [2022-06-07T00:47:36.104Z] 555d1d1c4555: Pulling fs layer [2022-06-07T00:47:36.104Z] 7d9057610161: Pulling fs layer [2022-06-07T00:47:36.104Z] e6fb740bc735: Waiting [2022-06-07T00:47:36.104Z] 3a77bd46dcc9: Waiting [2022-06-07T00:47:36.104Z] 355e64cbe906: Waiting [2022-06-07T00:47:36.104Z] 63ab81a10011: Waiting [2022-06-07T00:47:36.104Z] 555d1d1c4555: Waiting [2022-06-07T00:47:36.104Z] 7d9057610161: Waiting [2022-06-07T00:47:36.104Z] 94645a83ff95: Verifying Checksum [2022-06-07T00:47:36.104Z] 94645a83ff95: Download complete [2022-06-07T00:47:36.104Z] 1a89e8eeedd5: Download complete [2022-06-07T00:47:36.104Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T00:47:36.104Z] 3a77bd46dcc9: Download complete [2022-06-07T00:47:36.104Z] 355e64cbe906: Verifying Checksum [2022-06-07T00:47:36.104Z] 355e64cbe906: Download complete [2022-06-07T00:47:36.104Z] 9b3977197b4f: Verifying Checksum [2022-06-07T00:47:36.104Z] 9b3977197b4f: Download complete [2022-06-07T00:47:36.104Z] 63ab81a10011: Verifying Checksum [2022-06-07T00:47:36.104Z] 63ab81a10011: Download complete [2022-06-07T00:47:37.555Z] 9b3977197b4f: Pull complete [2022-06-07T00:47:37.555Z] 7d9057610161: Verifying Checksum [2022-06-07T00:47:37.555Z] 7d9057610161: Download complete [2022-06-07T00:47:37.840Z] 1a89e8eeedd5: Pull complete [2022-06-07T00:47:38.118Z] 94645a83ff95: Pull complete [2022-06-07T00:47:38.395Z] 555d1d1c4555: Verifying Checksum [2022-06-07T00:47:38.395Z] 555d1d1c4555: Download complete [2022-06-07T00:47:39.002Z] e6fb740bc735: Download complete [2022-06-07T00:47:51.419Z] e6fb740bc735: Pull complete [2022-06-07T00:47:51.692Z] 3a77bd46dcc9: Pull complete [2022-06-07T00:47:51.966Z] 355e64cbe906: Pull complete [2022-06-07T00:47:52.241Z] 63ab81a10011: Pull complete [2022-06-07T00:47:58.956Z] 555d1d1c4555: Pull complete [2022-06-07T00:47:59.937Z] 7d9057610161: Pull complete [2022-06-07T00:47:59.937Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T00:47:59.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T00:47:59.937Z] ---> 819e984ddca1 [2022-06-07T00:47:59.937Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T00:48:00.537Z] ---> Running in dc0d97ea4d53 [2022-06-07T00:48:01.139Z] Removing intermediate container dc0d97ea4d53 [2022-06-07T00:48:01.139Z] ---> bc931662a650 [2022-06-07T00:48:01.139Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:48:01.139Z] ---> Running in 8022d837b372 [2022-06-07T00:48:01.416Z] Removing intermediate container 8022d837b372 [2022-06-07T00:48:01.416Z] ---> 6f48bbc8e231 [2022-06-07T00:48:01.416Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:48:01.416Z] ---> Running in 67c5aa98e476 [2022-06-07T00:48:03.422Z] Removing intermediate container 67c5aa98e476 [2022-06-07T00:48:03.422Z] ---> 5f7763fee829 [2022-06-07T00:48:03.422Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:48:03.422Z] ---> Running in 937392dd9654 [2022-06-07T00:48:05.419Z] Removing intermediate container 937392dd9654 [2022-06-07T00:48:05.419Z] ---> 7867cc435fb9 [2022-06-07T00:48:05.419Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:48:05.419Z] ---> Running in 8790c7513314 [2022-06-07T00:48:06.406Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:48:07.011Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:48:07.996Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:48:08.271Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:48:08.271Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:48:08.547Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:48:08.547Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:48:08.547Z] OK: 224 MiB in 56 packages [2022-06-07T00:48:09.556Z] Removing intermediate container 8790c7513314 [2022-06-07T00:48:09.556Z] ---> 17b158c2d561 [2022-06-07T00:48:09.556Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T00:48:09.556Z] ---> Running in 18896a32b10a [2022-06-07T00:48:10.155Z] Removing intermediate container 18896a32b10a [2022-06-07T00:48:10.155Z] ---> 4a13eba79ffe [2022-06-07T00:48:10.155Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T00:48:10.755Z] ---> bf70ad07bc95 [2022-06-07T00:48:10.755Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:48:10.755Z] ---> Running in 348e4bca7b21 [2022-06-07T00:49:07.369Z] Removing intermediate container 348e4bca7b21 [2022-06-07T00:49:07.370Z] ---> d6a6fa59b599 [2022-06-07T00:49:07.370Z] Step 11/12 : COPY . . [2022-06-07T00:49:07.370Z] ---> a31dafadef9a [2022-06-07T00:49:07.370Z] Step 12/12 : RUN $MAKE [2022-06-07T00:49:07.370Z] ---> Running in 0d1a18f7176e [2022-06-07T00:49:07.370Z] noop [2022-06-07T00:49:07.370Z] Removing intermediate container 0d1a18f7176e [2022-06-07T00:49:07.370Z] ---> da2e9cd6a9f4 [2022-06-07T00:49:07.370Z] Successfully built da2e9cd6a9f4 [2022-06-07T00:49:07.370Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:49:07.740Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:49:07.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:49:07.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container [2022-06-07T00:49:08.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T00:49:09.451Z] $ docker top bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:49:10.381Z] + go version [2022-06-07T00:49:10.381Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T00:49:10.412Z] $ docker stop --time=1 bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e [2022-06-07T00:49:12.100Z] $ docker rm -f bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:49:12.717Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:49:12.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:49:12.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container [2022-06-07T00:49:13.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T00:49:14.354Z] $ docker top 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:49:15.281Z] + make test [2022-06-07T00:49:15.281Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T00:49:17.264Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T00:50:54.171Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T00:50:54.171Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-06-07T00:50:54.171Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T00:50:54.171Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:51:21.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:51:21.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:51:21.018Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T00:51:24.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T00:51:24.464Z] $ docker stop --time=1 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a [2022-06-07T00:51:26.259Z] $ docker rm -f 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:51:27.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:51:27.269Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T00:51:27.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:51:28.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:51:28.481Z] + ls -al . [2022-06-07T00:51:28.481Z] total 168 [2022-06-07T00:51:28.481Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:51 . [2022-06-07T00:51:28.481Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:47 .. [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:47 .dockerignore [2022-06-07T00:51:28.481Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:47 .git [2022-06-07T00:51:28.481Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 .github [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:47 .gitignore [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:47 .golangci.yml [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:47 Attribution.txt [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:47 CHANGELOG.md [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:47 Dockerfile [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:47 GOVERNANCE.md [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:47 Jenkinsfile [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:47 LICENSE [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:47 Makefile [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:47 OWNERS.md [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:47 README.md [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:43 VERSION [2022-06-07T00:51:28.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:47 bin [2022-06-07T00:51:28.481Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 cmd [2022-06-07T00:51:28.481Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:50 coverage.out [2022-06-07T00:51:28.481Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:47 driver [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:47 go.mod [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 00:47 go.sum [2022-06-07T00:51:28.481Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 snap [2022-06-07T00:51:28.481Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:51:28.837Z] + 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=20d41b3bab5ff82f49c5ebdd339864f47be0f28f --label arch=arm64 --label version=0.0.0 . [2022-06-07T00:51:28.837Z] Sending build context to Docker daemon 138.8kB [2022-06-07T00:51:29.110Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:51:29.110Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T00:51:29.110Z] ---> da2e9cd6a9f4 [2022-06-07T00:51:29.110Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T00:51:29.110Z] ---> Running in 7ca0f081bde8 [2022-06-07T00:51:29.704Z] Removing intermediate container 7ca0f081bde8 [2022-06-07T00:51:29.704Z] ---> 017db53e1604 [2022-06-07T00:51:29.704Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:51:29.704Z] ---> Running in 6b6eb8358d0b [2022-06-07T00:51:29.980Z] Removing intermediate container 6b6eb8358d0b [2022-06-07T00:51:29.980Z] ---> 99b25a52ff84 [2022-06-07T00:51:29.980Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:51:29.980Z] ---> Running in 3ca9ee7187da [2022-06-07T00:51:30.265Z] Removing intermediate container 3ca9ee7187da [2022-06-07T00:51:30.265Z] ---> 02c99447559c [2022-06-07T00:51:30.265Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:51:30.265Z] ---> Running in 6fdfebe0a26c [2022-06-07T00:51:32.247Z] Removing intermediate container 6fdfebe0a26c [2022-06-07T00:51:32.247Z] ---> 55cfbe30cfde [2022-06-07T00:51:32.247Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:51:32.247Z] ---> Running in b89d6712cc07 [2022-06-07T00:51:33.235Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:51:34.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:51:34.829Z] OK: 224 MiB in 56 packages [2022-06-07T00:51:35.817Z] Removing intermediate container b89d6712cc07 [2022-06-07T00:51:35.817Z] ---> 8215cef29ad9 [2022-06-07T00:51:35.817Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T00:51:35.817Z] ---> Running in 40c9a59a46f3 [2022-06-07T00:51:36.094Z] Removing intermediate container 40c9a59a46f3 [2022-06-07T00:51:36.094Z] ---> 0cc40e23ff9e [2022-06-07T00:51:36.094Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T00:51:36.697Z] ---> f3da1f850a2e [2022-06-07T00:51:36.697Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:51:36.697Z] ---> Running in c10a460a55a7 [2022-06-07T00:51:38.683Z] Removing intermediate container c10a460a55a7 [2022-06-07T00:51:38.683Z] ---> db9a8d14fef2 [2022-06-07T00:51:38.683Z] Step 11/25 : COPY . . [2022-06-07T00:51:39.282Z] ---> f02fed414087 [2022-06-07T00:51:39.282Z] Step 12/25 : RUN $MAKE [2022-06-07T00:51:39.282Z] ---> Running in 68fd874e4853 [2022-06-07T00:51:40.270Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T00:54:02.241Z] Removing intermediate container 68fd874e4853 [2022-06-07T00:54:02.241Z] ---> 0e778a0181be [2022-06-07T00:54:02.241Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T00:54:02.241Z] 3.14: Pulling from library/alpine [2022-06-07T00:54:02.241Z] 455c02918c45: Pulling fs layer [2022-06-07T00:54:02.241Z] 455c02918c45: Verifying Checksum [2022-06-07T00:54:02.241Z] 455c02918c45: Download complete [2022-06-07T00:54:02.241Z] 455c02918c45: Pull complete [2022-06-07T00:54:02.241Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:54:02.241Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:54:02.241Z] ---> ac73e934f311 [2022-06-07T00:54:02.241Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T00:54:02.241Z] ---> Running in 389b4d308411 [2022-06-07T00:54:02.241Z] Removing intermediate container 389b4d308411 [2022-06-07T00:54:02.241Z] ---> 8bc7408b6f0d [2022-06-07T00:54:02.241Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T00:54:02.241Z] ---> Running in 79de519dbaa7 [2022-06-07T00:54:02.241Z] Removing intermediate container 79de519dbaa7 [2022-06-07T00:54:02.241Z] ---> 462b72249561 [2022-06-07T00:54:02.241Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:54:02.241Z] ---> Running in 5032760937ed [2022-06-07T00:54:02.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:54:02.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:54:02.241Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:54:02.241Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:54:02.241Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:54:02.241Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:54:02.241Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:54:02.241Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:54:02.241Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:54:02.241Z] OK: 8 MiB in 20 packages [2022-06-07T00:54:02.241Z] Removing intermediate container 5032760937ed [2022-06-07T00:54:02.241Z] ---> a7e9257fe4ca [2022-06-07T00:54:02.241Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T00:54:02.241Z] ---> d6ca712b208f [2022-06-07T00:54:02.241Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T00:54:02.241Z] ---> 9a797c999653 [2022-06-07T00:54:02.241Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T00:54:02.241Z] ---> e0749ecb7aee [2022-06-07T00:54:02.241Z] Step 20/25 : EXPOSE 59986 [2022-06-07T00:54:02.241Z] ---> Running in 9c0009d471b2 [2022-06-07T00:54:02.241Z] Removing intermediate container 9c0009d471b2 [2022-06-07T00:54:02.241Z] ---> 165f16fc3728 [2022-06-07T00:54:02.241Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T00:54:02.241Z] ---> Running in 16cc5f1f3dd6 [2022-06-07T00:54:02.241Z] Removing intermediate container 16cc5f1f3dd6 [2022-06-07T00:54:02.241Z] ---> 507afd484ed5 [2022-06-07T00:54:02.241Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:54:02.241Z] ---> Running in 99fa068e57de [2022-06-07T00:54:02.241Z] Removing intermediate container 99fa068e57de [2022-06-07T00:54:02.241Z] ---> eacff020cb69 [2022-06-07T00:54:02.241Z] Step 23/25 : LABEL arch=arm64 [2022-06-07T00:54:02.241Z] ---> Running in d176d0111c8f [2022-06-07T00:54:02.241Z] Removing intermediate container d176d0111c8f [2022-06-07T00:54:02.241Z] ---> 426bcdc3122c [2022-06-07T00:54:02.241Z] Step 24/25 : LABEL git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f [2022-06-07T00:54:02.241Z] ---> Running in 77cbe2da3568 [2022-06-07T00:54:02.241Z] Removing intermediate container 77cbe2da3568 [2022-06-07T00:54:02.241Z] ---> 9d28cf30e440 [2022-06-07T00:54:02.241Z] Step 25/25 : LABEL version=0.0.0 [2022-06-07T00:54:02.241Z] ---> Running in 88b8b686a9c6 [2022-06-07T00:54:02.515Z] Removing intermediate container 88b8b686a9c6 [2022-06-07T00:54:02.515Z] ---> af0f35caaca2 [2022-06-07T00:54:02.515Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:54:02.515Z] Successfully built af0f35caaca2 [2022-06-07T00:54:02.515Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:03.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:54:03.006Z] [2022-06-07T00:54:03.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:03.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:54:03.645Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T00:54:03.645Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T00:54:03.645Z] 04944245beec: Pulling fs layer [2022-06-07T00:54:03.645Z] 699f458cf7ca: Pulling fs layer [2022-06-07T00:54:03.645Z] 765212b225bb: Pulling fs layer [2022-06-07T00:54:03.645Z] f23df028b6ca: Pulling fs layer [2022-06-07T00:54:03.645Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T00:54:03.645Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T00:54:03.645Z] f23df028b6ca: Waiting [2022-06-07T00:54:03.645Z] d65c8cfc05b1: Waiting [2022-06-07T00:54:03.645Z] 2437ff75d9bd: Waiting [2022-06-07T00:54:03.645Z] 765212b225bb: Waiting [2022-06-07T00:54:03.645Z] 04944245beec: Verifying Checksum [2022-06-07T00:54:03.645Z] 04944245beec: Download complete [2022-06-07T00:54:03.645Z] 765212b225bb: Download complete [2022-06-07T00:54:03.645Z] f23df028b6ca: Verifying Checksum [2022-06-07T00:54:03.645Z] f23df028b6ca: Download complete [2022-06-07T00:54:03.645Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T00:54:03.645Z] d65c8cfc05b1: Download complete [2022-06-07T00:54:03.922Z] 699f458cf7ca: Verifying Checksum [2022-06-07T00:54:03.922Z] 699f458cf7ca: Download complete [2022-06-07T00:54:04.197Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T00:54:04.197Z] 8998bd30e6a1: Download complete [2022-06-07T00:54:06.836Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T00:54:06.836Z] 2437ff75d9bd: Download complete [2022-06-07T00:54:08.825Z] 8998bd30e6a1: Pull complete [2022-06-07T00:54:09.432Z] 04944245beec: Pull complete [2022-06-07T00:54:10.879Z] 699f458cf7ca: Pull complete [2022-06-07T00:54:10.879Z] 765212b225bb: Pull complete [2022-06-07T00:54:11.872Z] f23df028b6ca: Pull complete [2022-06-07T00:54:12.151Z] d65c8cfc05b1: Pull complete [2022-06-07T00:54:27.270Z] 2437ff75d9bd: Pull complete [2022-06-07T00:54:27.270Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T00:54:27.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:54:27.270Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:54:27.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container [2022-06-07T00:54:27.646Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T00:54:30.233Z] $ docker top 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:31.188Z] ---> job-cost.sh [2022-06-07T00:54:31.188Z] lf-activate-venv: SKIPPING [2022-06-07T00:54:31.188Z] INFO: No Stack... [2022-06-07T00:54:31.459Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T00:54:32.434Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:54:33.101Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2022-06-07T00:54:33.101Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:54:33.166Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [2022-06-07T00:54:33.172Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] did not exist. Created. [2022-06-07T00:54:33.172Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:54:33.947Z] /w/workspace/device-rest-go/5@tmp/durable-50701ee8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T00:54:34.637Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T00:54:34.654Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T00:54:34.699Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:54:34.706Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:54:34.730Z] $ docker stop --time=1 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 [2022-06-07T00:54:36.206Z] $ docker rm -f 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-07T00:54:36.631Z] provisioning config files... [2022-06-07T00:54:36.639Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config2794091448413691113tmp [Pipeline] { [Pipeline] sh [2022-06-07T00:54:36.930Z] + set +x [2022-06-07T00:54:36.930Z] + curl -s https://codecov.io/bash [2022-06-07T00:54:36.930Z] + bash -s -- [2022-06-07T00:54:36.930Z] [2022-06-07T00:54:36.930Z] _____ _ [2022-06-07T00:54:36.930Z] / ____| | | [2022-06-07T00:54:36.930Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T00:54:36.930Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T00:54:36.930Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T00:54:36.930Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T00:54:36.930Z] Bash-1.0.6 [2022-06-07T00:54:36.930Z] [2022-06-07T00:54:36.930Z] [2022-06-07T00:54:36.930Z] ==> git version 2.25.1 found [2022-06-07T00:54:36.930Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-07T00:54:36.930Z] Release-Date: 2020-01-08 [2022-06-07T00:54:36.930Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T00:54:36.930Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T00:54:36.930Z] ==> Jenkins CI detected. [2022-06-07T00:54:36.930Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-190 [2022-06-07T00:54:36.930Z] project root: . [2022-06-07T00:54:36.930Z] --> token set from env [2022-06-07T00:54:36.930Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T00:54:36.930Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T00:54:36.930Z] ==> Python coveragepy not found [2022-06-07T00:54:36.930Z] ==> Searching for coverage reports in: [2022-06-07T00:54:36.930Z] + . [2022-06-07T00:54:36.930Z] -> Found 1 reports [2022-06-07T00:54:36.930Z] ==> Detecting git/mercurial file structure [2022-06-07T00:54:36.930Z] ==> Reading reports [2022-06-07T00:54:36.930Z] + ./coverage.out bytes=9355 [2022-06-07T00:54:36.930Z] ==> Appending adjustments [2022-06-07T00:54:36.931Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T00:54:36.931Z] + Found adjustments [2022-06-07T00:54:37.195Z] ==> Gzipping contents [2022-06-07T00:54:37.195Z] 4.0K /tmp/codecov.Xxcxa8.gz [2022-06-07T00:54:37.195Z] ==> Uploading reports [2022-06-07T00:54:37.195Z] url: https://codecov.io [2022-06-07T00:54:37.195Z] query: branch=PR-190&commit=20d41b3bab5ff82f49c5ebdd339864f47be0f28f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= [2022-06-07T00:54:37.195Z] -> Pinging Codecov [2022-06-07T00:54:37.195Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-190&commit=20d41b3bab5ff82f49c5ebdd339864f47be0f28f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= [2022-06-07T00:54:37.457Z] -> Uploading to [2022-06-07T00:54:37.457Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/4E5D53B4F1F92C436F7061BF334D961C/20d41b3bab5ff82f49c5ebdd339864f47be0f28f/442541bf-9d75-4ffa-8ff4-cc85d5d19a45.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T005437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1671071c4ebc038894ecefc5ace5c071327b6af355d0cb90ac52da742df3936 [2022-06-07T00:54:37.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:54:37.457Z] Dload Upload Total Spent Left Speed [2022-06-07T00:54:37.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 8980 --:--:-- --:--:-- --:--:-- 8980 [2022-06-07T00:54:37.457Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] } [2022-06-07T00:54:37.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-07T00:54:38.148Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-190/archives ] [2022-06-07T00:54:38.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-06-07T00:54:38.148Z] total 16 [2022-06-07T00:54:38.148Z] drwxr-xr-x 3 root root 4096 Jun 7 00:45 . [2022-06-07T00:54:38.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:45 .. [2022-06-07T00:54:38.148Z] drwxr-xr-x 2 root root 4096 Jun 7 00:45 cost [2022-06-07T00:54:38.148Z] -rw-r--r-- 1 root root 85 Jun 7 00:45 cost.csv [2022-06-07T00:54:38.148Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-06-07T00:54:38.148Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives [2022-06-07T00:54:38.148Z] total 16 [2022-06-07T00:54:38.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:45 . [2022-06-07T00:54:38.148Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:45 .. [2022-06-07T00:54:38.148Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 00:45 cost [2022-06-07T00:54:38.148Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 7 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:38.449Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:39.316Z] ---> package-listing.sh [2022-06-07T00:54:39.316Z] ++ facter osfamily [2022-06-07T00:54:39.316Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T00:54:39.577Z] + OS_FAMILY=debian [2022-06-07T00:54:39.577Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-190 [2022-06-07T00:54:39.577Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T00:54:39.577Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T00:54:39.577Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T00:54:39.577Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T00:54:39.577Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' [2022-06-07T00:54:39.577Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T00:54:39.577Z] + case "${OS_FAMILY}" in [2022-06-07T00:54:39.577Z] + dpkg -l [2022-06-07T00:54:39.577Z] + grep '^ii' [2022-06-07T00:54:39.577Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T00:54:39.577Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T00:54:39.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T00:54:39.577Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' [2022-06-07T00:54:39.577Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [2022-06-07T00:54:39.577Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [Pipeline] echo [2022-06-07T00:54:39.592Z] 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T00:54:39.872Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:40.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:54:40.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:54:40.540Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2022-06-07T00:54:40.587Z] $ 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-190/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-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T00:54:40.828Z] $ docker top 3f5d241d48fec93b737ac660fa1e4e82940a3fa0de95c9d8de02d0c88c83d8e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:54:41.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T00:54:41.500Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T00:54:41.797Z] + ls /var/log/sa-host [2022-06-07T00:54:41.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:54:41.938Z] provisioning config files... [2022-06-07T00:54:41.947Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config4483246625846094567tmp [Pipeline] { [Pipeline] echo [2022-06-07T00:54:41.961Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:42.246Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T00:54:42.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:42.594Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T00:54:42.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:42.895Z] ---> sudo-logs.sh [2022-06-07T00:54:42.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T00:54:42.926Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:43.225Z] ---> job-cost.sh [2022-06-07T00:54:43.225Z] lf-activate-venv: SKIPPING [2022-06-07T00:54:43.225Z] DEBUG: total: 0.2199999988079071 [2022-06-07T00:54:43.225Z] INFO: Retrieving Stack Cost... [2022-06-07T00:54:43.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:54:44.061Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T00:54:44.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:44.370Z] ---> logs-deploy.sh [2022-06-07T00:54:44.370Z] lf-activate-venv: SKIPPING [2022-06-07T00:54:44.370Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-190/5 [2022-06-07T00:54:44.370Z] INFO: archiving workspace using pattern(s): [2022-06-07T00:54:45.310Z] Archives upload complete. [2022-06-07T00:54:45.310Z] INFO: archiving logs to Nexus