Pull request #363 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97+63560b1f091cdd18f74439d048f83e61f0721fcd (070b4d2f58e55820fb1959a120588c891a1e218c) 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-ssh7688897849600444680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10004754468306555996.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2086792892996388596.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh6421772424390644237.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14210681358244157462.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17131’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17133 in /w/workspace/gexfoundry_device-rest-go_PR-363 [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-363 # 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 > 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 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Merge succeeded, producing 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Checking out Revision 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 (PR-363) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" First time build. Skipping changelog. > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 > git rev-list --no-walk 238ac675b534bf811069c41c04debdd8b62de6e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:01:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:01:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:01:19 ========================================================= 14:01:19 EdgeX Global Pipelines Version Info 14:01:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:01:20 ------------------- 14:01:20 stable info: 14:01:20 ------------------- 14:01:20 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 14:01:20 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:01:20 Message: update stable to v1.0.257 14:01:20 ------------------- 14:01:20 experimental info: 14:01:20 ------------------- 14:01:20 Commited By: **** collab-it+edgex@linuxfoundation.org 14:01:20 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 14:01:20 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:01:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76b6fa0 [Pipeline] echo 14:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:01:21 provisioning config files... 14:01:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config942654211103784263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:21 ---> docker-login.sh 14:01:21 nexus3.edgexfoundry.org:10001 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 nexus3.edgexfoundry.org:10002 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:22 Configure a credential helper to remove this warning. See 14:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:22 14:01:22 Login Succeeded 14:01:22 nexus3.edgexfoundry.org:10003 14:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:23 Configure a credential helper to remove this warning. See 14:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:23 14:01:23 Login Succeeded 14:01:23 nexus3.edgexfoundry.org:10004 14:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:23 Configure a credential helper to remove this warning. See 14:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:23 14:01:23 Login Succeeded 14:01:23 docker.io 14:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:23 Configure a credential helper to remove this warning. See 14:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:23 14:01:23 Login Succeeded 14:01:23 ---> docker-login.sh ends [Pipeline] } 14:01:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:01:23 + git rev-list -1 --merges 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97~1..76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo 14:01:23 -----------> git rev-list -1 --merges 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97~1..76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [false] [Pipeline] sh 14:01:24 + git log --format=format:%s -1 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo 14:01:24 ========================================================= 14:01:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:01:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:01:24 + git log --format=format:%s -1 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo 14:01:24 [semverPrep] GIT_COMMIT: 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3 [Pipeline] echo 14:01:24 [semverPrep] This is not a build commit. [Pipeline] sh 14:01:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:01:24 + grep -v github /etc/ssh/ssh_known_hosts 14:01:24 + [ -e /tmp/ssh_known_hosts ] 14:01:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:01:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:01:24 + sudo tee -a /etc/ssh/ssh_known_hosts 14:01:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:01:25 14:01:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:01:27 0.1.4: Pulling from edgex-devops/py-git-semver 14:01:27 b85a868b505f: Pulling fs layer 14:01:27 e2be974225ed: Pulling fs layer 14:01:27 339a4e72a1f5: Pulling fs layer 14:01:27 988bab9f4d93: Pulling fs layer 14:01:27 1469e6f7b9e6: Pulling fs layer 14:01:27 eaf3925da568: Pulling fs layer 14:01:27 bab4dde63d76: Pulling fs layer 14:01:27 bde34c3a00c8: Pulling fs layer 14:01:27 b352a97aabf1: Pulling fs layer 14:01:27 4872d77fe225: Pulling fs layer 14:01:27 5851b861e8e6: Pulling fs layer 14:01:27 988bab9f4d93: Waiting 14:01:27 1469e6f7b9e6: Waiting 14:01:27 eaf3925da568: Waiting 14:01:27 bab4dde63d76: Waiting 14:01:27 bde34c3a00c8: Waiting 14:01:27 4872d77fe225: Waiting 14:01:27 5851b861e8e6: Waiting 14:01:27 b352a97aabf1: Waiting 14:01:27 e2be974225ed: Verifying Checksum 14:01:27 e2be974225ed: Download complete 14:01:27 988bab9f4d93: Verifying Checksum 14:01:27 988bab9f4d93: Download complete 14:01:27 1469e6f7b9e6: Verifying Checksum 14:01:27 1469e6f7b9e6: Download complete 14:01:27 eaf3925da568: Verifying Checksum 14:01:27 eaf3925da568: Download complete 14:01:27 339a4e72a1f5: Verifying Checksum 14:01:27 339a4e72a1f5: Download complete 14:01:27 bde34c3a00c8: Verifying Checksum 14:01:27 bde34c3a00c8: Download complete 14:01:27 b352a97aabf1: Verifying Checksum 14:01:27 b352a97aabf1: Download complete 14:01:27 4872d77fe225: Download complete 14:01:27 5851b861e8e6: Download complete 14:01:27 b85a868b505f: Verifying Checksum 14:01:27 b85a868b505f: Download complete 14:01:27 bab4dde63d76: Verifying Checksum 14:01:27 bab4dde63d76: Download complete 14:01:29 b85a868b505f: Pull complete 14:01:30 e2be974225ed: Pull complete 14:01:31 339a4e72a1f5: Pull complete 14:01:32 988bab9f4d93: Pull complete 14:01:35 1469e6f7b9e6: Pull complete 14:01:38 eaf3925da568: Pull complete 14:01:42 bab4dde63d76: Pull complete 14:01:42 bde34c3a00c8: Pull complete 14:01:42 b352a97aabf1: Pull complete 14:01:42 4872d77fe225: Pull complete 14:01:43 5851b861e8e6: Pull complete 14:01:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:01:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:01:43 prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container 14:01:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 14:01:49 $ docker top e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 -eo pid,comm 14:01:49 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). 14:01:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:01:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:01:49 [ssh-agent] Looking for ssh-agent implementation... 14:01:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:01:49 $ docker exec e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent 14:01:49 SSH_AUTH_SOCK=/tmp/ssh-jjzYZjqJQf7D/agent.33 14:01:49 SSH_AGENT_PID=39 14:01:49 Running ssh-add (command line suppressed) 14:01:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17456762811588317817.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17456762811588317817.key) 14:01:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:01:50 + git tag --points-at HEAD [Pipeline] } 14:01:50 $ docker exec --env ******** --env ******** e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent -k 14:01:50 unset SSH_AUTH_SOCK; 14:01:50 unset SSH_AGENT_PID; 14:01:50 echo Agent pid 39 killed; 14:01:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:01:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:01:50 [ssh-agent] Looking for ssh-agent implementation... 14:01:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:01:50 $ docker exec e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent 14:01:50 SSH_AUTH_SOCK=/tmp/ssh-rsR5xQF2hBC2/agent.71 14:01:50 SSH_AGENT_PID=77 14:01:50 Running ssh-add (command line suppressed) 14:01:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17666192716754530916.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17666192716754530916.key) 14:01:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:01:50 + git semver init 14:01:51 2023-11-09 14:01:51,062 [run_init] DEBUG init version:0.0.0 force:False 14:01:51 2023-11-09 14:01:51,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver 14:01:51 2023-11-09 14:01:51,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-363/.semver 14:01:51 2023-11-09 14:01:51,064 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-363/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363, universal_newlines=False, shell=None, istream=None) 14:01:52 2023-11-09 14:01:52,254 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.git/info/exclude 14:01:52 2023-11-09 14:01:52,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 with force:False 14:01:52 2023-11-09 14:01:52,255 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 14:01:52 2023-11-09 14:01:52,260 [execute] INFO git cat-file --batch-check 14:01:52 2023-11-09 14:01:52,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 14:01:52 2023-11-09 14:01:52,268 [execute] INFO git cat-file --batch 14:01:52 2023-11-09 14:01:52,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 14:01:52 2023-11-09 14:01:52,274 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 14:01:52 0.0.0 [Pipeline] } 14:01:52 $ docker exec --env ******** --env ******** e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent -k 14:01:52 unset SSH_AUTH_SOCK; 14:01:52 unset SSH_AGENT_PID; 14:01:52 echo Agent pid 77 killed; 14:01:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:01:52 + git semver [Pipeline] } 14:01:53 $ docker stop --time=1 e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 14:01:54 $ docker rm -f --volumes e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 [Pipeline] // withDockerContainer [Pipeline] sh 14:01:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:01:55 Stashed 1 file(s) [Pipeline] echo 14:01:55 [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 14:01:55 provisioning config files... 14:01:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config17434629466311657555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:01:55 ---> docker-login.sh 14:01:55 nexus3.edgexfoundry.org:10001 14:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:55 Configure a credential helper to remove this warning. See 14:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:55 14:01:55 Login Succeeded 14:01:55 nexus3.edgexfoundry.org:10002 14:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:55 Configure a credential helper to remove this warning. See 14:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:55 14:01:55 Login Succeeded 14:01:56 nexus3.edgexfoundry.org:10003 14:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:56 Configure a credential helper to remove this warning. See 14:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:56 14:01:56 Login Succeeded 14:01:56 nexus3.edgexfoundry.org:10004 14:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:56 Configure a credential helper to remove this warning. See 14:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:56 14:01:56 Login Succeeded 14:01:56 docker.io 14:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:01:56 Configure a credential helper to remove this warning. See 14:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:01:56 14:01:56 Login Succeeded 14:01:56 ---> docker-login.sh ends [Pipeline] } 14:01:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:01:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:01:56 ========================================================= 14:01:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:01:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:01:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:01:57 Sending build context to Docker daemon 10.95MB 14:01:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:01:57 Step 2/12 : FROM ${BASE} AS builder 14:01:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:01:57 7264a8db6415: Pulling fs layer 14:01:57 c4d48a809fc2: Pulling fs layer 14:01:57 4f1c88b9dad5: Pulling fs layer 14:01:57 ad3a456e5733: Pulling fs layer 14:01:57 33e27b845d1e: Pulling fs layer 14:01:57 c68163c4e522: Pulling fs layer 14:01:57 50da416c3ac9: Pulling fs layer 14:01:57 ad3a456e5733: Waiting 14:01:57 c68163c4e522: Waiting 14:01:57 33e27b845d1e: Waiting 14:01:57 23d2d4c4bb30: Pulling fs layer 14:01:57 23d2d4c4bb30: Waiting 14:01:57 50da416c3ac9: Waiting 14:01:57 c4d48a809fc2: Verifying Checksum 14:01:57 c4d48a809fc2: Download complete 14:01:57 ad3a456e5733: Verifying Checksum 14:01:57 ad3a456e5733: Download complete 14:01:57 33e27b845d1e: Download complete 14:01:57 7264a8db6415: Verifying Checksum 14:01:57 7264a8db6415: Download complete 14:01:57 c68163c4e522: Verifying Checksum 14:01:57 c68163c4e522: Download complete 14:01:57 23d2d4c4bb30: Verifying Checksum 14:01:57 23d2d4c4bb30: Download complete 14:01:57 7264a8db6415: Pull complete 14:01:57 c4d48a809fc2: Pull complete 14:01:58 4f1c88b9dad5: Verifying Checksum 14:01:58 4f1c88b9dad5: Download complete 14:01:58 50da416c3ac9: Verifying Checksum 14:01:58 50da416c3ac9: Download complete 14:02:02 4f1c88b9dad5: Pull complete 14:02:02 ad3a456e5733: Pull complete 14:02:02 33e27b845d1e: Pull complete 14:02:02 c68163c4e522: Pull complete 14:02:04 50da416c3ac9: Pull complete 14:02:05 23d2d4c4bb30: Pull complete 14:02:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:02:06 ---> 0786185ac409 14:02:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:02:10 Still waiting to schedule task 14:02:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 14:02:12 ---> Running in 3c777ecb08ad 14:02:12 Removing intermediate container 3c777ecb08ad 14:02:12 ---> b837f4d4916b 14:02:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:02:12 ---> Running in c6bbfe51e914 14:02:12 Removing intermediate container c6bbfe51e914 14:02:12 ---> d52cc5b534e2 14:02:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:02:12 ---> Running in 219504ddb955 14:02:12 Removing intermediate container 219504ddb955 14:02:12 ---> 98a6822db97b 14:02:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:02:12 ---> Running in be3b2227bf12 14:02:12 Removing intermediate container be3b2227bf12 14:02:12 ---> f45b370c9ec2 14:02:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:02:12 ---> Running in 9761b1ee8943 14:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:02:13 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:02:13 (2/4) Installing libedit (20221030.3.1-r1) 14:02:13 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:02:13 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:02:13 Executing busybox-1.36.1-r2.trigger 14:02:13 OK: 268 MiB in 56 packages 14:02:14 Removing intermediate container 9761b1ee8943 14:02:14 ---> cf4c006c083d 14:02:14 Step 8/12 : WORKDIR /device-rest-go 14:02:14 ---> Running in f3bbecce251d 14:02:14 Removing intermediate container f3bbecce251d 14:02:14 ---> 4dcad9250a37 14:02:14 Step 9/12 : COPY go.mod vendor* ./ 14:02:14 ---> 9fe86d560b7d 14:02:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:02:14 ---> Running in 0a705010b458 14:03:10 Removing intermediate container 0a705010b458 14:03:10 ---> f9cdf722eb9e 14:03:10 Step 11/12 : COPY . . 14:03:10 ---> f490dec31e0f 14:03:10 Step 12/12 : RUN $MAKE 14:03:10 ---> Running in e29e452c5204 14:03:10 noop 14:03:10 Removing intermediate container e29e452c5204 14:03:10 ---> bbe9bdc75037 14:03:10 Successfully built bbe9bdc75037 14:03:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:11 + docker inspect -f . ci-base-image-x86_64 14:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:11 prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container 14:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 14:03:11 $ docker top 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:11 + go version 14:03:11 go version go1.21.0 linux/amd64 [Pipeline] } 14:03:11 $ docker stop --time=1 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 14:03:13 $ docker rm -f --volumes 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:13 + docker inspect -f . ci-base-image-x86_64 14:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:13 prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container 14:03:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 14:03:14 $ docker top 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] fileExists [Pipeline] sh 14:03:15 + make test 14:03:15 go test ./... -coverprofile=coverage.out ./... 14:03:16 ? github.com/edgexfoundry/device-rest-go [no test files] 14:03:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:03:28 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 14:03:33 go vet ./... 14:03:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:03:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:03:36 ./bin/test-attribution-txt.sh [Pipeline] echo 14:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:03:36 $ docker stop --time=1 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 14:03:42 $ docker rm -f --volumes 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 [Pipeline] // withDockerContainer [Pipeline] sh 14:03:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:03:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:03:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:43 + ls -al . 14:03:43 total 176 14:03:43 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 14:03 . 14:03:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:01 .. 14:03:43 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:01 .dockerignore 14:03:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:03 .git 14:03:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 .github 14:03:43 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:01 .gitignore 14:03:43 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:01 .golangci.yml 14:03:43 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:01 .semver 14:03:43 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:01 Attribution.txt 14:03:43 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:01 CHANGELOG.md 14:03:43 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:01 Dockerfile 14:03:43 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:01 GOVERNANCE.md 14:03:43 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:01 Jenkinsfile 14:03:43 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:01 LICENSE 14:03:43 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:01 Makefile 14:03:43 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:01 OWNERS.md 14:03:43 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:01 README.md 14:03:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:01 VERSION 14:03:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:01 bin 14:03:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 cmd 14:03:43 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:03 coverage.out 14:03:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:01 driver 14:03:43 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:01 go.mod 14:03:43 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:01 go.sum 14:03:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 openapi 14:03:43 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:43 + 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=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 --label arch=amd64 --label version=0.0.0 . 14:03:43 Sending build context to Docker daemon 10.96MB 14:03:43 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:03:43 Step 2/25 : FROM ${BASE} AS builder 14:03:43 ---> bbe9bdc75037 14:03:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:03:44 ---> Running in 94df5accf87e 14:03:44 Removing intermediate container 94df5accf87e 14:03:44 ---> 8cf724d90a00 14:03:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:03:44 ---> Running in 2638f5b27bbe 14:03:44 Removing intermediate container 2638f5b27bbe 14:03:44 ---> eaff794d833c 14:03:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:03:44 ---> Running in 78b9d0b2812f 14:03:44 Removing intermediate container 78b9d0b2812f 14:03:44 ---> 17a3e817177c 14:03:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:03:44 ---> Running in 4d58206999e0 14:03:44 Removing intermediate container 4d58206999e0 14:03:44 ---> 63015bde9a27 14:03:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:44 ---> Running in dfa02d6cd80d 14:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:03:45 OK: 268 MiB in 56 packages 14:03:45 Removing intermediate container dfa02d6cd80d 14:03:45 ---> 08095627b553 14:03:45 Step 8/25 : WORKDIR /device-rest-go 14:03:45 ---> Running in 092be6c7372c 14:03:45 Removing intermediate container 092be6c7372c 14:03:45 ---> 210d074a9543 14:03:45 Step 9/25 : COPY go.mod vendor* ./ 14:03:45 ---> 069648af2a8b 14:03:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:45 ---> Running in 3902d1f65452 14:03:46 Removing intermediate container 3902d1f65452 14:03:46 ---> a12583f12c15 14:03:46 Step 11/25 : COPY . . 14:03:46 ---> 72af170fba69 14:03:46 Step 12/25 : RUN $MAKE 14:03:46 ---> Running in 815cbfb9d55a 14:03:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:04:13 Removing intermediate container 815cbfb9d55a 14:04:13 ---> 7f5b82ab3766 14:04:13 Step 13/25 : FROM alpine:3.18 14:04:13 3.18: Pulling from library/alpine 14:04:13 96526aa774ef: Pulling fs layer 14:04:13 96526aa774ef: Verifying Checksum 14:04:13 96526aa774ef: Download complete 14:04:13 96526aa774ef: Pull complete 14:04:13 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:04:13 Status: Downloaded newer image for alpine:3.18 14:04:13 ---> 8ca4688f4f35 14:04:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:04:13 ---> Running in 2e9ba33e43df 14:04:13 Removing intermediate container 2e9ba33e43df 14:04:13 ---> e51980423b38 14:04:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:04:13 ---> Running in f27b85e60994 14:04:13 Removing intermediate container f27b85e60994 14:04:13 ---> 2321764b6985 14:04:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:04:13 ---> Running in c6325f3f3182 14:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:04:13 (1/1) Installing dumb-init (1.2.5-r2) 14:04:13 Executing busybox-1.36.1-r2.trigger 14:04:13 OK: 7 MiB in 16 packages 14:04:13 Removing intermediate container c6325f3f3182 14:04:13 ---> f7dc05483d4d 14:04:13 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:04:13 ---> 7cb6b7e273de 14:04:13 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:04:13 ---> 0e5c25e00358 14:04:13 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:04:13 ---> 74a0ab96b337 14:04:13 Step 20/25 : EXPOSE 59986 14:04:13 ---> Running in 4c69f49cc2de 14:04:13 Removing intermediate container 4c69f49cc2de 14:04:13 ---> 4f32fb5b3ed4 14:04:13 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:04:13 ---> Running in db91cf6e9907 14:04:13 Removing intermediate container db91cf6e9907 14:04:13 ---> 7a946ecea93f 14:04:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:04:13 ---> Running in 05f426af3c43 14:04:13 Removing intermediate container 05f426af3c43 14:04:13 ---> d11c35a64f3e 14:04:13 Step 23/25 : LABEL arch=amd64 14:04:13 ---> Running in ccd8a6c61f4f 14:04:13 Removing intermediate container ccd8a6c61f4f 14:04:13 ---> 403f975e86cb 14:04:13 Step 24/25 : LABEL git_sha=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 14:04:13 ---> Running in 7c80900fcc33 14:04:13 Removing intermediate container 7c80900fcc33 14:04:13 ---> 80cc3c03ae69 14:04:13 Step 25/25 : LABEL version=0.0.0 14:04:13 ---> Running in 94978f631e99 14:04:14 Removing intermediate container 94978f631e99 14:04:14 ---> c5b2d4ccabd1 14:04:14 [Warning] One or more build-args [ARCH] were not consumed 14:04:14 Successfully built c5b2d4ccabd1 14:04:14 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 14:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:14 14:04:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:14 latest: Pulling from edgex-lftools-log-publisher 14:04:14 5eb5b503b376: Pulling fs layer 14:04:14 5c69ac0246d0: Pulling fs layer 14:04:14 ec43610c2a17: Pulling fs layer 14:04:14 3a2ae6a8a46f: Pulling fs layer 14:04:14 33b1e0a273af: Pulling fs layer 14:04:14 5d3b04190fa2: Pulling fs layer 14:04:14 2f39f015ded8: Pulling fs layer 14:04:14 3a2ae6a8a46f: Waiting 14:04:14 33b1e0a273af: Waiting 14:04:14 5d3b04190fa2: Waiting 14:04:14 2f39f015ded8: Waiting 14:04:14 5c69ac0246d0: Verifying Checksum 14:04:14 5c69ac0246d0: Download complete 14:04:14 3a2ae6a8a46f: Verifying Checksum 14:04:14 3a2ae6a8a46f: Download complete 14:04:14 33b1e0a273af: Verifying Checksum 14:04:14 33b1e0a273af: Download complete 14:04:14 ec43610c2a17: Verifying Checksum 14:04:14 ec43610c2a17: Download complete 14:04:14 5d3b04190fa2: Verifying Checksum 14:04:14 5d3b04190fa2: Download complete 14:04:15 5eb5b503b376: Verifying Checksum 14:04:15 5eb5b503b376: Download complete 14:04:15 2f39f015ded8: Download complete 14:04:16 5eb5b503b376: Pull complete 14:04:16 5c69ac0246d0: Pull complete 14:04:16 ec43610c2a17: Pull complete 14:04:17 3a2ae6a8a46f: Pull complete 14:04:17 33b1e0a273af: Pull complete 14:04:17 5d3b04190fa2: Pull complete 14:04:21 2f39f015ded8: Pull complete 14:04:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:21 prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container 14:04:21 $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 14:04:27 $ docker top d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:28 ---> job-cost.sh 14:04:28 lf-activate-venv: SKIPPING 14:04:28 INFO: No Stack... 14:04:28 INFO: Retrieving Pricing Info for: v3-standard-8 14:04:29 INFO: Archiving Costs [Pipeline] sh 14:04:29 + cat /w/workspace/gexfoundry_device-rest-go_PR-363/archives/cost.csv 14:04:29 + cut -d, -f6 [Pipeline] lock 14:04:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] 14:04:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] did not exist. Created. 14:04:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:04:29 + echo total: 0.2199999988079071 [Pipeline] stash 14:04:29 Stashed 1 file(s) [Pipeline] } 14:04:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:04:29 $ docker stop --time=1 d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba 14:04:30 $ docker rm -f --volumes d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:05:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17136 in /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] { [Pipeline] ws 14:05:10 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 14:05:10 The recommended git tool is: git 14:05:16 using credential edgex-jenkins-ssh 14:05:16 Cloning the remote Git repository 14:05:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 14:05:16 > git init /w/workspace/device-rest-go/2 # timeout=10 14:05:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:05:16 > git --version # timeout=10 14:05:16 > git --version # 'git version 2.25.1' 14:05:16 using GIT_SSH to set credentials SSH Credentials for GitHub 14:05:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:05:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:05:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 14:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 14:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 14:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:05:20 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 14:05:20 Merge succeeded, producing 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 14:05:20 Checking out Revision 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 (PR-363) 14:05:21 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:20 > git config core.sparsecheckout # timeout=10 14:05:20 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 14:05:20 > git remote # timeout=10 14:05:20 > git config --get remote.origin.url # timeout=10 14:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:05:20 > git merge 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 14:05:20 > git rev-parse HEAD^{commit} # timeout=10 14:05:20 > git config core.sparsecheckout # timeout=10 14:05:20 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 14:05:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:05:22 % Total % Received % Xferd Average Speed Time Time Time Current 14:05:22 Dload Upload Total Spent Left Speed 14:05:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 14:05:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:05:23 + sudo tee /etc/docker/daemon.new 14:05:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:05:23 { 14:05:23 "registry-mirrors": [ 14:05:23 "https://nexus3.edgexfoundry.org:10001" 14:05:23 ], 14:05:23 "bip": "10.250.0.254/24", 14:05:23 "hosts": [ 14:05:23 "tcp://0.0.0.0:5555", 14:05:23 "unix:///var/run/docker.sock" 14:05:23 ], 14:05:23 "mtu": 1458, 14:05:23 "selinux-enabled": true, 14:05:23 "seccomp-profile": "/etc/docker/seccomp.json" 14:05:23 } [Pipeline] sh 14:05:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:05:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:42 provisioning config files... 14:05:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3579037006644060225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:42 ---> docker-login.sh 14:05:42 nexus3.edgexfoundry.org:10001 14:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:43 Configure a credential helper to remove this warning. See 14:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:43 14:05:43 Login Succeeded 14:05:43 nexus3.edgexfoundry.org:10002 14:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:43 Configure a credential helper to remove this warning. See 14:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:43 14:05:43 Login Succeeded 14:05:43 nexus3.edgexfoundry.org:10003 14:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:43 Configure a credential helper to remove this warning. See 14:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:43 14:05:43 Login Succeeded 14:05:43 nexus3.edgexfoundry.org:10004 14:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:44 Configure a credential helper to remove this warning. See 14:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:44 14:05:44 Login Succeeded 14:05:44 docker.io 14:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:05:45 Configure a credential helper to remove this warning. See 14:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:05:45 14:05:45 Login Succeeded 14:05:45 ---> docker-login.sh ends [Pipeline] } 14:05:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:45 ========================================================= 14:05:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:05:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:05:45 Sending build context to Docker daemon 125.4kB 14:05:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:05:46 Step 2/12 : FROM ${BASE} AS builder 14:05:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:05:46 9fda8d8052c6: Pulling fs layer 14:05:46 5d54e960e981: Pulling fs layer 14:05:46 c4a7e357bf2a: Pulling fs layer 14:05:46 f0e02332f6b5: Pulling fs layer 14:05:46 cefa15bbcfad: Pulling fs layer 14:05:46 17808c966233: Pulling fs layer 14:05:46 f4c1fc716caa: Pulling fs layer 14:05:46 cefa15bbcfad: Waiting 14:05:46 17808c966233: Waiting 14:05:46 f4c1fc716caa: Waiting 14:05:46 f0e02332f6b5: Waiting 14:05:46 5d54e960e981: Verifying Checksum 14:05:46 5d54e960e981: Download complete 14:05:46 f0e02332f6b5: Verifying Checksum 14:05:46 f0e02332f6b5: Download complete 14:05:46 cefa15bbcfad: Verifying Checksum 14:05:46 cefa15bbcfad: Download complete 14:05:46 9fda8d8052c6: Verifying Checksum 14:05:46 9fda8d8052c6: Download complete 14:05:46 f4c1fc716caa: Verifying Checksum 14:05:46 f4c1fc716caa: Download complete 14:05:47 9fda8d8052c6: Pull complete 14:05:47 5d54e960e981: Pull complete 14:05:48 c4a7e357bf2a: Verifying Checksum 14:05:48 c4a7e357bf2a: Download complete 14:05:49 17808c966233: Verifying Checksum 14:05:49 17808c966233: Download complete 14:06:01 c4a7e357bf2a: Pull complete 14:06:01 f0e02332f6b5: Pull complete 14:06:01 cefa15bbcfad: Pull complete 14:06:09 17808c966233: Pull complete 14:06:10 f4c1fc716caa: Pull complete 14:06:10 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:06:10 ---> ea914061e18c 14:06:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:06:11 ---> Running in cbd36786c24a 14:06:12 Removing intermediate container cbd36786c24a 14:06:12 ---> 494b2248f657 14:06:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:06:12 ---> Running in 48f59fdc310e 14:06:12 Removing intermediate container 48f59fdc310e 14:06:12 ---> cec27c9a068b 14:06:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:06:12 ---> Running in 3825f87dc019 14:06:12 Removing intermediate container 3825f87dc019 14:06:12 ---> 7e21ab9e9a2a 14:06:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:06:12 ---> Running in 6d2f857b8ba3 14:06:13 Removing intermediate container 6d2f857b8ba3 14:06:13 ---> f89f71a16792 14:06:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:06:13 ---> Running in 7b9ae2c3bba5 14:06:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:06:16 (1/4) Installing openssh-keygen (9.3_p2-r0) 14:06:16 (2/4) Installing libedit (20221030.3.1-r1) 14:06:16 (3/4) Installing openssh-client-common (9.3_p2-r0) 14:06:16 (4/4) Installing openssh-client-default (9.3_p2-r0) 14:06:16 Executing busybox-1.36.1-r2.trigger 14:06:16 OK: 270 MiB in 56 packages 14:06:20 Removing intermediate container 7b9ae2c3bba5 14:06:20 ---> 725256f47f91 14:06:20 Step 8/12 : WORKDIR /device-rest-go 14:06:20 ---> Running in e6489eac7355 14:06:21 Removing intermediate container e6489eac7355 14:06:21 ---> 7ab19b789fe8 14:06:21 Step 9/12 : COPY go.mod vendor* ./ 14:06:21 ---> 6f8c8311783e 14:06:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:21 ---> Running in 0ad19ec9e9d7 14:07:43 Removing intermediate container 0ad19ec9e9d7 14:07:43 ---> 8af51972b812 14:07:43 Step 11/12 : COPY . . 14:07:43 ---> cea145691398 14:07:43 Step 12/12 : RUN $MAKE 14:07:43 ---> Running in 50ac03bedfd5 14:07:43 noop 14:07:43 Removing intermediate container 50ac03bedfd5 14:07:43 ---> dca8094c8d37 14:07:43 Successfully built dca8094c8d37 14:07:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:43 + docker inspect -f . ci-base-image-arm64 14:07:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:44 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 14:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 14:07:48 $ docker top f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:48 + go version 14:07:48 go version go1.21.0 linux/arm64 [Pipeline] } 14:07:48 $ docker stop --time=1 f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 14:07:50 $ docker rm -f --volumes f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:51 + docker inspect -f . ci-base-image-arm64 14:07:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:51 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 14:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 14:07:52 $ docker top 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:53 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 14:07:53 + make test 14:07:54 go test ./... -coverprofile=coverage.out ./... 14:07:58 ? github.com/edgexfoundry/device-rest-go [no test files] 14:09:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 14:09:50 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements 14:09:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:09:50 go vet ./... 14:10:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:10:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:10:12 ./bin/test-attribution-txt.sh [Pipeline] echo 14:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:10:12 $ docker stop --time=1 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 14:10:14 $ docker rm -f --volumes 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 [Pipeline] // withDockerContainer [Pipeline] sh 14:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:10:15 Warning: overwriting stash ‘coverage-report’ 14:10:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:10:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:10:16 + ls -al . 14:10:16 total 172 14:10:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:07 . 14:10:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:05 .. 14:10:16 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:05 .dockerignore 14:10:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:05 .git 14:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 .github 14:10:16 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:05 .gitignore 14:10:16 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:05 .golangci.yml 14:10:16 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:05 Attribution.txt 14:10:16 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:05 CHANGELOG.md 14:10:16 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:05 Dockerfile 14:10:16 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:05 GOVERNANCE.md 14:10:16 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:05 Jenkinsfile 14:10:16 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:05 LICENSE 14:10:16 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:05 Makefile 14:10:16 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:05 OWNERS.md 14:10:16 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:05 README.md 14:10:16 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:01 VERSION 14:10:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:05 bin 14:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 cmd 14:10:16 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:09 coverage.out 14:10:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:05 driver 14:10:16 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:05 go.mod 14:10:16 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:05 go.sum 14:10:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 openapi 14:10:16 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:17 + 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=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 --label arch=arm64 --label version=0.0.0 . 14:10:17 Sending build context to Docker daemon 140.8kB 14:10:17 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 14:10:17 Step 2/25 : FROM ${BASE} AS builder 14:10:17 ---> dca8094c8d37 14:10:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:10:17 ---> Running in fc40ace89752 14:10:17 Removing intermediate container fc40ace89752 14:10:17 ---> fc83165338a4 14:10:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:17 ---> Running in 2be8549fe842 14:10:18 Removing intermediate container 2be8549fe842 14:10:18 ---> fd69cfc2df98 14:10:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:10:18 ---> Running in 4b18d0e959f0 14:10:18 Removing intermediate container 4b18d0e959f0 14:10:18 ---> 621bbc33e3c2 14:10:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:10:18 ---> Running in 4ae82acf95b3 14:10:18 Removing intermediate container 4ae82acf95b3 14:10:18 ---> 1ecc852826ef 14:10:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:10:18 ---> Running in de3a6741b006 14:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:10:21 OK: 270 MiB in 56 packages 14:10:26 Removing intermediate container de3a6741b006 14:10:26 ---> 66360a7a7a05 14:10:26 Step 8/25 : WORKDIR /device-rest-go 14:10:26 ---> Running in 070c5e80615b 14:10:26 Removing intermediate container 070c5e80615b 14:10:26 ---> 46965d4161fd 14:10:26 Step 9/25 : COPY go.mod vendor* ./ 14:10:26 ---> 7e0fbf99c526 14:10:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:10:27 ---> Running in 3a650d852fcf 14:10:29 Removing intermediate container 3a650d852fcf 14:10:29 ---> 91956eae7e28 14:10:29 Step 11/25 : COPY . . 14:10:29 ---> 24107a1c4c57 14:10:29 Step 12/25 : RUN $MAKE 14:10:29 ---> Running in 4b26986cf66a 14:10:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 14:12:22 Removing intermediate container 4b26986cf66a 14:12:22 ---> afd661bc69d4 14:12:22 Step 13/25 : FROM alpine:3.18 14:12:22 3.18: Pulling from library/alpine 14:12:22 579b34f0a95b: Pulling fs layer 14:12:22 579b34f0a95b: Verifying Checksum 14:12:22 579b34f0a95b: Download complete 14:12:22 579b34f0a95b: Pull complete 14:12:22 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:12:22 Status: Downloaded newer image for alpine:3.18 14:12:22 ---> 3cc203321400 14:12:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:12:22 ---> Running in 6db844469fe2 14:12:22 Removing intermediate container 6db844469fe2 14:12:22 ---> 2c67040860e9 14:12:22 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:12:22 ---> Running in 79d603bb5361 14:12:22 Removing intermediate container 79d603bb5361 14:12:22 ---> 91daa4d8f489 14:12:22 Step 16/25 : RUN apk add --update --no-cache dumb-init 14:12:22 ---> Running in cfbdccc43729 14:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:12:24 (1/1) Installing dumb-init (1.2.5-r2) 14:12:24 Executing busybox-1.36.1-r2.trigger 14:12:24 OK: 8 MiB in 16 packages 14:12:25 Removing intermediate container cfbdccc43729 14:12:25 ---> a774e34e7eff 14:12:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:12:27 ---> da3fbc80891d 14:12:27 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:12:27 ---> f9a4e268ba1f 14:12:27 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:12:28 ---> 78d997e927fc 14:12:28 Step 20/25 : EXPOSE 59986 14:12:28 ---> Running in fd62963fd935 14:12:28 Removing intermediate container fd62963fd935 14:12:28 ---> d0eb3d5dca47 14:12:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:12:28 ---> Running in 2c43d7368258 14:12:28 Removing intermediate container 2c43d7368258 14:12:28 ---> 905861dfbc1e 14:12:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:12:28 ---> Running in 605a23900179 14:12:29 Removing intermediate container 605a23900179 14:12:29 ---> 767237de7013 14:12:29 Step 23/25 : LABEL arch=arm64 14:12:29 ---> Running in 91605de775c4 14:12:29 Removing intermediate container 91605de775c4 14:12:29 ---> ce17bacf91ac 14:12:29 Step 24/25 : LABEL git_sha=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 14:12:29 ---> Running in 1bbd49381c32 14:12:29 Removing intermediate container 1bbd49381c32 14:12:29 ---> 793b646ae87d 14:12:29 Step 25/25 : LABEL version=0.0.0 14:12:30 ---> Running in e0ae8e291777 14:12:30 Removing intermediate container e0ae8e291777 14:12:30 ---> daf7482aaffd 14:12:30 [Warning] One or more build-args [ARCH] were not consumed 14:12:30 Successfully built daf7482aaffd 14:12:30 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 14:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:30 14:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:31 arm64: Pulling from edgex-lftools-log-publisher 14:12:31 8998bd30e6a1: Pulling fs layer 14:12:31 04944245beec: Pulling fs layer 14:12:31 699f458cf7ca: Pulling fs layer 14:12:31 765212b225bb: Pulling fs layer 14:12:31 f23df028b6ca: Pulling fs layer 14:12:31 d65c8cfc05b1: Pulling fs layer 14:12:31 2437ff75d9bd: Pulling fs layer 14:12:31 f23df028b6ca: Waiting 14:12:31 765212b225bb: Waiting 14:12:31 d65c8cfc05b1: Waiting 14:12:31 2437ff75d9bd: Waiting 14:12:31 04944245beec: Verifying Checksum 14:12:31 04944245beec: Download complete 14:12:31 765212b225bb: Download complete 14:12:31 f23df028b6ca: Verifying Checksum 14:12:31 f23df028b6ca: Download complete 14:12:31 d65c8cfc05b1: Verifying Checksum 14:12:31 d65c8cfc05b1: Download complete 14:12:32 699f458cf7ca: Verifying Checksum 14:12:32 699f458cf7ca: Download complete 14:12:32 8998bd30e6a1: Verifying Checksum 14:12:32 8998bd30e6a1: Download complete 14:12:35 2437ff75d9bd: Verifying Checksum 14:12:35 2437ff75d9bd: Download complete 14:12:36 8998bd30e6a1: Pull complete 14:12:37 04944245beec: Pull complete 14:12:39 699f458cf7ca: Pull complete 14:12:39 765212b225bb: Pull complete 14:12:39 f23df028b6ca: Pull complete 14:12:40 d65c8cfc05b1: Pull complete 14:12:58 2437ff75d9bd: Pull complete 14:12:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:12:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:58 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 14:12:58 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 14:13:01 $ docker top 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:13:01 ---> job-cost.sh 14:13:01 lf-activate-venv: SKIPPING 14:13:01 INFO: No Stack... 14:13:02 INFO: Retrieving Pricing Info for: v3-standard-4 14:13:03 INFO: Archiving Costs [Pipeline] sh 14:13:03 + cat /w/workspace/device-rest-go/2/archives/cost.csv 14:13:03 + cut -d, -f6 [Pipeline] lock 14:13:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] 14:13:03 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] did not exist. Created. 14:13:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:13:04 /w/workspace/device-rest-go/2@tmp/durable-6eb7418d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:13:04 + echo total: 0.10999999940395355 [Pipeline] stash 14:13:04 Warning: overwriting stash ‘stack-cost’ 14:13:04 Stashed 1 file(s) [Pipeline] } 14:13:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:13:04 $ docker stop --time=1 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 14:13:06 $ docker rm -f --volumes 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 [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 14:13:06 provisioning config files... 14:13:06 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config11140986679458023571tmp [Pipeline] { [Pipeline] sh 14:13:07 + set +x 14:13:07 + + bash -s -- 14:13:07 curl -s https://codecov.io/bash 14:13:07 14:13:07 _____ _ 14:13:07 / ____| | | 14:13:07 | | ___ __| | ___ ___ _____ __ 14:13:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:13:07 | |___| (_) | (_| | __/ (_| (_) \ V / 14:13:07 \_____\___/ \__,_|\___|\___\___/ \_/ 14:13:07 Bash-1.0.6 14:13:07 14:13:07 14:13:07 ==> git version 2.25.1 found 14:13:07 ==> 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 14:13:07 Release-Date: 2020-01-08 14:13:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:13:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:13:07 ==> Jenkins CI detected. 14:13:07 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-363 14:13:07 project root: . 14:13:07 --> token set from env 14:13:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:13:07 ==> Running gcov in . (disable via -X gcov) 14:13:07 ==> Python coveragepy not found 14:13:07 ==> Searching for coverage reports in: 14:13:07 + . 14:13:07 -> Found 1 reports 14:13:07 ==> Detecting git/mercurial file structure 14:13:07 ==> Reading reports 14:13:07 + ./coverage.out bytes=14499 14:13:07 ==> Appending adjustments 14:13:07 https://docs.codecov.io/docs/fixing-reports 14:13:07 + Found adjustments 14:13:07 ==> Gzipping contents 14:13:07 4.0K /tmp/codecov.A2SFyK.gz 14:13:07 ==> Uploading reports 14:13:07 url: https://codecov.io 14:13:07 query: branch=PR-363&commit=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 14:13:07 -> Pinging Codecov 14:13:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-363&commit=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 14:13:07 -> Uploading to 14:13:07 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97/384424c5-d79a-423f-9e4c-300627c33b64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T141307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b2c94a472a341d5c00a97a1ef877644f28c30f619430f72db12e3ab3ad06920 14:13:07 % Total % Received % Xferd Average Speed Time Time Time Current 14:13:07 Dload Upload Total Spent Left Speed 14:13:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11490 --:--:-- --:--:-- --:--:-- 11433 100 2321 0 0 100 2321 0 9066 --:--:-- --:--:-- --:--:-- 9066 14:13:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] } 14:13:07 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 14:13:08 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-363/archives ] 14:13:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 14:13:08 total 16 14:13:08 drwxr-xr-x 3 root root 4096 Nov 9 14:04 . 14:13:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:04 .. 14:13:08 drwxr-xr-x 2 root root 4096 Nov 9 14:04 cost 14:13:08 -rw-r--r-- 1 root root 86 Nov 9 14:04 cost.csv 14:13:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-363/archives 14:13:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 14:13:08 total 16 14:13:08 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:04 . 14:13:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:04 .. 14:13:08 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 14:04 cost 14:13:08 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:13:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:13:09 ---> package-listing.sh 14:13:09 ++ facter osfamily 14:13:09 ++ tr '[:upper:]' '[:lower:]' 14:13:09 + OS_FAMILY=debian 14:13:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-363 14:13:09 + START_PACKAGES=/tmp/packages_start.txt 14:13:09 + END_PACKAGES=/tmp/packages_end.txt 14:13:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:13:09 + PACKAGES=/tmp/packages_start.txt 14:13:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 14:13:09 + PACKAGES=/tmp/packages_end.txt 14:13:09 + case "${OS_FAMILY}" in 14:13:09 + dpkg -l 14:13:09 + grep '^ii' 14:13:09 + '[' -f /tmp/packages_start.txt ']' 14:13:09 + '[' -f /tmp/packages_end.txt ']' 14:13:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:13:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 14:13:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ 14:13:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [Pipeline] echo 14:13:09 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:13:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:13:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:13:10 prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container 14:13:10 $ 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-363/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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@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 14:13:11 $ docker top 505fbe55e48a8c702c7a54e64dd47c54f007242b28cb3fdeb3dfc3627f118181 -eo pid,comm [Pipeline] { [Pipeline] sh 14:13:11 + touch /tmp/pre-build-complete [Pipeline] sh 14:13:11 + mkdir -p /var/log/sysstat [Pipeline] sh 14:13:11 + ls /var/log/sa-host 14:13:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:13:12 provisioning config files... 14:13:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config12344466076155193823tmp [Pipeline] { [Pipeline] echo 14:13:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:13:12 ---> create-netrc.sh [Pipeline] } 14:13:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:13:12 ---> python-tools-install.sh [Pipeline] echo 14:13:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:13:12 ---> sudo-logs.sh 14:13:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:13:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:13:13 ---> job-cost.sh 14:13:13 lf-activate-venv: SKIPPING 14:13:13 DEBUG: total: 0.2199999988079071 14:13:13 INFO: Retrieving Stack Cost... 14:13:13 INFO: Retrieving Pricing Info for: v3-standard-8 14:13:14 INFO: Archiving Costs [Pipeline] echo 14:13:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:13:14 ---> logs-deploy.sh 14:13:14 lf-activate-venv: SKIPPING 14:13:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-363/2 14:13:14 INFO: archiving workspace using pattern(s): 14:13:15 Archives upload complete. 14:13:15 INFO: archiving logs to Nexus