Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh10148555643658254996.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5761776226964262351.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4948398482133961176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh15055220206966376762.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16206171692172032149.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 ‘prd-ubuntu20.04-docker-8c-8g-16197’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16200 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:41:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:41:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:41:29 ========================================================= 08:41:29 EdgeX Global Pipelines Version Info 08:41:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:41:30 ------------------- 08:41:30 stable info: 08:41:30 ------------------- 08:41:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:41:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:41:30 Message: update stable to v1.0.234 08:41:30 ------------------- 08:41:30 experimental info: 08:41:30 ------------------- 08:41:30 Commited By: **** collab-it+edgex@linuxfoundation.org 08:41:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:41:30 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d7dd7b [Pipeline] echo 08:41:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:41:31 provisioning config files... 08:41:31 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6286872470002070224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:31 ---> docker-login.sh 08:41:31 nexus3.edgexfoundry.org:10001 08:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:32 Configure a credential helper to remove this warning. See 08:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:32 08:41:32 Login Succeeded 08:41:32 nexus3.edgexfoundry.org:10002 08:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:32 Configure a credential helper to remove this warning. See 08:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:32 08:41:32 Login Succeeded 08:41:32 nexus3.edgexfoundry.org:10003 08:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:32 Configure a credential helper to remove this warning. See 08:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:32 08:41:32 Login Succeeded 08:41:32 nexus3.edgexfoundry.org:10004 08:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:32 Configure a credential helper to remove this warning. See 08:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:32 08:41:32 Login Succeeded 08:41:32 docker.io 08:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:33 Configure a credential helper to remove this warning. See 08:41:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:33 08:41:33 Login Succeeded 08:41:33 ---> docker-login.sh ends [Pipeline] } 08:41:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:41:33 + git rev-list -1 --merges 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07~1..2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo 08:41:33 -----------> git rev-list -1 --merges 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07~1..2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:41:33 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [false] [Pipeline] sh 08:41:33 + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo 08:41:33 ========================================================= 08:41:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:41:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:41:34 + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] echo 08:41:34 [semverPrep] GIT_COMMIT: 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07, Commit Message: Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo 08:41:34 [semverPrep] This is not a build commit. [Pipeline] sh 08:41:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:41:34 + grep -v github /etc/ssh/ssh_known_hosts 08:41:34 + [ -e /tmp/ssh_known_hosts ] 08:41:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:41:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:41:34 + sudo tee -a /etc/ssh/ssh_known_hosts 08:41:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:35 08:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:35 0.1.4: Pulling from edgex-devops/py-git-semver 08:41:35 42c077c10790: Pulling fs layer 08:41:35 f63e77b7563a: Pulling fs layer 08:41:35 bd5fdadae976: Pulling fs layer 08:41:35 205491f53016: Pulling fs layer 08:41:35 df18705c85c3: Pulling fs layer 08:41:35 bdb3f477010e: Pulling fs layer 08:41:35 c8a8fc8e1c8f: Pulling fs layer 08:41:35 2c6e9b1d212d: Pulling fs layer 08:41:35 bdb8f0575790: Pulling fs layer 08:41:35 386e3cb2ff24: Pulling fs layer 08:41:35 2343380bae48: Pulling fs layer 08:41:35 c8a8fc8e1c8f: Waiting 08:41:35 2c6e9b1d212d: Waiting 08:41:35 205491f53016: Waiting 08:41:35 bdb8f0575790: Waiting 08:41:35 df18705c85c3: Waiting 08:41:35 386e3cb2ff24: Waiting 08:41:35 2343380bae48: Waiting 08:41:35 bdb3f477010e: Waiting 08:41:35 f63e77b7563a: Download complete 08:41:35 205491f53016: Verifying Checksum 08:41:35 205491f53016: Download complete 08:41:35 df18705c85c3: Verifying Checksum 08:41:35 df18705c85c3: Download complete 08:41:35 bdb3f477010e: Verifying Checksum 08:41:35 bdb3f477010e: Download complete 08:41:35 bd5fdadae976: Verifying Checksum 08:41:35 bd5fdadae976: Download complete 08:41:35 2c6e9b1d212d: Verifying Checksum 08:41:35 2c6e9b1d212d: Download complete 08:41:35 bdb8f0575790: Download complete 08:41:35 386e3cb2ff24: Download complete 08:41:35 2343380bae48: Verifying Checksum 08:41:35 2343380bae48: Download complete 08:41:35 42c077c10790: Verifying Checksum 08:41:35 42c077c10790: Download complete 08:41:35 c8a8fc8e1c8f: Download complete 08:41:37 42c077c10790: Pull complete 08:41:37 f63e77b7563a: Pull complete 08:41:37 bd5fdadae976: Pull complete 08:41:37 205491f53016: Pull complete 08:41:38 df18705c85c3: Pull complete 08:41:38 bdb3f477010e: Pull complete 08:41:40 c8a8fc8e1c8f: Pull complete 08:41:40 2c6e9b1d212d: Pull complete 08:41:40 bdb8f0575790: Pull complete 08:41:40 386e3cb2ff24: Pull complete 08:41:40 2343380bae48: Pull complete 08:41:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 08:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:40 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:41:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:41:42 $ docker top 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 -eo pid,comm 08:41:42 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). 08:41:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:41:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:41:42 [ssh-agent] Looking for ssh-agent implementation... 08:41:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:41:42 $ docker exec 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent 08:41:42 SSH_AUTH_SOCK=/tmp/ssh-igT48Xgscyof/agent.32 08:41:42 SSH_AGENT_PID=38 08:41:42 Running ssh-add (command line suppressed) 08:41:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3634404413699127376.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3634404413699127376.key) 08:41:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:41:43 + git tag --points-at HEAD [Pipeline] } 08:41:43 $ docker exec --env ******** --env ******** 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent -k 08:41:43 unset SSH_AUTH_SOCK; 08:41:43 unset SSH_AGENT_PID; 08:41:43 echo Agent pid 38 killed; 08:41:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:41:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:41:43 [ssh-agent] Looking for ssh-agent implementation... 08:41:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:41:43 $ docker exec 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent 08:41:43 SSH_AUTH_SOCK=/tmp/ssh-cQuEFGkPEj5O/agent.71 08:41:43 SSH_AGENT_PID=77 08:41:43 Running ssh-add (command line suppressed) 08:41:43 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240153213546060388.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_240153213546060388.key) 08:41:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:41:44 + git semver init 08:41:44 2022-06-28 08:41:44,458 [run_init] DEBUG init version:0.0.0 force:False 08:41:44 2022-06-28 08:41:44,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 08:41:44 2022-06-28 08:41:44,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 08:41:44 2022-06-28 08:41:44,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:41:45 2022-06-28 08:41:45,351 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 08:41:45 2022-06-28 08:41:45,352 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 08:41:45 2022-06-28 08:41:45,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:41:45 2022-06-28 08:41:45,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:41:45 2.2.1-dev.6 [Pipeline] } 08:41:45 $ docker exec --env ******** --env ******** 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 ssh-agent -k 08:41:45 unset SSH_AUTH_SOCK; 08:41:45 unset SSH_AGENT_PID; 08:41:45 echo Agent pid 77 killed; 08:41:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:41:45 + git semver [Pipeline] } 08:41:46 $ docker stop --time=1 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 08:41:47 $ docker rm -f 291b924abbc4d2e1304dc016e9a518a9f07ed79a43c46aa0abd0a127c2581c31 [Pipeline] // withDockerContainer [Pipeline] sh 08:41:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:41:48 Stashed 1 file(s) [Pipeline] echo 08:41:48 [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [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 08:41:48 provisioning config files... 08:41:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5612266021827797671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:41:48 ---> docker-login.sh 08:41:48 nexus3.edgexfoundry.org:10001 08:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:48 Configure a credential helper to remove this warning. See 08:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:48 08:41:48 Login Succeeded 08:41:48 nexus3.edgexfoundry.org:10002 08:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:48 Configure a credential helper to remove this warning. See 08:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:48 08:41:48 Login Succeeded 08:41:48 nexus3.edgexfoundry.org:10003 08:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:48 Configure a credential helper to remove this warning. See 08:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:48 08:41:48 Login Succeeded 08:41:48 nexus3.edgexfoundry.org:10004 08:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:49 Configure a credential helper to remove this warning. See 08:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:49 08:41:49 Login Succeeded 08:41:49 docker.io 08:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:41:49 Configure a credential helper to remove this warning. See 08:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:41:49 08:41:49 Login Succeeded 08:41:49 ---> docker-login.sh ends [Pipeline] } 08:41:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:41:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:41:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:41:49 ========================================================= 08:41:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:41:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:49 + 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 . 08:41:49 Sending build context to Docker daemon 10.67MB 08:41:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:41:49 Step 2/12 : FROM ${BASE} AS builder 08:41:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:41:49 59bf1c3509f3: Pulling fs layer 08:41:49 666ba61612fd: Pulling fs layer 08:41:49 8ed8ca486205: Pulling fs layer 08:41:49 cc1cd167ecdc: Pulling fs layer 08:41:49 c516ae0d96e1: Pulling fs layer 08:41:49 684cea983483: Pulling fs layer 08:41:49 dd3240ac7de5: Pulling fs layer 08:41:49 b1e948a4e11c: Pulling fs layer 08:41:49 a8fd76ee1af6: Pulling fs layer 08:41:49 646ad004c059: Pulling fs layer 08:41:49 cc1cd167ecdc: Waiting 08:41:49 dd3240ac7de5: Waiting 08:41:49 c516ae0d96e1: Waiting 08:41:49 b1e948a4e11c: Waiting 08:41:49 a8fd76ee1af6: Waiting 08:41:49 684cea983483: Waiting 08:41:49 646ad004c059: Waiting 08:41:49 8ed8ca486205: Verifying Checksum 08:41:49 8ed8ca486205: Download complete 08:41:49 666ba61612fd: Verifying Checksum 08:41:49 666ba61612fd: Download complete 08:41:50 c516ae0d96e1: Verifying Checksum 08:41:50 c516ae0d96e1: Download complete 08:41:50 684cea983483: Verifying Checksum 08:41:50 684cea983483: Download complete 08:41:50 dd3240ac7de5: Verifying Checksum 08:41:50 dd3240ac7de5: Download complete 08:41:50 59bf1c3509f3: Verifying Checksum 08:41:50 59bf1c3509f3: Download complete 08:41:50 b1e948a4e11c: Verifying Checksum 08:41:50 b1e948a4e11c: Download complete 08:41:50 59bf1c3509f3: Pull complete 08:41:50 666ba61612fd: Pull complete 08:41:50 8ed8ca486205: Pull complete 08:41:50 a8fd76ee1af6: Verifying Checksum 08:41:50 a8fd76ee1af6: Download complete 08:41:50 cc1cd167ecdc: Verifying Checksum 08:41:50 cc1cd167ecdc: Download complete 08:41:50 646ad004c059: Verifying Checksum 08:41:50 646ad004c059: Download complete 08:41:55 cc1cd167ecdc: Pull complete 08:41:55 c516ae0d96e1: Pull complete 08:41:55 684cea983483: Pull complete 08:41:55 dd3240ac7de5: Pull complete 08:41:55 b1e948a4e11c: Pull complete 08:41:57 a8fd76ee1af6: Pull complete 08:41:57 646ad004c059: Pull complete 08:41:57 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 08:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:41:57 ---> 8f69c11f6b0c 08:41:57 Step 3/12 : ARG MAKE='make build' 08:41:59 ---> Running in acebe06e7802 08:41:59 Removing intermediate container acebe06e7802 08:41:59 ---> 549f369de567 08:41:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:41:59 ---> Running in 7a399eeedc98 08:41:59 Removing intermediate container 7a399eeedc98 08:41:59 ---> 563d0791d39d 08:41:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:41:59 ---> Running in 60e37ceadbb4 08:41:59 Removing intermediate container 60e37ceadbb4 08:41:59 ---> bcc555a23445 08:41:59 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:41:59 ---> Running in 5f5f268c66d0 08:42:00 Removing intermediate container 5f5f268c66d0 08:42:00 ---> 72d5335847d2 08:42:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:00 ---> Running in 870fa3ea0675 08:42:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:42:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:42:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:42:02 (2/4) Installing libedit (20210910.3.1-r0) 08:42:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:42:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:42:02 Executing busybox-1.34.1-r3.trigger 08:42:02 OK: 224 MiB in 56 packages 08:42:02 Removing intermediate container 870fa3ea0675 08:42:02 ---> 2a9a78c93598 08:42:02 Step 8/12 : WORKDIR /device-rest-go 08:42:03 ---> Running in 4dc2a07e7c6c 08:42:03 Removing intermediate container 4dc2a07e7c6c 08:42:03 ---> 4c762915ce84 08:42:03 Step 9/12 : COPY go.mod vendor* ./ 08:42:03 Still waiting to schedule task 08:42:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:42:03 ---> 9b8a9a109039 08:42:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:03 ---> Running in cf0378fe8100 08:42:21 Removing intermediate container cf0378fe8100 08:42:21 ---> ad93063caca2 08:42:21 Step 11/12 : COPY . . 08:42:22 ---> 09538cce18c3 08:42:22 Step 12/12 : RUN $MAKE 08:42:22 ---> Running in 260596bb3dc2 08:42:22 noop 08:42:22 Removing intermediate container 260596bb3dc2 08:42:22 ---> fd8c6bb60fb8 08:42:22 Successfully built fd8c6bb60fb8 08:42:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:22 + docker inspect -f . ci-base-image-x86_64 08:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:22 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 08:42:23 $ docker top 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:23 + go version 08:42:23 go version go1.17.7 linux/amd64 [Pipeline] } 08:42:23 $ docker stop --time=1 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 08:42:25 $ docker rm -f 89f6758799805e495fba911e5f6c9590a34df8ba68affb6b8562bfdc12f4eb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:25 + docker inspect -f . ci-base-image-x86_64 08:42:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:25 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 08:42:25 $ docker top 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:42:26 + make test 08:42:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:42:26 ? github.com/edgexfoundry/device-rest-go [no test files] 08:42:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:42:36 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 08:42:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:42:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:42:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:42:46 ./bin/test-attribution-txt.sh [Pipeline] echo 08:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:42:46 $ docker stop --time=1 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c 08:42:47 $ docker rm -f 93ca7353ffa9474ef3736e64b91548c3d8313f103408fbc74c4cfcca1f97220c [Pipeline] // withDockerContainer [Pipeline] sh 08:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:42:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:42:49 + ls -al . 08:42:49 total 172 08:42:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 28 08:42 . 08:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 08:41 .. 08:42:49 -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 08:41 .dockerignore 08:42:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:41 .git 08:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 .github 08:42:49 -rw-rw-r-- 1 jenkins jenkins 329 Jun 28 08:41 .gitignore 08:42:49 -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 08:41 .golangci.yml 08:42:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 08:41 .semver 08:42:49 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 28 08:41 Attribution.txt 08:42:49 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 28 08:41 CHANGELOG.md 08:42:49 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 28 08:41 Dockerfile 08:42:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 08:41 GOVERNANCE.md 08:42:49 -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 08:41 Jenkinsfile 08:42:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 08:41 LICENSE 08:42:49 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 28 08:41 Makefile 08:42:49 -rw-rw-r-- 1 jenkins jenkins 620 Jun 28 08:41 OWNERS.md 08:42:49 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 28 08:41 README.md 08:42:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 08:41 VERSION 08:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:41 bin 08:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 cmd 08:42:49 -rw-r--r-- 1 jenkins jenkins 9355 Jun 28 08:42 coverage.out 08:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:41 driver 08:42:49 -rw-rw-r-- 1 jenkins jenkins 3338 Jun 28 08:41 go.mod 08:42:49 -rw-rw-r-- 1 jenkins jenkins 36281 Jun 28 08:41 go.sum 08:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:41 snap 08:42:49 -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 08:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:49 + 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=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 --label arch=amd64 --label version=2.2.1-dev.6 . 08:42:49 Sending build context to Docker daemon 10.68MB 08:42:49 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:42:49 Step 2/25 : FROM ${BASE} AS builder 08:42:49 ---> fd8c6bb60fb8 08:42:49 Step 3/25 : ARG MAKE='make build' 08:42:49 ---> Running in a8d048e8d37b 08:42:49 Removing intermediate container a8d048e8d37b 08:42:49 ---> ff4fd7bdb241 08:42:49 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:42:49 ---> Running in 59a57097d60d 08:42:49 Removing intermediate container 59a57097d60d 08:42:49 ---> 7cc574d16b5b 08:42:49 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:42:49 ---> Running in 866f8feabc95 08:42:49 Removing intermediate container 866f8feabc95 08:42:49 ---> 9326d173751a 08:42:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:42:49 ---> Running in 5678aba4b87b 08:42:50 Removing intermediate container 5678aba4b87b 08:42:50 ---> 81909d5fcf68 08:42:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:42:50 ---> Running in 3417f62b6556 08:42:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:42:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:42:51 OK: 224 MiB in 56 packages 08:42:52 Removing intermediate container 3417f62b6556 08:42:52 ---> ec0584a4a734 08:42:52 Step 8/25 : WORKDIR /device-rest-go 08:42:52 ---> Running in a25a79037788 08:42:52 Removing intermediate container a25a79037788 08:42:52 ---> 3937fa34054f 08:42:52 Step 9/25 : COPY go.mod vendor* ./ 08:42:52 ---> 8a28a65ea05a 08:42:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:42:52 ---> Running in 4f22b2c0a35b 08:42:53 Removing intermediate container 4f22b2c0a35b 08:42:53 ---> 2b72d7a02ebe 08:42:53 Step 11/25 : COPY . . 08:42:53 ---> 0c31f55f2734 08:42:53 Step 12/25 : RUN $MAKE 08:42:53 ---> Running in c80f15aeefa2 08:42:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:43:15 Removing intermediate container c80f15aeefa2 08:43:15 ---> 657404c7c8a0 08:43:15 Step 13/25 : FROM alpine:3.14 08:43:15 3.14: Pulling from library/alpine 08:43:15 8663204ce13b: Pulling fs layer 08:43:15 8663204ce13b: Verifying Checksum 08:43:15 8663204ce13b: Download complete 08:43:15 8663204ce13b: Pull complete 08:43:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:43:15 Status: Downloaded newer image for alpine:3.14 08:43:15 ---> e04c818066af 08:43:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:43:15 ---> Running in 67609f36a024 08:43:15 Removing intermediate container 67609f36a024 08:43:15 ---> fcabf120f597 08:43:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:43:15 ---> Running in 6d82fe9a3c4d 08:43:15 Removing intermediate container 6d82fe9a3c4d 08:43:15 ---> 1b11456feac6 08:43:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:43:15 ---> Running in e16f065b9dd4 08:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:43:15 (1/6) Installing dumb-init (1.2.5-r1) 08:43:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:43:15 (3/6) Installing libsodium (1.0.18-r0) 08:43:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:43:15 (5/6) Installing libzmq (4.3.4-r0) 08:43:15 (6/6) Installing zeromq (4.3.4-r0) 08:43:15 Executing busybox-1.33.1-r7.trigger 08:43:15 OK: 8 MiB in 20 packages 08:43:15 Removing intermediate container e16f065b9dd4 08:43:15 ---> 1f82e52bc121 08:43:15 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:43:15 ---> 14f2e4d014ac 08:43:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:43:15 ---> c5136ce06267 08:43:15 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:43:15 ---> b49d0984221a 08:43:15 Step 20/25 : EXPOSE 59986 08:43:15 ---> Running in 402de2537045 08:43:15 Removing intermediate container 402de2537045 08:43:15 ---> 1a38949fc5b5 08:43:15 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:43:15 ---> Running in 7a0ab19f1b11 08:43:15 Removing intermediate container 7a0ab19f1b11 08:43:15 ---> 84edb2ca1a2d 08:43:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:43:15 ---> Running in a1febe209ed3 08:43:15 Removing intermediate container a1febe209ed3 08:43:15 ---> 26540cac636a 08:43:15 Step 23/25 : LABEL arch=amd64 08:43:15 ---> Running in 31595c27f3d8 08:43:16 Removing intermediate container 31595c27f3d8 08:43:16 ---> e22433936720 08:43:16 Step 24/25 : LABEL git_sha=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:43:16 ---> Running in 7cb632f41e03 08:43:16 Removing intermediate container 7cb632f41e03 08:43:16 ---> 52f3f02cc744 08:43:16 Step 25/25 : LABEL version=2.2.1-dev.6 08:43:16 ---> Running in 4b9faf7ab79d 08:43:16 Removing intermediate container 4b9faf7ab79d 08:43:16 ---> 2446a70593e4 08:43:16 [Warning] One or more build-args [ARCH] were not consumed 08:43:16 Successfully built 2446a70593e4 08:43:16 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:16 provisioning config files... 08:43:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6636660694759912543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:16 ---> docker-login.sh 08:43:16 nexus3.edgexfoundry.org:10001 08:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:16 Configure a credential helper to remove this warning. See 08:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:16 08:43:16 Login Succeeded 08:43:16 nexus3.edgexfoundry.org:10002 08:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:16 Configure a credential helper to remove this warning. See 08:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:16 08:43:16 Login Succeeded 08:43:16 nexus3.edgexfoundry.org:10003 08:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:16 Configure a credential helper to remove this warning. See 08:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:16 08:43:16 Login Succeeded 08:43:16 nexus3.edgexfoundry.org:10004 08:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:17 Configure a credential helper to remove this warning. See 08:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:17 08:43:17 Login Succeeded 08:43:17 docker.io 08:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:43:17 Configure a credential helper to remove this warning. See 08:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:43:17 08:43:17 Login Succeeded 08:43:17 ---> docker-login.sh ends [Pipeline] } 08:43:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:43:17 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 08:43:17 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:43:17 latest 08:43:17 2.2.1-dev.6 08:43:17 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:43:17 main 08:43:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:43:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:43:18 114b82724278: Preparing 08:43:18 41cf5371f99d: Preparing 08:43:18 ce3c1b827e20: Preparing 08:43:18 a18820ccc61b: Preparing 08:43:18 b541d28bf3b4: Preparing 08:43:18 b541d28bf3b4: Layer already exists 08:43:18 114b82724278: Pushed 08:43:18 41cf5371f99d: Pushed 08:43:18 a18820ccc61b: Pushed 08:43:21 ce3c1b827e20: Pushed 08:43:21 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 08:43:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:43:21 114b82724278: Preparing 08:43:21 41cf5371f99d: Preparing 08:43:21 ce3c1b827e20: Preparing 08:43:21 a18820ccc61b: Preparing 08:43:21 b541d28bf3b4: Preparing 08:43:21 114b82724278: Layer already exists 08:43:21 b541d28bf3b4: Layer already exists 08:43:21 41cf5371f99d: Layer already exists 08:43:21 ce3c1b827e20: Layer already exists 08:43:21 a18820ccc61b: Layer already exists 08:43:21 latest: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 08:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:43:22 114b82724278: Preparing 08:43:22 41cf5371f99d: Preparing 08:43:22 ce3c1b827e20: Preparing 08:43:22 a18820ccc61b: Preparing 08:43:22 b541d28bf3b4: Preparing 08:43:22 b541d28bf3b4: Layer already exists 08:43:22 114b82724278: Layer already exists 08:43:22 ce3c1b827e20: Layer already exists 08:43:22 a18820ccc61b: Layer already exists 08:43:22 41cf5371f99d: Layer already exists 08:43:22 2.2.1-dev.6: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:22 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:22 + docker push nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:43:22 114b82724278: Preparing 08:43:22 41cf5371f99d: Preparing 08:43:22 ce3c1b827e20: Preparing 08:43:22 a18820ccc61b: Preparing 08:43:22 b541d28bf3b4: Preparing 08:43:22 41cf5371f99d: Layer already exists 08:43:22 a18820ccc61b: Layer already exists 08:43:22 b541d28bf3b4: Layer already exists 08:43:22 ce3c1b827e20: Layer already exists 08:43:22 114b82724278: Layer already exists 08:43:22 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 08:43:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 08:43:23 114b82724278: Preparing 08:43:23 41cf5371f99d: Preparing 08:43:23 ce3c1b827e20: Preparing 08:43:23 a18820ccc61b: Preparing 08:43:23 b541d28bf3b4: Preparing 08:43:23 b541d28bf3b4: Layer already exists 08:43:23 a18820ccc61b: Layer already exists 08:43:23 114b82724278: Layer already exists 08:43:23 41cf5371f99d: Layer already exists 08:43:23 ce3c1b827e20: Layer already exists 08:43:23 main: digest: sha256:4e7a5ce0f283e497634f60106f82e59cc41ac8b6327d8352baf57dd833912bc5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:43:23 ===================================================== [Pipeline] echo 08:43:23 taggedImages: 08:43:23 - nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:43:23 - nexus3.edgexfoundry.org:10004/device-rest:latest 08:43:23 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.6 08:43:23 - nexus3.edgexfoundry.org:10004/device-rest:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:43:23 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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 08:43:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:23 08:43:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:24 latest: Pulling from edgex-lftools-log-publisher 08:43:24 5eb5b503b376: Pulling fs layer 08:43:24 5c69ac0246d0: Pulling fs layer 08:43:24 ec43610c2a17: Pulling fs layer 08:43:24 3a2ae6a8a46f: Pulling fs layer 08:43:24 33b1e0a273af: Pulling fs layer 08:43:24 5d3b04190fa2: Pulling fs layer 08:43:24 2f39f015ded8: Pulling fs layer 08:43:24 3a2ae6a8a46f: Waiting 08:43:24 5d3b04190fa2: Waiting 08:43:24 33b1e0a273af: Waiting 08:43:24 2f39f015ded8: Waiting 08:43:24 5c69ac0246d0: Verifying Checksum 08:43:24 5c69ac0246d0: Download complete 08:43:24 3a2ae6a8a46f: Verifying Checksum 08:43:24 3a2ae6a8a46f: Download complete 08:43:24 33b1e0a273af: Verifying Checksum 08:43:24 33b1e0a273af: Download complete 08:43:24 5d3b04190fa2: Verifying Checksum 08:43:24 5d3b04190fa2: Download complete 08:43:24 ec43610c2a17: Verifying Checksum 08:43:24 ec43610c2a17: Download complete 08:43:24 5eb5b503b376: Verifying Checksum 08:43:24 5eb5b503b376: Download complete 08:43:25 2f39f015ded8: Download complete 08:43:25 5eb5b503b376: Pull complete 08:43:25 5c69ac0246d0: Pull complete 08:43:26 ec43610c2a17: Pull complete 08:43:26 3a2ae6a8a46f: Pull complete 08:43:26 33b1e0a273af: Pull complete 08:43:26 5d3b04190fa2: Pull complete 08:43:30 2f39f015ded8: Pull complete 08:43:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:43:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:43:30 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:43:30 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:43:32 $ docker top 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:43:33 ---> job-cost.sh 08:43:33 lf-activate-venv: SKIPPING 08:43:33 INFO: No Stack... 08:43:33 INFO: Retrieving Pricing Info for: v3-standard-8 08:43:34 INFO: Archiving Costs [Pipeline] sh 08:43:34 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 08:43:34 + cut -d, -f6 [Pipeline] lock 08:43:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] 08:43:34 Resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] did not exist. Created. 08:43:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:43:34 + echo total: 0.2199999988079071 [Pipeline] stash 08:43:34 Stashed 1 file(s) [Pipeline] } 08:43:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 08:43:34 $ docker stop --time=1 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d 08:43:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16201 in /w/workspace/edgexfoundry_device-rest-go_main 08:43:36 $ docker rm -f 4399b5cf2efa91c6990f6f353bdb432a1ad465a154f285e36d6bb983d9e6b85d [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 08:43:36 Running in /w/workspace/device-rest-go/47 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv 08:43:36 The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] } 08:43:40 using credential edgex-jenkins-ssh 08:43:40 Cloning the remote Git repository 08:43:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:43:40 > git init /w/workspace/device-rest-go/47 # timeout=10 08:43:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:43:40 > git --version # timeout=10 08:43:40 > git --version # 'git version 2.25.1' 08:43:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:43:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:43:42 Avoid second fetch 08:43:42 Checking out Revision 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 (main) 08:43:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:43:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:43:42 > git config core.sparsecheckout # timeout=10 08:43:42 > git checkout -f 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 08:43:46 Commit message: "Merge pull request #200 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:43:47 % Total % Received % Xferd Average Speed Time Time Time Current 08:43:47 Dload Upload Total Spent Left Speed 08:43:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 08:43:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:43:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:43:48 + sudo tee /etc/docker/daemon.new 08:43:48 { 08:43:48 "registry-mirrors": [ 08:43:48 "https://nexus3.edgexfoundry.org:10001" 08:43:48 ], 08:43:48 "bip": "10.250.0.254/24", 08:43:48 "hosts": [ 08:43:48 "tcp://0.0.0.0:5555", 08:43:48 "unix:///var/run/docker.sock" 08:43:48 ], 08:43:48 "mtu": 1458, 08:43:48 "selinux-enabled": true, 08:43:48 "seccomp-profile": "/etc/docker/seccomp.json" 08:43:48 } [Pipeline] sh 08:43:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:43:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:44:08 provisioning config files... 08:44:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config4776972551266457952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:44:08 ---> docker-login.sh 08:44:08 nexus3.edgexfoundry.org:10001 08:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:09 Configure a credential helper to remove this warning. See 08:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:09 08:44:09 Login Succeeded 08:44:09 nexus3.edgexfoundry.org:10002 08:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:09 Configure a credential helper to remove this warning. See 08:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:09 08:44:09 Login Succeeded 08:44:09 nexus3.edgexfoundry.org:10003 08:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:10 Configure a credential helper to remove this warning. See 08:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:10 08:44:10 Login Succeeded 08:44:10 nexus3.edgexfoundry.org:10004 08:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:10 Configure a credential helper to remove this warning. See 08:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:10 08:44:10 Login Succeeded 08:44:10 docker.io 08:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:44:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:44:11 Configure a credential helper to remove this warning. See 08:44:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:44:11 08:44:11 Login Succeeded 08:44:11 ---> docker-login.sh ends [Pipeline] } 08:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:44:11 ========================================================= 08:44:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:44:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:44:12 + 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 . 08:44:12 Sending build context to Docker daemon 129kB 08:44:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:44:12 Step 2/12 : FROM ${BASE} AS builder 08:44:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:44:12 9b3977197b4f: Pulling fs layer 08:44:12 1a89e8eeedd5: Pulling fs layer 08:44:12 94645a83ff95: Pulling fs layer 08:44:12 e6fb740bc735: Pulling fs layer 08:44:12 3a77bd46dcc9: Pulling fs layer 08:44:12 355e64cbe906: Pulling fs layer 08:44:12 63ab81a10011: Pulling fs layer 08:44:12 555d1d1c4555: Pulling fs layer 08:44:12 7d9057610161: Pulling fs layer 08:44:12 3a77bd46dcc9: Waiting 08:44:12 355e64cbe906: Waiting 08:44:12 63ab81a10011: Waiting 08:44:12 555d1d1c4555: Waiting 08:44:12 7d9057610161: Waiting 08:44:12 e6fb740bc735: Waiting 08:44:12 94645a83ff95: Verifying Checksum 08:44:12 94645a83ff95: Download complete 08:44:12 1a89e8eeedd5: Verifying Checksum 08:44:12 1a89e8eeedd5: Download complete 08:44:12 3a77bd46dcc9: Verifying Checksum 08:44:12 3a77bd46dcc9: Download complete 08:44:12 355e64cbe906: Verifying Checksum 08:44:12 355e64cbe906: Download complete 08:44:12 9b3977197b4f: Verifying Checksum 08:44:12 63ab81a10011: Verifying Checksum 08:44:12 63ab81a10011: Download complete 08:44:13 9b3977197b4f: Pull complete 08:44:13 7d9057610161: Verifying Checksum 08:44:13 7d9057610161: Download complete 08:44:14 1a89e8eeedd5: Pull complete 08:44:14 94645a83ff95: Pull complete 08:44:14 555d1d1c4555: Verifying Checksum 08:44:14 555d1d1c4555: Download complete 08:44:15 e6fb740bc735: Verifying Checksum 08:44:15 e6fb740bc735: Download complete 08:44:28 e6fb740bc735: Pull complete 08:44:28 3a77bd46dcc9: Pull complete 08:44:28 355e64cbe906: Pull complete 08:44:28 63ab81a10011: Pull complete 08:44:35 555d1d1c4555: Pull complete 08:44:36 7d9057610161: Pull complete 08:44:36 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:44:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:44:36 ---> 819e984ddca1 08:44:36 Step 3/12 : ARG MAKE='make build' 08:44:38 ---> Running in 9f261a8db09d 08:44:38 Removing intermediate container 9f261a8db09d 08:44:38 ---> f2eda6a62808 08:44:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:44:38 ---> Running in c9898d2ff681 08:44:39 Removing intermediate container c9898d2ff681 08:44:39 ---> 0388a09c1a65 08:44:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 08:44:39 ---> Running in 54c799159884 08:44:39 Removing intermediate container 54c799159884 08:44:39 ---> 62f352a0e148 08:44:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:44:39 ---> Running in ccbebf7a9320 08:44:41 Removing intermediate container ccbebf7a9320 08:44:41 ---> 2a6e2d33cf22 08:44:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:44:41 ---> Running in 60d71c345a5a 08:44:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:44:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:44:44 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:44:44 (2/4) Installing libedit (20210910.3.1-r0) 08:44:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:44:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:44:44 Executing busybox-1.34.1-r3.trigger 08:44:45 OK: 224 MiB in 56 packages 08:44:46 Removing intermediate container 60d71c345a5a 08:44:46 ---> ea445916c31d 08:44:46 Step 8/12 : WORKDIR /device-rest-go 08:44:46 ---> Running in 30d355ae8475 08:44:46 Removing intermediate container 30d355ae8475 08:44:46 ---> 9dfa5096bea8 08:44:46 Step 9/12 : COPY go.mod vendor* ./ 08:44:47 ---> 89acaf94e96e 08:44:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:44:47 ---> Running in 841184ebb3c6 08:45:43 Removing intermediate container 841184ebb3c6 08:45:43 ---> 805caaefe0c6 08:45:43 Step 11/12 : COPY . . 08:45:43 ---> 61f4294025fe 08:45:43 Step 12/12 : RUN $MAKE 08:45:43 ---> Running in 605d438c6d42 08:45:43 noop 08:45:43 Removing intermediate container 605d438c6d42 08:45:43 ---> 0f4d688aaf7d 08:45:43 Successfully built 0f4d688aaf7d 08:45:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:44 + docker inspect -f . ci-base-image-arm64 08:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:44 prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container 08:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:45:45 $ docker top af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb -eo pid,comm [Pipeline] { [Pipeline] sh 08:45:46 + go version 08:45:46 go version go1.17.7 linux/arm64 [Pipeline] } 08:45:46 $ docker stop --time=1 af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb 08:45:48 $ docker rm -f af4d393f6bcce7b17d8b496df09a2d5c001ae7d950df03fad2d57b5b11a960bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:45:49 + docker inspect -f . ci-base-image-arm64 08:45:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:45:49 prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container 08:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:45:50 $ docker top 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:45:51 + make test 08:45:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:45:52 ? github.com/edgexfoundry/device-rest-go [no test files] 08:47:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:47:14 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 08:47:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:47:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:47:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:47:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:47:36 ./bin/test-attribution-txt.sh [Pipeline] echo 08:47:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:47:37 $ docker stop --time=1 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 08:47:38 $ docker rm -f 9d4145caeca977f0309be11e850da265b0c8a9d158e79e84d2a896a0f84f3b15 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:47:39 Warning: overwriting stash ‘coverage-report’ 08:47:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:47:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:40 + ls -al . 08:47:40 total 168 08:47:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:47 . 08:47:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 28 08:43 .. 08:47:40 -rw-rw-r-- 1 jenkins jenkins 151 Jun 28 08:43 .dockerignore 08:47:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 08:43 .git 08:47:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 .github 08:47:40 -rw-rw-r-- 1 jenkins jenkins 329 Jun 28 08:43 .gitignore 08:47:40 -rw-rw-r-- 1 jenkins jenkins 41 Jun 28 08:43 .golangci.yml 08:47:40 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 28 08:43 Attribution.txt 08:47:40 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 28 08:43 CHANGELOG.md 08:47:40 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 28 08:43 Dockerfile 08:47:40 -rw-rw-r-- 1 jenkins jenkins 677 Jun 28 08:43 GOVERNANCE.md 08:47:40 -rw-rw-r-- 1 jenkins jenkins 680 Jun 28 08:43 Jenkinsfile 08:47:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 28 08:43 LICENSE 08:47:40 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 28 08:43 Makefile 08:47:40 -rw-rw-r-- 1 jenkins jenkins 620 Jun 28 08:43 OWNERS.md 08:47:40 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 28 08:43 README.md 08:47:40 -rw-rw-r-- 1 jenkins jenkins 11 Jun 28 08:41 VERSION 08:47:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:43 bin 08:47:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 cmd 08:47:40 -rw-r--r-- 1 jenkins jenkins 9355 Jun 28 08:47 coverage.out 08:47:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 28 08:43 driver 08:47:40 -rw-rw-r-- 1 jenkins jenkins 3338 Jun 28 08:43 go.mod 08:47:40 -rw-rw-r-- 1 jenkins jenkins 36281 Jun 28 08:43 go.sum 08:47:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 28 08:43 snap 08:47:40 -rw-rw-r-- 1 jenkins jenkins 713 Jun 28 08:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:47:41 + 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=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 --label arch=arm64 --label version=2.2.1-dev.6 . 08:47:41 Sending build context to Docker daemon 139.3kB 08:47:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:47:41 Step 2/25 : FROM ${BASE} AS builder 08:47:41 ---> 0f4d688aaf7d 08:47:41 Step 3/25 : ARG MAKE='make build' 08:47:41 ---> Running in 82c29646a5a8 08:47:41 Removing intermediate container 82c29646a5a8 08:47:41 ---> dee16c211f7f 08:47:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:47:42 ---> Running in 24a583466c93 08:47:42 Removing intermediate container 24a583466c93 08:47:42 ---> ffa2940379d3 08:47:42 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 08:47:42 ---> Running in 3133d3025e3b 08:47:42 Removing intermediate container 3133d3025e3b 08:47:42 ---> e5717c04fa29 08:47:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:42 ---> Running in 592e168c81ab 08:47:44 Removing intermediate container 592e168c81ab 08:47:44 ---> 67653d3bcaaf 08:47:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:44 ---> Running in fa77e24204ca 08:47:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:47:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:47:47 OK: 224 MiB in 56 packages 08:47:47 Removing intermediate container fa77e24204ca 08:47:47 ---> 4e437f0496a5 08:47:47 Step 8/25 : WORKDIR /device-rest-go 08:47:47 ---> Running in 2a634d5d6ffa 08:47:47 Removing intermediate container 2a634d5d6ffa 08:47:47 ---> 7573dec195a3 08:47:47 Step 9/25 : COPY go.mod vendor* ./ 08:47:48 ---> 1bd7dc1df003 08:47:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:48 ---> Running in 7c9370355058 08:47:50 Removing intermediate container 7c9370355058 08:47:50 ---> 216277f28396 08:47:50 Step 11/25 : COPY . . 08:47:51 ---> ada3185660e2 08:47:51 Step 12/25 : RUN $MAKE 08:47:51 ---> Running in bda28ba71f26 08:47:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 08:49:59 Removing intermediate container bda28ba71f26 08:49:59 ---> b72813703205 08:49:59 Step 13/25 : FROM alpine:3.14 08:49:59 3.14: Pulling from library/alpine 08:49:59 455c02918c45: Pulling fs layer 08:49:59 455c02918c45: Verifying Checksum 08:49:59 455c02918c45: Download complete 08:49:59 455c02918c45: Pull complete 08:49:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:49:59 Status: Downloaded newer image for alpine:3.14 08:49:59 ---> ac73e934f311 08:49:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 08:49:59 ---> Running in b836a629a217 08:49:59 Removing intermediate container b836a629a217 08:49:59 ---> fbdd5b3fff2c 08:49:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 08:49:59 ---> Running in 11ad9667603c 08:49:59 Removing intermediate container 11ad9667603c 08:49:59 ---> d46723dd7a93 08:49:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 08:49:59 ---> Running in 99d9edf9ac34 08:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:49:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:49:59 (1/6) Installing dumb-init (1.2.5-r1) 08:49:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:49:59 (3/6) Installing libsodium (1.0.18-r0) 08:49:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:49:59 (5/6) Installing libzmq (4.3.4-r0) 08:49:59 (6/6) Installing zeromq (4.3.4-r0) 08:49:59 Executing busybox-1.33.1-r7.trigger 08:49:59 OK: 8 MiB in 20 packages 08:49:59 Removing intermediate container 99d9edf9ac34 08:49:59 ---> 9c8fbeccd2c5 08:49:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 08:49:59 ---> 5fa3a9a5122f 08:49:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 08:49:59 ---> 746ee7a27e4a 08:49:59 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 08:49:59 ---> 933c1aa3d6b7 08:49:59 Step 20/25 : EXPOSE 59986 08:49:59 ---> Running in cb2007a8fb11 08:49:59 Removing intermediate container cb2007a8fb11 08:49:59 ---> d2c1e944e8e6 08:49:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 08:49:59 ---> Running in a2f10a01951f 08:49:59 Removing intermediate container a2f10a01951f 08:49:59 ---> 6993c2c5d9e1 08:49:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 08:49:59 ---> Running in 565bf0b06f74 08:49:59 Removing intermediate container 565bf0b06f74 08:49:59 ---> 6370e3df3bfc 08:49:59 Step 23/25 : LABEL arch=arm64 08:49:59 ---> Running in f9e483b7fbb3 08:49:59 Removing intermediate container f9e483b7fbb3 08:49:59 ---> f571c1d99f8e 08:49:59 Step 24/25 : LABEL git_sha=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:49:59 ---> Running in d2b6afbfca9e 08:49:59 Removing intermediate container d2b6afbfca9e 08:49:59 ---> 726ead1e37da 08:49:59 Step 25/25 : LABEL version=2.2.1-dev.6 08:49:59 ---> Running in 42bef1d9f689 08:49:59 Removing intermediate container 42bef1d9f689 08:49:59 ---> 5519a6c1528a 08:49:59 [Warning] One or more build-args [ARCH] were not consumed 08:49:59 Successfully built 5519a6c1528a 08:49:59 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:59 provisioning config files... 08:49:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/47@tmp/config6259863014398311368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:59 ---> docker-login.sh 08:49:59 nexus3.edgexfoundry.org:10001 08:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:59 Configure a credential helper to remove this warning. See 08:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:59 08:49:59 Login Succeeded 08:49:59 nexus3.edgexfoundry.org:10002 08:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:00 Configure a credential helper to remove this warning. See 08:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:00 08:50:00 Login Succeeded 08:50:00 nexus3.edgexfoundry.org:10003 08:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:00 Configure a credential helper to remove this warning. See 08:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:00 08:50:00 Login Succeeded 08:50:00 nexus3.edgexfoundry.org:10004 08:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:01 Configure a credential helper to remove this warning. See 08:50:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:01 08:50:01 Login Succeeded 08:50:01 docker.io 08:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:50:02 Configure a credential helper to remove this warning. See 08:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:50:02 08:50:02 Login Succeeded 08:50:02 ---> docker-login.sh ends [Pipeline] } 08:50:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:50:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:50:02 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 08:50:02 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:50:02 latest 08:50:02 2.2.1-dev.6 08:50:02 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:50:02 main 08:50:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:50:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:50:02 a2f5b5031cda: Preparing 08:50:02 3eec71a28dd9: Preparing 08:50:02 f6a51b1f15c5: Preparing 08:50:02 60397e889bd8: Preparing 08:50:02 f73e7dbfee58: Preparing 08:50:02 f73e7dbfee58: Layer already exists 08:50:03 a2f5b5031cda: Pushed 08:50:03 3eec71a28dd9: Pushed 08:50:03 60397e889bd8: Pushed 08:50:09 f6a51b1f15c5: Pushed 08:50:09 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:50:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:50:09 a2f5b5031cda: Preparing 08:50:09 3eec71a28dd9: Preparing 08:50:09 f6a51b1f15c5: Preparing 08:50:09 60397e889bd8: Preparing 08:50:09 f73e7dbfee58: Preparing 08:50:09 a2f5b5031cda: Layer already exists 08:50:09 3eec71a28dd9: Layer already exists 08:50:09 60397e889bd8: Layer already exists 08:50:09 f73e7dbfee58: Layer already exists 08:50:09 f6a51b1f15c5: Layer already exists 08:50:09 latest: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 08:50:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:50:10 a2f5b5031cda: Preparing 08:50:10 3eec71a28dd9: Preparing 08:50:10 f6a51b1f15c5: Preparing 08:50:10 60397e889bd8: Preparing 08:50:10 f73e7dbfee58: Preparing 08:50:10 f6a51b1f15c5: Layer already exists 08:50:10 3eec71a28dd9: Layer already exists 08:50:10 f73e7dbfee58: Layer already exists 08:50:10 60397e889bd8: Layer already exists 08:50:10 a2f5b5031cda: Layer already exists 08:50:11 2.2.1-dev.6: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:50:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:50:11 a2f5b5031cda: Preparing 08:50:11 3eec71a28dd9: Preparing 08:50:11 f6a51b1f15c5: Preparing 08:50:11 60397e889bd8: Preparing 08:50:11 f73e7dbfee58: Preparing 08:50:11 3eec71a28dd9: Layer already exists 08:50:11 60397e889bd8: Layer already exists 08:50:11 a2f5b5031cda: Layer already exists 08:50:11 f73e7dbfee58: Layer already exists 08:50:11 f6a51b1f15c5: Layer already exists 08:50:12 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 08:50:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 08:50:12 a2f5b5031cda: Preparing 08:50:12 3eec71a28dd9: Preparing 08:50:12 f6a51b1f15c5: Preparing 08:50:12 60397e889bd8: Preparing 08:50:12 f73e7dbfee58: Preparing 08:50:12 3eec71a28dd9: Layer already exists 08:50:12 f73e7dbfee58: Layer already exists 08:50:12 60397e889bd8: Layer already exists 08:50:12 a2f5b5031cda: Layer already exists 08:50:12 f6a51b1f15c5: Layer already exists 08:50:13 main: digest: sha256:35fd06142557b6ac62294418dd593d74345e7f9a6a9685400adadd093e28bdf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:50:13 ===================================================== [Pipeline] echo 08:50:13 taggedImages: 08:50:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 08:50:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 08:50:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.6 08:50:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2d7dd7bd9c9b446393cafd64d3a18985a73e6b07-2.2.1-dev.6 08:50:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:50:13 08:50:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:50:14 arm64: Pulling from edgex-lftools-log-publisher 08:50:14 8998bd30e6a1: Pulling fs layer 08:50:14 04944245beec: Pulling fs layer 08:50:14 699f458cf7ca: Pulling fs layer 08:50:14 765212b225bb: Pulling fs layer 08:50:14 f23df028b6ca: Pulling fs layer 08:50:14 d65c8cfc05b1: Pulling fs layer 08:50:14 2437ff75d9bd: Pulling fs layer 08:50:14 f23df028b6ca: Waiting 08:50:14 765212b225bb: Waiting 08:50:14 d65c8cfc05b1: Waiting 08:50:14 2437ff75d9bd: Waiting 08:50:14 04944245beec: Verifying Checksum 08:50:14 04944245beec: Download complete 08:50:14 765212b225bb: Verifying Checksum 08:50:14 765212b225bb: Download complete 08:50:14 f23df028b6ca: Verifying Checksum 08:50:14 f23df028b6ca: Download complete 08:50:14 d65c8cfc05b1: Verifying Checksum 08:50:14 d65c8cfc05b1: Download complete 08:50:14 699f458cf7ca: Verifying Checksum 08:50:14 699f458cf7ca: Download complete 08:50:14 8998bd30e6a1: Verifying Checksum 08:50:14 8998bd30e6a1: Download complete 08:50:16 2437ff75d9bd: Verifying Checksum 08:50:16 2437ff75d9bd: Download complete 08:50:18 8998bd30e6a1: Pull complete 08:50:19 04944245beec: Pull complete 08:50:20 699f458cf7ca: Pull complete 08:50:21 765212b225bb: Pull complete 08:50:22 f23df028b6ca: Pull complete 08:50:22 d65c8cfc05b1: Pull complete 08:50:37 2437ff75d9bd: Pull complete 08:50:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:50:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:50:37 prd-ubuntu20.04-docker-arm64-4c-16g-16201 does not seem to be running inside a container 08:50:37 $ 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/47 -v /w/workspace/device-rest-go/47:/w/workspace/device-rest-go/47:rw,z -v /w/workspace/device-rest-go/47@tmp:/w/workspace/device-rest-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:50:39 $ docker top f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:50:40 ---> job-cost.sh 08:50:40 lf-activate-venv: SKIPPING 08:50:40 INFO: No Stack... 08:50:41 INFO: Retrieving Pricing Info for: v3-standard-4 08:50:42 INFO: Archiving Costs [Pipeline] sh 08:50:42 + + cut -d,cat -f6 /w/workspace/device-rest-go/47/archives/cost.csv 08:50:42 [Pipeline] lock 08:50:42 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] 08:50:42 Resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] did not exist. Created. 08:50:42 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:50:43 /w/workspace/device-rest-go/47@tmp/durable-c3830862/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:50:44 + echo total: 0.10999999940395355 [Pipeline] stash 08:50:44 Warning: overwriting stash ‘stack-cost’ 08:50:44 Stashed 1 file(s) [Pipeline] } 08:50:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 08:50:44 $ docker stop --time=1 f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 08:50:45 $ docker rm -f f3629be9ecc90500023b6ac7e6365d94624993c85485ae7676793d5d8e51dac7 [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 08:50:46 provisioning config files... 08:50:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config926046017473961387tmp [Pipeline] { [Pipeline] sh 08:50:46 + set +x 08:50:46 + + bash -s -- 08:50:46 curl -s https://codecov.io/bash 08:50:46 08:50:46 _____ _ 08:50:46 / ____| | | 08:50:46 | | ___ __| | ___ ___ _____ __ 08:50:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:50:46 | |___| (_) | (_| | __/ (_| (_) \ V / 08:50:46 \_____\___/ \__,_|\___|\___\___/ \_/ 08:50:46 Bash-1.0.6 08:50:46 08:50:46 08:50:46 ==> git version 2.25.1 found 08:50:46 ==> 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 08:50:46 Release-Date: 2020-01-08 08:50:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:50:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:50:46 ==> Jenkins CI detected. 08:50:46 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 08:50:46 project root: . 08:50:46 --> token set from env 08:50:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:50:46 ==> Running gcov in . (disable via -X gcov) 08:50:46 ==> Python coveragepy not found 08:50:46 ==> Searching for coverage reports in: 08:50:46 + . 08:50:46 -> Found 1 reports 08:50:46 ==> Detecting git/mercurial file structure 08:50:46 ==> Reading reports 08:50:46 + ./coverage.out bytes=9355 08:50:46 ==> Appending adjustments 08:50:46 https://docs.codecov.io/docs/fixing-reports 08:50:46 + Found adjustments 08:50:46 ==> Gzipping contents 08:50:46 4.0K /tmp/codecov.AEPTDb.gz 08:50:46 ==> Uploading reports 08:50:46 url: https://codecov.io 08:50:46 query: branch=main&commit=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:50:46 -> Pinging Codecov 08:50:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=2d7dd7bd9c9b446393cafd64d3a18985a73e6b07&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:50:47 -> Uploading to 08:50:47 https://storage.googleapis.com/codecov/v4/raw/2022-06-28/4E5D53B4F1F92C436F7061BF334D961C/2d7dd7bd9c9b446393cafd64d3a18985a73e6b07/db6d2db0-8742-4418-9541-b45ea025cbab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220628%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220628T085046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62935681d6fa3bb704dae5b1603fbe7663b441f5579a6d271437969e37bf2355 08:50:47 % Total % Received % Xferd Average Speed Time Time Time Current 08:50:47 Dload Upload Total Spent Left Speed 08:50:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7886 --:--:-- --:--:-- --:--:-- 7886 08:50:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] } 08:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:50:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:50:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:50:47 08:50:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:50:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:50:48 df9b9388f04a: Pulling fs layer 08:50:48 52dc419b0ee2: Pulling fs layer 08:50:48 25bc292e5bac: Pulling fs layer 08:50:48 114826534d7a: Pulling fs layer 08:50:48 4657fd5d0bcf: Pulling fs layer 08:50:48 6ad1cebc031e: Pulling fs layer 08:50:48 8a3aa393b2d8: Pulling fs layer 08:50:48 114826534d7a: Waiting 08:50:48 6ad1cebc031e: Waiting 08:50:48 8a3aa393b2d8: Waiting 08:50:48 4657fd5d0bcf: Waiting 08:50:48 25bc292e5bac: Verifying Checksum 08:50:48 25bc292e5bac: Download complete 08:50:48 52dc419b0ee2: Download complete 08:50:48 4657fd5d0bcf: Verifying Checksum 08:50:48 4657fd5d0bcf: Download complete 08:50:48 df9b9388f04a: Download complete 08:50:48 df9b9388f04a: Pull complete 08:50:48 6ad1cebc031e: Verifying Checksum 08:50:48 6ad1cebc031e: Download complete 08:50:48 52dc419b0ee2: Pull complete 08:50:48 25bc292e5bac: Pull complete 08:50:48 114826534d7a: Verifying Checksum 08:50:48 114826534d7a: Download complete 08:50:48 8a3aa393b2d8: Verifying Checksum 08:50:48 8a3aa393b2d8: Download complete 08:50:52 114826534d7a: Pull complete 08:50:52 4657fd5d0bcf: Pull complete 08:50:52 6ad1cebc031e: Pull complete 08:50:55 8a3aa393b2d8: Pull complete 08:50:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 08:50:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:50:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:50:55 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:50:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:50:57 $ docker top 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da -eo pid,comm [Pipeline] { [Pipeline] echo 08:50:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 08:50:58 + set -o pipefail 08:50:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 08:51:04 08:51:04 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 08:51:04 08:51:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4bb8220c-fa43-4d30-b085-feb9651c75dc 08:51:04 08:51:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:51:04 08:51:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:51:04 08:51:04 08:51:04 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 08:51:04 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:51:04 $ docker stop --time=1 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da 08:51:06 $ docker rm -f 4656ec6000425219ba0acab26c5631069b3c114ab23110a57aa5be145d8580da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:51:07 + git log --format=format:%s -1 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 [Pipeline] sh 08:51:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:51:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:08 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:51:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:51:08 $ docker top 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:08 [ssh-agent] Looking for ssh-agent implementation... 08:51:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:08 $ docker exec 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 ssh-agent 08:51:09 SSH_AUTH_SOCK=/tmp/ssh-MPywRLU161ue/agent.33 08:51:09 SSH_AGENT_PID=39 08:51:09 Running ssh-add (command line suppressed) 08:51:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2626574527707643635.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2626574527707643635.key) 08:51:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:09 + git semver tag 08:51:09 2022-06-28 08:51:09,641 [run_tag] DEBUG tag force:False 08:51:09 2022-06-28 08:51:09,641 [check_head_tag] DEBUG check head tag 08:51:09 2022-06-28 08:51:09,642 [execute] INFO git cat-file --batch-check 08:51:09 2022-06-28 08:51:09,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 08:51:09 2022-06-28 08:51:09,645 [execute] INFO git cat-file --batch 08:51:09 2022-06-28 08:51:09,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 08:51:09 2022-06-28 08:51:09,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:09 2022-06-28 08:51:09,654 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 08:51:09 2022-06-28 08:51:09,655 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:51:09 2022-06-28 08:51:09,659 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:09 2.2.1-dev.6 [Pipeline] } 08:51:09 $ docker exec --env ******** --env ******** 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 ssh-agent -k 08:51:09 unset SSH_AUTH_SOCK; 08:51:09 unset SSH_AGENT_PID; 08:51:09 echo Agent pid 39 killed; 08:51:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:10 + git semver [Pipeline] } 08:51:10 $ docker stop --time=1 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 08:51:11 $ docker rm -f 2ed3b5aade4c866b973db914f68e51a145dc71e745d5e8a077765248ea646ea2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:51:12 08:51:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:51:12 0.23.1-centos7: Pulling from edgex-lftools 08:51:12 ab5ef0e58194: Pulling fs layer 08:51:12 9712f1f96733: Pulling fs layer 08:51:12 63f879dbbcfc: Pulling fs layer 08:51:12 0d9ebad4ef96: Pulling fs layer 08:51:12 e9a5061849ea: Pulling fs layer 08:51:12 d747dcd14b5f: Pulling fs layer 08:51:12 2de7ff778b66: Pulling fs layer 08:51:12 0d9ebad4ef96: Waiting 08:51:12 e9a5061849ea: Waiting 08:51:12 2de7ff778b66: Waiting 08:51:12 d747dcd14b5f: Waiting 08:51:12 9712f1f96733: Verifying Checksum 08:51:12 9712f1f96733: Download complete 08:51:12 63f879dbbcfc: Verifying Checksum 08:51:12 63f879dbbcfc: Download complete 08:51:12 0d9ebad4ef96: Verifying Checksum 08:51:12 0d9ebad4ef96: Download complete 08:51:12 d747dcd14b5f: Verifying Checksum 08:51:12 d747dcd14b5f: Download complete 08:51:12 ab5ef0e58194: Download complete 08:51:12 e9a5061849ea: Verifying Checksum 08:51:12 e9a5061849ea: Download complete 08:51:13 2de7ff778b66: Verifying Checksum 08:51:13 2de7ff778b66: Download complete 08:51:15 ab5ef0e58194: Pull complete 08:51:15 9712f1f96733: Pull complete 08:51:16 63f879dbbcfc: Pull complete 08:51:20 0d9ebad4ef96: Pull complete 08:51:20 e9a5061849ea: Pull complete 08:51:20 d747dcd14b5f: Pull complete 08:51:21 2de7ff778b66: Pull complete 08:51:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:51:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:21 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:51:24 $ docker top 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:51:24 provisioning config files... 08:51:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8583532103674059226tmp 08:51:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config134957404850740494tmp 08:51:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8777587461960831268tmp [Pipeline] { [Pipeline] echo 08:51:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:51:24 ---> sigul-configuration.sh 08:51:24 gpg: directory `/root/.gnupg' created 08:51:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:51:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:51:24 gpg: keyring `/root/.gnupg/secring.gpg' created 08:51:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:51:24 gpg: CAST5 encrypted data 08:51:24 gpg: encrypted with 1 passphrase 08:51:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:51:24 + mkdir /home/jenkins 08:51:24 + mkdir /home/jenkins/sigul [Pipeline] sh 08:51:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:51:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:51:25 ---> sigul-install.sh 08:51:25 Sigul already installed; skipping installation. [Pipeline] sh 08:51:25 + git tag --list 08:51:25 v1.0.0 08:51:25 v1.1.0 08:51:25 v1.1.1 08:51:25 v1.1.2 08:51:25 v1.2.0 08:51:25 v1.2.1 08:51:25 v2.0.0 08:51:25 v2.1.0 08:51:25 v2.1.1 08:51:25 v2.1.1-dev.1 08:51:25 v2.1.1-dev.2 08:51:25 v2.1.1-dev.3 08:51:25 v2.2.0 08:51:25 v2.2.1-dev.1 08:51:25 v2.2.1-dev.2 08:51:25 v2.2.1-dev.3 08:51:25 v2.2.1-dev.4 08:51:25 v2.2.1-dev.5 08:51:25 v2.2.1-dev.6 [Pipeline] sh 08:51:25 + lftools sign git-tag v2.2.1-dev.6 08:51:26 Signing Git tag with Sigul... 08:51:26 Signing v2.2.1-dev.6 [Pipeline] echo 08:51:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:51:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:51:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:51:27 $ docker stop --time=1 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc 08:51:28 $ docker rm -f 1fd779ac6cdd0ec784971b4931ee0b70f3d8729eedf645c231385de8fdeb75fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:51:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:51:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:29 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:51:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:51:29 $ docker top 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 -eo pid,comm 08:51:29 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). 08:51:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:29 [ssh-agent] Looking for ssh-agent implementation... 08:51:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:29 $ docker exec 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 ssh-agent 08:51:29 SSH_AUTH_SOCK=/tmp/ssh-RLsoLv90FBX2/agent.34 08:51:29 SSH_AGENT_PID=40 08:51:29 Running ssh-add (command line suppressed) 08:51:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_518151707463144076.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_518151707463144076.key) 08:51:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:30 + git semver bump pre 08:51:30 2022-06-28 08:51:30,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:30 2022-06-28 08:51:30,517 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 08:51:30 2022-06-28 08:51:30,517 [bump_version] DEBUG bumped version:2.2.1-dev.7 08:51:30 2022-06-28 08:51:30,517 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 08:51:30 2022-06-28 08:51:30,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:30 2022-06-28 08:51:30,518 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:30 2022-06-28 08:51:30,520 [execute] INFO git cat-file --batch-check 08:51:30 2022-06-28 08:51:30,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:51:30 2022-06-28 08:51:30,527 [execute] INFO git cat-file --batch 08:51:30 2022-06-28 08:51:30,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:51:30 2022-06-28 08:51:30,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:30 2.2.1-dev.7 [Pipeline] } 08:51:30 $ docker exec --env ******** --env ******** 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 ssh-agent -k 08:51:30 unset SSH_AUTH_SOCK; 08:51:30 unset SSH_AGENT_PID; 08:51:30 echo Agent pid 40 killed; 08:51:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:30 + git semver [Pipeline] } 08:51:31 $ docker stop --time=1 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 08:51:32 $ docker rm -f 0ac0b09b0561baed9e87c15b2a6f25985467b9094301ce614a7b14d8ae4f6699 [Pipeline] // withDockerContainer [Pipeline] sh 08:51:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:51:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:33 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:51:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:51:33 $ docker top d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:33 [ssh-agent] Looking for ssh-agent implementation... 08:51:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:33 $ docker exec d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 ssh-agent 08:51:33 SSH_AUTH_SOCK=/tmp/ssh-qMx9ymp1dFgf/agent.33 08:51:33 SSH_AGENT_PID=39 08:51:33 Running ssh-add (command line suppressed) 08:51:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172980412403884289.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172980412403884289.key) 08:51:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:34 + git semver push 08:51:34 2022-06-28 08:51:34,594 [run_push] DEBUG push 08:51:34 2022-06-28 08:51:34,595 [execute] INFO git cat-file --batch-check 08:51:34 2022-06-28 08:51:34,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 08:51:34 2022-06-28 08:51:34,598 [execute] INFO git rev-list b10bafb26a803576abd17476787ed1406e7d238f -- 08:51:34 2022-06-28 08:51:34,599 [execute] DEBUG Popen(['git', 'rev-list', 'b10bafb26a803576abd17476787ed1406e7d238f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:51:34 2022-06-28 08:51:34,605 [execute] INFO git fetch -v origin 08:51:34 2022-06-28 08:51:34,605 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 08:51:35 2022-06-28 08:51:35,081 [run_push] DEBUG no remote changes detected 08:51:35 2022-06-28 08:51:35,082 [execute] INFO git push origin semver 08:51:35 2022-06-28 08:51:35,082 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 08:51:36 2022-06-28 08:51:35,926 [run_push] DEBUG push all version tags 08:51:36 2022-06-28 08:51:35,926 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:51:36 2022-06-28 08:51:35,927 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 08:51:36 2022-06-28 08:51:36,633 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 08:51:36 2.2.1-dev.7 [Pipeline] } 08:51:36 $ docker exec --env ******** --env ******** d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 ssh-agent -k 08:51:36 unset SSH_AUTH_SOCK; 08:51:36 unset SSH_AGENT_PID; 08:51:36 echo Agent pid 39 killed; 08:51:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:37 + git semver [Pipeline] } 08:51:37 $ docker stop --time=1 d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 08:51:38 $ docker rm -f d0ec772b83b64a5a6619b5606b5b7acde3a630fa3c88edc937a4837e7a536bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 08:51:39 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 08:51:39 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:51:39 total 16 08:51:39 drwxr-xr-x 3 root root 4096 Jun 28 08:43 . 08:51:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:51 .. 08:51:39 drwxr-xr-x 2 root root 4096 Jun 28 08:43 cost 08:51:39 -rw-r--r-- 1 root root 84 Jun 28 08:43 cost.csv 08:51:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 08:51:39 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 08:51:39 total 16 08:51:39 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 08:43 . 08:51:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:51 .. 08:51:39 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 08:43 cost 08:51:39 -rw-r--r-- 1 jenkins jenkins 84 Jun 28 08:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:51:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:51:40 ---> package-listing.sh 08:51:40 ++ facter osfamily 08:51:40 ++ tr '[:upper:]' '[:lower:]' 08:51:40 + OS_FAMILY=debian 08:51:40 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 08:51:40 + START_PACKAGES=/tmp/packages_start.txt 08:51:40 + END_PACKAGES=/tmp/packages_end.txt 08:51:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:51:40 + PACKAGES=/tmp/packages_start.txt 08:51:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:51:40 + PACKAGES=/tmp/packages_end.txt 08:51:40 + case "${OS_FAMILY}" in 08:51:40 + dpkg -l 08:51:40 + grep '^ii' 08:51:40 + '[' -f /tmp/packages_start.txt ']' 08:51:40 + '[' -f /tmp/packages_end.txt ']' 08:51:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:51:40 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 08:51:40 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 08:51:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 08:51:40 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:51:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:51:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:41 prd-ubuntu20.04-docker-8c-8g-16200 does not seem to be running inside a container 08:51:41 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:51:41 $ docker top 24e987131beb8882f62ce06ae09178c470c8bc848c127b1041bdcf799b9d4bed -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:42 + touch /tmp/pre-build-complete [Pipeline] sh 08:51:42 + mkdir -p /var/log/sysstat [Pipeline] sh 08:51:42 + ls /var/log/sa-host 08:51:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:42 provisioning config files... 08:51:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1939101391823364216tmp [Pipeline] { [Pipeline] echo 08:51:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:51:43 ---> create-netrc.sh [Pipeline] } 08:51:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:51:43 ---> python-tools-install.sh [Pipeline] echo 08:51:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:51:43 ---> sudo-logs.sh 08:51:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:51:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:51:43 ---> job-cost.sh 08:51:43 lf-activate-venv: SKIPPING 08:51:43 DEBUG: total: 0.2199999988079071 08:51:43 INFO: Retrieving Stack Cost... 08:51:44 INFO: Retrieving Pricing Info for: v3-standard-8 08:51:44 INFO: Archiving Costs [Pipeline] echo 08:51:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:51:45 ---> logs-deploy.sh 08:51:45 lf-activate-venv: SKIPPING 08:51:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/47 08:51:45 INFO: archiving workspace using pattern(s): 08:51:46 Archives upload complete. 08:51:46 INFO: archiving logs to Nexus 08:51:46 ---> uname -a: 08:51:46 Linux prd-ubuntu20-04-docker-8c-8g-16200 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 08:51:46 08:51:46