Pull request #190 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 20d41b3bab5ff82f49c5ebdd339864f47be0f28f+78d408cb2e9c2823d5dddcb6179e75cdf16507ed (b3fb87f0871f2ad8b149f032e0b10835af59080d) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16935805129939380961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12251057060355161184.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7578392745594383898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2111331584082752387.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13019305460306727292.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1575 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-190 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78d408cb2e9c2823d5dddcb6179e75cdf16507ed into PR head commit 20d41b3bab5ff82f49c5ebdd339864f47be0f28f Merge succeeded, producing 20d41b3bab5ff82f49c5ebdd339864f47be0f28f Checking out Revision 20d41b3bab5ff82f49c5ebdd339864f47be0f28f (PR-190) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:43:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:43:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:43:17 ========================================================= 00:43:17 EdgeX Global Pipelines Version Info 00:43:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 34992166ae0c1e9fe6d149153aa7d83c66273a5f # timeout=10 00:43:18 ------------------- 00:43:18 stable info: 00:43:18 ------------------- 00:43:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:43:18 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 00:43:18 Message: update stable to v1.0.232 00:43:19 ------------------- 00:43:19 experimental info: 00:43:19 ------------------- 00:43:19 Commited By: **** collab-it+edgex@linuxfoundation.org 00:43:19 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 00:43:19 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 20d41b3 [Pipeline] echo 00:43:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:19 provisioning config files... 00:43:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config8565083980326440120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:20 ---> docker-login.sh 00:43:20 nexus3.edgexfoundry.org:10001 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 nexus3.edgexfoundry.org:10002 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 nexus3.edgexfoundry.org:10003 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 nexus3.edgexfoundry.org:10004 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 docker.io 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:21 Configure a credential helper to remove this warning. See 00:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:21 00:43:21 Login Succeeded 00:43:21 ---> docker-login.sh ends [Pipeline] } 00:43:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:21 + git rev-list -1 --merges 20d41b3bab5ff82f49c5ebdd339864f47be0f28f~1..20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo 00:43:21 -----------> git rev-list -1 --merges 20d41b3bab5ff82f49c5ebdd339864f47be0f28f~1..20d41b3bab5ff82f49c5ebdd339864f47be0f28f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [false] [Pipeline] sh 00:43:21 + git log --format=format:%s -1 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo 00:43:21 ========================================================= 00:43:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:22 + git log --format=format:%s -1 20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] echo 00:43:22 [semverPrep] GIT_COMMIT: 20d41b3bab5ff82f49c5ebdd339864f47be0f28f, Commit Message: build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0 [Pipeline] echo 00:43:22 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:22 + grep -v github /etc/ssh/ssh_known_hosts 00:43:22 + [ -e /tmp/ssh_known_hosts ] 00:43:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:22 + sudo tee -a /etc/ssh/ssh_known_hosts 00:43:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:22 00:43:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:23 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:23 42c077c10790: Pulling fs layer 00:43:23 f63e77b7563a: Pulling fs layer 00:43:23 bd5fdadae976: Pulling fs layer 00:43:23 205491f53016: Pulling fs layer 00:43:23 df18705c85c3: Pulling fs layer 00:43:23 bdb3f477010e: Pulling fs layer 00:43:23 c8a8fc8e1c8f: Pulling fs layer 00:43:23 2c6e9b1d212d: Pulling fs layer 00:43:23 bdb8f0575790: Pulling fs layer 00:43:23 386e3cb2ff24: Pulling fs layer 00:43:23 2343380bae48: Pulling fs layer 00:43:23 c8a8fc8e1c8f: Waiting 00:43:23 205491f53016: Waiting 00:43:23 386e3cb2ff24: Waiting 00:43:23 df18705c85c3: Waiting 00:43:23 bdb3f477010e: Waiting 00:43:23 2343380bae48: Waiting 00:43:23 2c6e9b1d212d: Waiting 00:43:23 bdb8f0575790: Waiting 00:43:23 f63e77b7563a: Verifying Checksum 00:43:23 f63e77b7563a: Download complete 00:43:23 205491f53016: Verifying Checksum 00:43:23 205491f53016: Download complete 00:43:23 df18705c85c3: Verifying Checksum 00:43:23 df18705c85c3: Download complete 00:43:23 bdb3f477010e: Verifying Checksum 00:43:23 bdb3f477010e: Download complete 00:43:23 bd5fdadae976: Verifying Checksum 00:43:23 bd5fdadae976: Download complete 00:43:23 2c6e9b1d212d: Download complete 00:43:23 bdb8f0575790: Download complete 00:43:23 386e3cb2ff24: Verifying Checksum 00:43:23 386e3cb2ff24: Download complete 00:43:23 2343380bae48: Verifying Checksum 00:43:23 2343380bae48: Download complete 00:43:23 42c077c10790: Verifying Checksum 00:43:23 42c077c10790: Download complete 00:43:23 c8a8fc8e1c8f: Download complete 00:43:24 42c077c10790: Pull complete 00:43:24 f63e77b7563a: Pull complete 00:43:25 bd5fdadae976: Pull complete 00:43:25 205491f53016: Pull complete 00:43:25 df18705c85c3: Pull complete 00:43:25 bdb3f477010e: Pull complete 00:43:27 c8a8fc8e1c8f: Pull complete 00:43:27 2c6e9b1d212d: Pull complete 00:43:27 bdb8f0575790: Pull complete 00:43:27 386e3cb2ff24: Pull complete 00:43:27 2343380bae48: Pull complete 00:43:27 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:43:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:28 prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container 00:43:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:43:29 $ docker top 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb -eo pid,comm 00:43:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:43:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:29 [ssh-agent] Looking for ssh-agent implementation... 00:43:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:29 $ docker exec 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent 00:43:29 SSH_AUTH_SOCK=/tmp/ssh-12tqAmcMsPfk/agent.34 00:43:29 SSH_AGENT_PID=40 00:43:29 Running ssh-add (command line suppressed) 00:43:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7520512862630236678.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_7520512862630236678.key) 00:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:30 + git tag --points-at HEAD [Pipeline] } 00:43:30 $ docker exec --env ******** --env ******** 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent -k 00:43:30 unset SSH_AUTH_SOCK; 00:43:30 unset SSH_AGENT_PID; 00:43:30 echo Agent pid 40 killed; 00:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:30 [ssh-agent] Looking for ssh-agent implementation... 00:43:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:30 $ docker exec 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent 00:43:30 SSH_AUTH_SOCK=/tmp/ssh-fUmJ25SIvbK4/agent.73 00:43:30 SSH_AGENT_PID=79 00:43:30 Running ssh-add (command line suppressed) 00:43:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_8613002815265864157.key (/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/private_key_8613002815265864157.key) 00:43:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:31 + git semver init 00:43:31 2022-06-07 00:43:31,337 [run_init] DEBUG init version:0.0.0 force:False 00:43:31 2022-06-07 00:43:31,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver 00:43:31 2022-06-07 00:43:31,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-190/.semver 00:43:31 2022-06-07 00:43:31,339 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190, universal_newlines=False, shell=None, istream=None) 00:43:32 2022-06-07 00:43:32,264 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.git/info/exclude 00:43:32 2022-06-07 00:43:32,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 with force:False 00:43:32 2022-06-07 00:43:32,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 00:43:32 2022-06-07 00:43:32,268 [execute] INFO git cat-file --batch-check 00:43:32 2022-06-07 00:43:32,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 00:43:32 2022-06-07 00:43:32,274 [execute] INFO git cat-file --batch 00:43:32 2022-06-07 00:43:32,275 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 00:43:32 2022-06-07 00:43:32,280 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-190/.semver/PR-190 00:43:32 0.0.0 [Pipeline] } 00:43:32 $ docker exec --env ******** --env ******** 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb ssh-agent -k 00:43:32 unset SSH_AUTH_SOCK; 00:43:32 unset SSH_AGENT_PID; 00:43:32 echo Agent pid 79 killed; 00:43:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:32 + git semver [Pipeline] } 00:43:33 $ docker stop --time=1 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb 00:43:34 $ docker rm -f 7268ac9fab8785cec294cbe07c1d7df230e2979d4a5d8ec2ce62a40061550bfb [Pipeline] // withDockerContainer [Pipeline] sh 00:43:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:34 Stashed 1 file(s) [Pipeline] echo 00:43:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:35 provisioning config files... 00:43:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config8105842703997310398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:35 ---> docker-login.sh 00:43:35 nexus3.edgexfoundry.org:10001 00:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:35 Configure a credential helper to remove this warning. See 00:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:35 00:43:35 Login Succeeded 00:43:35 nexus3.edgexfoundry.org:10002 00:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:35 Configure a credential helper to remove this warning. See 00:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:35 00:43:35 Login Succeeded 00:43:35 nexus3.edgexfoundry.org:10003 00:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:35 Configure a credential helper to remove this warning. See 00:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:35 00:43:35 Login Succeeded 00:43:35 nexus3.edgexfoundry.org:10004 00:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:35 Configure a credential helper to remove this warning. See 00:43:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:35 00:43:35 Login Succeeded 00:43:35 docker.io 00:43:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:36 Configure a credential helper to remove this warning. See 00:43:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:36 00:43:36 Login Succeeded 00:43:36 ---> docker-login.sh ends [Pipeline] } 00:43:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:36 ========================================================= 00:43:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:43:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:36 + 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 . 00:43:36 Sending build context to Docker daemon 10.67MB 00:43:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:43:36 Step 2/12 : FROM ${BASE} AS builder 00:43:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:36 59bf1c3509f3: Pulling fs layer 00:43:36 666ba61612fd: Pulling fs layer 00:43:36 8ed8ca486205: Pulling fs layer 00:43:36 cc1cd167ecdc: Pulling fs layer 00:43:36 c516ae0d96e1: Pulling fs layer 00:43:36 684cea983483: Pulling fs layer 00:43:36 dd3240ac7de5: Pulling fs layer 00:43:36 b1e948a4e11c: Pulling fs layer 00:43:36 a8fd76ee1af6: Pulling fs layer 00:43:36 646ad004c059: Pulling fs layer 00:43:36 cc1cd167ecdc: Waiting 00:43:36 c516ae0d96e1: Waiting 00:43:36 684cea983483: Waiting 00:43:36 646ad004c059: Waiting 00:43:36 b1e948a4e11c: Waiting 00:43:36 8ed8ca486205: Download complete 00:43:36 666ba61612fd: Download complete 00:43:36 c516ae0d96e1: Verifying Checksum 00:43:36 c516ae0d96e1: Download complete 00:43:36 684cea983483: Download complete 00:43:36 59bf1c3509f3: Verifying Checksum 00:43:36 59bf1c3509f3: Download complete 00:43:36 dd3240ac7de5: Verifying Checksum 00:43:36 dd3240ac7de5: Download complete 00:43:36 b1e948a4e11c: Verifying Checksum 00:43:36 b1e948a4e11c: Download complete 00:43:36 59bf1c3509f3: Pull complete 00:43:37 666ba61612fd: Pull complete 00:43:37 8ed8ca486205: Pull complete 00:43:37 646ad004c059: Verifying Checksum 00:43:37 646ad004c059: Download complete 00:43:37 a8fd76ee1af6: Verifying Checksum 00:43:37 a8fd76ee1af6: Download complete 00:43:37 cc1cd167ecdc: Verifying Checksum 00:43:37 cc1cd167ecdc: Download complete 00:43:40 cc1cd167ecdc: Pull complete 00:43:40 c516ae0d96e1: Pull complete 00:43:40 684cea983483: Pull complete 00:43:40 dd3240ac7de5: Pull complete 00:43:41 b1e948a4e11c: Pull complete 00:43:43 a8fd76ee1af6: Pull complete 00:43:44 646ad004c059: Pull complete 00:43:44 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 00:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:43:44 ---> 8f69c11f6b0c 00:43:44 Step 3/12 : ARG MAKE='make build' 00:43:45 ---> Running in 5bad711ed9b7 00:43:45 Removing intermediate container 5bad711ed9b7 00:43:45 ---> 97470c9d4477 00:43:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:43:45 ---> Running in 7c72259baf36 00:43:45 Removing intermediate container 7c72259baf36 00:43:45 ---> 062fa765cfed 00:43:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:43:45 ---> Running in 1148eb53125d 00:43:45 Removing intermediate container 1148eb53125d 00:43:45 ---> 0a845295fe24 00:43:45 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:45 ---> Running in 796126346b03 00:43:46 Removing intermediate container 796126346b03 00:43:46 ---> 16c25d5c142d 00:43:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:46 ---> Running in 1243be97ba6c 00:43:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:43:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:43:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:43:47 (2/4) Installing libedit (20210910.3.1-r0) 00:43:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:43:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:43:47 Executing busybox-1.34.1-r3.trigger 00:43:47 OK: 224 MiB in 56 packages 00:43:48 Removing intermediate container 1243be97ba6c 00:43:48 ---> 1ec80f9a8d07 00:43:48 Step 8/12 : WORKDIR /device-rest-go 00:43:48 ---> Running in 63f9b0249395 00:43:48 Removing intermediate container 63f9b0249395 00:43:48 ---> c87fd1440aa5 00:43:48 Step 9/12 : COPY go.mod vendor* ./ 00:43:48 ---> bc54ed461015 00:43:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:48 ---> Running in 0c1c241ff3f5 00:43:50 Still waiting to schedule task 00:43:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1567’ 00:44:00 Removing intermediate container 0c1c241ff3f5 00:44:00 ---> eb4ddbd35468 00:44:00 Step 11/12 : COPY . . 00:44:00 ---> 4a5f5515da53 00:44:00 Step 12/12 : RUN $MAKE 00:44:00 ---> Running in 79f380ca8219 00:44:01 noop 00:44:01 Removing intermediate container 79f380ca8219 00:44:01 ---> 80401f587585 00:44:01 Successfully built 80401f587585 00:44:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:01 + docker inspect -f . ci-base-image-x86_64 00:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:01 prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container 00:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:44:02 $ docker top 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:02 + go version 00:44:02 go version go1.17.7 linux/amd64 [Pipeline] } 00:44:02 $ docker stop --time=1 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 00:44:03 $ docker rm -f 2a254d8e0a68af543631492a7522c0998054d89b30f4a1a3cb7cd0616f6e38d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:04 + docker inspect -f . ci-base-image-x86_64 00:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:04 prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container 00:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:44:04 $ docker top 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:44:05 + make test 00:44:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:44:05 ? github.com/edgexfoundry/device-rest-go [no test files] 00:44:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:44:15 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 00:44:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:44:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:24 ./bin/test-attribution-txt.sh [Pipeline] echo 00:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:44:25 $ docker stop --time=1 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e 00:44:26 $ docker rm -f 93c7498e164ddc6cc6730f871df311920be11af18809a6e16dfbf65beeb3792e [Pipeline] // withDockerContainer [Pipeline] sh 00:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:44:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:44:28 + ls -al . 00:44:28 total 172 00:44:28 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 00:44 . 00:44:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:43 .. 00:44:28 -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:43 .dockerignore 00:44:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:43 .git 00:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 .github 00:44:28 -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:43 .gitignore 00:44:28 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:43 .golangci.yml 00:44:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:43 .semver 00:44:28 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:43 Attribution.txt 00:44:28 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:43 CHANGELOG.md 00:44:28 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:43 Dockerfile 00:44:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:43 GOVERNANCE.md 00:44:28 -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:43 Jenkinsfile 00:44:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:43 LICENSE 00:44:28 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:43 Makefile 00:44:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:43 OWNERS.md 00:44:28 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:43 README.md 00:44:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:43 VERSION 00:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:43 bin 00:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 cmd 00:44:28 -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:44 coverage.out 00:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:43 driver 00:44:28 -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:43 go.mod 00:44:28 -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 00:43 go.sum 00:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:43 snap 00:44:28 -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:28 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f --label arch=amd64 --label version=0.0.0 . 00:44:28 Sending build context to Docker daemon 10.68MB 00:44:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:44:28 Step 2/25 : FROM ${BASE} AS builder 00:44:28 ---> 80401f587585 00:44:28 Step 3/25 : ARG MAKE='make build' 00:44:28 ---> Running in 60b653d49a3e 00:44:28 Removing intermediate container 60b653d49a3e 00:44:28 ---> a3c2fd31b9f9 00:44:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:44:28 ---> Running in 6a3133980fce 00:44:28 Removing intermediate container 6a3133980fce 00:44:28 ---> 1552946f1285 00:44:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:44:28 ---> Running in 49271390bf78 00:44:28 Removing intermediate container 49271390bf78 00:44:28 ---> 46332a6efacd 00:44:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:44:28 ---> Running in 78ff5ef6c283 00:44:29 Removing intermediate container 78ff5ef6c283 00:44:29 ---> b26f13c0a4b4 00:44:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:29 ---> Running in bf53e49eccc6 00:44:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:44:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:44:31 OK: 224 MiB in 56 packages 00:44:31 Removing intermediate container bf53e49eccc6 00:44:31 ---> 1d821432af52 00:44:31 Step 8/25 : WORKDIR /device-rest-go 00:44:31 ---> Running in fb9bdea4356f 00:44:31 Removing intermediate container fb9bdea4356f 00:44:31 ---> f861e674423c 00:44:31 Step 9/25 : COPY go.mod vendor* ./ 00:44:31 ---> 109d0de2b455 00:44:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:31 ---> Running in dab9cfde6819 00:44:32 Removing intermediate container dab9cfde6819 00:44:32 ---> d4a642f080d2 00:44:32 Step 11/25 : COPY . . 00:44:32 ---> 5cde09a66c2c 00:44:32 Step 12/25 : RUN $MAKE 00:44:32 ---> Running in 4b3846b077d6 00:44:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:44:50 Removing intermediate container 4b3846b077d6 00:44:50 ---> a04920670862 00:44:50 Step 13/25 : FROM alpine:3.14 00:44:50 3.14: Pulling from library/alpine 00:44:51 8663204ce13b: Pulling fs layer 00:44:51 8663204ce13b: Verifying Checksum 00:44:51 8663204ce13b: Download complete 00:44:51 8663204ce13b: Pull complete 00:44:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:44:51 Status: Downloaded newer image for alpine:3.14 00:44:51 ---> e04c818066af 00:44:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:44:51 ---> Running in d0f7920cb0e5 00:44:52 Removing intermediate container d0f7920cb0e5 00:44:52 ---> bd58e884984f 00:44:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:44:52 ---> Running in f9e35907620d 00:44:52 Removing intermediate container f9e35907620d 00:44:52 ---> 0110fff21180 00:44:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:44:52 ---> Running in 2ec4482e304a 00:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:44:52 (1/6) Installing dumb-init (1.2.5-r1) 00:44:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:44:52 (3/6) Installing libsodium (1.0.18-r0) 00:44:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:44:52 (5/6) Installing libzmq (4.3.4-r0) 00:44:52 (6/6) Installing zeromq (4.3.4-r0) 00:44:52 Executing busybox-1.33.1-r7.trigger 00:44:52 OK: 8 MiB in 20 packages 00:44:53 Removing intermediate container 2ec4482e304a 00:44:53 ---> 769df71315b0 00:44:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:44:53 ---> 12442e29c1e0 00:44:53 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:44:53 ---> 3d3af1ebca5f 00:44:53 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:44:53 ---> 30ad055ffe59 00:44:53 Step 20/25 : EXPOSE 59986 00:44:54 ---> Running in 5c7af12ee32c 00:44:54 Removing intermediate container 5c7af12ee32c 00:44:54 ---> b62d4ce4019a 00:44:54 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:44:54 ---> Running in 47d90eff2e8f 00:44:54 Removing intermediate container 47d90eff2e8f 00:44:54 ---> 566413675682 00:44:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:44:54 ---> Running in fd7a87b8f6ec 00:44:54 Removing intermediate container fd7a87b8f6ec 00:44:54 ---> f13fb84d0246 00:44:54 Step 23/25 : LABEL arch=amd64 00:44:54 ---> Running in 7ac65559266f 00:44:54 Removing intermediate container 7ac65559266f 00:44:54 ---> 8da83e78b47d 00:44:54 Step 24/25 : LABEL git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f 00:44:54 ---> Running in fffba860daaf 00:44:54 Removing intermediate container fffba860daaf 00:44:54 ---> bd7bce1b8e9b 00:44:54 Step 25/25 : LABEL version=0.0.0 00:44:54 ---> Running in ae04c3e6ae26 00:44:54 Removing intermediate container ae04c3e6ae26 00:44:54 ---> 3be68544232f 00:44:54 [Warning] One or more build-args [ARCH] were not consumed 00:44:54 Successfully built 3be68544232f 00:44:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:54 00:44:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:55 latest: Pulling from edgex-lftools-log-publisher 00:44:55 5eb5b503b376: Pulling fs layer 00:44:55 5c69ac0246d0: Pulling fs layer 00:44:55 ec43610c2a17: Pulling fs layer 00:44:55 3a2ae6a8a46f: Pulling fs layer 00:44:55 33b1e0a273af: Pulling fs layer 00:44:55 5d3b04190fa2: Pulling fs layer 00:44:55 2f39f015ded8: Pulling fs layer 00:44:55 5d3b04190fa2: Waiting 00:44:55 33b1e0a273af: Waiting 00:44:55 3a2ae6a8a46f: Waiting 00:44:55 2f39f015ded8: Waiting 00:44:55 5c69ac0246d0: Verifying Checksum 00:44:55 5c69ac0246d0: Download complete 00:44:55 3a2ae6a8a46f: Verifying Checksum 00:44:55 3a2ae6a8a46f: Download complete 00:44:55 33b1e0a273af: Verifying Checksum 00:44:55 33b1e0a273af: Download complete 00:44:55 5d3b04190fa2: Verifying Checksum 00:44:55 5d3b04190fa2: Download complete 00:44:55 ec43610c2a17: Verifying Checksum 00:44:55 ec43610c2a17: Download complete 00:44:55 5eb5b503b376: Verifying Checksum 00:44:55 5eb5b503b376: Download complete 00:44:56 2f39f015ded8: Download complete 00:44:56 5eb5b503b376: Pull complete 00:44:56 5c69ac0246d0: Pull complete 00:44:57 ec43610c2a17: Pull complete 00:44:57 3a2ae6a8a46f: Pull complete 00:44:57 33b1e0a273af: Pull complete 00:44:57 5d3b04190fa2: Pull complete 00:45:01 2f39f015ded8: Pull complete 00:45:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:01 prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container 00:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:45:03 $ docker top 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:03 ---> job-cost.sh 00:45:03 lf-activate-venv: SKIPPING 00:45:03 INFO: No Stack... 00:45:03 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:04 INFO: Archiving Costs [Pipeline] sh 00:45:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-190/archives/cost.csv 00:45:04 + cut -d, -f6 [Pipeline] lock 00:45:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] 00:45:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] did not exist. Created. 00:45:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:45:05 + echo total: 0.2199999988079071 [Pipeline] stash 00:45:05 Stashed 1 file(s) [Pipeline] } 00:45:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] // lock [Pipeline] } 00:45:05 $ docker stop --time=1 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 00:45:06 $ docker rm -f 47f13fb6bd6ab0a904a65dcf79bee1e0cfe5730e3f97e593de9eae84524d43c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1578 in /w/workspace/gexfoundry_device-rest-go_PR-190 [Pipeline] { [Pipeline] ws 00:46:55 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 00:46:55 The recommended git tool is: git 00:47:02 using credential edgex-jenkins-ssh 00:47:02 Cloning the remote Git repository 00:47:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:47:02 > git init /w/workspace/device-rest-go/5 # timeout=10 00:47:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:47:02 > git --version # timeout=10 00:47:02 > git --version # 'git version 2.25.1' 00:47:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:47:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:47:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:47:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:47:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:47:05 Merging remotes/origin/main commit 78d408cb2e9c2823d5dddcb6179e75cdf16507ed into PR head commit 20d41b3bab5ff82f49c5ebdd339864f47be0f28f 00:47:05 Merge succeeded, producing 20d41b3bab5ff82f49c5ebdd339864f47be0f28f 00:47:05 Checking out Revision 20d41b3bab5ff82f49c5ebdd339864f47be0f28f (PR-190) 00:47:05 > git config core.sparsecheckout # timeout=10 00:47:05 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 00:47:05 > git remote # timeout=10 00:47:05 > git config --get remote.origin.url # timeout=10 00:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:47:05 > git merge 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 00:47:05 > git rev-parse HEAD^{commit} # timeout=10 00:47:05 > git config core.sparsecheckout # timeout=10 00:47:05 > git checkout -f 20d41b3bab5ff82f49c5ebdd339864f47be0f28f # timeout=10 00:47:09 Commit message: "build(deps): Bump github.com/spf13/cast from 1.4.1 to 1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:47:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:47:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:47:10 Dload Upload Total Spent Left Speed 00:47:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 00:47:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:47:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:47:11 + sudo tee /etc/docker/daemon.new 00:47:11 { 00:47:11 "registry-mirrors": [ 00:47:11 "https://nexus3.edgexfoundry.org:10001" 00:47:11 ], 00:47:11 "bip": "10.250.0.254/24", 00:47:11 "hosts": [ 00:47:11 "tcp://0.0.0.0:5555", 00:47:11 "unix:///var/run/docker.sock" 00:47:11 ], 00:47:11 "mtu": 1458, 00:47:11 "selinux-enabled": true, 00:47:11 "seccomp-profile": "/etc/docker/seccomp.json" 00:47:11 } [Pipeline] sh 00:47:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:47:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:47:31 provisioning config files... 00:47:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config4645988771713668126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:31 ---> docker-login.sh 00:47:31 nexus3.edgexfoundry.org:10001 00:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:32 Configure a credential helper to remove this warning. See 00:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:32 00:47:32 Login Succeeded 00:47:32 nexus3.edgexfoundry.org:10002 00:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:33 Configure a credential helper to remove this warning. See 00:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:33 00:47:33 Login Succeeded 00:47:33 nexus3.edgexfoundry.org:10003 00:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:33 Configure a credential helper to remove this warning. See 00:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:33 00:47:33 Login Succeeded 00:47:33 nexus3.edgexfoundry.org:10004 00:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:34 Configure a credential helper to remove this warning. See 00:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:34 00:47:34 Login Succeeded 00:47:34 docker.io 00:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:34 Configure a credential helper to remove this warning. See 00:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:34 00:47:34 Login Succeeded 00:47:34 ---> docker-login.sh ends [Pipeline] } 00:47:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:47:35 ========================================================= 00:47:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:47:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:35 + 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 . 00:47:35 Sending build context to Docker daemon 128.5kB 00:47:35 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:47:35 Step 2/12 : FROM ${BASE} AS builder 00:47:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:47:36 9b3977197b4f: Pulling fs layer 00:47:36 1a89e8eeedd5: Pulling fs layer 00:47:36 94645a83ff95: Pulling fs layer 00:47:36 e6fb740bc735: Pulling fs layer 00:47:36 3a77bd46dcc9: Pulling fs layer 00:47:36 355e64cbe906: Pulling fs layer 00:47:36 63ab81a10011: Pulling fs layer 00:47:36 555d1d1c4555: Pulling fs layer 00:47:36 7d9057610161: Pulling fs layer 00:47:36 e6fb740bc735: Waiting 00:47:36 3a77bd46dcc9: Waiting 00:47:36 355e64cbe906: Waiting 00:47:36 63ab81a10011: Waiting 00:47:36 555d1d1c4555: Waiting 00:47:36 7d9057610161: Waiting 00:47:36 94645a83ff95: Verifying Checksum 00:47:36 94645a83ff95: Download complete 00:47:36 1a89e8eeedd5: Download complete 00:47:36 3a77bd46dcc9: Verifying Checksum 00:47:36 3a77bd46dcc9: Download complete 00:47:36 355e64cbe906: Verifying Checksum 00:47:36 355e64cbe906: Download complete 00:47:36 9b3977197b4f: Verifying Checksum 00:47:36 9b3977197b4f: Download complete 00:47:36 63ab81a10011: Verifying Checksum 00:47:36 63ab81a10011: Download complete 00:47:37 9b3977197b4f: Pull complete 00:47:37 7d9057610161: Verifying Checksum 00:47:37 7d9057610161: Download complete 00:47:37 1a89e8eeedd5: Pull complete 00:47:38 94645a83ff95: Pull complete 00:47:38 555d1d1c4555: Verifying Checksum 00:47:38 555d1d1c4555: Download complete 00:47:39 e6fb740bc735: Download complete 00:47:51 e6fb740bc735: Pull complete 00:47:51 3a77bd46dcc9: Pull complete 00:47:51 355e64cbe906: Pull complete 00:47:52 63ab81a10011: Pull complete 00:47:58 555d1d1c4555: Pull complete 00:47:59 7d9057610161: Pull complete 00:47:59 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 00:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:47:59 ---> 819e984ddca1 00:47:59 Step 3/12 : ARG MAKE='make build' 00:48:00 ---> Running in dc0d97ea4d53 00:48:01 Removing intermediate container dc0d97ea4d53 00:48:01 ---> bc931662a650 00:48:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:48:01 ---> Running in 8022d837b372 00:48:01 Removing intermediate container 8022d837b372 00:48:01 ---> 6f48bbc8e231 00:48:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:48:01 ---> Running in 67c5aa98e476 00:48:03 Removing intermediate container 67c5aa98e476 00:48:03 ---> 5f7763fee829 00:48:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:48:03 ---> Running in 937392dd9654 00:48:05 Removing intermediate container 937392dd9654 00:48:05 ---> 7867cc435fb9 00:48:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:05 ---> Running in 8790c7513314 00:48:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:48:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:48:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:48:08 (2/4) Installing libedit (20210910.3.1-r0) 00:48:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:48:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:48:08 Executing busybox-1.34.1-r3.trigger 00:48:08 OK: 224 MiB in 56 packages 00:48:09 Removing intermediate container 8790c7513314 00:48:09 ---> 17b158c2d561 00:48:09 Step 8/12 : WORKDIR /device-rest-go 00:48:09 ---> Running in 18896a32b10a 00:48:10 Removing intermediate container 18896a32b10a 00:48:10 ---> 4a13eba79ffe 00:48:10 Step 9/12 : COPY go.mod vendor* ./ 00:48:10 ---> bf70ad07bc95 00:48:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:10 ---> Running in 348e4bca7b21 00:49:07 Removing intermediate container 348e4bca7b21 00:49:07 ---> d6a6fa59b599 00:49:07 Step 11/12 : COPY . . 00:49:07 ---> a31dafadef9a 00:49:07 Step 12/12 : RUN $MAKE 00:49:07 ---> Running in 0d1a18f7176e 00:49:07 noop 00:49:07 Removing intermediate container 0d1a18f7176e 00:49:07 ---> da2e9cd6a9f4 00:49:07 Successfully built da2e9cd6a9f4 00:49:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:07 + docker inspect -f . ci-base-image-arm64 00:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:07 prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container 00:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:09 $ docker top bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:10 + go version 00:49:10 go version go1.17.7 linux/arm64 [Pipeline] } 00:49:10 $ docker stop --time=1 bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e 00:49:12 $ docker rm -f bf8eb4cb990d6430f186e16eabb63484bf81eeac3bdf2e0cee319a1249702d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:12 + docker inspect -f . ci-base-image-arm64 00:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:12 prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container 00:49:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:49:14 $ docker top 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:49:15 + make test 00:49:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:49:17 ? github.com/edgexfoundry/device-rest-go [no test files] 00:50:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:50:54 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements 00:50:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:50:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:51:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:51:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:51:21 ./bin/test-attribution-txt.sh [Pipeline] echo 00:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:51:24 $ docker stop --time=1 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a 00:51:26 $ docker rm -f 66a4d226b3b0df46cb8cb2906c13bd5a0f5724b118fc173b85fccdf596f1617a [Pipeline] // withDockerContainer [Pipeline] sh 00:51:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:51:27 Warning: overwriting stash ‘coverage-report’ 00:51:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:51:28 + ls -al . 00:51:28 total 168 00:51:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:51 . 00:51:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:47 .. 00:51:28 -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:47 .dockerignore 00:51:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:47 .git 00:51:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 .github 00:51:28 -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:47 .gitignore 00:51:28 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:47 .golangci.yml 00:51:28 -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:47 Attribution.txt 00:51:28 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:47 CHANGELOG.md 00:51:28 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:47 Dockerfile 00:51:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:47 GOVERNANCE.md 00:51:28 -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:47 Jenkinsfile 00:51:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:47 LICENSE 00:51:28 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:47 Makefile 00:51:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:47 OWNERS.md 00:51:28 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:47 README.md 00:51:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:43 VERSION 00:51:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:47 bin 00:51:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 cmd 00:51:28 -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:50 coverage.out 00:51:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:47 driver 00:51:28 -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:47 go.mod 00:51:28 -rw-rw-r-- 1 jenkins jenkins 35574 Jun 7 00:47 go.sum 00:51:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:47 snap 00:51:28 -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:28 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f --label arch=arm64 --label version=0.0.0 . 00:51:28 Sending build context to Docker daemon 138.8kB 00:51:29 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:51:29 Step 2/25 : FROM ${BASE} AS builder 00:51:29 ---> da2e9cd6a9f4 00:51:29 Step 3/25 : ARG MAKE='make build' 00:51:29 ---> Running in 7ca0f081bde8 00:51:29 Removing intermediate container 7ca0f081bde8 00:51:29 ---> 017db53e1604 00:51:29 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:51:29 ---> Running in 6b6eb8358d0b 00:51:29 Removing intermediate container 6b6eb8358d0b 00:51:29 ---> 99b25a52ff84 00:51:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:51:29 ---> Running in 3ca9ee7187da 00:51:30 Removing intermediate container 3ca9ee7187da 00:51:30 ---> 02c99447559c 00:51:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:51:30 ---> Running in 6fdfebe0a26c 00:51:32 Removing intermediate container 6fdfebe0a26c 00:51:32 ---> 55cfbe30cfde 00:51:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:32 ---> Running in b89d6712cc07 00:51:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:51:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:51:34 OK: 224 MiB in 56 packages 00:51:35 Removing intermediate container b89d6712cc07 00:51:35 ---> 8215cef29ad9 00:51:35 Step 8/25 : WORKDIR /device-rest-go 00:51:35 ---> Running in 40c9a59a46f3 00:51:36 Removing intermediate container 40c9a59a46f3 00:51:36 ---> 0cc40e23ff9e 00:51:36 Step 9/25 : COPY go.mod vendor* ./ 00:51:36 ---> f3da1f850a2e 00:51:36 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:36 ---> Running in c10a460a55a7 00:51:38 Removing intermediate container c10a460a55a7 00:51:38 ---> db9a8d14fef2 00:51:38 Step 11/25 : COPY . . 00:51:39 ---> f02fed414087 00:51:39 Step 12/25 : RUN $MAKE 00:51:39 ---> Running in 68fd874e4853 00:51:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:54:02 Removing intermediate container 68fd874e4853 00:54:02 ---> 0e778a0181be 00:54:02 Step 13/25 : FROM alpine:3.14 00:54:02 3.14: Pulling from library/alpine 00:54:02 455c02918c45: Pulling fs layer 00:54:02 455c02918c45: Verifying Checksum 00:54:02 455c02918c45: Download complete 00:54:02 455c02918c45: Pull complete 00:54:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:54:02 Status: Downloaded newer image for alpine:3.14 00:54:02 ---> ac73e934f311 00:54:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:54:02 ---> Running in 389b4d308411 00:54:02 Removing intermediate container 389b4d308411 00:54:02 ---> 8bc7408b6f0d 00:54:02 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:54:02 ---> Running in 79de519dbaa7 00:54:02 Removing intermediate container 79de519dbaa7 00:54:02 ---> 462b72249561 00:54:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:54:02 ---> Running in 5032760937ed 00:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:54:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:54:02 (1/6) Installing dumb-init (1.2.5-r1) 00:54:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:54:02 (3/6) Installing libsodium (1.0.18-r0) 00:54:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:54:02 (5/6) Installing libzmq (4.3.4-r0) 00:54:02 (6/6) Installing zeromq (4.3.4-r0) 00:54:02 Executing busybox-1.33.1-r7.trigger 00:54:02 OK: 8 MiB in 20 packages 00:54:02 Removing intermediate container 5032760937ed 00:54:02 ---> a7e9257fe4ca 00:54:02 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:54:02 ---> d6ca712b208f 00:54:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:54:02 ---> 9a797c999653 00:54:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:54:02 ---> e0749ecb7aee 00:54:02 Step 20/25 : EXPOSE 59986 00:54:02 ---> Running in 9c0009d471b2 00:54:02 Removing intermediate container 9c0009d471b2 00:54:02 ---> 165f16fc3728 00:54:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:54:02 ---> Running in 16cc5f1f3dd6 00:54:02 Removing intermediate container 16cc5f1f3dd6 00:54:02 ---> 507afd484ed5 00:54:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:54:02 ---> Running in 99fa068e57de 00:54:02 Removing intermediate container 99fa068e57de 00:54:02 ---> eacff020cb69 00:54:02 Step 23/25 : LABEL arch=arm64 00:54:02 ---> Running in d176d0111c8f 00:54:02 Removing intermediate container d176d0111c8f 00:54:02 ---> 426bcdc3122c 00:54:02 Step 24/25 : LABEL git_sha=20d41b3bab5ff82f49c5ebdd339864f47be0f28f 00:54:02 ---> Running in 77cbe2da3568 00:54:02 Removing intermediate container 77cbe2da3568 00:54:02 ---> 9d28cf30e440 00:54:02 Step 25/25 : LABEL version=0.0.0 00:54:02 ---> Running in 88b8b686a9c6 00:54:02 Removing intermediate container 88b8b686a9c6 00:54:02 ---> af0f35caaca2 00:54:02 [Warning] One or more build-args [ARCH] were not consumed 00:54:02 Successfully built af0f35caaca2 00:54:02 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:03 00:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:03 arm64: Pulling from edgex-lftools-log-publisher 00:54:03 8998bd30e6a1: Pulling fs layer 00:54:03 04944245beec: Pulling fs layer 00:54:03 699f458cf7ca: Pulling fs layer 00:54:03 765212b225bb: Pulling fs layer 00:54:03 f23df028b6ca: Pulling fs layer 00:54:03 d65c8cfc05b1: Pulling fs layer 00:54:03 2437ff75d9bd: Pulling fs layer 00:54:03 f23df028b6ca: Waiting 00:54:03 d65c8cfc05b1: Waiting 00:54:03 2437ff75d9bd: Waiting 00:54:03 765212b225bb: Waiting 00:54:03 04944245beec: Verifying Checksum 00:54:03 04944245beec: Download complete 00:54:03 765212b225bb: Download complete 00:54:03 f23df028b6ca: Verifying Checksum 00:54:03 f23df028b6ca: Download complete 00:54:03 d65c8cfc05b1: Verifying Checksum 00:54:03 d65c8cfc05b1: Download complete 00:54:03 699f458cf7ca: Verifying Checksum 00:54:03 699f458cf7ca: Download complete 00:54:04 8998bd30e6a1: Verifying Checksum 00:54:04 8998bd30e6a1: Download complete 00:54:06 2437ff75d9bd: Verifying Checksum 00:54:06 2437ff75d9bd: Download complete 00:54:08 8998bd30e6a1: Pull complete 00:54:09 04944245beec: Pull complete 00:54:10 699f458cf7ca: Pull complete 00:54:10 765212b225bb: Pull complete 00:54:11 f23df028b6ca: Pull complete 00:54:12 d65c8cfc05b1: Pull complete 00:54:27 2437ff75d9bd: Pull complete 00:54:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:27 prd-ubuntu20.04-docker-arm64-4c-16g-1578 does not seem to be running inside a container 00:54:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:54:30 $ docker top 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:31 ---> job-cost.sh 00:54:31 lf-activate-venv: SKIPPING 00:54:31 INFO: No Stack... 00:54:31 INFO: Retrieving Pricing Info for: v3-standard-4 00:54:32 INFO: Archiving Costs [Pipeline] sh 00:54:33 + cat /w/workspace/device-rest-go/5/archives/cost.csv 00:54:33 + cut -d, -f6 [Pipeline] lock 00:54:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] 00:54:33 Resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] did not exist. Created. 00:54:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:54:33 /w/workspace/device-rest-go/5@tmp/durable-50701ee8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:54:34 + echo total: 0.10999999940395355 [Pipeline] stash 00:54:34 Warning: overwriting stash ‘stack-cost’ 00:54:34 Stashed 1 file(s) [Pipeline] } 00:54:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-190-5-stack-cost] [Pipeline] // lock [Pipeline] } 00:54:34 $ docker stop --time=1 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 00:54:36 $ docker rm -f 4692a7e60a5fe9fa0772b270038ea2d759e9334f43b9fdf192a497166332ef95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:54:36 provisioning config files... 00:54:36 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config2794091448413691113tmp [Pipeline] { [Pipeline] sh 00:54:36 + set +x 00:54:36 + curl -s https://codecov.io/bash 00:54:36 + bash -s -- 00:54:36 00:54:36 _____ _ 00:54:36 / ____| | | 00:54:36 | | ___ __| | ___ ___ _____ __ 00:54:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:54:36 | |___| (_) | (_| | __/ (_| (_) \ V / 00:54:36 \_____\___/ \__,_|\___|\___\___/ \_/ 00:54:36 Bash-1.0.6 00:54:36 00:54:36 00:54:36 ==> git version 2.25.1 found 00:54:36 ==> 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 00:54:36 Release-Date: 2020-01-08 00:54:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:54:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:54:36 ==> Jenkins CI detected. 00:54:36 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-190 00:54:36 project root: . 00:54:36 --> token set from env 00:54:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:54:36 ==> Running gcov in . (disable via -X gcov) 00:54:36 ==> Python coveragepy not found 00:54:36 ==> Searching for coverage reports in: 00:54:36 + . 00:54:36 -> Found 1 reports 00:54:36 ==> Detecting git/mercurial file structure 00:54:36 ==> Reading reports 00:54:36 + ./coverage.out bytes=9355 00:54:36 ==> Appending adjustments 00:54:36 https://docs.codecov.io/docs/fixing-reports 00:54:36 + Found adjustments 00:54:37 ==> Gzipping contents 00:54:37 4.0K /tmp/codecov.Xxcxa8.gz 00:54:37 ==> Uploading reports 00:54:37 url: https://codecov.io 00:54:37 query: branch=PR-190&commit=20d41b3bab5ff82f49c5ebdd339864f47be0f28f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 00:54:37 -> Pinging Codecov 00:54:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-190&commit=20d41b3bab5ff82f49c5ebdd339864f47be0f28f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-190%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=190&job=&cmd_args= 00:54:37 -> Uploading to 00:54:37 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/4E5D53B4F1F92C436F7061BF334D961C/20d41b3bab5ff82f49c5ebdd339864f47be0f28f/442541bf-9d75-4ffa-8ff4-cc85d5d19a45.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T005437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1671071c4ebc038894ecefc5ace5c071327b6af355d0cb90ac52da742df3936 00:54:37 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:37 Dload Upload Total Spent Left Speed 00:54:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 8980 --:--:-- --:--:-- --:--:-- 8980 00:54:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/20d41b3bab5ff82f49c5ebdd339864f47be0f28f [Pipeline] } 00:54:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:54:38 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-190/archives ] 00:54:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 00:54:38 total 16 00:54:38 drwxr-xr-x 3 root root 4096 Jun 7 00:45 . 00:54:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:45 .. 00:54:38 drwxr-xr-x 2 root root 4096 Jun 7 00:45 cost 00:54:38 -rw-r--r-- 1 root root 85 Jun 7 00:45 cost.csv 00:54:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-190/archives 00:54:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-190/archives 00:54:38 total 16 00:54:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:45 . 00:54:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:45 .. 00:54:38 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 00:45 cost 00:54:38 -rw-r--r-- 1 jenkins jenkins 85 Jun 7 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:54:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:39 ---> package-listing.sh 00:54:39 ++ facter osfamily 00:54:39 ++ tr '[:upper:]' '[:lower:]' 00:54:39 + OS_FAMILY=debian 00:54:39 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-190 00:54:39 + START_PACKAGES=/tmp/packages_start.txt 00:54:39 + END_PACKAGES=/tmp/packages_end.txt 00:54:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:39 + PACKAGES=/tmp/packages_start.txt 00:54:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 00:54:39 + PACKAGES=/tmp/packages_end.txt 00:54:39 + case "${OS_FAMILY}" in 00:54:39 + dpkg -l 00:54:39 + grep '^ii' 00:54:39 + '[' -f /tmp/packages_start.txt ']' 00:54:39 + '[' -f /tmp/packages_end.txt ']' 00:54:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-190 ']' 00:54:39 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ 00:54:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-190/archives/ [Pipeline] echo 00:54:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:54:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:40 prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container 00:54:40 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-190 -v /w/workspace/gexfoundry_device-rest-go_PR-190:/w/workspace/gexfoundry_device-rest-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-190@tmp:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:54:40 $ docker top 3f5d241d48fec93b737ac660fa1e4e82940a3fa0de95c9d8de02d0c88c83d8e1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:41 + touch /tmp/pre-build-complete [Pipeline] sh 00:54:41 + mkdir -p /var/log/sysstat [Pipeline] sh 00:54:41 + ls /var/log/sa-host 00:54:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:41 provisioning config files... 00:54:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-190@tmp/config4483246625846094567tmp [Pipeline] { [Pipeline] echo 00:54:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:42 ---> create-netrc.sh [Pipeline] } 00:54:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:54:42 ---> python-tools-install.sh [Pipeline] echo 00:54:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:54:42 ---> sudo-logs.sh 00:54:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:54:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:54:43 ---> job-cost.sh 00:54:43 lf-activate-venv: SKIPPING 00:54:43 DEBUG: total: 0.2199999988079071 00:54:43 INFO: Retrieving Stack Cost... 00:54:43 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:44 INFO: Archiving Costs [Pipeline] echo 00:54:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:54:44 ---> logs-deploy.sh 00:54:44 lf-activate-venv: SKIPPING 00:54:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-190/5 00:54:44 INFO: archiving workspace using pattern(s): 00:54:45 Archives upload complete. 00:54:45 INFO: archiving logs to Nexus