Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 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-ssh2981482422255731225.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14948750728550653048.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/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-ssh2725770959116714800.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8165666471727800497.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-ssh1911120618979070646.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1662 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 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 (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 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 Commit message: "Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" > git rev-list --no-walk 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:07:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:07:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:07:08 ========================================================= 17:07:08 EdgeX Global Pipelines Version Info 17:07:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:07:09 ------------------- 17:07:09 stable info: 17:07:09 ------------------- 17:07:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:07:09 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 17:07:09 Message: update stable to v1.0.232 17:07:10 ------------------- 17:07:10 experimental info: 17:07:10 ------------------- 17:07:10 Commited By: **** collab-it+edgex@linuxfoundation.org 17:07:10 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 17:07:10 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cad1b3 [Pipeline] echo 17:07:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:10 provisioning config files... 17:07:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5350412240092751092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:11 ---> docker-login.sh 17:07:11 nexus3.edgexfoundry.org:10001 17:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:11 Configure a credential helper to remove this warning. See 17:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:11 17:07:11 Login Succeeded 17:07:11 nexus3.edgexfoundry.org:10002 17:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:11 Configure a credential helper to remove this warning. See 17:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:11 17:07:11 Login Succeeded 17:07:11 nexus3.edgexfoundry.org:10003 17:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:11 Configure a credential helper to remove this warning. See 17:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:11 17:07:11 Login Succeeded 17:07:11 nexus3.edgexfoundry.org:10004 17:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:11 Configure a credential helper to remove this warning. See 17:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:11 17:07:11 Login Succeeded 17:07:11 docker.io 17:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:12 Configure a credential helper to remove this warning. See 17:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:12 17:07:12 Login Succeeded 17:07:12 ---> docker-login.sh ends [Pipeline] } 17:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:07:12 + git rev-list -1 --merges 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9~1..1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo 17:07:12 -----------> git rev-list -1 --merges 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9~1..1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:07:12 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [false] [Pipeline] sh 17:07:13 + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo 17:07:13 ========================================================= 17:07:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:07:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:07:13 + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] echo 17:07:13 [semverPrep] GIT_COMMIT: 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9, Commit Message: Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0 [Pipeline] echo 17:07:13 [semverPrep] This is not a build commit. [Pipeline] sh 17:07:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:13 + grep -v github /etc/ssh/ssh_known_hosts 17:07:13 + [ -e /tmp/ssh_known_hosts ] 17:07:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:07:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:07:13 + sudo tee -a /etc/ssh/ssh_known_hosts 17:07:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:14 17:07:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:14 0.1.4: Pulling from edgex-devops/py-git-semver 17:07:14 42c077c10790: Pulling fs layer 17:07:14 f63e77b7563a: Pulling fs layer 17:07:14 bd5fdadae976: Pulling fs layer 17:07:14 205491f53016: Pulling fs layer 17:07:14 df18705c85c3: Pulling fs layer 17:07:14 205491f53016: Waiting 17:07:14 bdb3f477010e: Pulling fs layer 17:07:14 c8a8fc8e1c8f: Pulling fs layer 17:07:14 2c6e9b1d212d: Pulling fs layer 17:07:14 bdb8f0575790: Pulling fs layer 17:07:14 bdb3f477010e: Waiting 17:07:14 bdb8f0575790: Waiting 17:07:14 386e3cb2ff24: Pulling fs layer 17:07:14 2343380bae48: Pulling fs layer 17:07:14 2343380bae48: Waiting 17:07:14 386e3cb2ff24: Waiting 17:07:14 c8a8fc8e1c8f: Waiting 17:07:14 2c6e9b1d212d: Waiting 17:07:14 f63e77b7563a: Verifying Checksum 17:07:14 f63e77b7563a: Download complete 17:07:14 205491f53016: Download complete 17:07:14 df18705c85c3: Verifying Checksum 17:07:14 df18705c85c3: Download complete 17:07:14 bdb3f477010e: Verifying Checksum 17:07:14 bdb3f477010e: Download complete 17:07:14 bd5fdadae976: Verifying Checksum 17:07:14 bd5fdadae976: Download complete 17:07:14 2c6e9b1d212d: Download complete 17:07:14 bdb8f0575790: Verifying Checksum 17:07:14 bdb8f0575790: Download complete 17:07:14 386e3cb2ff24: Download complete 17:07:14 2343380bae48: Verifying Checksum 17:07:14 2343380bae48: Download complete 17:07:14 42c077c10790: Verifying Checksum 17:07:14 42c077c10790: Download complete 17:07:15 c8a8fc8e1c8f: Download complete 17:07:16 42c077c10790: Pull complete 17:07:16 f63e77b7563a: Pull complete 17:07:17 bd5fdadae976: Pull complete 17:07:17 205491f53016: Pull complete 17:07:17 df18705c85c3: Pull complete 17:07:17 bdb3f477010e: Pull complete 17:07:19 c8a8fc8e1c8f: Pull complete 17:07:19 2c6e9b1d212d: Pull complete 17:07:19 bdb8f0575790: Pull complete 17:07:19 386e3cb2ff24: Pull complete 17:07:19 2343380bae48: Pull complete 17:07:19 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 17:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:19 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:07:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:07:21 $ docker top ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 -eo pid,comm 17:07:21 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). 17:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:21 [ssh-agent] Looking for ssh-agent implementation... 17:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:21 $ docker exec ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent 17:07:21 SSH_AUTH_SOCK=/tmp/ssh-IZoTKa6F5KTB/agent.33 17:07:21 SSH_AGENT_PID=39 17:07:21 Running ssh-add (command line suppressed) 17:07:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8349675560380356969.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8349675560380356969.key) 17:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:22 + git tag --points-at HEAD [Pipeline] } 17:07:22 $ docker exec --env ******** --env ******** ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent -k 17:07:22 unset SSH_AUTH_SOCK; 17:07:22 unset SSH_AGENT_PID; 17:07:22 echo Agent pid 39 killed; 17:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:07:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:22 [ssh-agent] Looking for ssh-agent implementation... 17:07:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:22 $ docker exec ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent 17:07:22 SSH_AUTH_SOCK=/tmp/ssh-csh2AUgxn05a/agent.72 17:07:22 SSH_AGENT_PID=79 17:07:22 Running ssh-add (command line suppressed) 17:07:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6068150663691959723.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6068150663691959723.key) 17:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:23 + git semver init 17:07:23 2022-06-07 17:07:23,410 [run_init] DEBUG init version:0.0.0 force:False 17:07:23 2022-06-07 17:07:23,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 17:07:23 2022-06-07 17:07:23,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 17:07:23 2022-06-07 17:07:23,412 [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) 17:07:24 2022-06-07 17:07:24,278 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 17:07:24 2022-06-07 17:07:24,279 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 17:07:24 2022-06-07 17:07:24,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:07:24 2022-06-07 17:07:24,279 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:07:24 2.2.1-dev.4 [Pipeline] } 17:07:24 $ docker exec --env ******** --env ******** ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 ssh-agent -k 17:07:24 unset SSH_AUTH_SOCK; 17:07:24 unset SSH_AGENT_PID; 17:07:24 echo Agent pid 79 killed; 17:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:07:24 + git semver [Pipeline] } 17:07:25 $ docker stop --time=1 ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 17:07:26 $ docker rm -f ad33189d1d0d960b95693b45e66db2d3aad66bb36abffd9310ea5f916bcadcd9 [Pipeline] // withDockerContainer [Pipeline] sh 17:07:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:07:27 Stashed 1 file(s) [Pipeline] echo 17:07:27 [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 17:07:27 provisioning config files... 17:07:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6067054361312488733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:27 ---> docker-login.sh 17:07:27 nexus3.edgexfoundry.org:10001 17:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:27 Configure a credential helper to remove this warning. See 17:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:27 17:07:27 Login Succeeded 17:07:27 nexus3.edgexfoundry.org:10002 17:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:27 Configure a credential helper to remove this warning. See 17:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:27 17:07:27 Login Succeeded 17:07:27 nexus3.edgexfoundry.org:10003 17:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:27 Configure a credential helper to remove this warning. See 17:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:27 17:07:27 Login Succeeded 17:07:27 nexus3.edgexfoundry.org:10004 17:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:28 Configure a credential helper to remove this warning. See 17:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:28 17:07:28 Login Succeeded 17:07:28 docker.io 17:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:28 Configure a credential helper to remove this warning. See 17:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:28 17:07:28 Login Succeeded 17:07:28 ---> docker-login.sh ends [Pipeline] } 17:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:07:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:07:28 ========================================================= 17:07:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:07:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:28 + 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 . 17:07:28 Sending build context to Docker daemon 10.64MB 17:07:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:07:28 Step 2/12 : FROM ${BASE} AS builder 17:07:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:07:28 59bf1c3509f3: Pulling fs layer 17:07:28 666ba61612fd: Pulling fs layer 17:07:28 8ed8ca486205: Pulling fs layer 17:07:28 cc1cd167ecdc: Pulling fs layer 17:07:28 c516ae0d96e1: Pulling fs layer 17:07:28 684cea983483: Pulling fs layer 17:07:28 dd3240ac7de5: Pulling fs layer 17:07:28 b1e948a4e11c: Pulling fs layer 17:07:28 a8fd76ee1af6: Pulling fs layer 17:07:28 646ad004c059: Pulling fs layer 17:07:28 cc1cd167ecdc: Waiting 17:07:28 c516ae0d96e1: Waiting 17:07:28 684cea983483: Waiting 17:07:28 dd3240ac7de5: Waiting 17:07:28 b1e948a4e11c: Waiting 17:07:28 a8fd76ee1af6: Waiting 17:07:28 646ad004c059: Waiting 17:07:28 8ed8ca486205: Download complete 17:07:28 666ba61612fd: Download complete 17:07:28 c516ae0d96e1: Download complete 17:07:28 684cea983483: Download complete 17:07:28 dd3240ac7de5: Verifying Checksum 17:07:28 dd3240ac7de5: Download complete 17:07:28 59bf1c3509f3: Download complete 17:07:28 b1e948a4e11c: Verifying Checksum 17:07:28 b1e948a4e11c: Download complete 17:07:28 59bf1c3509f3: Pull complete 17:07:29 666ba61612fd: Pull complete 17:07:29 8ed8ca486205: Pull complete 17:07:29 646ad004c059: Verifying Checksum 17:07:29 646ad004c059: Download complete 17:07:29 a8fd76ee1af6: Verifying Checksum 17:07:29 a8fd76ee1af6: Download complete 17:07:29 cc1cd167ecdc: Verifying Checksum 17:07:29 cc1cd167ecdc: Download complete 17:07:33 cc1cd167ecdc: Pull complete 17:07:33 c516ae0d96e1: Pull complete 17:07:33 684cea983483: Pull complete 17:07:33 dd3240ac7de5: Pull complete 17:07:33 b1e948a4e11c: Pull complete 17:07:36 a8fd76ee1af6: Pull complete 17:07:37 646ad004c059: Pull complete 17:07:37 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 17:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:07:37 ---> 8f69c11f6b0c 17:07:37 Step 3/12 : ARG MAKE='make build' 17:07:38 ---> Running in 926e1e992868 17:07:38 Removing intermediate container 926e1e992868 17:07:38 ---> e46012324931 17:07:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:07:38 ---> Running in f2efcf00e20d 17:07:38 Removing intermediate container f2efcf00e20d 17:07:38 ---> 50c5fc6157a0 17:07:38 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:07:38 ---> Running in cfe831b2c820 17:07:39 Removing intermediate container cfe831b2c820 17:07:39 ---> 20c3ff2e93d0 17:07:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:39 ---> Running in 90d763770198 17:07:39 Removing intermediate container 90d763770198 17:07:39 ---> 33e658f3f135 17:07:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:07:39 ---> Running in d83159d4f8ad 17:07:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:07:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:07:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:07:41 (2/4) Installing libedit (20210910.3.1-r0) 17:07:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:07:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:07:41 Executing busybox-1.34.1-r3.trigger 17:07:41 OK: 224 MiB in 56 packages 17:07:42 Removing intermediate container d83159d4f8ad 17:07:42 ---> 00759215535d 17:07:42 Step 8/12 : WORKDIR /device-rest-go 17:07:42 Still waiting to schedule task 17:07:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:07:42 ---> Running in 5cb5ac58e1eb 17:07:42 Removing intermediate container 5cb5ac58e1eb 17:07:42 ---> 80c40ad41ebd 17:07:42 Step 9/12 : COPY go.mod vendor* ./ 17:07:42 ---> d9d833e305c7 17:07:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:07:42 ---> Running in 6fcacebf8979 17:07:57 Removing intermediate container 6fcacebf8979 17:07:57 ---> 0b964ac1dfa1 17:07:57 Step 11/12 : COPY . . 17:07:57 ---> 47e0523f545d 17:07:57 Step 12/12 : RUN $MAKE 17:07:58 ---> Running in 1170b9f1450b 17:07:58 noop 17:07:58 Removing intermediate container 1170b9f1450b 17:07:58 ---> ef7913eeb2d1 17:07:58 Successfully built ef7913eeb2d1 17:07:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:58 + docker inspect -f . ci-base-image-x86_64 17:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:59 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:07:59 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:07:59 $ docker top 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:59 + go version 17:07:59 go version go1.17.7 linux/amd64 [Pipeline] } 17:07:59 $ docker stop --time=1 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c 17:08:01 $ docker rm -f 7e4977f46a4f3cec282919f0e9f4aec6b6da751142858263950142cda6f9058c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:01 + docker inspect -f . ci-base-image-x86_64 17:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:01 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:08:01 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:08:02 $ docker top 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:08:02 + make test 17:08:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:08:02 ? github.com/edgexfoundry/device-rest-go [no test files] 17:08:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:08:12 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 17:08:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:08:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:08:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:08:22 ./bin/test-attribution-txt.sh [Pipeline] echo 17:08:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:08:22 $ docker stop --time=1 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b 17:08:24 $ docker rm -f 79dd2bef5ec271b21893d053096af377c5678d9420ecbb11e5d7c72603ea1d2b [Pipeline] // withDockerContainer [Pipeline] sh 17:08:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:08:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:08:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:08:26 + ls -al . 17:08:26 total 172 17:08:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 17:08 . 17:08:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 17:07 .. 17:08:26 -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 17:07 .dockerignore 17:08:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:07 .git 17:08:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 .github 17:08:26 -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 17:07 .gitignore 17:08:26 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 17:07 .golangci.yml 17:08:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 17:07 .semver 17:08:26 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 17:07 Attribution.txt 17:08:26 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 17:07 CHANGELOG.md 17:08:26 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 17:07 Dockerfile 17:08:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 17:07 GOVERNANCE.md 17:08:26 -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 17:07 Jenkinsfile 17:08:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 17:07 LICENSE 17:08:26 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 17:07 Makefile 17:08:26 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 17:07 OWNERS.md 17:08:26 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 17:07 README.md 17:08:26 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 17:07 VERSION 17:08:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:07 bin 17:08:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 cmd 17:08:26 -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 17:08 coverage.out 17:08:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:07 driver 17:08:26 -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 17:07 go.mod 17:08:26 -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 17:07 go.sum 17:08:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:07 snap 17:08:26 -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 17:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:26 + 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 --label arch=amd64 --label version=2.2.1-dev.4 . 17:08:26 Sending build context to Docker daemon 10.65MB 17:08:26 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:08:26 Step 2/25 : FROM ${BASE} AS builder 17:08:26 ---> ef7913eeb2d1 17:08:26 Step 3/25 : ARG MAKE='make build' 17:08:26 ---> Running in a373ba631dee 17:08:26 Removing intermediate container a373ba631dee 17:08:26 ---> 749f138e8bbf 17:08:26 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:08:26 ---> Running in b8d8d1ef6b9e 17:08:26 Removing intermediate container b8d8d1ef6b9e 17:08:26 ---> 74777c22bf67 17:08:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:08:26 ---> Running in f90001275d57 17:08:26 Removing intermediate container f90001275d57 17:08:26 ---> 77532ad7a1dc 17:08:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:08:26 ---> Running in 3d5d02ba83d7 17:08:27 Removing intermediate container 3d5d02ba83d7 17:08:27 ---> 0de6acecc34b 17:08:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:08:27 ---> Running in aebeea7ee026 17:08:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:08:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:08:28 OK: 224 MiB in 56 packages 17:08:29 Removing intermediate container aebeea7ee026 17:08:29 ---> a52de1a5e89b 17:08:29 Step 8/25 : WORKDIR /device-rest-go 17:08:29 ---> Running in ceba3295efc3 17:08:29 Removing intermediate container ceba3295efc3 17:08:29 ---> e4e0c9c4aeb3 17:08:29 Step 9/25 : COPY go.mod vendor* ./ 17:08:29 ---> 7b520748677d 17:08:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:08:29 ---> Running in 3071f3d0d373 17:08:30 Removing intermediate container 3071f3d0d373 17:08:30 ---> d0efc0e845ef 17:08:30 Step 11/25 : COPY . . 17:08:30 ---> 30abdc4bb942 17:08:30 Step 12/25 : RUN $MAKE 17:08:30 ---> Running in b4e844aca7f8 17:08:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 17:08:52 Removing intermediate container b4e844aca7f8 17:08:52 ---> c0cc47435053 17:08:52 Step 13/25 : FROM alpine:3.14 17:08:52 3.14: Pulling from library/alpine 17:08:52 8663204ce13b: Pulling fs layer 17:08:52 8663204ce13b: Verifying Checksum 17:08:52 8663204ce13b: Download complete 17:08:52 8663204ce13b: Pull complete 17:08:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:08:52 Status: Downloaded newer image for alpine:3.14 17:08:52 ---> e04c818066af 17:08:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:08:52 ---> Running in e3f94c807222 17:08:52 Removing intermediate container e3f94c807222 17:08:52 ---> 6e8165a98582 17:08:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:08:52 ---> Running in 21b7edbaff07 17:08:52 Removing intermediate container 21b7edbaff07 17:08:52 ---> d7987a747e72 17:08:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:08:52 ---> Running in a6bf2b9a0030 17:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:08:52 (1/6) Installing dumb-init (1.2.5-r1) 17:08:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:08:52 (3/6) Installing libsodium (1.0.18-r0) 17:08:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:08:52 (5/6) Installing libzmq (4.3.4-r0) 17:08:52 (6/6) Installing zeromq (4.3.4-r0) 17:08:52 Executing busybox-1.33.1-r7.trigger 17:08:52 OK: 8 MiB in 20 packages 17:08:52 Removing intermediate container a6bf2b9a0030 17:08:52 ---> 2d9de7320f79 17:08:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:08:53 ---> 3f5e774a5e62 17:08:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:08:53 ---> d1016fdec625 17:08:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:08:53 ---> bc0cc57dc5d8 17:08:53 Step 20/25 : EXPOSE 59986 17:08:53 ---> Running in ac3f7a7a2e7c 17:08:53 Removing intermediate container ac3f7a7a2e7c 17:08:53 ---> 2c24ba583ca0 17:08:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:08:53 ---> Running in 185d9e250d68 17:08:53 Removing intermediate container 185d9e250d68 17:08:53 ---> 4206ea9f72bd 17:08:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:08:53 ---> Running in b6712bf1eb3b 17:08:53 Removing intermediate container b6712bf1eb3b 17:08:53 ---> e3e9fe42991a 17:08:53 Step 23/25 : LABEL arch=amd64 17:08:53 ---> Running in c99648c3c385 17:08:53 Removing intermediate container c99648c3c385 17:08:53 ---> 04ccf53e82f1 17:08:53 Step 24/25 : LABEL git_sha=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:08:53 ---> Running in 48b92f982ac8 17:08:53 Removing intermediate container 48b92f982ac8 17:08:53 ---> fc436a00c1c1 17:08:53 Step 25/25 : LABEL version=2.2.1-dev.4 17:08:54 ---> Running in 1302169bfc4b 17:08:54 Removing intermediate container 1302169bfc4b 17:08:54 ---> 4661aa2c73eb 17:08:54 [Warning] One or more build-args [ARCH] were not consumed 17:08:54 Successfully built 4661aa2c73eb 17:08:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:54 provisioning config files... 17:08:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5696705330806320908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:08:54 ---> docker-login.sh 17:08:54 nexus3.edgexfoundry.org:10001 17:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:54 Configure a credential helper to remove this warning. See 17:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:54 17:08:54 Login Succeeded 17:08:54 nexus3.edgexfoundry.org:10002 17:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:54 Configure a credential helper to remove this warning. See 17:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:54 17:08:54 Login Succeeded 17:08:54 nexus3.edgexfoundry.org:10003 17:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:54 Configure a credential helper to remove this warning. See 17:08:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:54 17:08:54 Login Succeeded 17:08:54 nexus3.edgexfoundry.org:10004 17:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:55 Configure a credential helper to remove this warning. See 17:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:55 17:08:55 Login Succeeded 17:08:55 docker.io 17:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:08:55 Configure a credential helper to remove this warning. See 17:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:08:55 17:08:55 Login Succeeded 17:08:55 ---> docker-login.sh ends [Pipeline] } 17:08:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:08:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:08:55 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 17:08:55 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:08:55 latest 17:08:55 2.2.1-dev.4 17:08:55 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:08:55 main 17:08:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:55 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:56 + docker push nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:08:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:08:56 454bb3ce7f25: Preparing 17:08:56 fdaa3cf3792d: Preparing 17:08:56 62bf62aae86c: Preparing 17:08:56 9950605d5499: Preparing 17:08:56 b541d28bf3b4: Preparing 17:08:56 b541d28bf3b4: Layer already exists 17:08:56 454bb3ce7f25: Pushed 17:08:56 fdaa3cf3792d: Pushed 17:08:56 9950605d5499: Pushed 17:08:58 62bf62aae86c: Pushed 17:08:58 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 17:08:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:08:59 454bb3ce7f25: Preparing 17:08:59 fdaa3cf3792d: Preparing 17:08:59 62bf62aae86c: Preparing 17:08:59 9950605d5499: Preparing 17:08:59 b541d28bf3b4: Preparing 17:08:59 fdaa3cf3792d: Layer already exists 17:08:59 9950605d5499: Layer already exists 17:08:59 62bf62aae86c: Layer already exists 17:08:59 454bb3ce7f25: Layer already exists 17:08:59 b541d28bf3b4: Layer already exists 17:08:59 latest: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 17:09:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:09:00 454bb3ce7f25: Preparing 17:09:00 fdaa3cf3792d: Preparing 17:09:00 62bf62aae86c: Preparing 17:09:00 9950605d5499: Preparing 17:09:00 b541d28bf3b4: Preparing 17:09:00 b541d28bf3b4: Layer already exists 17:09:00 9950605d5499: Layer already exists 17:09:00 fdaa3cf3792d: Layer already exists 17:09:00 62bf62aae86c: Layer already exists 17:09:00 454bb3ce7f25: Layer already exists 17:09:00 2.2.1-dev.4: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:09:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:09:00 454bb3ce7f25: Preparing 17:09:00 fdaa3cf3792d: Preparing 17:09:00 62bf62aae86c: Preparing 17:09:00 9950605d5499: Preparing 17:09:00 b541d28bf3b4: Preparing 17:09:00 b541d28bf3b4: Layer already exists 17:09:00 62bf62aae86c: Layer already exists 17:09:00 454bb3ce7f25: Layer already exists 17:09:00 9950605d5499: Layer already exists 17:09:00 fdaa3cf3792d: Layer already exists 17:09:00 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 17:09:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 17:09:01 454bb3ce7f25: Preparing 17:09:01 fdaa3cf3792d: Preparing 17:09:01 62bf62aae86c: Preparing 17:09:01 9950605d5499: Preparing 17:09:01 b541d28bf3b4: Preparing 17:09:01 fdaa3cf3792d: Layer already exists 17:09:01 62bf62aae86c: Layer already exists 17:09:01 9950605d5499: Layer already exists 17:09:01 454bb3ce7f25: Layer already exists 17:09:01 b541d28bf3b4: Layer already exists 17:09:01 main: digest: sha256:6369ffc89df449adc4f32e3a06ea9db5bb9187143be1762e25063417f9b9f679 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:09:01 ===================================================== [Pipeline] echo 17:09:01 taggedImages: 17:09:01 - nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:09:01 - nexus3.edgexfoundry.org:10004/device-rest:latest 17:09:01 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.4 17:09:01 - nexus3.edgexfoundry.org:10004/device-rest:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:09:01 - 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 17:09:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:09:01 17:09:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:09:02 latest: Pulling from edgex-lftools-log-publisher 17:09:02 5eb5b503b376: Pulling fs layer 17:09:02 5c69ac0246d0: Pulling fs layer 17:09:02 ec43610c2a17: Pulling fs layer 17:09:02 3a2ae6a8a46f: Pulling fs layer 17:09:02 33b1e0a273af: Pulling fs layer 17:09:02 5d3b04190fa2: Pulling fs layer 17:09:02 2f39f015ded8: Pulling fs layer 17:09:02 3a2ae6a8a46f: Waiting 17:09:02 33b1e0a273af: Waiting 17:09:02 2f39f015ded8: Waiting 17:09:02 5c69ac0246d0: Verifying Checksum 17:09:02 3a2ae6a8a46f: Verifying Checksum 17:09:02 3a2ae6a8a46f: Download complete 17:09:02 ec43610c2a17: Verifying Checksum 17:09:02 ec43610c2a17: Download complete 17:09:02 33b1e0a273af: Verifying Checksum 17:09:02 33b1e0a273af: Download complete 17:09:02 5d3b04190fa2: Verifying Checksum 17:09:02 5d3b04190fa2: Download complete 17:09:02 5eb5b503b376: Verifying Checksum 17:09:02 5eb5b503b376: Download complete 17:09:02 2f39f015ded8: Download complete 17:09:03 5eb5b503b376: Pull complete 17:09:03 5c69ac0246d0: Pull complete 17:09:04 ec43610c2a17: Pull complete 17:09:04 3a2ae6a8a46f: Pull complete 17:09:04 33b1e0a273af: Pull complete 17:09:04 5d3b04190fa2: Pull complete 17:09:08 2f39f015ded8: Pull complete 17:09:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:09:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:08 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:09:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:09:10 $ docker top 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:11 ---> job-cost.sh 17:09:11 lf-activate-venv: SKIPPING 17:09:11 INFO: No Stack... 17:09:11 INFO: Retrieving Pricing Info for: v3-standard-8 17:09:11 INFO: Archiving Costs [Pipeline] sh 17:09:12 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 17:09:12 + cut -d, -f6 [Pipeline] lock 17:09:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] 17:09:12 Resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] did not exist. Created. 17:09:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:09:12 + echo total: 0.2199999988079071 [Pipeline] stash 17:09:12 Stashed 1 file(s) [Pipeline] } 17:09:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 17:09:12 $ docker stop --time=1 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 17:09:13 $ docker rm -f 98ed1a619cbe75e6b2cfe4bb2e40a7b6ba86d4103aca48dda1add16bcc51ee08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:09:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1663 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 17:09:16 Running in /w/workspace/device-rest-go/45 [Pipeline] { [Pipeline] checkout 17:09:16 The recommended git tool is: git 17:09:24 using credential edgex-jenkins-ssh 17:09:24 Cloning the remote Git repository 17:09:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:09:24 > git init /w/workspace/device-rest-go/45 # timeout=10 17:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:09:24 > git --version # timeout=10 17:09:24 > git --version # 'git version 2.25.1' 17:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:09:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:26 Avoid second fetch 17:09:26 Checking out Revision 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 (main) 17:09:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:09:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:26 > git config core.sparsecheckout # timeout=10 17:09:26 > git checkout -f 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 17:09:30 Commit message: "Merge pull request #190 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:09:31 % Total % Received % Xferd Average Speed Time Time Time Current 17:09:31 Dload Upload Total Spent Left Speed 17:09:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 90762 [Pipeline] sh 17:09:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:09:32 + sudo tee /etc/docker/daemon.new 17:09:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:09:32 { 17:09:32 "registry-mirrors": [ 17:09:32 "https://nexus3.edgexfoundry.org:10001" 17:09:32 ], 17:09:32 "bip": "10.250.0.254/24", 17:09:32 "hosts": [ 17:09:32 "tcp://0.0.0.0:5555", 17:09:32 "unix:///var/run/docker.sock" 17:09:32 ], 17:09:32 "mtu": 1458, 17:09:32 "selinux-enabled": true, 17:09:32 "seccomp-profile": "/etc/docker/seccomp.json" 17:09:32 } [Pipeline] sh 17:09:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:09:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:51 provisioning config files... 17:09:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config4244897913693826371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:52 ---> docker-login.sh 17:09:52 nexus3.edgexfoundry.org:10001 17:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:53 Configure a credential helper to remove this warning. See 17:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:53 17:09:53 Login Succeeded 17:09:53 nexus3.edgexfoundry.org:10002 17:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:53 Configure a credential helper to remove this warning. See 17:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:53 17:09:53 Login Succeeded 17:09:53 nexus3.edgexfoundry.org:10003 17:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:54 Configure a credential helper to remove this warning. See 17:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:54 17:09:54 Login Succeeded 17:09:54 nexus3.edgexfoundry.org:10004 17:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:54 Configure a credential helper to remove this warning. See 17:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:54 17:09:54 Login Succeeded 17:09:54 docker.io 17:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:55 Configure a credential helper to remove this warning. See 17:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:55 17:09:55 Login Succeeded 17:09:55 ---> docker-login.sh ends [Pipeline] } 17:09:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:55 ========================================================= 17:09:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:09:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:55 + 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 . 17:09:55 Sending build context to Docker daemon 128.5kB 17:09:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:09:56 Step 2/12 : FROM ${BASE} AS builder 17:09:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:09:56 9b3977197b4f: Pulling fs layer 17:09:56 1a89e8eeedd5: Pulling fs layer 17:09:56 94645a83ff95: Pulling fs layer 17:09:56 e6fb740bc735: Pulling fs layer 17:09:56 3a77bd46dcc9: Pulling fs layer 17:09:56 355e64cbe906: Pulling fs layer 17:09:56 63ab81a10011: Pulling fs layer 17:09:56 555d1d1c4555: Pulling fs layer 17:09:56 3a77bd46dcc9: Waiting 17:09:56 355e64cbe906: Waiting 17:09:56 63ab81a10011: Waiting 17:09:56 e6fb740bc735: Waiting 17:09:56 555d1d1c4555: Waiting 17:09:56 7d9057610161: Pulling fs layer 17:09:56 7d9057610161: Waiting 17:09:56 94645a83ff95: Verifying Checksum 17:09:56 94645a83ff95: Download complete 17:09:56 1a89e8eeedd5: Verifying Checksum 17:09:56 1a89e8eeedd5: Download complete 17:09:56 3a77bd46dcc9: Verifying Checksum 17:09:56 3a77bd46dcc9: Download complete 17:09:56 355e64cbe906: Verifying Checksum 17:09:56 355e64cbe906: Download complete 17:09:56 9b3977197b4f: Verifying Checksum 17:09:56 9b3977197b4f: Download complete 17:09:56 63ab81a10011: Verifying Checksum 17:09:56 63ab81a10011: Download complete 17:09:57 9b3977197b4f: Pull complete 17:09:57 7d9057610161: Verifying Checksum 17:09:57 7d9057610161: Download complete 17:09:57 1a89e8eeedd5: Pull complete 17:09:58 94645a83ff95: Pull complete 17:09:58 555d1d1c4555: Verifying Checksum 17:09:58 555d1d1c4555: Download complete 17:09:58 e6fb740bc735: Verifying Checksum 17:09:58 e6fb740bc735: Download complete 17:10:11 e6fb740bc735: Pull complete 17:10:11 3a77bd46dcc9: Pull complete 17:10:11 355e64cbe906: Pull complete 17:10:11 63ab81a10011: Pull complete 17:10:18 555d1d1c4555: Pull complete 17:10:19 7d9057610161: Pull complete 17:10:19 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 17:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:10:19 ---> 819e984ddca1 17:10:19 Step 3/12 : ARG MAKE='make build' 17:10:21 ---> Running in 4afcb163da39 17:10:21 Removing intermediate container 4afcb163da39 17:10:21 ---> 13479b7c3a95 17:10:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:10:21 ---> Running in 5c11055df8e2 17:10:22 Removing intermediate container 5c11055df8e2 17:10:22 ---> 0beeadb4fa94 17:10:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 17:10:22 ---> Running in dd2317b704c8 17:10:22 Removing intermediate container dd2317b704c8 17:10:22 ---> 0a92104783d5 17:10:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:10:22 ---> Running in c8ec9897c59a 17:10:24 Removing intermediate container c8ec9897c59a 17:10:24 ---> b5809ab53c34 17:10:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:10:24 ---> Running in e084eddb6a14 17:10:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:10:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:10:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:10:27 (2/4) Installing libedit (20210910.3.1-r0) 17:10:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:10:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:10:27 Executing busybox-1.34.1-r3.trigger 17:10:27 OK: 224 MiB in 56 packages 17:10:29 Removing intermediate container e084eddb6a14 17:10:29 ---> 53c452f314aa 17:10:29 Step 8/12 : WORKDIR /device-rest-go 17:10:29 ---> Running in d57a28d3d6fa 17:10:29 Removing intermediate container d57a28d3d6fa 17:10:29 ---> 5a8ec9bc47a6 17:10:29 Step 9/12 : COPY go.mod vendor* ./ 17:10:30 ---> c55a7303a1c5 17:10:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:10:30 ---> Running in f69ea1930803 17:11:17 Removing intermediate container f69ea1930803 17:11:17 ---> 5e615784b280 17:11:17 Step 11/12 : COPY . . 17:11:17 ---> 60a31568ffbc 17:11:17 Step 12/12 : RUN $MAKE 17:11:17 ---> Running in a61827902ebc 17:11:17 noop 17:11:17 Removing intermediate container a61827902ebc 17:11:17 ---> 7962164afbd8 17:11:17 Successfully built 7962164afbd8 17:11:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:17 + docker inspect -f . ci-base-image-arm64 17:11:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:17 prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container 17:11:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-arm64 cat 17:11:19 $ docker top d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d -eo pid,comm [Pipeline] { [Pipeline] sh 17:11:20 + go version 17:11:20 go version go1.17.7 linux/arm64 [Pipeline] } 17:11:20 $ docker stop --time=1 d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d 17:11:21 $ docker rm -f d15954ab1176df37d4cfec67b4b54f7758a37b9468fb21e9922baa93a29dc02d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:22 + docker inspect -f . ci-base-image-arm64 17:11:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:22 prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container 17:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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-arm64 cat 17:11:24 $ docker top 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:11:24 + make test 17:11:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:11:26 ? github.com/edgexfoundry/device-rest-go [no test files] 17:12:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:12:48 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements 17:12:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:12:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:13:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:13:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:13:10 ./bin/test-attribution-txt.sh [Pipeline] echo 17:13:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:13:11 $ docker stop --time=1 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 17:13:13 $ docker rm -f 8a6d860beebdb7f409dea7ccbb20d38ac1bf43bd24f86257d104c70ab72ec812 [Pipeline] // withDockerContainer [Pipeline] sh 17:13:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:13:14 Warning: overwriting stash ‘coverage-report’ 17:13:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:13:15 + ls -al . 17:13:15 total 168 17:13:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:13 . 17:13:15 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 17:09 .. 17:13:15 -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 17:09 .dockerignore 17:13:15 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 17:09 .git 17:13:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 .github 17:13:15 -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 17:09 .gitignore 17:13:15 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 17:09 .golangci.yml 17:13:15 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 17:09 Attribution.txt 17:13:15 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 17:09 CHANGELOG.md 17:13:15 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 17:09 Dockerfile 17:13:15 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 17:09 GOVERNANCE.md 17:13:15 -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 17:09 Jenkinsfile 17:13:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 17:09 LICENSE 17:13:15 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 17:09 Makefile 17:13:15 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 17:09 OWNERS.md 17:13:15 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 17:09 README.md 17:13:15 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 17:07 VERSION 17:13:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:09 bin 17:13:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 cmd 17:13:15 -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 17:12 coverage.out 17:13:15 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 17:09 driver 17:13:15 -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 17:09 go.mod 17:13:15 -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 17:09 go.sum 17:13:15 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 17:09 snap 17:13:15 -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 17:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:15 + 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 --label arch=arm64 --label version=2.2.1-dev.4 . 17:13:15 Sending build context to Docker daemon 138.8kB 17:13:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:13:16 Step 2/25 : FROM ${BASE} AS builder 17:13:16 ---> 7962164afbd8 17:13:16 Step 3/25 : ARG MAKE='make build' 17:13:16 ---> Running in a70eaacfe3cd 17:13:16 Removing intermediate container a70eaacfe3cd 17:13:16 ---> a5a61624386a 17:13:16 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:13:16 ---> Running in 0ca198ab8c95 17:13:16 Removing intermediate container 0ca198ab8c95 17:13:16 ---> 754862ccdc26 17:13:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:13:16 ---> Running in 28bfe825982a 17:13:17 Removing intermediate container 28bfe825982a 17:13:17 ---> f428951a45e6 17:13:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:17 ---> Running in 1cfa0a8cc81f 17:13:18 Removing intermediate container 1cfa0a8cc81f 17:13:18 ---> 12cc69ab3fc2 17:13:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:19 ---> Running in 8b30285dde45 17:13:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:13:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:13:22 OK: 224 MiB in 56 packages 17:13:22 Removing intermediate container 8b30285dde45 17:13:22 ---> 7f3f86b7874d 17:13:22 Step 8/25 : WORKDIR /device-rest-go 17:13:23 ---> Running in f4a1f5e44522 17:13:23 Removing intermediate container f4a1f5e44522 17:13:23 ---> c0edc7b56b3a 17:13:23 Step 9/25 : COPY go.mod vendor* ./ 17:13:23 ---> d403bf2ee1e6 17:13:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:23 ---> Running in 8e416c0eb8f2 17:13:25 Removing intermediate container 8e416c0eb8f2 17:13:25 ---> eaf8e66d468c 17:13:25 Step 11/25 : COPY . . 17:13:26 ---> 5ceaea278950 17:13:26 Step 12/25 : RUN $MAKE 17:13:26 ---> Running in 27eae75980d9 17:13:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 17:15:33 Removing intermediate container 27eae75980d9 17:15:33 ---> c5e3a696c568 17:15:33 Step 13/25 : FROM alpine:3.14 17:15:33 3.14: Pulling from library/alpine 17:15:33 455c02918c45: Pulling fs layer 17:15:33 455c02918c45: Verifying Checksum 17:15:33 455c02918c45: Download complete 17:15:33 455c02918c45: Pull complete 17:15:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:15:33 Status: Downloaded newer image for alpine:3.14 17:15:33 ---> ac73e934f311 17:15:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:15:33 ---> Running in 03e8257bf2cc 17:15:33 Removing intermediate container 03e8257bf2cc 17:15:33 ---> 12b7858ef8d5 17:15:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:15:33 ---> Running in b8f051d2cee4 17:15:33 Removing intermediate container b8f051d2cee4 17:15:33 ---> ebad2e5e07fe 17:15:33 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:15:33 ---> Running in 22e2689056bc 17:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:15:33 (1/6) Installing dumb-init (1.2.5-r1) 17:15:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:15:33 (3/6) Installing libsodium (1.0.18-r0) 17:15:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:15:33 (5/6) Installing libzmq (4.3.4-r0) 17:15:33 (6/6) Installing zeromq (4.3.4-r0) 17:15:33 Executing busybox-1.33.1-r7.trigger 17:15:33 OK: 8 MiB in 20 packages 17:15:33 Removing intermediate container 22e2689056bc 17:15:33 ---> 761b6ecab481 17:15:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:15:33 ---> 4262c52aa8fc 17:15:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:15:33 ---> 8c05ad60908b 17:15:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:15:33 ---> 0d9c4de4c84b 17:15:33 Step 20/25 : EXPOSE 59986 17:15:33 ---> Running in b16af1acc540 17:15:33 Removing intermediate container b16af1acc540 17:15:33 ---> c769b5b2b0cd 17:15:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:15:33 ---> Running in 019fbeeefd6f 17:15:33 Removing intermediate container 019fbeeefd6f 17:15:33 ---> fa7187ea6d7c 17:15:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:15:33 ---> Running in df01fde48fe0 17:15:33 Removing intermediate container df01fde48fe0 17:15:33 ---> 1790e9e30252 17:15:33 Step 23/25 : LABEL arch=arm64 17:15:33 ---> Running in 1701c35f6636 17:15:33 Removing intermediate container 1701c35f6636 17:15:33 ---> 754bd13ef7ea 17:15:33 Step 24/25 : LABEL git_sha=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:15:33 ---> Running in 8f9290f709d3 17:15:33 Removing intermediate container 8f9290f709d3 17:15:33 ---> e0ebd499f934 17:15:33 Step 25/25 : LABEL version=2.2.1-dev.4 17:15:33 ---> Running in 7d0244ce4a76 17:15:33 Removing intermediate container 7d0244ce4a76 17:15:33 ---> cf3fe66cd54b 17:15:33 [Warning] One or more build-args [ARCH] were not consumed 17:15:33 Successfully built cf3fe66cd54b 17:15:33 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 17:15:34 provisioning config files... 17:15:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/45@tmp/config3242363269443490808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:34 ---> docker-login.sh 17:15:34 nexus3.edgexfoundry.org:10001 17:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:34 Configure a credential helper to remove this warning. See 17:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:34 17:15:34 Login Succeeded 17:15:34 nexus3.edgexfoundry.org:10002 17:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:35 Configure a credential helper to remove this warning. See 17:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:35 17:15:35 Login Succeeded 17:15:35 nexus3.edgexfoundry.org:10003 17:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:35 Configure a credential helper to remove this warning. See 17:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:35 17:15:35 Login Succeeded 17:15:35 nexus3.edgexfoundry.org:10004 17:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:36 Configure a credential helper to remove this warning. See 17:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:36 17:15:36 Login Succeeded 17:15:36 docker.io 17:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:36 Configure a credential helper to remove this warning. See 17:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:36 17:15:36 Login Succeeded 17:15:36 ---> docker-login.sh ends [Pipeline] } 17:15:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:37 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 17:15:37 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:15:37 latest 17:15:37 2.2.1-dev.4 17:15:37 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:15:37 main 17:15:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:15:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:15:37 87819267ec26: Preparing 17:15:37 50ca31be1392: Preparing 17:15:37 f070979aa7f7: Preparing 17:15:37 04bcec156985: Preparing 17:15:37 f73e7dbfee58: Preparing 17:15:38 f73e7dbfee58: Layer already exists 17:15:38 50ca31be1392: Pushed 17:15:38 87819267ec26: Pushed 17:15:38 04bcec156985: Pushed 17:15:44 f070979aa7f7: Pushed 17:15:44 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:15:45 87819267ec26: Preparing 17:15:45 50ca31be1392: Preparing 17:15:45 f070979aa7f7: Preparing 17:15:45 04bcec156985: Preparing 17:15:45 f73e7dbfee58: Preparing 17:15:45 04bcec156985: Layer already exists 17:15:45 87819267ec26: Layer already exists 17:15:45 f070979aa7f7: Layer already exists 17:15:45 f73e7dbfee58: Layer already exists 17:15:45 50ca31be1392: Layer already exists 17:15:45 latest: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 17:15:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:15:46 87819267ec26: Preparing 17:15:46 50ca31be1392: Preparing 17:15:46 f070979aa7f7: Preparing 17:15:46 04bcec156985: Preparing 17:15:46 f73e7dbfee58: Preparing 17:15:46 87819267ec26: Layer already exists 17:15:46 04bcec156985: Layer already exists 17:15:46 f070979aa7f7: Layer already exists 17:15:46 50ca31be1392: Layer already exists 17:15:46 f73e7dbfee58: Layer already exists 17:15:46 2.2.1-dev.4: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:46 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:15:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:15:47 87819267ec26: Preparing 17:15:47 50ca31be1392: Preparing 17:15:47 f070979aa7f7: Preparing 17:15:47 04bcec156985: Preparing 17:15:47 f73e7dbfee58: Preparing 17:15:47 04bcec156985: Layer already exists 17:15:47 f070979aa7f7: Layer already exists 17:15:47 50ca31be1392: Layer already exists 17:15:47 f73e7dbfee58: Layer already exists 17:15:47 87819267ec26: Layer already exists 17:15:47 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 17:15:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 17:15:48 87819267ec26: Preparing 17:15:48 50ca31be1392: Preparing 17:15:48 f070979aa7f7: Preparing 17:15:48 04bcec156985: Preparing 17:15:48 f73e7dbfee58: Preparing 17:15:48 f070979aa7f7: Layer already exists 17:15:48 87819267ec26: Layer already exists 17:15:48 f73e7dbfee58: Layer already exists 17:15:48 04bcec156985: Layer already exists 17:15:48 50ca31be1392: Layer already exists 17:15:48 main: digest: sha256:6587ff4ded4897ecb0615f6cf7cfc3b45d0f06fa7c1493b49bc5f6b856cc20eb size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:48 ===================================================== [Pipeline] echo 17:15:48 taggedImages: 17:15:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 17:15:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 17:15:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.4 17:15:48 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1cad1b3ab7defbb98e091de6cdc18e5f9044bad9-2.2.1-dev.4 17:15:48 - 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 17:15:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:48 17:15:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:49 arm64: Pulling from edgex-lftools-log-publisher 17:15:49 8998bd30e6a1: Pulling fs layer 17:15:49 04944245beec: Pulling fs layer 17:15:49 699f458cf7ca: Pulling fs layer 17:15:49 765212b225bb: Pulling fs layer 17:15:49 f23df028b6ca: Pulling fs layer 17:15:49 d65c8cfc05b1: Pulling fs layer 17:15:49 2437ff75d9bd: Pulling fs layer 17:15:49 765212b225bb: Waiting 17:15:49 f23df028b6ca: Waiting 17:15:49 d65c8cfc05b1: Waiting 17:15:49 2437ff75d9bd: Waiting 17:15:49 04944245beec: Verifying Checksum 17:15:49 04944245beec: Download complete 17:15:49 765212b225bb: Verifying Checksum 17:15:49 765212b225bb: Download complete 17:15:49 f23df028b6ca: Download complete 17:15:49 d65c8cfc05b1: Verifying Checksum 17:15:49 d65c8cfc05b1: Download complete 17:15:49 699f458cf7ca: Verifying Checksum 17:15:49 699f458cf7ca: Download complete 17:15:50 8998bd30e6a1: Verifying Checksum 17:15:50 8998bd30e6a1: Download complete 17:15:52 2437ff75d9bd: Verifying Checksum 17:15:52 2437ff75d9bd: Download complete 17:15:54 8998bd30e6a1: Pull complete 17:15:54 04944245beec: Pull complete 17:15:56 699f458cf7ca: Pull complete 17:15:56 765212b225bb: Pull complete 17:15:57 f23df028b6ca: Pull complete 17:15:57 d65c8cfc05b1: Pull complete 17:16:12 2437ff75d9bd: Pull complete 17:16:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:16:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:12 prd-ubuntu20.04-docker-arm64-4c-16g-1663 does not seem to be running inside a container 17:16:12 $ 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/45 -v /w/workspace/device-rest-go/45:/w/workspace/device-rest-go/45:rw,z -v /w/workspace/device-rest-go/45@tmp:/w/workspace/device-rest-go/45@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:arm64 cat 17:16:15 $ docker top ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:16 ---> job-cost.sh 17:16:16 lf-activate-venv: SKIPPING 17:16:16 INFO: No Stack... 17:16:16 INFO: Retrieving Pricing Info for: v3-standard-4 17:16:17 INFO: Archiving Costs [Pipeline] sh 17:16:18 + + cut -d,cat -f6 /w/workspace/device-rest-go/45/archives/cost.csv 17:16:18 [Pipeline] lock 17:16:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] 17:16:18 Resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] did not exist. Created. 17:16:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:19 /w/workspace/device-rest-go/45@tmp/durable-546ef1b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:16:19 + echo total: 0.10999999940395355 [Pipeline] stash 17:16:19 Warning: overwriting stash ‘stack-cost’ 17:16:19 Stashed 1 file(s) [Pipeline] } 17:16:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:19 $ docker stop --time=1 ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 17:16:21 $ docker rm -f ac94563a4ac7488f8a1eb84c36153db7b580ef9f84caa6b781cf7b4124f47d61 [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 17:16:21 provisioning config files... 17:16:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7376057706808018698tmp [Pipeline] { [Pipeline] sh 17:16:22 + set +x 17:16:22 + curl -s https://codecov.io/bash 17:16:22 + bash -s -- 17:16:22 17:16:22 _____ _ 17:16:22 / ____| | | 17:16:22 | | ___ __| | ___ ___ _____ __ 17:16:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:16:22 | |___| (_) | (_| | __/ (_| (_) \ V / 17:16:22 \_____\___/ \__,_|\___|\___\___/ \_/ 17:16:22 Bash-1.0.6 17:16:22 17:16:22 17:16:22 ==> git version 2.25.1 found 17:16:22 ==> 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 17:16:22 Release-Date: 2020-01-08 17:16:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:16:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:16:22 ==> Jenkins CI detected. 17:16:22 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 17:16:22 project root: . 17:16:22 --> token set from env 17:16:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:16:22 ==> Running gcov in . (disable via -X gcov) 17:16:22 ==> Python coveragepy not found 17:16:22 ==> Searching for coverage reports in: 17:16:22 + . 17:16:22 -> Found 1 reports 17:16:22 ==> Detecting git/mercurial file structure 17:16:22 ==> Reading reports 17:16:22 + ./coverage.out bytes=9355 17:16:22 ==> Appending adjustments 17:16:22 https://docs.codecov.io/docs/fixing-reports 17:16:22 + Found adjustments 17:16:22 ==> Gzipping contents 17:16:22 4.0K /tmp/codecov.7XArjA.gz 17:16:22 ==> Uploading reports 17:16:22 url: https://codecov.io 17:16:22 query: branch=main&commit=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:22 -> Pinging Codecov 17:16:22 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=1cad1b3ab7defbb98e091de6cdc18e5f9044bad9&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:22 -> Uploading to 17:16:22 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/4E5D53B4F1F92C436F7061BF334D961C/1cad1b3ab7defbb98e091de6cdc18e5f9044bad9/c2b2e8db-66f5-48c2-8d66-7ece06696e3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T171622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72a7276d4218e89da682986f1759b2eb527b787952c56d2000d420d7423867b9 17:16:22 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:22 Dload Upload Total Spent Left Speed 17:16:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7818 17:16:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] } 17:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:16:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:16:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:23 17:16:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:16:23 df9b9388f04a: Pulling fs layer 17:16:23 52dc419b0ee2: Pulling fs layer 17:16:23 25bc292e5bac: Pulling fs layer 17:16:23 114826534d7a: Pulling fs layer 17:16:23 4657fd5d0bcf: Pulling fs layer 17:16:23 6ad1cebc031e: Pulling fs layer 17:16:23 8a3aa393b2d8: Pulling fs layer 17:16:23 114826534d7a: Waiting 17:16:23 4657fd5d0bcf: Waiting 17:16:23 25bc292e5bac: Verifying Checksum 17:16:23 25bc292e5bac: Download complete 17:16:23 52dc419b0ee2: Download complete 17:16:23 4657fd5d0bcf: Download complete 17:16:23 df9b9388f04a: Download complete 17:16:24 6ad1cebc031e: Verifying Checksum 17:16:24 6ad1cebc031e: Download complete 17:16:24 df9b9388f04a: Pull complete 17:16:24 52dc419b0ee2: Pull complete 17:16:24 25bc292e5bac: Pull complete 17:16:24 114826534d7a: Verifying Checksum 17:16:24 114826534d7a: Download complete 17:16:24 8a3aa393b2d8: Verifying Checksum 17:16:24 8a3aa393b2d8: Download complete 17:16:28 114826534d7a: Pull complete 17:16:28 4657fd5d0bcf: Pull complete 17:16:28 6ad1cebc031e: Pull complete 17:16:31 8a3aa393b2d8: Pull complete 17:16:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:16:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:31 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:16:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:16:33 $ docker top c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 -eo pid,comm [Pipeline] { [Pipeline] echo 17:16:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 17:16:34 + set -o pipefail 17:16:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 17:16:39 17:16:39 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 17:16:39 17:16:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/785249fc-f812-488f-af86-716c12f2a700 17:16:39 17:16:39 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:16:39 17:16:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:16:39 17:16:39 [Pipeline] } 17:16:39 $ docker stop --time=1 c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 17:16:41 $ docker rm -f c2085607cd2d81f63cc357da374794b868d42f70c0bf242ef43c1d3dab1ebd25 [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 17:16:42 + git log --format=format:%s -1 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 [Pipeline] sh 17:16:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:16:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:16:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:43 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:16:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:16:43 $ docker top c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 -eo pid,comm 17:16:43 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). 17:16:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:16:43 [ssh-agent] Looking for ssh-agent implementation... 17:16:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:16:44 $ docker exec c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 ssh-agent 17:16:44 SSH_AUTH_SOCK=/tmp/ssh-iVbBBjt4EYDw/agent.32 17:16:44 SSH_AGENT_PID=38 17:16:44 Running ssh-add (command line suppressed) 17:16:44 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7619950896574694485.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7619950896574694485.key) 17:16:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:16:44 + git semver tag 17:16:44 2022-06-07 17:16:44,739 [run_tag] DEBUG tag force:False 17:16:44 2022-06-07 17:16:44,739 [check_head_tag] DEBUG check head tag 17:16:44 2022-06-07 17:16:44,740 [execute] INFO git cat-file --batch-check 17:16:44 2022-06-07 17:16:44,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:16:44 2022-06-07 17:16:44,743 [execute] INFO git cat-file --batch 17:16:44 2022-06-07 17:16:44,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 17:16:44 2022-06-07 17:16:44,752 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:16:44 2022-06-07 17:16:44,752 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 17:16:44 2022-06-07 17:16:44,752 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 17:16:44 2022-06-07 17:16:44,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:16:44 2.2.1-dev.4 [Pipeline] } 17:16:44 $ docker exec --env ******** --env ******** c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 ssh-agent -k 17:16:44 unset SSH_AUTH_SOCK; 17:16:44 unset SSH_AGENT_PID; 17:16:44 echo Agent pid 38 killed; 17:16:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:16:45 + git semver [Pipeline] } 17:16:45 $ docker stop --time=1 c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 17:16:46 $ docker rm -f c310f0ab9b4e8392b06074188e2b2f2d495ace6113dfc1ba23523c90eeb3c494 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:47 17:16:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:47 0.23.1-centos7: Pulling from edgex-lftools 17:16:47 ab5ef0e58194: Pulling fs layer 17:16:47 9712f1f96733: Pulling fs layer 17:16:47 63f879dbbcfc: Pulling fs layer 17:16:47 0d9ebad4ef96: Pulling fs layer 17:16:47 e9a5061849ea: Pulling fs layer 17:16:47 d747dcd14b5f: Pulling fs layer 17:16:47 2de7ff778b66: Pulling fs layer 17:16:47 0d9ebad4ef96: Waiting 17:16:47 e9a5061849ea: Waiting 17:16:47 d747dcd14b5f: Waiting 17:16:47 2de7ff778b66: Waiting 17:16:47 9712f1f96733: Verifying Checksum 17:16:47 9712f1f96733: Download complete 17:16:47 63f879dbbcfc: Verifying Checksum 17:16:47 63f879dbbcfc: Download complete 17:16:48 0d9ebad4ef96: Verifying Checksum 17:16:48 0d9ebad4ef96: Download complete 17:16:48 d747dcd14b5f: Download complete 17:16:48 e9a5061849ea: Verifying Checksum 17:16:48 ab5ef0e58194: Verifying Checksum 17:16:48 ab5ef0e58194: Download complete 17:16:48 2de7ff778b66: Verifying Checksum 17:16:48 2de7ff778b66: Download complete 17:16:50 ab5ef0e58194: Pull complete 17:16:50 9712f1f96733: Pull complete 17:16:51 63f879dbbcfc: Pull complete 17:16:55 0d9ebad4ef96: Pull complete 17:16:55 e9a5061849ea: Pull complete 17:16:55 d747dcd14b5f: Pull complete 17:16:56 2de7ff778b66: Pull complete 17:16:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:56 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:16:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:16:58 $ docker top 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:16:58 provisioning config files... 17:16:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2052882031787880127tmp 17:16:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6329063394658662583tmp 17:16:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6393698145033372307tmp [Pipeline] { [Pipeline] echo 17:16:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:16:58 ---> sigul-configuration.sh 17:16:58 gpg: directory `/root/.gnupg' created 17:16:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:16:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:16:58 gpg: keyring `/root/.gnupg/secring.gpg' created 17:16:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:16:58 gpg: CAST5 encrypted data 17:16:58 gpg: encrypted with 1 passphrase 17:16:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:16:58 + mkdir /home/jenkins 17:16:58 + mkdir /home/jenkins/sigul [Pipeline] sh 17:16:59 + 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 17:16:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:16:59 ---> sigul-install.sh 17:16:59 Sigul already installed; skipping installation. [Pipeline] sh 17:16:59 + git tag --list 17:16:59 v1.0.0 17:16:59 v1.1.0 17:16:59 v1.1.1 17:16:59 v1.1.2 17:16:59 v1.2.0 17:16:59 v1.2.1 17:16:59 v2.0.0 17:16:59 v2.1.0 17:16:59 v2.1.1-dev.1 17:16:59 v2.1.1-dev.2 17:16:59 v2.2.0 17:16:59 v2.2.1-dev.1 17:16:59 v2.2.1-dev.2 17:16:59 v2.2.1-dev.3 17:16:59 v2.2.1-dev.4 [Pipeline] sh 17:17:00 + lftools sign git-tag v2.2.1-dev.4 17:17:00 Signing Git tag with Sigul... 17:17:00 Signing v2.2.1-dev.4 [Pipeline] echo 17:17:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:17:01 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:17:01 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:17:01 $ docker stop --time=1 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 17:17:02 $ docker rm -f 345a72aa7314e4a3bf6df44a921f4ac0e9d831230852442cbc3e79df5b2005c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:17:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:03 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:17:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:17:03 $ docker top 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:03 [ssh-agent] Looking for ssh-agent implementation... 17:17:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:04 $ docker exec 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 ssh-agent 17:17:04 SSH_AUTH_SOCK=/tmp/ssh-wdAmLNOEYKE1/agent.33 17:17:04 SSH_AGENT_PID=40 17:17:04 Running ssh-add (command line suppressed) 17:17:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9090377785362762747.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9090377785362762747.key) 17:17:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:04 + git semver bump pre 17:17:04 2022-06-07 17:17:04,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:17:04 2022-06-07 17:17:04,819 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev 17:17:04 2022-06-07 17:17:04,819 [bump_version] DEBUG bumped version:2.2.1-dev.5 17:17:04 2022-06-07 17:17:04,819 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 17:17:04 2022-06-07 17:17:04,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:17:04 2022-06-07 17:17:04,819 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:17:04 2022-06-07 17:17:04,821 [execute] INFO git cat-file --batch-check 17:17:04 2022-06-07 17:17:04,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:04 2022-06-07 17:17:04,827 [execute] INFO git cat-file --batch 17:17:04 2022-06-07 17:17:04,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:04 2022-06-07 17:17:04,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:17:04 2.2.1-dev.5 [Pipeline] } 17:17:04 $ docker exec --env ******** --env ******** 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 ssh-agent -k 17:17:04 unset SSH_AUTH_SOCK; 17:17:04 unset SSH_AGENT_PID; 17:17:04 echo Agent pid 40 killed; 17:17:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:05 + git semver [Pipeline] } 17:17:05 $ docker stop --time=1 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 17:17:06 $ docker rm -f 448ff229f7f3c1e7ebc75080499109b15e06f64ddd8a6c1896876cccb7d40206 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:07 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:17:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:17:08 $ docker top 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:08 [ssh-agent] Looking for ssh-agent implementation... 17:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:08 $ docker exec 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc ssh-agent 17:17:08 SSH_AUTH_SOCK=/tmp/ssh-CWbkjavNPyRQ/agent.34 17:17:08 SSH_AGENT_PID=40 17:17:08 Running ssh-add (command line suppressed) 17:17:08 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6291811921683976353.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6291811921683976353.key) 17:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:08 + git semver push 17:17:09 2022-06-07 17:17:08,988 [run_push] DEBUG push 17:17:09 2022-06-07 17:17:08,989 [execute] INFO git cat-file --batch-check 17:17:09 2022-06-07 17:17:08,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:09 2022-06-07 17:17:08,993 [execute] INFO git rev-list 666b3ad81eda180ce82c03d337ffe16c2f825878 -- 17:17:09 2022-06-07 17:17:08,993 [execute] DEBUG Popen(['git', 'rev-list', '666b3ad81eda180ce82c03d337ffe16c2f825878', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:09 2022-06-07 17:17:08,999 [execute] INFO git fetch -v origin 17:17:09 2022-06-07 17:17:09,000 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:17:09 2022-06-07 17:17:09,470 [run_push] DEBUG no remote changes detected 17:17:09 2022-06-07 17:17:09,471 [execute] INFO git push origin semver 17:17:09 2022-06-07 17:17:09,471 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:10 2022-06-07 17:17:10,167 [run_push] DEBUG push all version tags 17:17:10 2022-06-07 17:17:10,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:17:10 2022-06-07 17:17:10,168 [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) 17:17:11 2022-06-07 17:17:10,811 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 17:17:11 2.2.1-dev.5 [Pipeline] } 17:17:11 $ docker exec --env ******** --env ******** 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc ssh-agent -k 17:17:11 unset SSH_AUTH_SOCK; 17:17:11 unset SSH_AGENT_PID; 17:17:11 echo Agent pid 40 killed; 17:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:11 + git semver [Pipeline] } 17:17:11 $ docker stop --time=1 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc 17:17:13 $ docker rm -f 0ee8cc4e60ca0eb84ee893a0bdab32b42af5fe8cfd198ec17173961bd80d30cc [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 17:17:13 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 17:17:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:17:13 total 16 17:17:13 drwxr-xr-x 3 root root 4096 Jun 7 17:09 . 17:17:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 17:16 .. 17:17:13 drwxr-xr-x 2 root root 4096 Jun 7 17:09 cost 17:17:13 -rw-r--r-- 1 root root 84 Jun 7 17:09 cost.csv 17:17:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 17:17:13 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 17:17:13 total 16 17:17:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 17:09 . 17:17:13 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 17:16 .. 17:17:13 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 17:09 cost 17:17:13 -rw-r--r-- 1 jenkins jenkins 84 Jun 7 17:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:17:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:17:14 ---> package-listing.sh 17:17:14 ++ facter osfamily 17:17:14 ++ tr '[:upper:]' '[:lower:]' 17:17:15 + OS_FAMILY=debian 17:17:15 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 17:17:15 + START_PACKAGES=/tmp/packages_start.txt 17:17:15 + END_PACKAGES=/tmp/packages_end.txt 17:17:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:17:15 + PACKAGES=/tmp/packages_start.txt 17:17:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:17:15 + PACKAGES=/tmp/packages_end.txt 17:17:15 + case "${OS_FAMILY}" in 17:17:15 + dpkg -l 17:17:15 + grep '^ii' 17:17:15 + '[' -f /tmp/packages_start.txt ']' 17:17:15 + '[' -f /tmp/packages_end.txt ']' 17:17:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:17:15 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 17:17:15 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 17:17:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 17:17:15 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 17:17:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:16 prd-ubuntu20.04-docker-8c-8g-1662 does not seem to be running inside a container 17:17:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:17:16 $ docker top 3f35a1c8ba0a8c884a3d3fac7693ae8a1a860e8f5b5a457d12a7e9903bdf99da -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:16 + touch /tmp/pre-build-complete [Pipeline] sh 17:17:16 + mkdir -p /var/log/sysstat [Pipeline] sh 17:17:17 + ls /var/log/sa-host 17:17:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:17 provisioning config files... 17:17:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5118534860038808514tmp [Pipeline] { [Pipeline] echo 17:17:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:17:17 ---> create-netrc.sh [Pipeline] } 17:17:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:17:18 ---> python-tools-install.sh [Pipeline] echo 17:17:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:17:18 ---> sudo-logs.sh 17:17:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:17:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:17:18 ---> job-cost.sh 17:17:18 lf-activate-venv: SKIPPING 17:17:18 DEBUG: total: 0.2199999988079071 17:17:18 INFO: Retrieving Stack Cost... 17:17:19 INFO: Retrieving Pricing Info for: v3-standard-8 17:17:19 INFO: Archiving Costs [Pipeline] echo 17:17:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:17:19 ---> logs-deploy.sh 17:17:19 lf-activate-venv: SKIPPING 17:17:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/45 17:17:19 INFO: archiving workspace using pattern(s): 17:17:20 Archives upload complete. 17:17:20 INFO: archiving logs to Nexus