Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3ce1b492942266db7d07684db880175cd9968c1 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-ssh9977881852316182461.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13944603641171555415.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16221046068837916988.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15017067067305234631.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-ssh809709812853797235.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4315 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 a3ce1b492942266db7d07684db880175cd9968c1 (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 a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 Commit message: "Merge pull request #197 from weichou1229/upgrade-sdk" > git rev-list --no-walk 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:43:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:43:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:43:19 ========================================================= 06:43:19 EdgeX Global Pipelines Version Info 06:43:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:43:20 ------------------- 06:43:20 stable info: 06:43:20 ------------------- 06:43:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:43:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:43:20 Message: update stable to v1.0.234 06:43:21 ------------------- 06:43:21 experimental info: 06:43:21 ------------------- 06:43:21 Commited By: **** collab-it+edgex@linuxfoundation.org 06:43:21 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:43:21 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3ce1b4 [Pipeline] echo 06:43:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:21 provisioning config files... 06:43:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1324217616501607251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:22 ---> docker-login.sh 06:43:22 nexus3.edgexfoundry.org:10001 06:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:22 Configure a credential helper to remove this warning. See 06:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:22 06:43:22 Login Succeeded 06:43:22 nexus3.edgexfoundry.org:10002 06:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:22 Configure a credential helper to remove this warning. See 06:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:22 06:43:22 Login Succeeded 06:43:22 nexus3.edgexfoundry.org:10003 06:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:22 Configure a credential helper to remove this warning. See 06:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:22 06:43:22 Login Succeeded 06:43:22 nexus3.edgexfoundry.org:10004 06:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:23 Configure a credential helper to remove this warning. See 06:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:23 06:43:23 Login Succeeded 06:43:23 docker.io 06:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:23 Configure a credential helper to remove this warning. See 06:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:23 06:43:23 Login Succeeded 06:43:23 ---> docker-login.sh ends [Pipeline] } 06:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:43:23 + git rev-list -1 --merges a3ce1b492942266db7d07684db880175cd9968c1~1..a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] echo 06:43:23 -----------> git rev-list -1 --merges a3ce1b492942266db7d07684db880175cd9968c1~1..a3ce1b492942266db7d07684db880175cd9968c1 a3ce1b492942266db7d07684db880175cd9968c1 06:43:23 a3ce1b492942266db7d07684db880175cd9968c1 [false] [Pipeline] sh 06:43:24 + git log --format=format:%s -1 a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] echo 06:43:24 ========================================================= 06:43:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:43:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:24 + git log --format=format:%s -1 a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] echo 06:43:24 [semverPrep] GIT_COMMIT: a3ce1b492942266db7d07684db880175cd9968c1, Commit Message: Merge pull request #197 from weichou1229/upgrade-sdk [Pipeline] echo 06:43:24 [semverPrep] This is not a build commit. [Pipeline] sh 06:43:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:43:24 + grep -v github /etc/ssh/ssh_known_hosts 06:43:24 + [ -e /tmp/ssh_known_hosts ] 06:43:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:43:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:43:24 + sudo tee -a /etc/ssh/ssh_known_hosts 06:43:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:25 06:43:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:25 0.1.4: Pulling from edgex-devops/py-git-semver 06:43:25 42c077c10790: Pulling fs layer 06:43:25 f63e77b7563a: Pulling fs layer 06:43:25 bd5fdadae976: Pulling fs layer 06:43:25 205491f53016: Pulling fs layer 06:43:25 df18705c85c3: Pulling fs layer 06:43:25 bdb3f477010e: Pulling fs layer 06:43:25 c8a8fc8e1c8f: Pulling fs layer 06:43:25 2c6e9b1d212d: Pulling fs layer 06:43:25 bdb8f0575790: Pulling fs layer 06:43:25 386e3cb2ff24: Pulling fs layer 06:43:25 2343380bae48: Pulling fs layer 06:43:25 c8a8fc8e1c8f: Waiting 06:43:25 2c6e9b1d212d: Waiting 06:43:25 bdb8f0575790: Waiting 06:43:25 386e3cb2ff24: Waiting 06:43:25 2343380bae48: Waiting 06:43:25 bdb3f477010e: Waiting 06:43:25 205491f53016: Waiting 06:43:25 f63e77b7563a: Verifying Checksum 06:43:25 f63e77b7563a: Download complete 06:43:25 205491f53016: Download complete 06:43:25 df18705c85c3: Verifying Checksum 06:43:25 df18705c85c3: Download complete 06:43:25 bdb3f477010e: Verifying Checksum 06:43:25 bdb3f477010e: Download complete 06:43:25 bd5fdadae976: Verifying Checksum 06:43:25 bd5fdadae976: Download complete 06:43:25 2c6e9b1d212d: Verifying Checksum 06:43:25 2c6e9b1d212d: Download complete 06:43:25 bdb8f0575790: Verifying Checksum 06:43:25 bdb8f0575790: Download complete 06:43:25 386e3cb2ff24: Verifying Checksum 06:43:25 386e3cb2ff24: Download complete 06:43:25 2343380bae48: Download complete 06:43:25 42c077c10790: Verifying Checksum 06:43:25 42c077c10790: Download complete 06:43:26 c8a8fc8e1c8f: Download complete 06:43:27 42c077c10790: Pull complete 06:43:27 f63e77b7563a: Pull complete 06:43:28 bd5fdadae976: Pull complete 06:43:28 205491f53016: Pull complete 06:43:28 df18705c85c3: Pull complete 06:43:28 bdb3f477010e: Pull complete 06:43:30 c8a8fc8e1c8f: Pull complete 06:43:30 2c6e9b1d212d: Pull complete 06:43:30 bdb8f0575790: Pull complete 06:43:30 386e3cb2ff24: Pull complete 06:43:30 2343380bae48: Pull complete 06:43:30 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:43:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:30 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 06:43:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:43:32 $ docker top 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 -eo pid,comm 06:43:32 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). 06:43:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:43:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:32 [ssh-agent] Looking for ssh-agent implementation... 06:43:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:32 $ docker exec 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 ssh-agent 06:43:32 SSH_AUTH_SOCK=/tmp/ssh-UGVQKGkzOeNH/agent.33 06:43:32 SSH_AGENT_PID=39 06:43:32 Running ssh-add (command line suppressed) 06:43:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6161803108699233926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6161803108699233926.key) 06:43:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:33 + git tag --points-at HEAD [Pipeline] } 06:43:33 $ docker exec --env ******** --env ******** 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 ssh-agent -k 06:43:33 unset SSH_AUTH_SOCK; 06:43:33 unset SSH_AGENT_PID; 06:43:33 echo Agent pid 39 killed; 06:43:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:43:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:43:33 [ssh-agent] Looking for ssh-agent implementation... 06:43:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:43:33 $ docker exec 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 ssh-agent 06:43:33 SSH_AUTH_SOCK=/tmp/ssh-9d5SmBV3Qvkb/agent.72 06:43:33 SSH_AGENT_PID=78 06:43:33 Running ssh-add (command line suppressed) 06:43:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_304688836439866578.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_304688836439866578.key) 06:43:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:43:34 + git semver init 06:43:34 2022-06-19 06:43:34,447 [run_init] DEBUG init version:0.0.0 force:False 06:43:34 2022-06-19 06:43:34,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 06:43:34 2022-06-19 06:43:34,448 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:43:34 2022-06-19 06:43:34,448 [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) 06:43:35 2022-06-19 06:43:35,317 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 06:43:35 2022-06-19 06:43:35,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 06:43:35 2022-06-19 06:43:35,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:43:35 2022-06-19 06:43:35,318 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:43:35 2.2.1-dev.5 [Pipeline] } 06:43:35 $ docker exec --env ******** --env ******** 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 ssh-agent -k 06:43:35 unset SSH_AUTH_SOCK; 06:43:35 unset SSH_AGENT_PID; 06:43:35 echo Agent pid 78 killed; 06:43:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:43:35 + git semver [Pipeline] } 06:43:36 $ docker stop --time=1 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 06:43:37 $ docker rm -f 5e2daa4054ccc9db013c6e3e5836e490a45104b6121a888f53ba3571eee64173 [Pipeline] // withDockerContainer [Pipeline] sh 06:43:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:43:38 Stashed 1 file(s) [Pipeline] echo 06:43:38 [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [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 06:43:38 provisioning config files... 06:43:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config582576393381246757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:38 ---> docker-login.sh 06:43:38 nexus3.edgexfoundry.org:10001 06:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:38 Configure a credential helper to remove this warning. See 06:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:38 06:43:38 Login Succeeded 06:43:38 nexus3.edgexfoundry.org:10002 06:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:38 Configure a credential helper to remove this warning. See 06:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:38 06:43:38 Login Succeeded 06:43:38 nexus3.edgexfoundry.org:10003 06:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:38 Configure a credential helper to remove this warning. See 06:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:38 06:43:38 Login Succeeded 06:43:38 nexus3.edgexfoundry.org:10004 06:43:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:39 Configure a credential helper to remove this warning. See 06:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:39 06:43:39 Login Succeeded 06:43:39 docker.io 06:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:39 Configure a credential helper to remove this warning. See 06:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:39 06:43:39 Login Succeeded 06:43:39 ---> docker-login.sh ends [Pipeline] } 06:43:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:39 ========================================================= 06:43:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:43:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:39 + 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 . 06:43:39 Sending build context to Docker daemon 10.66MB 06:43:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:43:39 Step 2/12 : FROM ${BASE} AS builder 06:43:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:43:39 59bf1c3509f3: Pulling fs layer 06:43:39 666ba61612fd: Pulling fs layer 06:43:39 8ed8ca486205: Pulling fs layer 06:43:39 cc1cd167ecdc: Pulling fs layer 06:43:39 c516ae0d96e1: Pulling fs layer 06:43:39 684cea983483: Pulling fs layer 06:43:39 dd3240ac7de5: Pulling fs layer 06:43:39 b1e948a4e11c: Pulling fs layer 06:43:39 a8fd76ee1af6: Pulling fs layer 06:43:39 646ad004c059: Pulling fs layer 06:43:39 b1e948a4e11c: Waiting 06:43:39 cc1cd167ecdc: Waiting 06:43:39 a8fd76ee1af6: Waiting 06:43:39 dd3240ac7de5: Waiting 06:43:39 c516ae0d96e1: Waiting 06:43:39 684cea983483: Waiting 06:43:39 646ad004c059: Waiting 06:43:39 8ed8ca486205: Verifying Checksum 06:43:39 8ed8ca486205: Download complete 06:43:39 666ba61612fd: Download complete 06:43:40 c516ae0d96e1: Verifying Checksum 06:43:40 c516ae0d96e1: Download complete 06:43:40 684cea983483: Verifying Checksum 06:43:40 dd3240ac7de5: Download complete 06:43:40 59bf1c3509f3: Verifying Checksum 06:43:40 59bf1c3509f3: Download complete 06:43:40 b1e948a4e11c: Verifying Checksum 06:43:40 b1e948a4e11c: Download complete 06:43:40 59bf1c3509f3: Pull complete 06:43:40 666ba61612fd: Pull complete 06:43:40 8ed8ca486205: Pull complete 06:43:40 646ad004c059: Verifying Checksum 06:43:40 646ad004c059: Download complete 06:43:40 a8fd76ee1af6: Verifying Checksum 06:43:40 cc1cd167ecdc: Verifying Checksum 06:43:40 cc1cd167ecdc: Download complete 06:43:45 cc1cd167ecdc: Pull complete 06:43:45 c516ae0d96e1: Pull complete 06:43:45 684cea983483: Pull complete 06:43:45 dd3240ac7de5: Pull complete 06:43:45 b1e948a4e11c: Pull complete 06:43:46 a8fd76ee1af6: Pull complete 06:43:47 646ad004c059: Pull complete 06:43:47 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:43:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:43:47 ---> 8f69c11f6b0c 06:43:47 Step 3/12 : ARG MAKE='make build' 06:43:48 ---> Running in 2012fc1cdb7f 06:43:49 Removing intermediate container 2012fc1cdb7f 06:43:49 ---> 1d36d865075a 06:43:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:43:49 ---> Running in 4ac53abf16c3 06:43:49 Removing intermediate container 4ac53abf16c3 06:43:49 ---> 4c69f6987141 06:43:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:43:49 ---> Running in 2c901c1b6e74 06:43:49 Removing intermediate container 2c901c1b6e74 06:43:49 ---> 63c502355897 06:43:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:49 ---> Running in 593011124b06 06:43:50 Removing intermediate container 593011124b06 06:43:50 ---> 5143e1fabb85 06:43:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:43:50 ---> Running in 71438341408f 06:43:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:43:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:43:51 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:43:51 (2/4) Installing libedit (20210910.3.1-r0) 06:43:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:43:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:43:51 Executing busybox-1.34.1-r3.trigger 06:43:51 OK: 224 MiB in 56 packages 06:43:51 Removing intermediate container 71438341408f 06:43:51 ---> 6036ceb9607a 06:43:51 Step 8/12 : WORKDIR /device-rest-go 06:43:52 ---> Running in 1bcb99218992 06:43:52 Removing intermediate container 1bcb99218992 06:43:52 ---> 24790b6ecce2 06:43:52 Step 9/12 : COPY go.mod vendor* ./ 06:43:52 ---> 50fd59a0c434 06:43:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:43:52 ---> Running in 0f69c5ecd01d 06:43:53 Still waiting to schedule task 06:43:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:44:04 Removing intermediate container 0f69c5ecd01d 06:44:04 ---> 86385df4a795 06:44:04 Step 11/12 : COPY . . 06:44:05 ---> 975b0e178e20 06:44:05 Step 12/12 : RUN $MAKE 06:44:05 ---> Running in 6d0fcf8a2fd7 06:44:05 noop 06:44:05 Removing intermediate container 6d0fcf8a2fd7 06:44:05 ---> ba7a43b10c22 06:44:05 Successfully built ba7a43b10c22 06:44:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:06 + docker inspect -f . ci-base-image-x86_64 06:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:06 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 06:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:06 $ docker top 545bd4ef217151d1366b912ee97aa4ebbd5039e2a83254b68fdce8669bdb608c -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:07 + go version 06:44:07 go version go1.17.7 linux/amd64 [Pipeline] } 06:44:07 $ docker stop --time=1 545bd4ef217151d1366b912ee97aa4ebbd5039e2a83254b68fdce8669bdb608c 06:44:08 $ docker rm -f 545bd4ef217151d1366b912ee97aa4ebbd5039e2a83254b68fdce8669bdb608c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:08 + docker inspect -f . ci-base-image-x86_64 06:44:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:08 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 06:44:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:44:09 $ docker top 5b70ef0a1355e20b98744ec71e7c524d243be683859ddb9fa17f28debff124e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:44:09 + make test 06:44:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:44:10 ? github.com/edgexfoundry/device-rest-go [no test files] 06:44:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:44:20 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 06:44:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:44:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:44:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:44:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:44:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:44:29 $ docker stop --time=1 5b70ef0a1355e20b98744ec71e7c524d243be683859ddb9fa17f28debff124e8 06:44:31 $ docker rm -f 5b70ef0a1355e20b98744ec71e7c524d243be683859ddb9fa17f28debff124e8 [Pipeline] // withDockerContainer [Pipeline] sh 06:44:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:44:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:33 + ls -al . 06:44:33 total 172 06:44:33 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 06:44 . 06:44:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 06:43 .. 06:44:33 -rw-rw-r-- 1 jenkins jenkins 151 Jun 19 06:43 .dockerignore 06:44:33 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 06:43 .git 06:44:33 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:43 .github 06:44:33 -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 06:43 .gitignore 06:44:33 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 06:43 .golangci.yml 06:44:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:43 .semver 06:44:33 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 19 06:43 Attribution.txt 06:44:33 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 19 06:43 CHANGELOG.md 06:44:33 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 19 06:43 Dockerfile 06:44:33 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 06:43 GOVERNANCE.md 06:44:33 -rw-rw-r-- 1 jenkins jenkins 680 Jun 19 06:43 Jenkinsfile 06:44:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 06:43 LICENSE 06:44:33 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 19 06:43 Makefile 06:44:33 -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 06:43 OWNERS.md 06:44:33 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 19 06:43 README.md 06:44:33 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:43 VERSION 06:44:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:43 bin 06:44:33 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:43 cmd 06:44:33 -rw-r--r-- 1 jenkins jenkins 9355 Jun 19 06:44 coverage.out 06:44:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 06:43 driver 06:44:33 -rw-rw-r-- 1 jenkins jenkins 3337 Jun 19 06:43 go.mod 06:44:33 -rw-rw-r-- 1 jenkins jenkins 36102 Jun 19 06:43 go.sum 06:44:33 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 06:43 snap 06:44:33 -rw-rw-r-- 1 jenkins jenkins 713 Jun 19 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:33 + 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=a3ce1b492942266db7d07684db880175cd9968c1 --label arch=amd64 --label version=2.2.1-dev.5 . 06:44:33 Sending build context to Docker daemon 10.67MB 06:44:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:44:33 Step 2/25 : FROM ${BASE} AS builder 06:44:33 ---> ba7a43b10c22 06:44:33 Step 3/25 : ARG MAKE='make build' 06:44:33 ---> Running in 4064e3859787 06:44:33 Removing intermediate container 4064e3859787 06:44:33 ---> 18d9b2495c4f 06:44:33 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:44:33 ---> Running in 169ca0ef0137 06:44:34 Removing intermediate container 169ca0ef0137 06:44:34 ---> ffe07ad6c2c8 06:44:34 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:44:34 ---> Running in 05e717a6a5b3 06:44:34 Removing intermediate container 05e717a6a5b3 06:44:34 ---> 3efa87cd5c2c 06:44:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:34 ---> Running in 5ec568c84064 06:44:34 Removing intermediate container 5ec568c84064 06:44:34 ---> 9d3bee633915 06:44:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:44:34 ---> Running in b92294e522dd 06:44:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:44:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:44:36 OK: 224 MiB in 56 packages 06:44:36 Removing intermediate container b92294e522dd 06:44:36 ---> 2c9b48bc5852 06:44:36 Step 8/25 : WORKDIR /device-rest-go 06:44:36 ---> Running in 77ed37e592e3 06:44:36 Removing intermediate container 77ed37e592e3 06:44:36 ---> fdb94ee3d557 06:44:36 Step 9/25 : COPY go.mod vendor* ./ 06:44:36 ---> 8f31caa28aa0 06:44:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:36 ---> Running in fcd51c413cbe 06:44:37 Removing intermediate container fcd51c413cbe 06:44:37 ---> cfed458c14cf 06:44:37 Step 11/25 : COPY . . 06:44:37 ---> e3627866875c 06:44:37 Step 12/25 : RUN $MAKE 06:44:37 ---> Running in 263c51fbc913 06:44:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:44:59 Removing intermediate container 263c51fbc913 06:44:59 ---> cfbf76ab7460 06:44:59 Step 13/25 : FROM alpine:3.14 06:44:59 3.14: Pulling from library/alpine 06:44:59 8663204ce13b: Pulling fs layer 06:44:59 8663204ce13b: Verifying Checksum 06:44:59 8663204ce13b: Download complete 06:44:59 8663204ce13b: Pull complete 06:44:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:44:59 Status: Downloaded newer image for alpine:3.14 06:44:59 ---> e04c818066af 06:44:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:44:59 ---> Running in cc8846167955 06:44:59 Removing intermediate container cc8846167955 06:44:59 ---> 73ed6fd5bd14 06:44:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:44:59 ---> Running in b8bc6946b3f8 06:44:59 Removing intermediate container b8bc6946b3f8 06:44:59 ---> 76625d8dc01c 06:44:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 06:44:59 ---> Running in f5ba638e2070 06:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:44:59 (1/6) Installing dumb-init (1.2.5-r1) 06:44:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:44:59 (3/6) Installing libsodium (1.0.18-r0) 06:44:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:44:59 (5/6) Installing libzmq (4.3.4-r0) 06:44:59 (6/6) Installing zeromq (4.3.4-r0) 06:44:59 Executing busybox-1.33.1-r7.trigger 06:44:59 OK: 8 MiB in 20 packages 06:44:59 Removing intermediate container f5ba638e2070 06:44:59 ---> e9c070f6a64a 06:44:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:44:59 ---> d220fb84bf94 06:44:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:44:59 ---> 55a71aff11cc 06:44:59 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:44:59 ---> fa354c6974c3 06:44:59 Step 20/25 : EXPOSE 59986 06:44:59 ---> Running in 60124f7a3fff 06:44:59 Removing intermediate container 60124f7a3fff 06:44:59 ---> 485611fd296d 06:44:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:44:59 ---> Running in 866011766db9 06:44:59 Removing intermediate container 866011766db9 06:44:59 ---> 264e4fcb2b9f 06:44:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:44:59 ---> Running in bd9e2a030e8b 06:44:59 Removing intermediate container bd9e2a030e8b 06:44:59 ---> f92d534cfcc7 06:44:59 Step 23/25 : LABEL arch=amd64 06:44:59 ---> Running in 17e3a54a955b 06:44:59 Removing intermediate container 17e3a54a955b 06:44:59 ---> 783503f38ce5 06:44:59 Step 24/25 : LABEL git_sha=a3ce1b492942266db7d07684db880175cd9968c1 06:45:00 ---> Running in f7bf91004e1a 06:45:00 Removing intermediate container f7bf91004e1a 06:45:00 ---> caea98a525dc 06:45:00 Step 25/25 : LABEL version=2.2.1-dev.5 06:45:00 ---> Running in 8c8add757031 06:45:00 Removing intermediate container 8c8add757031 06:45:00 ---> 2d2625caa521 06:45:00 [Warning] One or more build-args [ARCH] were not consumed 06:45:00 Successfully built 2d2625caa521 06:45:00 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:00 provisioning config files... 06:45:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6429354931631781095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:00 ---> docker-login.sh 06:45:00 nexus3.edgexfoundry.org:10001 06:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:00 Configure a credential helper to remove this warning. See 06:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:00 06:45:00 Login Succeeded 06:45:00 nexus3.edgexfoundry.org:10002 06:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:00 Configure a credential helper to remove this warning. See 06:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:00 06:45:00 Login Succeeded 06:45:00 nexus3.edgexfoundry.org:10003 06:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:00 Configure a credential helper to remove this warning. See 06:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:00 06:45:00 Login Succeeded 06:45:00 nexus3.edgexfoundry.org:10004 06:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:01 Configure a credential helper to remove this warning. See 06:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:01 06:45:01 Login Succeeded 06:45:01 docker.io 06:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:01 Configure a credential helper to remove this warning. See 06:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:01 06:45:01 Login Succeeded 06:45:01 ---> docker-login.sh ends [Pipeline] } 06:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:01 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:45:01 a3ce1b492942266db7d07684db880175cd9968c1 06:45:01 latest 06:45:01 2.2.1-dev.5 06:45:01 a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 06:45:01 main 06:45:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1 06:45:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:45:02 1810c4a649d9: Preparing 06:45:02 a764ac232944: Preparing 06:45:02 c27505959902: Preparing 06:45:02 f35a7fa60192: Preparing 06:45:02 b541d28bf3b4: Preparing 06:45:02 b541d28bf3b4: Layer already exists 06:45:02 a764ac232944: Pushed 06:45:02 1810c4a649d9: Pushed 06:45:02 f35a7fa60192: Pushed 06:45:04 c27505959902: Pushed 06:45:04 a3ce1b492942266db7d07684db880175cd9968c1: digest: sha256:e8fb8a1755ba9e83cf0fec2bd01eb0d8f4e3ebdae1ebc767d71e50dda7798f5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:45:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:45:05 1810c4a649d9: Preparing 06:45:05 a764ac232944: Preparing 06:45:05 c27505959902: Preparing 06:45:05 f35a7fa60192: Preparing 06:45:05 b541d28bf3b4: Preparing 06:45:05 1810c4a649d9: Layer already exists 06:45:05 c27505959902: Layer already exists 06:45:05 a764ac232944: Layer already exists 06:45:05 b541d28bf3b4: Layer already exists 06:45:05 f35a7fa60192: Layer already exists 06:45:05 latest: digest: sha256:e8fb8a1755ba9e83cf0fec2bd01eb0d8f4e3ebdae1ebc767d71e50dda7798f5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.5 06:45:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:45:06 1810c4a649d9: Preparing 06:45:06 a764ac232944: Preparing 06:45:06 c27505959902: Preparing 06:45:06 f35a7fa60192: Preparing 06:45:06 b541d28bf3b4: Preparing 06:45:06 b541d28bf3b4: Layer already exists 06:45:06 c27505959902: Layer already exists 06:45:06 a764ac232944: Layer already exists 06:45:06 f35a7fa60192: Layer already exists 06:45:06 1810c4a649d9: Layer already exists 06:45:06 2.2.1-dev.5: digest: sha256:e8fb8a1755ba9e83cf0fec2bd01eb0d8f4e3ebdae1ebc767d71e50dda7798f5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 06:45:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:45:06 1810c4a649d9: Preparing 06:45:06 a764ac232944: Preparing 06:45:06 c27505959902: Preparing 06:45:06 f35a7fa60192: Preparing 06:45:06 b541d28bf3b4: Preparing 06:45:06 1810c4a649d9: Layer already exists 06:45:06 b541d28bf3b4: Layer already exists 06:45:06 a764ac232944: Layer already exists 06:45:06 c27505959902: Layer already exists 06:45:06 f35a7fa60192: Layer already exists 06:45:06 a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5: digest: sha256:e8fb8a1755ba9e83cf0fec2bd01eb0d8f4e3ebdae1ebc767d71e50dda7798f5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:45:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:45:07 1810c4a649d9: Preparing 06:45:07 a764ac232944: Preparing 06:45:07 c27505959902: Preparing 06:45:07 f35a7fa60192: Preparing 06:45:07 b541d28bf3b4: Preparing 06:45:07 c27505959902: Layer already exists 06:45:07 a764ac232944: Layer already exists 06:45:07 f35a7fa60192: Layer already exists 06:45:07 1810c4a649d9: Layer already exists 06:45:07 b541d28bf3b4: Layer already exists 06:45:07 main: digest: sha256:e8fb8a1755ba9e83cf0fec2bd01eb0d8f4e3ebdae1ebc767d71e50dda7798f5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:45:07 ===================================================== [Pipeline] echo 06:45:07 taggedImages: 06:45:07 - nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1 06:45:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:45:07 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.5 06:45:07 - nexus3.edgexfoundry.org:10004/device-rest:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 06:45:07 - 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 06:45:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:08 06:45:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:08 latest: Pulling from edgex-lftools-log-publisher 06:45:08 5eb5b503b376: Pulling fs layer 06:45:08 5c69ac0246d0: Pulling fs layer 06:45:08 ec43610c2a17: Pulling fs layer 06:45:08 3a2ae6a8a46f: Pulling fs layer 06:45:08 33b1e0a273af: Pulling fs layer 06:45:08 5d3b04190fa2: Pulling fs layer 06:45:08 2f39f015ded8: Pulling fs layer 06:45:08 3a2ae6a8a46f: Waiting 06:45:08 33b1e0a273af: Waiting 06:45:08 2f39f015ded8: Waiting 06:45:08 5d3b04190fa2: Waiting 06:45:08 5c69ac0246d0: Download complete 06:45:08 3a2ae6a8a46f: Verifying Checksum 06:45:08 3a2ae6a8a46f: Download complete 06:45:08 33b1e0a273af: Verifying Checksum 06:45:08 33b1e0a273af: Download complete 06:45:08 5d3b04190fa2: Download complete 06:45:08 ec43610c2a17: Verifying Checksum 06:45:08 ec43610c2a17: Download complete 06:45:08 5eb5b503b376: Verifying Checksum 06:45:08 5eb5b503b376: Download complete 06:45:09 2f39f015ded8: Download complete 06:45:09 5eb5b503b376: Pull complete 06:45:09 5c69ac0246d0: Pull complete 06:45:11 ec43610c2a17: Pull complete 06:45:11 3a2ae6a8a46f: Pull complete 06:45:11 33b1e0a273af: Pull complete 06:45:11 5d3b04190fa2: Pull complete 06:45:14 2f39f015ded8: Pull complete 06:45:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:14 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 06:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:45:16 $ docker top db0b6e811cb0ba1c9d756d97f18256204c5c02c9dd2307f8061cf2872210f2c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:16 ---> job-cost.sh 06:45:16 lf-activate-venv: SKIPPING 06:45:16 INFO: No Stack... 06:45:17 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:17 INFO: Archiving Costs [Pipeline] sh 06:45:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 06:45:18 + cut -d, -f6 [Pipeline] lock 06:45:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] 06:45:18 Resource [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] did not exist. Created. 06:45:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:18 + echo total: 0.2199999988079071 [Pipeline] stash 06:45:18 Stashed 1 file(s) [Pipeline] } 06:45:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:18 $ docker stop --time=1 db0b6e811cb0ba1c9d756d97f18256204c5c02c9dd2307f8061cf2872210f2c4 06:45:19 $ docker rm -f db0b6e811cb0ba1c9d756d97f18256204c5c02c9dd2307f8061cf2872210f2c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:24:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14838 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 09:24:43 Running in /w/workspace/device-rest-go/46 [Pipeline] { [Pipeline] checkout 09:24:43 The recommended git tool is: git 09:24:51 using credential edgex-jenkins-ssh 09:24:51 Cloning the remote Git repository 09:24:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:24:51 > git init /w/workspace/device-rest-go/46 # timeout=10 09:24:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:24:51 > git --version # timeout=10 09:24:51 > git --version # 'git version 2.25.1' 09:24:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:24:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:53 Avoid second fetch 09:24:53 Checking out Revision a3ce1b492942266db7d07684db880175cd9968c1 (main) 09:24:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:24:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:53 > git config core.sparsecheckout # timeout=10 09:24:53 > git checkout -f a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 09:24:58 Commit message: "Merge pull request #197 from weichou1229/upgrade-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:24:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:24:58 Dload Upload Total Spent Left Speed 09:24:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 09:24:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:25:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:25:00 + sudo tee /etc/docker/daemon.new 09:25:00 { 09:25:00 "registry-mirrors": [ 09:25:00 "https://nexus3.edgexfoundry.org:10001" 09:25:00 ], 09:25:00 "bip": "10.250.0.254/24", 09:25:00 "hosts": [ 09:25:00 "tcp://0.0.0.0:5555", 09:25:00 "unix:///var/run/docker.sock" 09:25:00 ], 09:25:00 "mtu": 1458, 09:25:00 "selinux-enabled": true, 09:25:00 "seccomp-profile": "/etc/docker/seccomp.json" 09:25:00 } [Pipeline] sh 09:25:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:25:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:19 provisioning config files... 09:25:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config4710424604730349385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:19 ---> docker-login.sh 09:25:19 nexus3.edgexfoundry.org:10001 09:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:20 Configure a credential helper to remove this warning. See 09:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:20 09:25:20 Login Succeeded 09:25:20 nexus3.edgexfoundry.org:10002 09:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:21 Configure a credential helper to remove this warning. See 09:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:21 09:25:21 Login Succeeded 09:25:21 nexus3.edgexfoundry.org:10003 09:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:21 Configure a credential helper to remove this warning. See 09:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:21 09:25:21 Login Succeeded 09:25:21 nexus3.edgexfoundry.org:10004 09:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:22 Configure a credential helper to remove this warning. See 09:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:22 09:25:22 Login Succeeded 09:25:22 docker.io 09:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:22 Configure a credential helper to remove this warning. See 09:25:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:22 09:25:22 Login Succeeded 09:25:22 ---> docker-login.sh ends [Pipeline] } 09:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:23 ========================================================= 09:25:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:25:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:23 + 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 . 09:25:23 Sending build context to Docker daemon 129kB 09:25:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:25:23 Step 2/12 : FROM ${BASE} AS builder 09:25:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:25:24 9b3977197b4f: Pulling fs layer 09:25:24 1a89e8eeedd5: Pulling fs layer 09:25:24 94645a83ff95: Pulling fs layer 09:25:24 e6fb740bc735: Pulling fs layer 09:25:24 3a77bd46dcc9: Pulling fs layer 09:25:24 355e64cbe906: Pulling fs layer 09:25:24 63ab81a10011: Pulling fs layer 09:25:24 555d1d1c4555: Pulling fs layer 09:25:24 7d9057610161: Pulling fs layer 09:25:24 e6fb740bc735: Waiting 09:25:24 3a77bd46dcc9: Waiting 09:25:24 355e64cbe906: Waiting 09:25:24 555d1d1c4555: Waiting 09:25:24 63ab81a10011: Waiting 09:25:24 7d9057610161: Waiting 09:25:24 94645a83ff95: Verifying Checksum 09:25:24 94645a83ff95: Download complete 09:25:24 1a89e8eeedd5: Download complete 09:25:24 3a77bd46dcc9: Verifying Checksum 09:25:24 3a77bd46dcc9: Download complete 09:25:24 355e64cbe906: Verifying Checksum 09:25:24 355e64cbe906: Download complete 09:25:24 63ab81a10011: Verifying Checksum 09:25:24 63ab81a10011: Download complete 09:25:24 9b3977197b4f: Verifying Checksum 09:25:24 9b3977197b4f: Download complete 09:25:25 9b3977197b4f: Pull complete 09:25:25 7d9057610161: Verifying Checksum 09:25:25 7d9057610161: Download complete 09:25:25 1a89e8eeedd5: Pull complete 09:25:26 94645a83ff95: Pull complete 09:25:27 555d1d1c4555: Verifying Checksum 09:25:27 555d1d1c4555: Download complete 09:25:27 e6fb740bc735: Verifying Checksum 09:25:27 e6fb740bc735: Download complete 09:25:42 e6fb740bc735: Pull complete 09:25:42 3a77bd46dcc9: Pull complete 09:25:42 355e64cbe906: Pull complete 09:25:42 63ab81a10011: Pull complete 09:25:48 555d1d1c4555: Pull complete 09:25:50 7d9057610161: Pull complete 09:25:50 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 09:25:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:25:50 ---> 819e984ddca1 09:25:50 Step 3/12 : ARG MAKE='make build' 09:25:52 ---> Running in 10df93252bcb 09:25:52 Removing intermediate container 10df93252bcb 09:25:52 ---> a0b0e4fa7e57 09:25:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:52 ---> Running in ce580fc73833 09:25:53 Removing intermediate container ce580fc73833 09:25:53 ---> 0d73c7becf72 09:25:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:25:53 ---> Running in 7f5e1c1e5d53 09:25:54 Removing intermediate container 7f5e1c1e5d53 09:25:54 ---> 0aefdfdc7521 09:25:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:54 ---> Running in 13bd98261556 09:25:56 Removing intermediate container 13bd98261556 09:25:56 ---> 36866c9cf3c0 09:25:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:56 ---> Running in 2535486b8b5a 09:25:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:25:59 (2/4) Installing libedit (20210910.3.1-r0) 09:25:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:25:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:25:59 Executing busybox-1.34.1-r3.trigger 09:26:00 OK: 224 MiB in 56 packages 09:26:01 Removing intermediate container 2535486b8b5a 09:26:01 ---> 737cd16af77d 09:26:01 Step 8/12 : WORKDIR /device-rest-go 09:26:01 ---> Running in 7ba1498443b2 09:26:01 Removing intermediate container 7ba1498443b2 09:26:01 ---> 0f31a4fd7cfc 09:26:01 Step 9/12 : COPY go.mod vendor* ./ 09:26:01 ---> 1836454592d7 09:26:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:01 ---> Running in c0e59ff6c448 09:26:48 Removing intermediate container c0e59ff6c448 09:26:48 ---> a796e555858a 09:26:48 Step 11/12 : COPY . . 09:26:48 ---> 9f2641f83bdb 09:26:48 Step 12/12 : RUN $MAKE 09:26:48 ---> Running in de4c9b949fe8 09:26:48 noop 09:26:49 Removing intermediate container de4c9b949fe8 09:26:49 ---> 14468e0832dd 09:26:49 Successfully built 14468e0832dd 09:26:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:49 + docker inspect -f . ci-base-image-arm64 09:26:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:50 prd-ubuntu20.04-docker-arm64-4c-16g-14838 does not seem to be running inside a container 09:26:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:26:51 $ docker top a0e42cad993264ac71694e7adfef947c9b150c5c87b279e3d3caf4a3d17c3000 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:52 + go version 09:26:52 go version go1.17.7 linux/arm64 [Pipeline] } 09:26:52 $ docker stop --time=1 a0e42cad993264ac71694e7adfef947c9b150c5c87b279e3d3caf4a3d17c3000 09:26:54 $ docker rm -f a0e42cad993264ac71694e7adfef947c9b150c5c87b279e3d3caf4a3d17c3000 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:54 + docker inspect -f . ci-base-image-arm64 09:26:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:26:55 prd-ubuntu20.04-docker-arm64-4c-16g-14838 does not seem to be running inside a container 09:26:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:26:56 $ docker top d35311611e98f70cfe16d09931ad564fa7bee56c311cd31fa1cef842e6fedd90 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:26:57 + make test 09:26:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:26:59 ? github.com/edgexfoundry/device-rest-go [no test files] 09:28:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:28:36 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 09:28:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:28:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:29:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:29:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:29:08 ./bin/test-attribution-txt.sh [Pipeline] echo 09:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:29:08 $ docker stop --time=1 d35311611e98f70cfe16d09931ad564fa7bee56c311cd31fa1cef842e6fedd90 09:29:10 $ docker rm -f d35311611e98f70cfe16d09931ad564fa7bee56c311cd31fa1cef842e6fedd90 [Pipeline] // withDockerContainer [Pipeline] sh 09:29:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:29:11 Warning: overwriting stash ‘coverage-report’ 09:29:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:29:12 + ls -al . 09:29:12 total 168 09:29:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 09:29 . 09:29:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 09:24 .. 09:29:12 -rw-rw-r-- 1 jenkins jenkins 151 Jun 19 09:24 .dockerignore 09:29:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 09:24 .git 09:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 09:24 .github 09:29:12 -rw-rw-r-- 1 jenkins jenkins 329 Jun 19 09:24 .gitignore 09:29:12 -rw-rw-r-- 1 jenkins jenkins 41 Jun 19 09:24 .golangci.yml 09:29:12 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 19 09:24 Attribution.txt 09:29:12 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 19 09:24 CHANGELOG.md 09:29:12 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 19 09:24 Dockerfile 09:29:12 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 09:24 GOVERNANCE.md 09:29:12 -rw-rw-r-- 1 jenkins jenkins 680 Jun 19 09:24 Jenkinsfile 09:29:12 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 19 09:24 LICENSE 09:29:12 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 19 09:24 Makefile 09:29:12 -rw-rw-r-- 1 jenkins jenkins 620 Jun 19 09:24 OWNERS.md 09:29:12 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 19 09:24 README.md 09:29:12 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 06:43 VERSION 09:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:24 bin 09:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 09:24 cmd 09:29:12 -rw-r--r-- 1 jenkins jenkins 9355 Jun 19 09:28 coverage.out 09:29:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:24 driver 09:29:12 -rw-rw-r-- 1 jenkins jenkins 3337 Jun 19 09:24 go.mod 09:29:12 -rw-rw-r-- 1 jenkins jenkins 36102 Jun 19 09:24 go.sum 09:29:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 09:24 snap 09:29:12 -rw-rw-r-- 1 jenkins jenkins 713 Jun 19 09:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:13 + 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=a3ce1b492942266db7d07684db880175cd9968c1 --label arch=arm64 --label version=2.2.1-dev.5 . 09:29:13 Sending build context to Docker daemon 139.3kB 09:29:13 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:29:13 Step 2/25 : FROM ${BASE} AS builder 09:29:13 ---> 14468e0832dd 09:29:13 Step 3/25 : ARG MAKE='make build' 09:29:13 ---> Running in 6cd2e3855438 09:29:13 Removing intermediate container 6cd2e3855438 09:29:13 ---> 0d5e92051d69 09:29:13 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:29:13 ---> Running in 735103ca041d 09:29:14 Removing intermediate container 735103ca041d 09:29:14 ---> 33de599bf428 09:29:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:29:14 ---> Running in 1854a97ec329 09:29:14 Removing intermediate container 1854a97ec329 09:29:14 ---> 84a747195b6c 09:29:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:14 ---> Running in 3450e1703185 09:29:16 Removing intermediate container 3450e1703185 09:29:16 ---> 18e7b9916211 09:29:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:29:16 ---> Running in 73bc2249245e 09:29:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:29:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:29:19 OK: 224 MiB in 56 packages 09:29:20 Removing intermediate container 73bc2249245e 09:29:20 ---> 7e84470a43ac 09:29:20 Step 8/25 : WORKDIR /device-rest-go 09:29:20 ---> Running in eb90828fe9d7 09:29:21 Removing intermediate container eb90828fe9d7 09:29:21 ---> 25ca4133f997 09:29:21 Step 9/25 : COPY go.mod vendor* ./ 09:29:21 ---> 0117820496e4 09:29:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:21 ---> Running in c9cd970e0a8d 09:29:24 Removing intermediate container c9cd970e0a8d 09:29:24 ---> db126a8b1872 09:29:24 Step 11/25 : COPY . . 09:29:24 ---> 6fd39c4a60ef 09:29:24 Step 12/25 : RUN $MAKE 09:29:24 ---> Running in 796f32c193fc 09:29:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 09:31:47 Removing intermediate container 796f32c193fc 09:31:47 ---> ebc2dbf72805 09:31:47 Step 13/25 : FROM alpine:3.14 09:31:47 3.14: Pulling from library/alpine 09:31:47 455c02918c45: Pulling fs layer 09:31:47 455c02918c45: Verifying Checksum 09:31:47 455c02918c45: Download complete 09:31:47 455c02918c45: Pull complete 09:31:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:31:47 Status: Downloaded newer image for alpine:3.14 09:31:47 ---> ac73e934f311 09:31:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 09:31:47 ---> Running in 64e37aeda1b8 09:31:47 Removing intermediate container 64e37aeda1b8 09:31:47 ---> 1ee61f5e52c8 09:31:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:31:47 ---> Running in b74ef28e7b65 09:31:47 Removing intermediate container b74ef28e7b65 09:31:47 ---> 2f875688b848 09:31:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:31:47 ---> Running in 5877cdbb7707 09:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:31:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:31:49 (1/6) Installing dumb-init (1.2.5-r1) 09:31:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:31:49 (3/6) Installing libsodium (1.0.18-r0) 09:31:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:31:49 (5/6) Installing libzmq (4.3.4-r0) 09:31:49 (6/6) Installing zeromq (4.3.4-r0) 09:31:49 Executing busybox-1.33.1-r7.trigger 09:31:49 OK: 8 MiB in 20 packages 09:31:50 Removing intermediate container 5877cdbb7707 09:31:50 ---> 460fd84770a0 09:31:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:31:52 ---> 39bd468f4898 09:31:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:31:52 ---> 560ce49b0732 09:31:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:31:53 ---> 3b08cef638f2 09:31:53 Step 20/25 : EXPOSE 59986 09:31:53 ---> Running in 0bab03fea033 09:31:53 Removing intermediate container 0bab03fea033 09:31:53 ---> b4910cea6a2a 09:31:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:31:53 ---> Running in 365167a58080 09:31:54 Removing intermediate container 365167a58080 09:31:54 ---> af73d6af6210 09:31:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:31:54 ---> Running in 75bf6c36b296 09:31:54 Removing intermediate container 75bf6c36b296 09:31:54 ---> 5874c3ad226c 09:31:54 Step 23/25 : LABEL arch=arm64 09:31:54 ---> Running in 08954258afba 09:31:55 Removing intermediate container 08954258afba 09:31:55 ---> b3e5024225fd 09:31:55 Step 24/25 : LABEL git_sha=a3ce1b492942266db7d07684db880175cd9968c1 09:31:55 ---> Running in f8efa965b5d4 09:31:55 Removing intermediate container f8efa965b5d4 09:31:55 ---> 565ce9a541fe 09:31:55 Step 25/25 : LABEL version=2.2.1-dev.5 09:31:55 ---> Running in 8ab194f68787 09:31:55 Removing intermediate container 8ab194f68787 09:31:55 ---> 1fed6f56bdd0 09:31:55 [Warning] One or more build-args [ARCH] were not consumed 09:31:55 Successfully built 1fed6f56bdd0 09:31:55 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 09:31:55 provisioning config files... 09:31:55 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/46@tmp/config6329396306941656759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:56 ---> docker-login.sh 09:31:56 nexus3.edgexfoundry.org:10001 09:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:56 Configure a credential helper to remove this warning. See 09:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:56 09:31:56 Login Succeeded 09:31:56 nexus3.edgexfoundry.org:10002 09:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:57 Configure a credential helper to remove this warning. See 09:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:57 09:31:57 Login Succeeded 09:31:57 nexus3.edgexfoundry.org:10003 09:31:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:57 Configure a credential helper to remove this warning. See 09:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:57 09:31:57 Login Succeeded 09:31:57 nexus3.edgexfoundry.org:10004 09:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:58 Configure a credential helper to remove this warning. See 09:31:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:58 09:31:58 Login Succeeded 09:31:58 docker.io 09:31:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:31:59 Configure a credential helper to remove this warning. See 09:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:31:59 09:31:59 Login Succeeded 09:31:59 ---> docker-login.sh ends [Pipeline] } 09:31:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:31:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:31:59 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 09:31:59 a3ce1b492942266db7d07684db880175cd9968c1 09:31:59 latest 09:31:59 2.2.1-dev.5 09:31:59 a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 09:31:59 main 09:31:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:31:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1 09:32:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:32:00 0b1b0d5b10e8: Preparing 09:32:00 493661f5b422: Preparing 09:32:00 99459759c245: Preparing 09:32:00 1998482b2846: Preparing 09:32:00 f73e7dbfee58: Preparing 09:32:00 f73e7dbfee58: Layer already exists 09:32:00 0b1b0d5b10e8: Pushed 09:32:00 493661f5b422: Pushed 09:32:00 1998482b2846: Pushed 09:32:07 99459759c245: Pushed 09:32:07 a3ce1b492942266db7d07684db880175cd9968c1: digest: sha256:4ea87c86bef9e53d2731183ebbc2afc8e4d5af1605118fed6f55672345d462fc size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:32:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:32:08 0b1b0d5b10e8: Preparing 09:32:08 493661f5b422: Preparing 09:32:08 99459759c245: Preparing 09:32:08 1998482b2846: Preparing 09:32:08 f73e7dbfee58: Preparing 09:32:08 99459759c245: Layer already exists 09:32:08 493661f5b422: Layer already exists 09:32:08 1998482b2846: Layer already exists 09:32:08 f73e7dbfee58: Layer already exists 09:32:08 0b1b0d5b10e8: Layer already exists 09:32:08 latest: digest: sha256:4ea87c86bef9e53d2731183ebbc2afc8e4d5af1605118fed6f55672345d462fc size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.5 09:32:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:32:09 0b1b0d5b10e8: Preparing 09:32:09 493661f5b422: Preparing 09:32:09 99459759c245: Preparing 09:32:09 1998482b2846: Preparing 09:32:09 f73e7dbfee58: Preparing 09:32:09 493661f5b422: Layer already exists 09:32:09 0b1b0d5b10e8: Layer already exists 09:32:09 1998482b2846: Layer already exists 09:32:09 f73e7dbfee58: Layer already exists 09:32:09 99459759c245: Layer already exists 09:32:09 2.2.1-dev.5: digest: sha256:4ea87c86bef9e53d2731183ebbc2afc8e4d5af1605118fed6f55672345d462fc size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 09:32:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:32:10 0b1b0d5b10e8: Preparing 09:32:10 493661f5b422: Preparing 09:32:10 99459759c245: Preparing 09:32:10 1998482b2846: Preparing 09:32:10 f73e7dbfee58: Preparing 09:32:10 99459759c245: Layer already exists 09:32:10 493661f5b422: Layer already exists 09:32:10 0b1b0d5b10e8: Layer already exists 09:32:10 1998482b2846: Layer already exists 09:32:10 f73e7dbfee58: Layer already exists 09:32:10 a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5: digest: sha256:4ea87c86bef9e53d2731183ebbc2afc8e4d5af1605118fed6f55672345d462fc size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 09:32:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 09:32:11 0b1b0d5b10e8: Preparing 09:32:11 493661f5b422: Preparing 09:32:11 99459759c245: Preparing 09:32:11 1998482b2846: Preparing 09:32:11 f73e7dbfee58: Preparing 09:32:11 f73e7dbfee58: Layer already exists 09:32:11 0b1b0d5b10e8: Layer already exists 09:32:11 1998482b2846: Layer already exists 09:32:11 493661f5b422: Layer already exists 09:32:11 99459759c245: Layer already exists 09:32:11 main: digest: sha256:4ea87c86bef9e53d2731183ebbc2afc8e4d5af1605118fed6f55672345d462fc size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:32:11 ===================================================== [Pipeline] echo 09:32:11 taggedImages: 09:32:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1 09:32:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 09:32:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.5 09:32:11 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a3ce1b492942266db7d07684db880175cd9968c1-2.2.1-dev.5 09:32:11 - 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 09:32:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:12 09:32:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:12 arm64: Pulling from edgex-lftools-log-publisher 09:32:12 8998bd30e6a1: Pulling fs layer 09:32:12 04944245beec: Pulling fs layer 09:32:12 699f458cf7ca: Pulling fs layer 09:32:12 765212b225bb: Pulling fs layer 09:32:12 f23df028b6ca: Pulling fs layer 09:32:12 d65c8cfc05b1: Pulling fs layer 09:32:12 2437ff75d9bd: Pulling fs layer 09:32:12 f23df028b6ca: Waiting 09:32:12 765212b225bb: Waiting 09:32:12 d65c8cfc05b1: Waiting 09:32:12 2437ff75d9bd: Waiting 09:32:12 04944245beec: Verifying Checksum 09:32:12 04944245beec: Download complete 09:32:12 765212b225bb: Verifying Checksum 09:32:12 765212b225bb: Download complete 09:32:12 f23df028b6ca: Verifying Checksum 09:32:12 f23df028b6ca: Download complete 09:32:12 d65c8cfc05b1: Verifying Checksum 09:32:12 d65c8cfc05b1: Download complete 09:32:13 699f458cf7ca: Verifying Checksum 09:32:13 699f458cf7ca: Download complete 09:32:13 8998bd30e6a1: Verifying Checksum 09:32:13 8998bd30e6a1: Download complete 09:32:15 2437ff75d9bd: Verifying Checksum 09:32:15 2437ff75d9bd: Download complete 09:32:17 8998bd30e6a1: Pull complete 09:32:18 04944245beec: Pull complete 09:32:19 699f458cf7ca: Pull complete 09:32:19 765212b225bb: Pull complete 09:32:20 f23df028b6ca: Pull complete 09:32:20 d65c8cfc05b1: Pull complete 09:32:35 2437ff75d9bd: Pull complete 09:32:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:32:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:35 prd-ubuntu20.04-docker-arm64-4c-16g-14838 does not seem to be running inside a container 09:32:36 $ 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/46 -v /w/workspace/device-rest-go/46:/w/workspace/device-rest-go/46:rw,z -v /w/workspace/device-rest-go/46@tmp:/w/workspace/device-rest-go/46@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:32:38 $ docker top 05bab6b76742919332038b174aa0dfe61411f58429206f19779f586b70ad055d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:39 ---> job-cost.sh 09:32:39 lf-activate-venv: SKIPPING 09:32:39 INFO: No Stack... 09:32:40 INFO: Retrieving Pricing Info for: v3-standard-4 09:32:41 INFO: Archiving Costs [Pipeline] sh 09:32:41 + cut -d, -f6 09:32:41 + cat /w/workspace/device-rest-go/46/archives/cost.csv [Pipeline] lock 09:32:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] 09:32:41 Resource [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] did not exist. Created. 09:32:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:42 /w/workspace/device-rest-go/46@tmp/durable-1813f4c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:43 + echo total: 0.10999999940395355 [Pipeline] stash 09:32:43 Warning: overwriting stash ‘stack-cost’ 09:32:43 Stashed 1 file(s) [Pipeline] } 09:32:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-46-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:43 $ docker stop --time=1 05bab6b76742919332038b174aa0dfe61411f58429206f19779f586b70ad055d 09:32:44 $ docker rm -f 05bab6b76742919332038b174aa0dfe61411f58429206f19779f586b70ad055d [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 09:32:45 provisioning config files... 09:32:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3746777707531551838tmp [Pipeline] { [Pipeline] sh 09:32:45 + set +x 09:32:45 + curl -s https://codecov.io/bash 09:32:45 + bash -s -- 09:32:45 09:32:45 _____ _ 09:32:45 / ____| | | 09:32:45 | | ___ __| | ___ ___ _____ __ 09:32:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:32:45 | |___| (_) | (_| | __/ (_| (_) \ V / 09:32:45 \_____\___/ \__,_|\___|\___\___/ \_/ 09:32:45 Bash-1.0.6 09:32:45 09:32:45 09:32:45 ==> git version 2.25.1 found 09:32:45 ==> 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 09:32:45 Release-Date: 2020-01-08 09:32:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:32:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:32:45 ==> Jenkins CI detected. 09:32:45 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 09:32:45 project root: . 09:32:45 --> token set from env 09:32:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:32:45 ==> Running gcov in . (disable via -X gcov) 09:32:45 ==> Python coveragepy not found 09:32:45 ==> Searching for coverage reports in: 09:32:45 + . 09:32:45 -> Found 1 reports 09:32:45 ==> Detecting git/mercurial file structure 09:32:45 ==> Reading reports 09:32:45 + ./coverage.out bytes=9355 09:32:45 ==> Appending adjustments 09:32:45 https://docs.codecov.io/docs/fixing-reports 09:32:45 + Found adjustments 09:32:45 ==> Gzipping contents 09:32:45 4.0K /tmp/codecov.6kpgZu.gz 09:32:45 ==> Uploading reports 09:32:45 url: https://codecov.io 09:32:45 query: branch=main&commit=a3ce1b492942266db7d07684db880175cd9968c1&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:32:45 -> Pinging Codecov 09:32:45 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=a3ce1b492942266db7d07684db880175cd9968c1&build=46&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F46%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:32:45 -> Uploading to 09:32:45 https://storage.googleapis.com/codecov/v4/raw/2022-06-19/4E5D53B4F1F92C436F7061BF334D961C/a3ce1b492942266db7d07684db880175cd9968c1/0973e7d3-ab9c-4ae6-b243-7f04f79f8557.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T093245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=460aee4c9388bbcea418286e765a3b6fc107af005558bc2ce663b0b19fdf81a8 09:32:45 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:45 Dload Upload Total Spent Left Speed 09:32:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 8476 --:--:-- --:--:-- --:--:-- 8476 09:32:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] } 09:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:32:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:32:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:46 09:32:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:32:46 df9b9388f04a: Pulling fs layer 09:32:46 52dc419b0ee2: Pulling fs layer 09:32:46 25bc292e5bac: Pulling fs layer 09:32:46 114826534d7a: Pulling fs layer 09:32:46 4657fd5d0bcf: Pulling fs layer 09:32:46 6ad1cebc031e: Pulling fs layer 09:32:46 8a3aa393b2d8: Pulling fs layer 09:32:46 4657fd5d0bcf: Waiting 09:32:46 6ad1cebc031e: Waiting 09:32:46 8a3aa393b2d8: Waiting 09:32:46 114826534d7a: Waiting 09:32:46 25bc292e5bac: Verifying Checksum 09:32:46 25bc292e5bac: Download complete 09:32:46 52dc419b0ee2: Download complete 09:32:46 4657fd5d0bcf: Verifying Checksum 09:32:46 4657fd5d0bcf: Download complete 09:32:46 df9b9388f04a: Verifying Checksum 09:32:46 df9b9388f04a: Download complete 09:32:47 df9b9388f04a: Pull complete 09:32:47 6ad1cebc031e: Verifying Checksum 09:32:47 6ad1cebc031e: Download complete 09:32:47 52dc419b0ee2: Pull complete 09:32:47 25bc292e5bac: Pull complete 09:32:47 114826534d7a: Verifying Checksum 09:32:47 114826534d7a: Download complete 09:32:47 8a3aa393b2d8: Verifying Checksum 09:32:47 8a3aa393b2d8: Download complete 09:32:51 114826534d7a: Pull complete 09:32:51 4657fd5d0bcf: Pull complete 09:32:51 6ad1cebc031e: Pull complete 09:32:53 8a3aa393b2d8: Pull complete 09:32:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:32:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:32:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:54 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:32:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:32:56 $ docker top 3fc77d0d235f46422e77e6ecd417ca1314bac86b46eeffd8224b85ebad88652c -eo pid,comm [Pipeline] { [Pipeline] echo 09:32:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 09:32:56 + set -o pipefail 09:32:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 09:33:00 09:33:00 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 09:33:00 09:33:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4b1217e7-6e2f-4ff0-9065-60341d7dc1a5 09:33:00 09:33:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:33:00 09:33:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:33:00 09:33:00 [Pipeline] } 09:33:01 $ docker stop --time=1 3fc77d0d235f46422e77e6ecd417ca1314bac86b46eeffd8224b85ebad88652c 09:33:03 $ docker rm -f 3fc77d0d235f46422e77e6ecd417ca1314bac86b46eeffd8224b85ebad88652c [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 09:33:04 + git log --format=format:%s -1 a3ce1b492942266db7d07684db880175cd9968c1 [Pipeline] sh 09:33:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:04 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:33:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:05 $ docker top 27298aec430449ccf750aa5d1d23329ebbfb2d10bf3a0aa947cc98b73af3978f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:05 [ssh-agent] Looking for ssh-agent implementation... 09:33:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:05 $ docker exec 27298aec430449ccf750aa5d1d23329ebbfb2d10bf3a0aa947cc98b73af3978f ssh-agent 09:33:05 SSH_AUTH_SOCK=/tmp/ssh-tdW8oeCvCW8M/agent.33 09:33:05 SSH_AGENT_PID=40 09:33:05 Running ssh-add (command line suppressed) 09:33:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1671613175171030419.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1671613175171030419.key) 09:33:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:06 + git semver tag 09:33:06 2022-06-19 09:33:06,400 [run_tag] DEBUG tag force:False 09:33:06 2022-06-19 09:33:06,400 [check_head_tag] DEBUG check head tag 09:33:06 2022-06-19 09:33:06,401 [execute] INFO git cat-file --batch-check 09:33:06 2022-06-19 09:33:06,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:33:06 2022-06-19 09:33:06,405 [execute] INFO git cat-file --batch 09:33:06 2022-06-19 09:33:06,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 09:33:06 2022-06-19 09:33:06,412 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:06 2022-06-19 09:33:06,412 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 09:33:06 2022-06-19 09:33:06,412 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 09:33:06 2022-06-19 09:33:06,416 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:06 2.2.1-dev.5 [Pipeline] } 09:33:06 $ docker exec --env ******** --env ******** 27298aec430449ccf750aa5d1d23329ebbfb2d10bf3a0aa947cc98b73af3978f ssh-agent -k 09:33:06 unset SSH_AUTH_SOCK; 09:33:06 unset SSH_AGENT_PID; 09:33:06 echo Agent pid 40 killed; 09:33:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:06 + git semver [Pipeline] } 09:33:07 $ docker stop --time=1 27298aec430449ccf750aa5d1d23329ebbfb2d10bf3a0aa947cc98b73af3978f 09:33:08 $ docker rm -f 27298aec430449ccf750aa5d1d23329ebbfb2d10bf3a0aa947cc98b73af3978f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:08 09:33:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:09 0.23.1-centos7: Pulling from edgex-lftools 09:33:09 ab5ef0e58194: Pulling fs layer 09:33:09 9712f1f96733: Pulling fs layer 09:33:09 63f879dbbcfc: Pulling fs layer 09:33:09 0d9ebad4ef96: Pulling fs layer 09:33:09 e9a5061849ea: Pulling fs layer 09:33:09 d747dcd14b5f: Pulling fs layer 09:33:09 2de7ff778b66: Pulling fs layer 09:33:09 0d9ebad4ef96: Waiting 09:33:09 e9a5061849ea: Waiting 09:33:09 d747dcd14b5f: Waiting 09:33:09 2de7ff778b66: Waiting 09:33:09 9712f1f96733: Verifying Checksum 09:33:09 9712f1f96733: Download complete 09:33:09 63f879dbbcfc: Download complete 09:33:09 e9a5061849ea: Verifying Checksum 09:33:09 e9a5061849ea: Download complete 09:33:09 d747dcd14b5f: Verifying Checksum 09:33:09 d747dcd14b5f: Download complete 09:33:09 ab5ef0e58194: Verifying Checksum 09:33:09 ab5ef0e58194: Download complete 09:33:09 0d9ebad4ef96: Verifying Checksum 09:33:09 0d9ebad4ef96: Download complete 09:33:09 2de7ff778b66: Verifying Checksum 09:33:09 2de7ff778b66: Download complete 09:33:12 ab5ef0e58194: Pull complete 09:33:12 9712f1f96733: Pull complete 09:33:13 63f879dbbcfc: Pull complete 09:33:16 0d9ebad4ef96: Pull complete 09:33:17 e9a5061849ea: Pull complete 09:33:17 d747dcd14b5f: Pull complete 09:33:18 2de7ff778b66: Pull complete 09:33:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:33:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:18 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:33:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:33:20 $ docker top aeb8794594bda11798a6f97facfdc04f68155817938f96671d9a8c9763b8becb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:33:20 provisioning config files... 09:33:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2924785723256327470tmp 09:33:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1101481308732103740tmp 09:33:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8716365554412258315tmp [Pipeline] { [Pipeline] echo 09:33:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:33:20 ---> sigul-configuration.sh 09:33:20 gpg: directory `/root/.gnupg' created 09:33:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:33:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:33:20 gpg: keyring `/root/.gnupg/secring.gpg' created 09:33:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:33:20 gpg: CAST5 encrypted data 09:33:20 gpg: encrypted with 1 passphrase 09:33:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:33:21 + mkdir /home/jenkins 09:33:21 + mkdir /home/jenkins/sigul [Pipeline] sh 09:33:21 + 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 09:33:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:33:21 ---> sigul-install.sh 09:33:21 Sigul already installed; skipping installation. [Pipeline] sh 09:33:22 + git tag --list 09:33:22 v1.0.0 09:33:22 v1.1.0 09:33:22 v1.1.1 09:33:22 v1.1.2 09:33:22 v1.2.0 09:33:22 v1.2.1 09:33:22 v2.0.0 09:33:22 v2.1.0 09:33:22 v2.1.1 09:33:22 v2.1.1-dev.1 09:33:22 v2.1.1-dev.2 09:33:22 v2.1.1-dev.3 09:33:22 v2.2.0 09:33:22 v2.2.1-dev.1 09:33:22 v2.2.1-dev.2 09:33:22 v2.2.1-dev.3 09:33:22 v2.2.1-dev.4 09:33:22 v2.2.1-dev.5 [Pipeline] sh 09:33:22 + lftools sign git-tag v2.2.1-dev.5 09:33:22 Signing Git tag with Sigul... 09:33:22 Signing v2.2.1-dev.5 [Pipeline] echo 09:33:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:33:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:33:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:33:23 $ docker stop --time=1 aeb8794594bda11798a6f97facfdc04f68155817938f96671d9a8c9763b8becb 09:33:24 $ docker rm -f aeb8794594bda11798a6f97facfdc04f68155817938f96671d9a8c9763b8becb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:33:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:25 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:33:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:26 $ docker top ddae40e1bd32cc39c1ada7c2600d7ae415342d66886ad4286679785b2cb9b44c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:26 [ssh-agent] Looking for ssh-agent implementation... 09:33:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:26 $ docker exec ddae40e1bd32cc39c1ada7c2600d7ae415342d66886ad4286679785b2cb9b44c ssh-agent 09:33:26 SSH_AUTH_SOCK=/tmp/ssh-YMqtGPUfe8KQ/agent.31 09:33:26 SSH_AGENT_PID=37 09:33:26 Running ssh-add (command line suppressed) 09:33:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4870552096545148306.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4870552096545148306.key) 09:33:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:27 + git semver bump pre 09:33:27 2022-06-19 09:33:27,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:27 2022-06-19 09:33:27,223 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev 09:33:27 2022-06-19 09:33:27,223 [bump_version] DEBUG bumped version:2.2.1-dev.6 09:33:27 2022-06-19 09:33:27,224 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 09:33:27 2022-06-19 09:33:27,224 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:27 2022-06-19 09:33:27,224 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:27 2022-06-19 09:33:27,226 [execute] INFO git cat-file --batch-check 09:33:27 2022-06-19 09:33:27,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:33:27 2022-06-19 09:33:27,232 [execute] INFO git cat-file --batch 09:33:27 2022-06-19 09:33:27,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:33:27 2022-06-19 09:33:27,236 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:27 2.2.1-dev.6 [Pipeline] } 09:33:27 $ docker exec --env ******** --env ******** ddae40e1bd32cc39c1ada7c2600d7ae415342d66886ad4286679785b2cb9b44c ssh-agent -k 09:33:27 unset SSH_AUTH_SOCK; 09:33:27 unset SSH_AGENT_PID; 09:33:27 echo Agent pid 37 killed; 09:33:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:27 + git semver [Pipeline] } 09:33:27 $ docker stop --time=1 ddae40e1bd32cc39c1ada7c2600d7ae415342d66886ad4286679785b2cb9b44c 09:33:29 $ docker rm -f ddae40e1bd32cc39c1ada7c2600d7ae415342d66886ad4286679785b2cb9b44c [Pipeline] // withDockerContainer [Pipeline] sh 09:33:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:33:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:30 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:33:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:33:30 $ docker top 485aeeb42bfac497aed642746951e9ca8716c2f108d164a37f32481df4b695a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:33:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:33:30 [ssh-agent] Looking for ssh-agent implementation... 09:33:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:33:30 $ docker exec 485aeeb42bfac497aed642746951e9ca8716c2f108d164a37f32481df4b695a6 ssh-agent 09:33:30 SSH_AUTH_SOCK=/tmp/ssh-GCeVGIqEEMey/agent.32 09:33:30 SSH_AGENT_PID=38 09:33:30 Running ssh-add (command line suppressed) 09:33:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8649123435804409522.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8649123435804409522.key) 09:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:33:31 + git semver push 09:33:31 2022-06-19 09:33:31,530 [run_push] DEBUG push 09:33:31 2022-06-19 09:33:31,531 [execute] INFO git cat-file --batch-check 09:33:31 2022-06-19 09:33:31,531 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:33:31 2022-06-19 09:33:31,535 [execute] INFO git rev-list 4c1e822be5b4feb835e290cdd540e015e2222903 -- 09:33:31 2022-06-19 09:33:31,535 [execute] DEBUG Popen(['git', 'rev-list', '4c1e822be5b4feb835e290cdd540e015e2222903', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:33:31 2022-06-19 09:33:31,542 [execute] INFO git fetch -v origin 09:33:31 2022-06-19 09:33:31,542 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:33:32 2022-06-19 09:33:32,026 [run_push] DEBUG no remote changes detected 09:33:32 2022-06-19 09:33:32,027 [execute] INFO git push origin semver 09:33:32 2022-06-19 09:33:32,027 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:33:33 2022-06-19 09:33:32,816 [run_push] DEBUG push all version tags 09:33:33 2022-06-19 09:33:32,816 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:33:33 2022-06-19 09:33:32,816 [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) 09:33:33 2022-06-19 09:33:33,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 09:33:33 2.2.1-dev.6 [Pipeline] } 09:33:33 $ docker exec --env ******** --env ******** 485aeeb42bfac497aed642746951e9ca8716c2f108d164a37f32481df4b695a6 ssh-agent -k 09:33:33 unset SSH_AUTH_SOCK; 09:33:33 unset SSH_AGENT_PID; 09:33:33 echo Agent pid 38 killed; 09:33:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:33:34 + git semver [Pipeline] } 09:33:34 $ docker stop --time=1 485aeeb42bfac497aed642746951e9ca8716c2f108d164a37f32481df4b695a6 09:33:35 $ docker rm -f 485aeeb42bfac497aed642746951e9ca8716c2f108d164a37f32481df4b695a6 [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 09:33:36 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 09:33:36 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:33:36 total 16 09:33:36 drwxr-xr-x 3 root root 4096 Jun 19 06:45 . 09:33:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 09:33 .. 09:33:36 drwxr-xr-x 2 root root 4096 Jun 19 06:45 cost 09:33:36 -rw-r--r-- 1 root root 84 Jun 19 06:45 cost.csv 09:33:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 09:33:36 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 09:33:36 total 16 09:33:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 06:45 . 09:33:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 09:33 .. 09:33:36 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 06:45 cost 09:33:36 -rw-r--r-- 1 jenkins jenkins 84 Jun 19 06:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:33:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:33:37 ---> package-listing.sh 09:33:37 ++ facter osfamily 09:33:37 ++ tr '[:upper:]' '[:lower:]' 09:33:37 + OS_FAMILY=debian 09:33:37 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 09:33:37 + START_PACKAGES=/tmp/packages_start.txt 09:33:37 + END_PACKAGES=/tmp/packages_end.txt 09:33:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:33:37 + PACKAGES=/tmp/packages_start.txt 09:33:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:33:37 + PACKAGES=/tmp/packages_end.txt 09:33:37 + case "${OS_FAMILY}" in 09:33:37 + dpkg -l 09:33:37 + grep '^ii' 09:33:37 + '[' -f /tmp/packages_start.txt ']' 09:33:37 + '[' -f /tmp/packages_end.txt ']' 09:33:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:33:37 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 09:33:37 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 09:33:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 09:33:37 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 09:33:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:33:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:38 prd-ubuntu20.04-docker-8c-8g-4315 does not seem to be running inside a container 09:33:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:33:39 $ docker top 4f1fb25c744d12a6fc2d0950adfcd4cf85096cae1222734337d44d6c97e3bae8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:39 + touch /tmp/pre-build-complete [Pipeline] sh 09:33:39 + mkdir -p /var/log/sysstat [Pipeline] sh 09:33:40 + ls /var/log/sa-host 09:33:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:33:40 provisioning config files... 09:33:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5251870744197706430tmp [Pipeline] { [Pipeline] echo 09:33:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:33:40 ---> create-netrc.sh [Pipeline] } 09:33:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:33:40 ---> python-tools-install.sh [Pipeline] echo 09:33:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:33:41 ---> sudo-logs.sh 09:33:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:33:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:33:41 ---> job-cost.sh 09:33:41 lf-activate-venv: SKIPPING 09:33:41 DEBUG: total: 0.2199999988079071 09:33:41 INFO: Retrieving Stack Cost... 09:33:41 INFO: Retrieving Pricing Info for: v3-standard-8 09:33:42 INFO: Archiving Costs [Pipeline] echo 09:33:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:33:42 ---> logs-deploy.sh 09:33:42 lf-activate-venv: SKIPPING 09:33:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/46 09:33:42 INFO: archiving workspace using pattern(s): 09:33:43 Archives upload complete. 09:33:43 INFO: archiving logs to Nexus