Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from deaabcb9638c408d38a62ca07687bca64c62376f 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-ssh11198504413682169888.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-ssh16303898879616844056.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-ssh16509735309076970882.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-ssh10645579515362865600.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-ssh8521365133357555105.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17130’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17132 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 deaabcb9638c408d38a62ca07687bca64c62376f (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 deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade (#202)" > git rev-list --no-walk 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:32:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:32:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:32:19 ========================================================= 10:32:19 EdgeX Global Pipelines Version Info 10:32:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:32:20 ------------------- 10:32:20 stable info: 10:32:20 ------------------- 10:32:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:32:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:32:20 Message: update stable to v1.0.234 10:32:20 ------------------- 10:32:20 experimental info: 10:32:20 ------------------- 10:32:20 Commited By: **** collab-it+edgex@linuxfoundation.org 10:32:20 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 10:32:20 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = deaabcb [Pipeline] echo 10:32:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:32:21 provisioning config files... 10:32:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4449956536277530715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:32:21 ---> docker-login.sh 10:32:21 nexus3.edgexfoundry.org:10001 10:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:22 Configure a credential helper to remove this warning. See 10:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:22 10:32:22 Login Succeeded 10:32:22 nexus3.edgexfoundry.org:10002 10:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:22 Configure a credential helper to remove this warning. See 10:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:22 10:32:22 Login Succeeded 10:32:22 nexus3.edgexfoundry.org:10003 10:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:22 Configure a credential helper to remove this warning. See 10:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:22 10:32:22 Login Succeeded 10:32:22 nexus3.edgexfoundry.org:10004 10:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:22 Configure a credential helper to remove this warning. See 10:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:22 10:32:22 Login Succeeded 10:32:22 docker.io 10:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:23 Configure a credential helper to remove this warning. See 10:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:23 10:32:23 Login Succeeded 10:32:23 ---> docker-login.sh ends [Pipeline] } 10:32:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:32:23 + git rev-list -1 --merges deaabcb9638c408d38a62ca07687bca64c62376f~1..deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] echo 10:32:23 -----------> git rev-list -1 --merges deaabcb9638c408d38a62ca07687bca64c62376f~1..deaabcb9638c408d38a62ca07687bca64c62376f deaabcb9638c408d38a62ca07687bca64c62376f [false] [Pipeline] sh 10:32:23 + git log --format=format:%s -1 deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] echo 10:32:23 ========================================================= 10:32:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:32:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:32:24 + git log --format=format:%s -1 deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] echo 10:32:24 [semverPrep] GIT_COMMIT: deaabcb9638c408d38a62ca07687bca64c62376f, Commit Message: refactor(snap): edgex-snap-hooks related upgrade (#202) [Pipeline] echo 10:32:24 [semverPrep] This is not a build commit. [Pipeline] sh 10:32:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:32:24 + grep -v github /etc/ssh/ssh_known_hosts 10:32:24 + [ -e /tmp/ssh_known_hosts ] 10:32:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:32:24 + + sudo tee -a /etc/ssh/ssh_known_hosts 10:32:24 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:32:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:32:24 10:32:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:32:25 0.1.4: Pulling from edgex-devops/py-git-semver 10:32:25 42c077c10790: Pulling fs layer 10:32:25 f63e77b7563a: Pulling fs layer 10:32:25 bd5fdadae976: Pulling fs layer 10:32:25 205491f53016: Pulling fs layer 10:32:25 df18705c85c3: Pulling fs layer 10:32:25 bdb3f477010e: Pulling fs layer 10:32:25 c8a8fc8e1c8f: Pulling fs layer 10:32:25 2c6e9b1d212d: Pulling fs layer 10:32:25 bdb8f0575790: Pulling fs layer 10:32:25 386e3cb2ff24: Pulling fs layer 10:32:25 2343380bae48: Pulling fs layer 10:32:25 bdb3f477010e: Waiting 10:32:25 205491f53016: Waiting 10:32:25 386e3cb2ff24: Waiting 10:32:25 df18705c85c3: Waiting 10:32:25 2c6e9b1d212d: Waiting 10:32:25 bdb8f0575790: Waiting 10:32:25 2343380bae48: Waiting 10:32:25 c8a8fc8e1c8f: Waiting 10:32:25 f63e77b7563a: Verifying Checksum 10:32:25 f63e77b7563a: Download complete 10:32:25 205491f53016: Download complete 10:32:25 df18705c85c3: Verifying Checksum 10:32:25 df18705c85c3: Download complete 10:32:25 bd5fdadae976: Verifying Checksum 10:32:25 bd5fdadae976: Download complete 10:32:25 bdb3f477010e: Verifying Checksum 10:32:25 bdb3f477010e: Download complete 10:32:25 2c6e9b1d212d: Verifying Checksum 10:32:25 2c6e9b1d212d: Download complete 10:32:25 bdb8f0575790: Download complete 10:32:25 386e3cb2ff24: Verifying Checksum 10:32:25 386e3cb2ff24: Download complete 10:32:25 2343380bae48: Verifying Checksum 10:32:25 2343380bae48: Download complete 10:32:25 42c077c10790: Verifying Checksum 10:32:25 42c077c10790: Download complete 10:32:25 c8a8fc8e1c8f: Download complete 10:32:26 42c077c10790: Pull complete 10:32:26 f63e77b7563a: Pull complete 10:32:27 bd5fdadae976: Pull complete 10:32:27 205491f53016: Pull complete 10:32:27 df18705c85c3: Pull complete 10:32:27 bdb3f477010e: Pull complete 10:32:29 c8a8fc8e1c8f: Pull complete 10:32:29 2c6e9b1d212d: Pull complete 10:32:29 bdb8f0575790: Pull complete 10:32:29 386e3cb2ff24: Pull complete 10:32:29 2343380bae48: Pull complete 10:32:29 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:32:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:32:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:30 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:32: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:32:31 $ docker top a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 -eo pid,comm 10:32:31 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). 10:32:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:32:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:32:31 [ssh-agent] Looking for ssh-agent implementation... 10:32:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:32:31 $ docker exec a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 ssh-agent 10:32:31 SSH_AUTH_SOCK=/tmp/ssh-auEzR2wA9LX0/agent.32 10:32:31 SSH_AGENT_PID=38 10:32:31 Running ssh-add (command line suppressed) 10:32:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1565749500120723268.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1565749500120723268.key) 10:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:32:32 + git tag --points-at HEAD [Pipeline] } 10:32:32 $ docker exec --env ******** --env ******** a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 ssh-agent -k 10:32:32 unset SSH_AUTH_SOCK; 10:32:32 unset SSH_AGENT_PID; 10:32:32 echo Agent pid 38 killed; 10:32:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:32:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:32:32 [ssh-agent] Looking for ssh-agent implementation... 10:32:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:32:32 $ docker exec a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 ssh-agent 10:32:32 SSH_AUTH_SOCK=/tmp/ssh-l7GyhhOA2jVf/agent.71 10:32:32 SSH_AGENT_PID=77 10:32:32 Running ssh-add (command line suppressed) 10:32:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2042376491863179096.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2042376491863179096.key) 10:32:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:32:33 + git semver init 10:32:33 2022-07-07 10:32:33,266 [run_init] DEBUG init version:0.0.0 force:False 10:32:33 2022-07-07 10:32:33,266 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 10:32:33 2022-07-07 10:32:33,267 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 10:32:33 2022-07-07 10:32:33,267 [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) 10:32:34 2022-07-07 10:32:34,116 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 10:32:34 2022-07-07 10:32:34,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 10:32:34 2022-07-07 10:32:34,117 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:32:34 2022-07-07 10:32:34,117 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:32:34 2.2.1-dev.7 [Pipeline] } 10:32:34 $ docker exec --env ******** --env ******** a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 ssh-agent -k 10:32:34 unset SSH_AUTH_SOCK; 10:32:34 unset SSH_AGENT_PID; 10:32:34 echo Agent pid 77 killed; 10:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:32:34 + git semver [Pipeline] } 10:32:34 $ docker stop --time=1 a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 10:32:36 $ docker rm -f a013c87c02b0d73c7ca06c33b696610dba52dfa3ccb6df80856fa88cc8f19ed5 [Pipeline] // withDockerContainer [Pipeline] sh 10:32:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:32:36 Stashed 1 file(s) [Pipeline] echo 10:32:36 [edgeXSemver]: initialized semver on version 2.2.1-dev.7 [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 10:32:37 provisioning config files... 10:32:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7817931929725330370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:32:37 ---> docker-login.sh 10:32:37 nexus3.edgexfoundry.org:10001 10:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:37 Configure a credential helper to remove this warning. See 10:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:37 10:32:37 Login Succeeded 10:32:37 nexus3.edgexfoundry.org:10002 10:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:37 Configure a credential helper to remove this warning. See 10:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:37 10:32:37 Login Succeeded 10:32:37 nexus3.edgexfoundry.org:10003 10:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:37 Configure a credential helper to remove this warning. See 10:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:37 10:32:37 Login Succeeded 10:32:37 nexus3.edgexfoundry.org:10004 10:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:37 Configure a credential helper to remove this warning. See 10:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:37 10:32:37 Login Succeeded 10:32:37 docker.io 10:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:32:38 Configure a credential helper to remove this warning. See 10:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:32:38 10:32:38 Login Succeeded 10:32:38 ---> docker-login.sh ends [Pipeline] } 10:32:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:32:38 ========================================================= 10:32:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:32:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:38 + 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 . 10:32:38 Sending build context to Docker daemon 10.68MB 10:32:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:32:38 Step 2/12 : FROM ${BASE} AS builder 10:32:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:32:38 59bf1c3509f3: Pulling fs layer 10:32:38 666ba61612fd: Pulling fs layer 10:32:38 8ed8ca486205: Pulling fs layer 10:32:38 cc1cd167ecdc: Pulling fs layer 10:32:38 c516ae0d96e1: Pulling fs layer 10:32:38 684cea983483: Pulling fs layer 10:32:38 dd3240ac7de5: Pulling fs layer 10:32:38 b1e948a4e11c: Pulling fs layer 10:32:38 a8fd76ee1af6: Pulling fs layer 10:32:38 646ad004c059: Pulling fs layer 10:32:38 cc1cd167ecdc: Waiting 10:32:38 c516ae0d96e1: Waiting 10:32:38 684cea983483: Waiting 10:32:38 dd3240ac7de5: Waiting 10:32:38 b1e948a4e11c: Waiting 10:32:38 a8fd76ee1af6: Waiting 10:32:38 646ad004c059: Waiting 10:32:38 8ed8ca486205: Verifying Checksum 10:32:38 8ed8ca486205: Download complete 10:32:38 666ba61612fd: Verifying Checksum 10:32:38 666ba61612fd: Download complete 10:32:38 c516ae0d96e1: Verifying Checksum 10:32:38 c516ae0d96e1: Download complete 10:32:38 684cea983483: Download complete 10:32:38 dd3240ac7de5: Verifying Checksum 10:32:38 dd3240ac7de5: Download complete 10:32:38 59bf1c3509f3: Verifying Checksum 10:32:38 59bf1c3509f3: Download complete 10:32:38 b1e948a4e11c: Verifying Checksum 10:32:38 b1e948a4e11c: Download complete 10:32:38 59bf1c3509f3: Pull complete 10:32:39 666ba61612fd: Pull complete 10:32:39 8ed8ca486205: Pull complete 10:32:39 646ad004c059: Verifying Checksum 10:32:39 646ad004c059: Download complete 10:32:39 a8fd76ee1af6: Verifying Checksum 10:32:39 a8fd76ee1af6: Download complete 10:32:39 cc1cd167ecdc: Verifying Checksum 10:32:39 cc1cd167ecdc: Download complete 10:32:42 cc1cd167ecdc: Pull complete 10:32:42 c516ae0d96e1: Pull complete 10:32:42 684cea983483: Pull complete 10:32:42 dd3240ac7de5: Pull complete 10:32:43 b1e948a4e11c: Pull complete 10:32:45 a8fd76ee1af6: Pull complete 10:32:45 646ad004c059: Pull complete 10:32:45 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:32:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:32:45 ---> 8f69c11f6b0c 10:32:45 Step 3/12 : ARG MAKE='make build' 10:32:47 ---> Running in bfd0294d2b1a 10:32:47 Removing intermediate container bfd0294d2b1a 10:32:47 ---> ee0f32252abd 10:32:47 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:32:47 ---> Running in 003660aa1b79 10:32:47 Removing intermediate container 003660aa1b79 10:32:47 ---> e2a82a401d42 10:32:47 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:32:47 ---> Running in c1ef489ac066 10:32:47 Removing intermediate container c1ef489ac066 10:32:47 ---> 156834e4283e 10:32:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:32:48 ---> Running in 99d713ff2d80 10:32:48 Removing intermediate container 99d713ff2d80 10:32:48 ---> 76a10ce22739 10:32:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:32:48 ---> Running in 734403341b30 10:32:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:32:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:32:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:32:50 (2/4) Installing libedit (20210910.3.1-r0) 10:32:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:32:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:32:50 Executing busybox-1.34.1-r3.trigger 10:32:50 OK: 224 MiB in 56 packages 10:32:50 Removing intermediate container 734403341b30 10:32:50 ---> 5df9204300bb 10:32:50 Step 8/12 : WORKDIR /device-rest-go 10:32:50 ---> Running in dbe53ede71e1 10:32:50 Removing intermediate container dbe53ede71e1 10:32:50 ---> 59da5c6bf015 10:32:50 Step 9/12 : COPY go.mod vendor* ./ 10:32:51 ---> c7abde94953a 10:32:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:32:51 ---> Running in 799c90b0d397 10:32:52 Still waiting to schedule task 10:32:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:33:06 Removing intermediate container 799c90b0d397 10:33:06 ---> 5f0d2429821e 10:33:06 Step 11/12 : COPY . . 10:33:06 ---> ed63c04e542d 10:33:06 Step 12/12 : RUN $MAKE 10:33:06 ---> Running in 38227791ed2a 10:33:06 noop 10:33:06 Removing intermediate container 38227791ed2a 10:33:06 ---> 879f636f553f 10:33:06 Successfully built 879f636f553f 10:33:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:06 + docker inspect -f . ci-base-image-x86_64 10:33:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:06 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:33: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 ******** -e ******** ci-base-image-x86_64 cat 10:33:07 $ docker top 1a7123bd906fd5c13c4fa5d5dcc95d141735d05502667e49393699e309e02da6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:07 + go version 10:33:07 go version go1.17.7 linux/amd64 [Pipeline] } 10:33:07 $ docker stop --time=1 1a7123bd906fd5c13c4fa5d5dcc95d141735d05502667e49393699e309e02da6 10:33:08 $ docker rm -f 1a7123bd906fd5c13c4fa5d5dcc95d141735d05502667e49393699e309e02da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:09 + docker inspect -f . ci-base-image-x86_64 10:33:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:09 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:33:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:33:09 $ docker top d295de85a11646f5ca53aa327408cc27458b76d4e4c4d177c00ad16043fe860f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:33:10 + make test 10:33:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:33:10 ? github.com/edgexfoundry/device-rest-go [no test files] 10:33:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:33:20 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 10:33:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:33:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:33:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:33:29 ./bin/test-attribution-txt.sh [Pipeline] echo 10:33:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:33:30 $ docker stop --time=1 d295de85a11646f5ca53aa327408cc27458b76d4e4c4d177c00ad16043fe860f 10:33:31 $ docker rm -f d295de85a11646f5ca53aa327408cc27458b76d4e4c4d177c00ad16043fe860f [Pipeline] // withDockerContainer [Pipeline] sh 10:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:33:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:33:33 + ls -al . 10:33:33 total 172 10:33:33 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:33 . 10:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:32 .. 10:33:33 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:32 .dockerignore 10:33:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:32 .git 10:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:32 .github 10:33:33 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:32 .gitignore 10:33:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:32 .golangci.yml 10:33:33 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:32 .semver 10:33:33 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:32 Attribution.txt 10:33:33 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:32 CHANGELOG.md 10:33:33 -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:32 Dockerfile 10:33:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:32 GOVERNANCE.md 10:33:33 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:32 Jenkinsfile 10:33:33 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:32 LICENSE 10:33:33 -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:32 Makefile 10:33:33 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:32 OWNERS.md 10:33:33 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:32 README.md 10:33:33 -rw-rw-r-- 1 jenkins jenkins 11 Jul 7 10:32 VERSION 10:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:32 bin 10:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:32 cmd 10:33:33 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:33 coverage.out 10:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:32 driver 10:33:33 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:32 go.mod 10:33:33 -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 10:32 go.sum 10:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:32 snap 10:33:33 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33: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=deaabcb9638c408d38a62ca07687bca64c62376f --label arch=amd64 --label version=2.2.1-dev.7 . 10:33:33 Sending build context to Docker daemon 10.69MB 10:33:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:33:33 Step 2/25 : FROM ${BASE} AS builder 10:33:33 ---> 879f636f553f 10:33:33 Step 3/25 : ARG MAKE='make build' 10:33:33 ---> Running in d9d028636a38 10:33:33 Removing intermediate container d9d028636a38 10:33:33 ---> f0d394fa5c2d 10:33:33 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:33:33 ---> Running in 7f7b1a899ded 10:33:33 Removing intermediate container 7f7b1a899ded 10:33:33 ---> 40bcc6eda593 10:33:33 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:33:33 ---> Running in 8bc60a6d31ee 10:33:34 Removing intermediate container 8bc60a6d31ee 10:33:34 ---> 52d5db58acfb 10:33:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:33:34 ---> Running in 537f0b981e0a 10:33:34 Removing intermediate container 537f0b981e0a 10:33:34 ---> e1369f83e8f9 10:33:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:33:34 ---> Running in 72d0b0d91d96 10:33:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:33:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:33:36 OK: 224 MiB in 56 packages 10:33:36 Removing intermediate container 72d0b0d91d96 10:33:36 ---> ca28675977cf 10:33:36 Step 8/25 : WORKDIR /device-rest-go 10:33:36 ---> Running in 5fd499fee627 10:33:36 Removing intermediate container 5fd499fee627 10:33:36 ---> 381254d09f86 10:33:36 Step 9/25 : COPY go.mod vendor* ./ 10:33:36 ---> 5e398638ec6e 10:33:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:33:36 ---> Running in ec4183138ac7 10:33:37 Removing intermediate container ec4183138ac7 10:33:37 ---> 1c17ee3db0ee 10:33:37 Step 11/25 : COPY . . 10:33:37 ---> 77f574b090cd 10:33:37 Step 12/25 : RUN $MAKE 10:33:37 ---> Running in d80d1a036088 10:33:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 10:33:56 Removing intermediate container d80d1a036088 10:33:56 ---> 6456d05d372a 10:33:56 Step 13/25 : FROM alpine:3.14 10:33:56 3.14: Pulling from library/alpine 10:33:56 8663204ce13b: Pulling fs layer 10:33:56 8663204ce13b: Verifying Checksum 10:33:56 8663204ce13b: Download complete 10:33:57 8663204ce13b: Pull complete 10:33:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:33:57 Status: Downloaded newer image for alpine:3.14 10:33:57 ---> e04c818066af 10:33:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:33:57 ---> Running in d5edb2828516 10:33:57 Removing intermediate container d5edb2828516 10:33:57 ---> 874022e35546 10:33:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:33:57 ---> Running in bc47f365fdb1 10:33:57 Removing intermediate container bc47f365fdb1 10:33:57 ---> efabddc29a0d 10:33:57 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:33:57 ---> Running in d3a2933a9a43 10:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:33:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:33:58 (1/6) Installing dumb-init (1.2.5-r1) 10:33:58 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:33:58 (3/6) Installing libsodium (1.0.18-r0) 10:33:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:33:58 (5/6) Installing libzmq (4.3.4-r0) 10:33:58 (6/6) Installing zeromq (4.3.4-r0) 10:33:58 Executing busybox-1.33.1-r7.trigger 10:33:58 OK: 8 MiB in 20 packages 10:33:58 Removing intermediate container d3a2933a9a43 10:33:58 ---> 56269f363351 10:33:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:33:59 ---> ea28d3f086be 10:33:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:33:59 ---> 0a4084d652ec 10:33:59 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:33:59 ---> 545f04688591 10:33:59 Step 20/25 : EXPOSE 59986 10:33:59 ---> Running in 97c671a199c5 10:33:59 Removing intermediate container 97c671a199c5 10:33:59 ---> 9e5f2a984b31 10:33:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:33:59 ---> Running in 51b5183dc3c7 10:33:59 Removing intermediate container 51b5183dc3c7 10:33:59 ---> 379f64c54b36 10:33:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:33:59 ---> Running in 77fc15a9052a 10:33:59 Removing intermediate container 77fc15a9052a 10:33:59 ---> 337ff36c9d28 10:33:59 Step 23/25 : LABEL arch=amd64 10:33:59 ---> Running in 23e9dd45e398 10:33:59 Removing intermediate container 23e9dd45e398 10:33:59 ---> b5b81622b61c 10:33:59 Step 24/25 : LABEL git_sha=deaabcb9638c408d38a62ca07687bca64c62376f 10:33:59 ---> Running in 1ac8e31f7388 10:33:59 Removing intermediate container 1ac8e31f7388 10:33:59 ---> 1b45ec0aa82e 10:33:59 Step 25/25 : LABEL version=2.2.1-dev.7 10:33:59 ---> Running in f97856f913af 10:34:00 Removing intermediate container f97856f913af 10:34:00 ---> 4ec93023a092 10:34:00 [Warning] One or more build-args [ARCH] were not consumed 10:34:00 Successfully built 4ec93023a092 10:34: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 10:34:00 provisioning config files... 10:34:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5905984454642857420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:34:00 ---> docker-login.sh 10:34:00 nexus3.edgexfoundry.org:10001 10:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:00 Configure a credential helper to remove this warning. See 10:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:00 10:34:00 Login Succeeded 10:34:00 nexus3.edgexfoundry.org:10002 10:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:00 Configure a credential helper to remove this warning. See 10:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:00 10:34:00 Login Succeeded 10:34:00 nexus3.edgexfoundry.org:10003 10:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:00 Configure a credential helper to remove this warning. See 10:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:00 10:34:00 Login Succeeded 10:34:00 nexus3.edgexfoundry.org:10004 10:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:01 Configure a credential helper to remove this warning. See 10:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:01 10:34:01 Login Succeeded 10:34:01 docker.io 10:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:01 Configure a credential helper to remove this warning. See 10:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:01 10:34:01 Login Succeeded 10:34:01 ---> docker-login.sh ends [Pipeline] } 10:34:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:34:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:34:01 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 10:34:01 deaabcb9638c408d38a62ca07687bca64c62376f 10:34:01 latest 10:34:01 2.2.1-dev.7 10:34:01 deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:34:01 main 10:34:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f 10:34:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 10:34:02 0468799ad52d: Preparing 10:34:02 d7f0ad753938: Preparing 10:34:02 f6e4ea97f04d: Preparing 10:34:02 3c6cfd76fb7e: Preparing 10:34:02 b541d28bf3b4: Preparing 10:34:02 b541d28bf3b4: Layer already exists 10:34:02 d7f0ad753938: Pushed 10:34:02 0468799ad52d: Pushed 10:34:02 3c6cfd76fb7e: Pushed 10:34:04 f6e4ea97f04d: Pushed 10:34:05 deaabcb9638c408d38a62ca07687bca64c62376f: digest: sha256:8b3668ac0f3c632d39a39398e9feae64be02df9fb04a75060907ae6872125203 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 10:34:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 10:34:05 0468799ad52d: Preparing 10:34:05 d7f0ad753938: Preparing 10:34:05 f6e4ea97f04d: Preparing 10:34:05 3c6cfd76fb7e: Preparing 10:34:05 b541d28bf3b4: Preparing 10:34:05 0468799ad52d: Layer already exists 10:34:05 b541d28bf3b4: Layer already exists 10:34:05 d7f0ad753938: Layer already exists 10:34:05 f6e4ea97f04d: Layer already exists 10:34:05 3c6cfd76fb7e: Layer already exists 10:34:05 latest: digest: sha256:8b3668ac0f3c632d39a39398e9feae64be02df9fb04a75060907ae6872125203 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.7 10:34:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 10:34:06 0468799ad52d: Preparing 10:34:06 d7f0ad753938: Preparing 10:34:06 f6e4ea97f04d: Preparing 10:34:06 3c6cfd76fb7e: Preparing 10:34:06 b541d28bf3b4: Preparing 10:34:06 f6e4ea97f04d: Layer already exists 10:34:06 3c6cfd76fb7e: Layer already exists 10:34:06 d7f0ad753938: Layer already exists 10:34:06 b541d28bf3b4: Layer already exists 10:34:06 0468799ad52d: Layer already exists 10:34:06 2.2.1-dev.7: digest: sha256:8b3668ac0f3c632d39a39398e9feae64be02df9fb04a75060907ae6872125203 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:34:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 10:34:07 0468799ad52d: Preparing 10:34:07 d7f0ad753938: Preparing 10:34:07 f6e4ea97f04d: Preparing 10:34:07 3c6cfd76fb7e: Preparing 10:34:07 b541d28bf3b4: Preparing 10:34:07 b541d28bf3b4: Layer already exists 10:34:07 0468799ad52d: Layer already exists 10:34:07 3c6cfd76fb7e: Layer already exists 10:34:07 f6e4ea97f04d: Layer already exists 10:34:07 d7f0ad753938: Layer already exists 10:34:07 deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7: digest: sha256:8b3668ac0f3c632d39a39398e9feae64be02df9fb04a75060907ae6872125203 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:07 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:07 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 10:34:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 10:34:07 0468799ad52d: Preparing 10:34:07 d7f0ad753938: Preparing 10:34:07 f6e4ea97f04d: Preparing 10:34:07 3c6cfd76fb7e: Preparing 10:34:07 b541d28bf3b4: Preparing 10:34:07 0468799ad52d: Layer already exists 10:34:07 f6e4ea97f04d: Layer already exists 10:34:07 3c6cfd76fb7e: Layer already exists 10:34:07 b541d28bf3b4: Layer already exists 10:34:07 d7f0ad753938: Layer already exists 10:34:07 main: digest: sha256:8b3668ac0f3c632d39a39398e9feae64be02df9fb04a75060907ae6872125203 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:34:07 ===================================================== [Pipeline] echo 10:34:07 taggedImages: 10:34:07 - nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f 10:34:07 - nexus3.edgexfoundry.org:10004/device-rest:latest 10:34:07 - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.7 10:34:07 - nexus3.edgexfoundry.org:10004/device-rest:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:34: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 10:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:08 10:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:08 latest: Pulling from edgex-lftools-log-publisher 10:34:08 5eb5b503b376: Pulling fs layer 10:34:08 5c69ac0246d0: Pulling fs layer 10:34:08 ec43610c2a17: Pulling fs layer 10:34:08 3a2ae6a8a46f: Pulling fs layer 10:34:08 33b1e0a273af: Pulling fs layer 10:34:08 5d3b04190fa2: Pulling fs layer 10:34:08 2f39f015ded8: Pulling fs layer 10:34:08 2f39f015ded8: Waiting 10:34:08 5d3b04190fa2: Waiting 10:34:08 3a2ae6a8a46f: Waiting 10:34:08 33b1e0a273af: Waiting 10:34:08 5c69ac0246d0: Verifying Checksum 10:34:08 5c69ac0246d0: Download complete 10:34:08 3a2ae6a8a46f: Verifying Checksum 10:34:08 3a2ae6a8a46f: Download complete 10:34:08 33b1e0a273af: Download complete 10:34:08 ec43610c2a17: Verifying Checksum 10:34:08 ec43610c2a17: Download complete 10:34:08 5d3b04190fa2: Download complete 10:34:08 5eb5b503b376: Verifying Checksum 10:34:08 5eb5b503b376: Download complete 10:34:09 2f39f015ded8: Verifying Checksum 10:34:09 2f39f015ded8: Download complete 10:34:10 5eb5b503b376: Pull complete 10:34:10 5c69ac0246d0: Pull complete 10:34:10 ec43610c2a17: Pull complete 10:34:10 3a2ae6a8a46f: Pull complete 10:34:11 33b1e0a273af: Pull complete 10:34:11 5d3b04190fa2: Pull complete 10:34:15 2f39f015ded8: Pull complete 10:34:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:34:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:15 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:34:17 $ docker top d5b3830dbc5c77dfafc8d903ef131fdcb30f6bb10848838127ff28de9b931dfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:34:17 ---> job-cost.sh 10:34:17 lf-activate-venv: SKIPPING 10:34:17 INFO: No Stack... 10:34:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:34:18 INFO: Archiving Costs [Pipeline] sh 10:34:19 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 10:34:19 + cut -d, -f6 [Pipeline] lock 10:34:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] 10:34:19 Resource [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] did not exist. Created. 10:34:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:34:19 + echo total: 0.2199999988079071 [Pipeline] stash 10:34:19 Stashed 1 file(s) [Pipeline] } 10:34:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 10:34:19 $ docker stop --time=1 d5b3830dbc5c77dfafc8d903ef131fdcb30f6bb10848838127ff28de9b931dfb 10:34:20 $ docker rm -f d5b3830dbc5c77dfafc8d903ef131fdcb30f6bb10848838127ff28de9b931dfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:34:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17134 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 10:34:28 Running in /w/workspace/device-rest-go/48 [Pipeline] { [Pipeline] checkout 10:34:28 The recommended git tool is: git 10:34:35 using credential edgex-jenkins-ssh 10:34:35 Cloning the remote Git repository 10:34:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:34:35 > git init /w/workspace/device-rest-go/48 # timeout=10 10:34:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:34:35 > git --version # timeout=10 10:34:35 > git --version # 'git version 2.25.1' 10:34:35 using GIT_SSH to set credentials SSH Credentials for GitHub 10:34:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:34:37 Avoid second fetch 10:34:37 Checking out Revision deaabcb9638c408d38a62ca07687bca64c62376f (main) 10:34:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:34:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:34:37 > git config core.sparsecheckout # timeout=10 10:34:37 > git checkout -f deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 10:34:41 Commit message: "refactor(snap): edgex-snap-hooks related upgrade (#202)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:34:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:34:42 % Total % Received % Xferd Average Speed Time Time Time Current 10:34:42 Dload Upload Total Spent Left Speed 10:34:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 10:34:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:34:43 + sudo tee /etc/docker/daemon.new 10:34:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:34:43 { 10:34:43 "registry-mirrors": [ 10:34:43 "https://nexus3.edgexfoundry.org:10001" 10:34:43 ], 10:34:43 "bip": "10.250.0.254/24", 10:34:43 "hosts": [ 10:34:43 "tcp://0.0.0.0:5555", 10:34:43 "unix:///var/run/docker.sock" 10:34:43 ], 10:34:43 "mtu": 1458, 10:34:43 "selinux-enabled": true, 10:34:43 "seccomp-profile": "/etc/docker/seccomp.json" 10:34:43 } [Pipeline] sh 10:34:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:34:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:35:02 provisioning config files... 10:35:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/48@tmp/config6952319541488974471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:35:03 ---> docker-login.sh 10:35:03 nexus3.edgexfoundry.org:10001 10:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:04 Configure a credential helper to remove this warning. See 10:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:04 10:35:04 Login Succeeded 10:35:04 nexus3.edgexfoundry.org:10002 10:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:04 Configure a credential helper to remove this warning. See 10:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:04 10:35:04 Login Succeeded 10:35:04 nexus3.edgexfoundry.org:10003 10:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:05 Configure a credential helper to remove this warning. See 10:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:05 10:35:05 Login Succeeded 10:35:05 nexus3.edgexfoundry.org:10004 10:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:05 Configure a credential helper to remove this warning. See 10:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:05 10:35:05 Login Succeeded 10:35:05 docker.io 10:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:35:06 Configure a credential helper to remove this warning. See 10:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:35:06 10:35:06 Login Succeeded 10:35:06 ---> docker-login.sh ends [Pipeline] } 10:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:35:06 ========================================================= 10:35:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:35:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:07 + 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 . 10:35:07 Sending build context to Docker daemon 127kB 10:35:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:35:07 Step 2/12 : FROM ${BASE} AS builder 10:35:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:35:07 9b3977197b4f: Pulling fs layer 10:35:07 1a89e8eeedd5: Pulling fs layer 10:35:07 94645a83ff95: Pulling fs layer 10:35:07 e6fb740bc735: Pulling fs layer 10:35:07 3a77bd46dcc9: Pulling fs layer 10:35:07 355e64cbe906: Pulling fs layer 10:35:07 63ab81a10011: Pulling fs layer 10:35:07 555d1d1c4555: Pulling fs layer 10:35:07 7d9057610161: Pulling fs layer 10:35:07 e6fb740bc735: Waiting 10:35:07 3a77bd46dcc9: Waiting 10:35:07 355e64cbe906: Waiting 10:35:07 63ab81a10011: Waiting 10:35:07 555d1d1c4555: Waiting 10:35:07 7d9057610161: Waiting 10:35:07 94645a83ff95: Verifying Checksum 10:35:07 94645a83ff95: Download complete 10:35:07 1a89e8eeedd5: Verifying Checksum 10:35:07 1a89e8eeedd5: Download complete 10:35:07 3a77bd46dcc9: Verifying Checksum 10:35:07 3a77bd46dcc9: Download complete 10:35:07 355e64cbe906: Verifying Checksum 10:35:07 355e64cbe906: Download complete 10:35:07 9b3977197b4f: Verifying Checksum 10:35:07 9b3977197b4f: Download complete 10:35:07 63ab81a10011: Verifying Checksum 10:35:07 63ab81a10011: Download complete 10:35:08 9b3977197b4f: Pull complete 10:35:08 7d9057610161: Verifying Checksum 10:35:08 7d9057610161: Download complete 10:35:08 1a89e8eeedd5: Pull complete 10:35:09 94645a83ff95: Pull complete 10:35:09 555d1d1c4555: Verifying Checksum 10:35:09 555d1d1c4555: Download complete 10:35:10 e6fb740bc735: Verifying Checksum 10:35:10 e6fb740bc735: Download complete 10:35:22 e6fb740bc735: Pull complete 10:35:22 3a77bd46dcc9: Pull complete 10:35:22 355e64cbe906: Pull complete 10:35:23 63ab81a10011: Pull complete 10:35:29 555d1d1c4555: Pull complete 10:35:31 7d9057610161: Pull complete 10:35:31 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:35:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:35:31 ---> 819e984ddca1 10:35:31 Step 3/12 : ARG MAKE='make build' 10:35:32 ---> Running in 879bebadb232 10:35:32 Removing intermediate container 879bebadb232 10:35:32 ---> b11882b7e1a2 10:35:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:35:32 ---> Running in 85079191f264 10:35:32 Removing intermediate container 85079191f264 10:35:32 ---> bfe14fbf15d4 10:35:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:35:32 ---> Running in 32b84c315c72 10:35:33 Removing intermediate container 32b84c315c72 10:35:33 ---> 82d5f65694cf 10:35:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:35:33 ---> Running in 73688195e1a8 10:35:35 Removing intermediate container 73688195e1a8 10:35:35 ---> d5450a8269c1 10:35:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:35:35 ---> Running in b71493f9c55d 10:35:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:35:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:35:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:35:38 (2/4) Installing libedit (20210910.3.1-r0) 10:35:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:35:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:35:38 Executing busybox-1.34.1-r3.trigger 10:35:38 OK: 224 MiB in 56 packages 10:35:39 Removing intermediate container b71493f9c55d 10:35:39 ---> 0e943cc348af 10:35:39 Step 8/12 : WORKDIR /device-rest-go 10:35:39 ---> Running in 75a4865c2fa7 10:35:40 Removing intermediate container 75a4865c2fa7 10:35:40 ---> 3f73065229db 10:35:40 Step 9/12 : COPY go.mod vendor* ./ 10:35:40 ---> 84ffd7dfcf5c 10:35:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:35:40 ---> Running in 552db8638eff 10:36:27 Removing intermediate container 552db8638eff 10:36:27 ---> ddde1ee8bb15 10:36:27 Step 11/12 : COPY . . 10:36:27 ---> a16d37141668 10:36:27 Step 12/12 : RUN $MAKE 10:36:27 ---> Running in 55873813affc 10:36:27 noop 10:36:27 Removing intermediate container 55873813affc 10:36:27 ---> 82d195de3d37 10:36:27 Successfully built 82d195de3d37 10:36:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:28 + docker inspect -f . ci-base-image-arm64 10:36:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:28 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 10:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/48 -v /w/workspace/device-rest-go/48:/w/workspace/device-rest-go/48:rw,z -v /w/workspace/device-rest-go/48@tmp:/w/workspace/device-rest-go/48@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 10:36:29 $ docker top 2e759bff8d3682dfdf7356dc4e693ddff11e932c8815eabd8daa97f0b97cd123 -eo pid,comm [Pipeline] { [Pipeline] sh 10:36:30 + go version 10:36:30 go version go1.17.7 linux/arm64 [Pipeline] } 10:36:30 $ docker stop --time=1 2e759bff8d3682dfdf7356dc4e693ddff11e932c8815eabd8daa97f0b97cd123 10:36:32 $ docker rm -f 2e759bff8d3682dfdf7356dc4e693ddff11e932c8815eabd8daa97f0b97cd123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:33 + docker inspect -f . ci-base-image-arm64 10:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:33 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 10:36:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/48 -v /w/workspace/device-rest-go/48:/w/workspace/device-rest-go/48:rw,z -v /w/workspace/device-rest-go/48@tmp:/w/workspace/device-rest-go/48@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 10:36:34 $ docker top 091e1afbeaeaa57dbf13173ce363f408b8acc56b32a31d2f2d0c1b65c5c3807e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:36:35 + make test 10:36:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:36:37 ? github.com/edgexfoundry/device-rest-go [no test files] 10:37:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:37:58 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements 10:37:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:37:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:38:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:38:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:38:31 ./bin/test-attribution-txt.sh [Pipeline] echo 10:38:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:38:31 $ docker stop --time=1 091e1afbeaeaa57dbf13173ce363f408b8acc56b32a31d2f2d0c1b65c5c3807e 10:38:33 $ docker rm -f 091e1afbeaeaa57dbf13173ce363f408b8acc56b32a31d2f2d0c1b65c5c3807e [Pipeline] // withDockerContainer [Pipeline] sh 10:38:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:38:34 Warning: overwriting stash ‘coverage-report’ 10:38:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:38:35 + ls -al . 10:38:35 total 168 10:38:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:38 . 10:38:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 .. 10:38:35 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:34 .dockerignore 10:38:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:34 .git 10:38:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 .github 10:38:35 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:34 .gitignore 10:38:35 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:34 .golangci.yml 10:38:35 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:34 Attribution.txt 10:38:35 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:34 CHANGELOG.md 10:38:35 -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:34 Dockerfile 10:38:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:34 GOVERNANCE.md 10:38:35 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:34 Jenkinsfile 10:38:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:34 LICENSE 10:38:35 -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:34 Makefile 10:38:35 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:34 OWNERS.md 10:38:35 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:34 README.md 10:38:35 -rw-rw-r-- 1 jenkins jenkins 11 Jul 7 10:32 VERSION 10:38:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 bin 10:38:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 cmd 10:38:35 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:37 coverage.out 10:38:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 driver 10:38:35 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:34 go.mod 10:38:35 -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 10:34 go.sum 10:38:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 snap 10:38:35 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:35 + 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=deaabcb9638c408d38a62ca07687bca64c62376f --label arch=arm64 --label version=2.2.1-dev.7 . 10:38:35 Sending build context to Docker daemon 137.2kB 10:38:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:38:36 Step 2/25 : FROM ${BASE} AS builder 10:38:36 ---> 82d195de3d37 10:38:36 Step 3/25 : ARG MAKE='make build' 10:38:36 ---> Running in df13bf6504fa 10:38:36 Removing intermediate container df13bf6504fa 10:38:36 ---> abedbd0b55cd 10:38:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:38:36 ---> Running in 8867bf79386b 10:38:37 Removing intermediate container 8867bf79386b 10:38:37 ---> cbfa838abfdd 10:38:37 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:38:37 ---> Running in 3311478fbd0a 10:38:37 Removing intermediate container 3311478fbd0a 10:38:37 ---> 830c93346db6 10:38:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:38:37 ---> Running in 9a71a2482f96 10:38:39 Removing intermediate container 9a71a2482f96 10:38:39 ---> 8c2f7f08cd4a 10:38:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:38:39 ---> Running in 2414af1c662c 10:38:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:38:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:38:42 OK: 224 MiB in 56 packages 10:38:42 Removing intermediate container 2414af1c662c 10:38:42 ---> 5ba9ddbb331a 10:38:42 Step 8/25 : WORKDIR /device-rest-go 10:38:42 ---> Running in c737826c3b0e 10:38:43 Removing intermediate container c737826c3b0e 10:38:43 ---> df736506ecd7 10:38:43 Step 9/25 : COPY go.mod vendor* ./ 10:38:43 ---> 38ddf2419b4d 10:38:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:38:44 ---> Running in 7587bd029045 10:38:46 Removing intermediate container 7587bd029045 10:38:46 ---> 1554f097056a 10:38:46 Step 11/25 : COPY . . 10:38:46 ---> 24165cb642dc 10:38:46 Step 12/25 : RUN $MAKE 10:38:46 ---> Running in 7cc32603385f 10:38:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 10:40:54 Removing intermediate container 7cc32603385f 10:40:54 ---> ae33344daa7b 10:40:54 Step 13/25 : FROM alpine:3.14 10:40:54 3.14: Pulling from library/alpine 10:40:54 455c02918c45: Pulling fs layer 10:40:54 455c02918c45: Download complete 10:40:54 455c02918c45: Pull complete 10:40:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:40:54 Status: Downloaded newer image for alpine:3.14 10:40:54 ---> ac73e934f311 10:40:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:40:54 ---> Running in 5e2953039452 10:40:54 Removing intermediate container 5e2953039452 10:40:54 ---> 1c2ceba483a8 10:40:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:40:54 ---> Running in acf934776a5a 10:40:55 Removing intermediate container acf934776a5a 10:40:55 ---> 5c1fb24ba326 10:40:55 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:40:55 ---> Running in 93c6fbe8d751 10:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:40:56 (1/6) Installing dumb-init (1.2.5-r1) 10:40:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:40:56 (3/6) Installing libsodium (1.0.18-r0) 10:40:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:40:57 (5/6) Installing libzmq (4.3.4-r0) 10:40:57 (6/6) Installing zeromq (4.3.4-r0) 10:40:57 Executing busybox-1.33.1-r7.trigger 10:40:57 OK: 8 MiB in 20 packages 10:40:58 Removing intermediate container 93c6fbe8d751 10:40:58 ---> b3c60a10038b 10:40:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:40:59 ---> c3874c7bb64d 10:40:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:41:00 ---> d004778414c5 10:41:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:41:00 ---> 5e4455fdcdc9 10:41:00 Step 20/25 : EXPOSE 59986 10:41:00 ---> Running in 9a79f1c8b226 10:41:01 Removing intermediate container 9a79f1c8b226 10:41:01 ---> cee9b866ef50 10:41:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:41:01 ---> Running in 3af11220cbd5 10:41:01 Removing intermediate container 3af11220cbd5 10:41:01 ---> e1cba78ae342 10:41:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:41:01 ---> Running in 398ff0893275 10:41:01 Removing intermediate container 398ff0893275 10:41:01 ---> 3d492479ff4d 10:41:01 Step 23/25 : LABEL arch=arm64 10:41:01 ---> Running in bddaad31a5b4 10:41:02 Removing intermediate container bddaad31a5b4 10:41:02 ---> 140fe3984bae 10:41:02 Step 24/25 : LABEL git_sha=deaabcb9638c408d38a62ca07687bca64c62376f 10:41:02 ---> Running in 8b3cb1a1f0d6 10:41:02 Removing intermediate container 8b3cb1a1f0d6 10:41:02 ---> 099254d970ba 10:41:02 Step 25/25 : LABEL version=2.2.1-dev.7 10:41:02 ---> Running in 44051e7c8f5c 10:41:02 Removing intermediate container 44051e7c8f5c 10:41:02 ---> c195d3737ac7 10:41:02 [Warning] One or more build-args [ARCH] were not consumed 10:41:02 Successfully built c195d3737ac7 10:41:02 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 10:41:02 provisioning config files... 10:41:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/48@tmp/config3124397281716090720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:03 ---> docker-login.sh 10:41:03 nexus3.edgexfoundry.org:10001 10:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:03 Configure a credential helper to remove this warning. See 10:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:03 10:41:03 Login Succeeded 10:41:03 nexus3.edgexfoundry.org:10002 10:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:04 Configure a credential helper to remove this warning. See 10:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:04 10:41:04 Login Succeeded 10:41:04 nexus3.edgexfoundry.org:10003 10:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:04 Configure a credential helper to remove this warning. See 10:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:04 10:41:04 Login Succeeded 10:41:04 nexus3.edgexfoundry.org:10004 10:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:05 Configure a credential helper to remove this warning. See 10:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:05 10:41:05 Login Succeeded 10:41:05 docker.io 10:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:41:05 Configure a credential helper to remove this warning. See 10:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:41:05 10:41:05 Login Succeeded 10:41:05 ---> docker-login.sh ends [Pipeline] } 10:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:41:06 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 10:41:06 deaabcb9638c408d38a62ca07687bca64c62376f 10:41:06 latest 10:41:06 2.2.1-dev.7 10:41:06 deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:41:06 main 10:41:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f 10:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:41:06 c56bcd60d1ec: Preparing 10:41:06 b53117670065: Preparing 10:41:06 a98c803ee26f: Preparing 10:41:06 ace76817aaf7: Preparing 10:41:06 f73e7dbfee58: Preparing 10:41:06 f73e7dbfee58: Layer already exists 10:41:07 b53117670065: Pushed 10:41:07 c56bcd60d1ec: Pushed 10:41:07 ace76817aaf7: Pushed 10:41:14 a98c803ee26f: Pushed 10:41:14 deaabcb9638c408d38a62ca07687bca64c62376f: digest: sha256:4a8ffe257e55105ae7cb804cc91ea99dbfd672549a533774b7b464c37420f35d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 10:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:41:15 c56bcd60d1ec: Preparing 10:41:15 b53117670065: Preparing 10:41:15 a98c803ee26f: Preparing 10:41:15 ace76817aaf7: Preparing 10:41:15 f73e7dbfee58: Preparing 10:41:15 b53117670065: Layer already exists 10:41:15 c56bcd60d1ec: Layer already exists 10:41:15 f73e7dbfee58: Layer already exists 10:41:15 a98c803ee26f: Layer already exists 10:41:15 ace76817aaf7: Layer already exists 10:41:15 latest: digest: sha256:4a8ffe257e55105ae7cb804cc91ea99dbfd672549a533774b7b464c37420f35d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.7 10:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:41:16 c56bcd60d1ec: Preparing 10:41:16 b53117670065: Preparing 10:41:16 a98c803ee26f: Preparing 10:41:16 ace76817aaf7: Preparing 10:41:16 f73e7dbfee58: Preparing 10:41:16 c56bcd60d1ec: Layer already exists 10:41:16 a98c803ee26f: Layer already exists 10:41:16 ace76817aaf7: Layer already exists 10:41:16 b53117670065: Layer already exists 10:41:16 f73e7dbfee58: Layer already exists 10:41:16 2.2.1-dev.7: digest: sha256:4a8ffe257e55105ae7cb804cc91ea99dbfd672549a533774b7b464c37420f35d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:41:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:41:17 c56bcd60d1ec: Preparing 10:41:17 b53117670065: Preparing 10:41:17 a98c803ee26f: Preparing 10:41:17 ace76817aaf7: Preparing 10:41:17 f73e7dbfee58: Preparing 10:41:17 a98c803ee26f: Layer already exists 10:41:17 b53117670065: Layer already exists 10:41:17 f73e7dbfee58: Layer already exists 10:41:17 ace76817aaf7: Layer already exists 10:41:17 c56bcd60d1ec: Layer already exists 10:41:17 deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7: digest: sha256:4a8ffe257e55105ae7cb804cc91ea99dbfd672549a533774b7b464c37420f35d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 10:41:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 10:41:18 c56bcd60d1ec: Preparing 10:41:18 b53117670065: Preparing 10:41:18 a98c803ee26f: Preparing 10:41:18 ace76817aaf7: Preparing 10:41:18 f73e7dbfee58: Preparing 10:41:18 f73e7dbfee58: Layer already exists 10:41:18 b53117670065: Layer already exists 10:41:18 a98c803ee26f: Layer already exists 10:41:18 c56bcd60d1ec: Layer already exists 10:41:18 ace76817aaf7: Layer already exists 10:41:18 main: digest: sha256:4a8ffe257e55105ae7cb804cc91ea99dbfd672549a533774b7b464c37420f35d size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:41:18 ===================================================== [Pipeline] echo 10:41:18 taggedImages: 10:41:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f 10:41:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 10:41:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.7 10:41:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:deaabcb9638c408d38a62ca07687bca64c62376f-2.2.1-dev.7 10:41:18 - 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 10:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:18 10:41:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:19 arm64: Pulling from edgex-lftools-log-publisher 10:41:19 8998bd30e6a1: Pulling fs layer 10:41:19 04944245beec: Pulling fs layer 10:41:19 699f458cf7ca: Pulling fs layer 10:41:19 765212b225bb: Pulling fs layer 10:41:19 f23df028b6ca: Pulling fs layer 10:41:19 d65c8cfc05b1: Pulling fs layer 10:41:19 2437ff75d9bd: Pulling fs layer 10:41:19 d65c8cfc05b1: Waiting 10:41:19 f23df028b6ca: Waiting 10:41:19 2437ff75d9bd: Waiting 10:41:19 765212b225bb: Waiting 10:41:19 04944245beec: Download complete 10:41:19 765212b225bb: Verifying Checksum 10:41:19 765212b225bb: Download complete 10:41:19 f23df028b6ca: Verifying Checksum 10:41:19 f23df028b6ca: Download complete 10:41:19 d65c8cfc05b1: Verifying Checksum 10:41:19 d65c8cfc05b1: Download complete 10:41:19 699f458cf7ca: Verifying Checksum 10:41:19 699f458cf7ca: Download complete 10:41:20 8998bd30e6a1: Verifying Checksum 10:41:20 8998bd30e6a1: Download complete 10:41:22 2437ff75d9bd: Verifying Checksum 10:41:24 8998bd30e6a1: Pull complete 10:41:24 04944245beec: Pull complete 10:41:26 699f458cf7ca: Pull complete 10:41:26 765212b225bb: Pull complete 10:41:27 f23df028b6ca: Pull complete 10:41:27 d65c8cfc05b1: Pull complete 10:41:42 2437ff75d9bd: Pull complete 10:41:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:41:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:41:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:41:43 prd-ubuntu20.04-docker-arm64-4c-16g-17134 does not seem to be running inside a container 10:41:43 $ 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/48 -v /w/workspace/device-rest-go/48:/w/workspace/device-rest-go/48:rw,z -v /w/workspace/device-rest-go/48@tmp:/w/workspace/device-rest-go/48@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 10:41:45 $ docker top 86e2f1ef0d3bdfd6d4876f5624401650a86cfc3cb0267b38154322e68697e635 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:41:46 ---> job-cost.sh 10:41:46 lf-activate-venv: SKIPPING 10:41:46 INFO: No Stack... 10:41:46 INFO: Retrieving Pricing Info for: v3-standard-4 10:41:47 INFO: Archiving Costs [Pipeline] sh 10:41:48 + cat /w/workspace/device-rest-go/48/archives/cost.csv 10:41:48 + cut -d, -f6 [Pipeline] lock 10:41:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] 10:41:48 Resource [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] did not exist. Created. 10:41:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:41:49 /w/workspace/device-rest-go/48@tmp/durable-7a39615d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:41:50 + echo total: 0.10999999940395355 [Pipeline] stash 10:41:50 Warning: overwriting stash ‘stack-cost’ 10:41:50 Stashed 1 file(s) [Pipeline] } 10:41:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } 10:41:50 $ docker stop --time=1 86e2f1ef0d3bdfd6d4876f5624401650a86cfc3cb0267b38154322e68697e635 10:41:51 $ docker rm -f 86e2f1ef0d3bdfd6d4876f5624401650a86cfc3cb0267b38154322e68697e635 [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 10:41:52 provisioning config files... 10:41:52 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7976415899212468114tmp [Pipeline] { [Pipeline] sh 10:41:52 + set +x 10:41:52 + curl+ -s https://codecov.io/bash 10:41:52 bash -s -- 10:41:52 10:41:52 _____ _ 10:41:52 / ____| | | 10:41:52 | | ___ __| | ___ ___ _____ __ 10:41:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:41:52 | |___| (_) | (_| | __/ (_| (_) \ V / 10:41:52 \_____\___/ \__,_|\___|\___\___/ \_/ 10:41:52 Bash-1.0.6 10:41:52 10:41:52 10:41:52 ==> git version 2.25.1 found 10:41:52 ==> 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 10:41:52 Release-Date: 2020-01-08 10:41:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:41:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:41:52 ==> Jenkins CI detected. 10:41:52 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 10:41:52 project root: . 10:41:52 --> token set from env 10:41:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:41:52 ==> Running gcov in . (disable via -X gcov) 10:41:52 ==> Python coveragepy not found 10:41:52 ==> Searching for coverage reports in: 10:41:52 + . 10:41:52 -> Found 1 reports 10:41:52 ==> Detecting git/mercurial file structure 10:41:52 ==> Reading reports 10:41:52 + ./coverage.out bytes=9355 10:41:52 ==> Appending adjustments 10:41:52 https://docs.codecov.io/docs/fixing-reports 10:41:52 + Found adjustments 10:41:52 ==> Gzipping contents 10:41:52 4.0K /tmp/codecov.NhjoGJ.gz 10:41:52 ==> Uploading reports 10:41:52 url: https://codecov.io 10:41:52 query: branch=main&commit=deaabcb9638c408d38a62ca07687bca64c62376f&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:41:52 -> Pinging Codecov 10:41:52 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=deaabcb9638c408d38a62ca07687bca64c62376f&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:41:53 -> Uploading to 10:41:53 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/deaabcb9638c408d38a62ca07687bca64c62376f/c119a86d-6287-4f3c-8a60-8929fde750b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T104152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cffed17e564cd1192acc8de11d558025faa30e96afcdd0234ddfd7a3fbcb9faa 10:41:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:41:53 Dload Upload Total Spent Left Speed 10:41:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 6306 --:--:-- --:--:-- --:--:-- 6306 10:41:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] } 10:41:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:41:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:41:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:41:53 10:41:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:41:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:41:54 df9b9388f04a: Pulling fs layer 10:41:54 52dc419b0ee2: Pulling fs layer 10:41:54 25bc292e5bac: Pulling fs layer 10:41:54 114826534d7a: Pulling fs layer 10:41:54 4657fd5d0bcf: Pulling fs layer 10:41:54 6ad1cebc031e: Pulling fs layer 10:41:54 8a3aa393b2d8: Pulling fs layer 10:41:54 114826534d7a: Waiting 10:41:54 4657fd5d0bcf: Waiting 10:41:54 6ad1cebc031e: Waiting 10:41:54 8a3aa393b2d8: Waiting 10:41:54 25bc292e5bac: Verifying Checksum 10:41:54 25bc292e5bac: Download complete 10:41:54 52dc419b0ee2: Verifying Checksum 10:41:54 52dc419b0ee2: Download complete 10:41:54 4657fd5d0bcf: Verifying Checksum 10:41:54 4657fd5d0bcf: Download complete 10:41:54 df9b9388f04a: Verifying Checksum 10:41:54 df9b9388f04a: Download complete 10:41:54 6ad1cebc031e: Verifying Checksum 10:41:54 6ad1cebc031e: Download complete 10:41:54 df9b9388f04a: Pull complete 10:41:54 52dc419b0ee2: Pull complete 10:41:54 25bc292e5bac: Pull complete 10:41:54 114826534d7a: Verifying Checksum 10:41:54 114826534d7a: Download complete 10:41:55 8a3aa393b2d8: Verifying Checksum 10:41:55 8a3aa393b2d8: Download complete 10:41:58 114826534d7a: Pull complete 10:41:58 4657fd5d0bcf: Pull complete 10:41:58 6ad1cebc031e: Pull complete 10:42:01 8a3aa393b2d8: Pull complete 10:42:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:42:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:42:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:01 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:42:03 $ docker top d681df5231efe93925afab01d59b5f7044114229cfd811e76f1a8e793bb74c78 -eo pid,comm [Pipeline] { [Pipeline] echo 10:42:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 10:42:04 + set -o pipefail 10:42:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 10:42:09 10:42:09 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 10:42:09 10:42:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7f6259cc-fe60-48b0-8b6a-dae4967ecb2a 10:42:09 10:42:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:42:09 10:42:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:42:09 10:42:09 10:42:09 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:42:09 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:42:09 $ docker stop --time=1 d681df5231efe93925afab01d59b5f7044114229cfd811e76f1a8e793bb74c78 10:42:11 $ docker rm -f d681df5231efe93925afab01d59b5f7044114229cfd811e76f1a8e793bb74c78 [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 10:42:12 + git log --format=format:%s -1 deaabcb9638c408d38a62ca07687bca64c62376f [Pipeline] sh 10:42:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:42:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:13 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:42:13 $ docker top 6b6673a671597546a210b399abc6caf458e9f6a16e72b2c26fc12e968a0017fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:42:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:42:13 [ssh-agent] Looking for ssh-agent implementation... 10:42:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:42:13 $ docker exec 6b6673a671597546a210b399abc6caf458e9f6a16e72b2c26fc12e968a0017fe ssh-agent 10:42:14 SSH_AUTH_SOCK=/tmp/ssh-hrGSTiOjcZR6/agent.32 10:42:14 SSH_AGENT_PID=38 10:42:14 Running ssh-add (command line suppressed) 10:42:14 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7665658988096677238.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7665658988096677238.key) 10:42:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:42:14 + git semver tag 10:42:14 2022-07-07 10:42:14,676 [run_tag] DEBUG tag force:False 10:42:14 2022-07-07 10:42:14,676 [check_head_tag] DEBUG check head tag 10:42:14 2022-07-07 10:42:14,676 [execute] INFO git cat-file --batch-check 10:42:14 2022-07-07 10:42:14,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 10:42:14 2022-07-07 10:42:14,680 [execute] INFO git cat-file --batch 10:42:14 2022-07-07 10:42:14,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 10:42:14 2022-07-07 10:42:14,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:14 2022-07-07 10:42:14,693 [execute] INFO git tag -a v2.2.1-dev.7 -m v2.2.1-dev.7 10:42:14 2022-07-07 10:42:14,693 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.7', '-m', 'v2.2.1-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 10:42:14 2022-07-07 10:42:14,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:14 2.2.1-dev.7 [Pipeline] } 10:42:14 $ docker exec --env ******** --env ******** 6b6673a671597546a210b399abc6caf458e9f6a16e72b2c26fc12e968a0017fe ssh-agent -k 10:42:14 unset SSH_AUTH_SOCK; 10:42:14 unset SSH_AGENT_PID; 10:42:14 echo Agent pid 38 killed; 10:42:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:42:15 + git semver [Pipeline] } 10:42:15 $ docker stop --time=1 6b6673a671597546a210b399abc6caf458e9f6a16e72b2c26fc12e968a0017fe 10:42:16 $ docker rm -f 6b6673a671597546a210b399abc6caf458e9f6a16e72b2c26fc12e968a0017fe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:42:17 10:42:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:42:17 0.23.1-centos7: Pulling from edgex-lftools 10:42:17 ab5ef0e58194: Pulling fs layer 10:42:17 9712f1f96733: Pulling fs layer 10:42:17 63f879dbbcfc: Pulling fs layer 10:42:17 0d9ebad4ef96: Pulling fs layer 10:42:17 e9a5061849ea: Pulling fs layer 10:42:17 d747dcd14b5f: Pulling fs layer 10:42:17 2de7ff778b66: Pulling fs layer 10:42:17 2de7ff778b66: Waiting 10:42:17 0d9ebad4ef96: Waiting 10:42:17 9712f1f96733: Verifying Checksum 10:42:17 9712f1f96733: Download complete 10:42:17 63f879dbbcfc: Verifying Checksum 10:42:17 63f879dbbcfc: Download complete 10:42:17 0d9ebad4ef96: Verifying Checksum 10:42:17 0d9ebad4ef96: Download complete 10:42:17 d747dcd14b5f: Download complete 10:42:17 e9a5061849ea: Verifying Checksum 10:42:17 e9a5061849ea: Download complete 10:42:17 ab5ef0e58194: Verifying Checksum 10:42:17 ab5ef0e58194: Download complete 10:42:17 2de7ff778b66: Verifying Checksum 10:42:17 2de7ff778b66: Download complete 10:42:20 ab5ef0e58194: Pull complete 10:42:20 9712f1f96733: Pull complete 10:42:21 63f879dbbcfc: Pull complete 10:42:24 0d9ebad4ef96: Pull complete 10:42:24 e9a5061849ea: Pull complete 10:42:24 d747dcd14b5f: Pull complete 10:42:26 2de7ff778b66: Pull complete 10:42:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:42:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:42:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:26 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:42:29 $ docker top db9bf9819bfd1974d738fc9a6c49e34023bec22462b62e7cc08c150fcede6ae9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:42:29 provisioning config files... 10:42:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5274830082691363095tmp 10:42:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3130858989215094693tmp 10:42:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1390966364746997064tmp [Pipeline] { [Pipeline] echo 10:42:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:42:29 ---> sigul-configuration.sh 10:42:29 gpg: directory `/root/.gnupg' created 10:42:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:42:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:42:29 gpg: keyring `/root/.gnupg/secring.gpg' created 10:42:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:42:29 gpg: CAST5 encrypted data 10:42:29 gpg: encrypted with 1 passphrase 10:42:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:42:29 + mkdir /home/jenkins 10:42:29 + mkdir /home/jenkins/sigul [Pipeline] sh 10:42:30 + 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 10:42:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:42:30 ---> sigul-install.sh 10:42:30 Sigul already installed; skipping installation. [Pipeline] sh 10:42:30 + git tag --list 10:42:30 v1.0.0 10:42:30 v1.1.0 10:42:30 v1.1.1 10:42:30 v1.1.2 10:42:30 v1.2.0 10:42:30 v1.2.1 10:42:30 v2.0.0 10:42:30 v2.1.0 10:42:30 v2.1.1 10:42:30 v2.1.1-dev.1 10:42:30 v2.1.1-dev.2 10:42:30 v2.1.1-dev.3 10:42:30 v2.2.0 10:42:30 v2.2.1-dev.1 10:42:30 v2.2.1-dev.2 10:42:30 v2.2.1-dev.3 10:42:30 v2.2.1-dev.4 10:42:30 v2.2.1-dev.5 10:42:30 v2.2.1-dev.6 10:42:30 v2.2.1-dev.7 [Pipeline] sh 10:42:30 + lftools sign git-tag v2.2.1-dev.7 10:42:31 Signing Git tag with Sigul... 10:42:31 Signing v2.2.1-dev.7 [Pipeline] echo 10:42:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:42:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:42:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:42:32 $ docker stop --time=1 db9bf9819bfd1974d738fc9a6c49e34023bec22462b62e7cc08c150fcede6ae9 10:42:33 $ docker rm -f db9bf9819bfd1974d738fc9a6c49e34023bec22462b62e7cc08c150fcede6ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:42:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:42:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:42:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:34 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:42:34 $ docker top a06274eb2e887cee884f7f2a3b6a0e943bc1a2fdad52b9f3502755102b1a4fa6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:42:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:42:34 [ssh-agent] Looking for ssh-agent implementation... 10:42:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:42:34 $ docker exec a06274eb2e887cee884f7f2a3b6a0e943bc1a2fdad52b9f3502755102b1a4fa6 ssh-agent 10:42:35 SSH_AUTH_SOCK=/tmp/ssh-ygy7gWhOIqYv/agent.33 10:42:35 SSH_AGENT_PID=39 10:42:35 Running ssh-add (command line suppressed) 10:42:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7031436850028694061.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7031436850028694061.key) 10:42:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:42:35 + git semver bump pre 10:42:35 2022-07-07 10:42:35,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:35 2022-07-07 10:42:35,646 [bump_version] DEBUG bumping version:2.2.1-dev.7 on axis:pre with prefix:dev 10:42:35 2022-07-07 10:42:35,647 [bump_version] DEBUG bumped version:2.2.1-dev.8 10:42:35 2022-07-07 10:42:35,647 [write_version] DEBUG write version:2.2.1-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 10:42:35 2022-07-07 10:42:35,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:35 2022-07-07 10:42:35,647 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:35 2022-07-07 10:42:35,649 [execute] INFO git cat-file --batch-check 10:42:35 2022-07-07 10:42:35,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:42:35 2022-07-07 10:42:35,654 [execute] INFO git cat-file --batch 10:42:35 2022-07-07 10:42:35,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:42:35 2022-07-07 10:42:35,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:35 2.2.1-dev.8 [Pipeline] } 10:42:35 $ docker exec --env ******** --env ******** a06274eb2e887cee884f7f2a3b6a0e943bc1a2fdad52b9f3502755102b1a4fa6 ssh-agent -k 10:42:35 unset SSH_AUTH_SOCK; 10:42:35 unset SSH_AGENT_PID; 10:42:35 echo Agent pid 39 killed; 10:42:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:42:36 + git semver [Pipeline] } 10:42:36 $ docker stop --time=1 a06274eb2e887cee884f7f2a3b6a0e943bc1a2fdad52b9f3502755102b1a4fa6 10:42:37 $ docker rm -f a06274eb2e887cee884f7f2a3b6a0e943bc1a2fdad52b9f3502755102b1a4fa6 [Pipeline] // withDockerContainer [Pipeline] sh 10:42:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:42:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:42:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:38 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:42:38 $ docker top 6f812031e9b51c1661c0ee49e8ca5e44cae25f69cac05ce00d444a7cd4b13a9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:42:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:42:38 [ssh-agent] Looking for ssh-agent implementation... 10:42:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:42:39 $ docker exec 6f812031e9b51c1661c0ee49e8ca5e44cae25f69cac05ce00d444a7cd4b13a9a ssh-agent 10:42:39 SSH_AUTH_SOCK=/tmp/ssh-REWujjeS1jCF/agent.32 10:42:39 SSH_AGENT_PID=38 10:42:39 Running ssh-add (command line suppressed) 10:42:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3264273594774934038.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3264273594774934038.key) 10:42:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:42:39 + git semver push 10:42:39 2022-07-07 10:42:39,847 [run_push] DEBUG push 10:42:39 2022-07-07 10:42:39,848 [execute] INFO git cat-file --batch-check 10:42:39 2022-07-07 10:42:39,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:42:39 2022-07-07 10:42:39,852 [execute] INFO git rev-list 648858b1991cb7a53f600519f324b15184e0a1ce -- 10:42:39 2022-07-07 10:42:39,852 [execute] DEBUG Popen(['git', 'rev-list', '648858b1991cb7a53f600519f324b15184e0a1ce', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:42:39 2022-07-07 10:42:39,859 [execute] INFO git fetch -v origin 10:42:39 2022-07-07 10:42:39,859 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:42:40 2022-07-07 10:42:40,329 [run_push] DEBUG no remote changes detected 10:42:40 2022-07-07 10:42:40,329 [execute] INFO git push origin semver 10:42:40 2022-07-07 10:42:40,330 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:42:41 2022-07-07 10:42:41,052 [run_push] DEBUG push all version tags 10:42:41 2022-07-07 10:42:41,052 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:42:41 2022-07-07 10:42:41,052 [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) 10:42:42 2022-07-07 10:42:41,726 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 10:42:42 2.2.1-dev.8 [Pipeline] } 10:42:42 $ docker exec --env ******** --env ******** 6f812031e9b51c1661c0ee49e8ca5e44cae25f69cac05ce00d444a7cd4b13a9a ssh-agent -k 10:42:42 unset SSH_AUTH_SOCK; 10:42:42 unset SSH_AGENT_PID; 10:42:42 echo Agent pid 38 killed; 10:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:42:42 + git semver [Pipeline] } 10:42:42 $ docker stop --time=1 6f812031e9b51c1661c0ee49e8ca5e44cae25f69cac05ce00d444a7cd4b13a9a 10:42:44 $ docker rm -f 6f812031e9b51c1661c0ee49e8ca5e44cae25f69cac05ce00d444a7cd4b13a9a [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 10:42:44 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 10:42:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 10:42:44 total 16 10:42:44 drwxr-xr-x 3 root root 4096 Jul 7 10:34 . 10:42:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:42 .. 10:42:44 drwxr-xr-x 2 root root 4096 Jul 7 10:34 cost 10:42:44 -rw-r--r-- 1 root root 84 Jul 7 10:34 cost.csv 10:42:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 10:42:44 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 10:42:44 total 16 10:42:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:34 . 10:42:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:42 .. 10:42:44 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:34 cost 10:42:44 -rw-r--r-- 1 jenkins jenkins 84 Jul 7 10:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:42:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:42:45 ---> package-listing.sh 10:42:45 ++ facter osfamily 10:42:45 ++ tr '[:upper:]' '[:lower:]' 10:42:45 + OS_FAMILY=debian 10:42:45 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 10:42:45 + START_PACKAGES=/tmp/packages_start.txt 10:42:45 + END_PACKAGES=/tmp/packages_end.txt 10:42:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:42:45 + PACKAGES=/tmp/packages_start.txt 10:42:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 10:42:45 + PACKAGES=/tmp/packages_end.txt 10:42:45 + case "${OS_FAMILY}" in 10:42:45 + dpkg -l 10:42:45 + grep '^ii' 10:42:45 + '[' -f /tmp/packages_start.txt ']' 10:42:45 + '[' -f /tmp/packages_end.txt ']' 10:42:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:42:45 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 10:42:45 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 10:42:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 10:42:46 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 10:42:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:42:46 prd-ubuntu20.04-docker-8c-8g-17132 does not seem to be running inside a container 10:42:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:42:47 $ docker top 0ecf49df41c2100f8a2a187577454947126324917904003a9360fde1702ea27c -eo pid,comm [Pipeline] { [Pipeline] sh 10:42:47 + touch /tmp/pre-build-complete [Pipeline] sh 10:42:47 + mkdir -p /var/log/sysstat [Pipeline] sh 10:42:48 + ls /var/log/sa-host 10:42:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:42:48 provisioning config files... 10:42:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8111633294203565850tmp [Pipeline] { [Pipeline] echo 10:42:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:42:48 ---> create-netrc.sh [Pipeline] } 10:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:42:48 ---> python-tools-install.sh [Pipeline] echo 10:42:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:42:49 ---> sudo-logs.sh 10:42:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:42:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:42:49 ---> job-cost.sh 10:42:49 lf-activate-venv: SKIPPING 10:42:49 DEBUG: total: 0.2199999988079071 10:42:49 INFO: Retrieving Stack Cost... 10:42:50 INFO: Retrieving Pricing Info for: v3-standard-8 10:42:50 INFO: Archiving Costs [Pipeline] echo 10:42:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:42:50 ---> logs-deploy.sh 10:42:50 lf-activate-venv: SKIPPING 10:42:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/48 10:42:50 INFO: archiving workspace using pattern(s): 10:42:51 Archives upload complete. 10:42:52 INFO: archiving logs to Nexus 10:42:52 ---> uname -a: 10:42:52 Linux prd-ubuntu20-04-docker-8c-8g-17132 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:42:52 10:42:52 10:42:52 ---> lscpu: 10:42:52 Architecture: x86_64 10:42:52 CPU op-mode(s): 32-bit, 64-bit 10:42:52 Byte Order: Little Endian 10:42:52 Address sizes: 40 bits physical, 48 bits virtual 10:42:52 CPU(s): 8 10:42:52 On-line CPU(s) list: 0-7 10:42:52 Thread(s) per core: 1 10:42:52 Core(s) per socket: 1 10:42:52 Socket(s): 8 10:42:52 NUMA node(s): 1 10:42:52 Vendor ID: AuthenticAMD 10:42:52 CPU family: 23 10:42:52 Model: 49 10:42:52 Model name: AMD EPYC-Rome Processor 10:42:52 Stepping: 0 10:42:52 CPU MHz: 2799.998 10:42:52 BogoMIPS: 5599.99 10:42:52 Virtualization: AMD-V 10:42:52 Hypervisor vendor: KVM 10:42:52 Virtualization type: full 10:42:52 L1d cache: 256 KiB 10:42:52 L1i cache: 256 KiB 10:42:52 L2 cache: 4 MiB 10:42:52 L3 cache: 128 MiB 10:42:52 NUMA node0 CPU(s): 0-7 10:42:52 Vulnerability Itlb multihit: Not affected 10:42:52 Vulnerability L1tf: Not affected 10:42:52 Vulnerability Mds: Not affected 10:42:52 Vulnerability Meltdown: Not affected 10:42:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:42:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:42:52 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:42:52 Vulnerability Srbds: Not affected 10:42:52 Vulnerability Tsx async abort: Not affected 10:42:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:42:52 10:42:52 10:42:52 ---> nproc: 10:42:52 8 10:42:52 10:42:52 10:42:52 ---> df -h: 10:42:52 Filesystem Size Used Avail Use% Mounted on 10:42:52 overlay 155G 13G 143G 8% / 10:42:52 tmpfs 64M 0 64M 0% /dev 10:42:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:42:52 shm 64M 0 64M 0% /dev/shm 10:42:52 /dev/vda1 155G 13G 143G 8% /facter-os 10:42:52 10:42:52