Pull request #303 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8282a525ddfc039d2c06d01a6902409b9a24daa6+2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 (c2668b6467ee8646342950060dd9909a3769657d) 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-ssh17360687242016190467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2990176889076104582.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14658074910373436233.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2805003402848595605.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14598814011619758491.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-303/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-303/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6987030982512675729.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11948 in /w/workspace/gexfoundry_device-rest-go_PR-303 [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-303 # 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 > 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/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 8282a525ddfc039d2c06d01a6902409b9a24daa6 Merge succeeded, producing 8282a525ddfc039d2c06d01a6902409b9a24daa6 Checking out Revision 8282a525ddfc039d2c06d01a6902409b9a24daa6 (PR-303) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # 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 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 [Pipeline] withCredentials 20:58:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:32 ========================================================= 20:58:32 EdgeX Global Pipelines Version Info 20:58:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:33 ------------------- 20:58:33 stable info: 20:58:33 ------------------- 20:58:33 Commited By: Bill Mahoney bill.mahoney@intel.com 20:58:33 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:58:33 Message: update stable to v1.0.248 20:58:33 ------------------- 20:58:33 experimental info: 20:58:33 ------------------- 20:58:33 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:33 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:58:33 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8282a52 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:35 provisioning config files... 20:58:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config2199412112250325629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:36 ---> docker-login.sh 20:58:36 nexus3.edgexfoundry.org:10001 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10002 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10003 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 nexus3.edgexfoundry.org:10004 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:36 Configure a credential helper to remove this warning. See 20:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:36 20:58:36 Login Succeeded 20:58:36 docker.io 20:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 ---> docker-login.sh ends [Pipeline] } 20:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:37 + git rev-list -1 --merges 8282a525ddfc039d2c06d01a6902409b9a24daa6~1..8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo 20:58:37 -----------> git rev-list -1 --merges 8282a525ddfc039d2c06d01a6902409b9a24daa6~1..8282a525ddfc039d2c06d01a6902409b9a24daa6 8282a525ddfc039d2c06d01a6902409b9a24daa6 [false] [Pipeline] sh 20:58:38 + git log --format=format:%s -1 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo 20:58:38 ========================================================= 20:58:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:38 + git log --format=format:%s -1 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo 20:58:38 [semverPrep] GIT_COMMIT: 8282a525ddfc039d2c06d01a6902409b9a24daa6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:58:38 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:39 + grep -v github /etc/ssh/ssh_known_hosts 20:58:39 + [ -e /tmp/ssh_known_hosts ] 20:58:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:39 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:39 20:58:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:40 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:40 b85a868b505f: Pulling fs layer 20:58:40 e2be974225ed: Pulling fs layer 20:58:40 339a4e72a1f5: Pulling fs layer 20:58:40 988bab9f4d93: Pulling fs layer 20:58:40 1469e6f7b9e6: Pulling fs layer 20:58:40 eaf3925da568: Pulling fs layer 20:58:40 bab4dde63d76: Pulling fs layer 20:58:40 bde34c3a00c8: Pulling fs layer 20:58:40 b352a97aabf1: Pulling fs layer 20:58:40 4872d77fe225: Pulling fs layer 20:58:40 5851b861e8e6: Pulling fs layer 20:58:40 1469e6f7b9e6: Waiting 20:58:40 eaf3925da568: Waiting 20:58:40 bab4dde63d76: Waiting 20:58:40 bde34c3a00c8: Waiting 20:58:40 b352a97aabf1: Waiting 20:58:40 4872d77fe225: Waiting 20:58:40 5851b861e8e6: Waiting 20:58:40 988bab9f4d93: Waiting 20:58:40 e2be974225ed: Verifying Checksum 20:58:40 e2be974225ed: Download complete 20:58:40 988bab9f4d93: Verifying Checksum 20:58:40 988bab9f4d93: Download complete 20:58:40 1469e6f7b9e6: Verifying Checksum 20:58:40 1469e6f7b9e6: Download complete 20:58:40 eaf3925da568: Verifying Checksum 20:58:40 eaf3925da568: Download complete 20:58:40 339a4e72a1f5: Verifying Checksum 20:58:40 339a4e72a1f5: Download complete 20:58:40 bde34c3a00c8: Download complete 20:58:40 b352a97aabf1: Verifying Checksum 20:58:40 b352a97aabf1: Download complete 20:58:40 4872d77fe225: Verifying Checksum 20:58:40 4872d77fe225: Download complete 20:58:40 5851b861e8e6: Verifying Checksum 20:58:40 5851b861e8e6: Download complete 20:58:40 b85a868b505f: Download complete 20:58:40 bab4dde63d76: Verifying Checksum 20:58:40 bab4dde63d76: Download complete 20:58:41 b85a868b505f: Pull complete 20:58:41 e2be974225ed: Pull complete 20:58:42 339a4e72a1f5: Pull complete 20:58:42 988bab9f4d93: Pull complete 20:58:42 1469e6f7b9e6: Pull complete 20:58:42 eaf3925da568: Pull complete 20:58:43 bab4dde63d76: Pull complete 20:58:44 bde34c3a00c8: Pull complete 20:58:44 b352a97aabf1: Pull complete 20:58:44 4872d77fe225: Pull complete 20:58:44 5851b861e8e6: Pull complete 20:58:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:44 prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container 20:58:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:46 $ docker top 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 -eo pid,comm 20:58:46 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). 20:58:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:46 [ssh-agent] Looking for ssh-agent implementation... 20:58:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:47 $ docker exec 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent 20:58:47 SSH_AUTH_SOCK=/tmp/ssh-PnbSy70x0UFo/agent.31 20:58:47 SSH_AGENT_PID=37 20:58:47 Running ssh-add (command line suppressed) 20:58:47 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_8106537681051092540.key (/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_8106537681051092540.key) 20:58:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:47 + git tag --points-at HEAD [Pipeline] } 20:58:47 $ docker exec --env ******** --env ******** 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent -k 20:58:47 unset SSH_AUTH_SOCK; 20:58:47 unset SSH_AGENT_PID; 20:58:47 echo Agent pid 37 killed; 20:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:47 [ssh-agent] Looking for ssh-agent implementation... 20:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:48 $ docker exec 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent 20:58:48 SSH_AUTH_SOCK=/tmp/ssh-8ag0n7lwupOl/agent.69 20:58:48 SSH_AGENT_PID=75 20:58:48 Running ssh-add (command line suppressed) 20:58:48 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_17642548125636524570.key (/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_17642548125636524570.key) 20:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:48 + git semver init 20:58:48 2023-04-27 20:58:48,772 [run_init] DEBUG init version:0.0.0 force:False 20:58:48 2023-04-27 20:58:48,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver 20:58:48 2023-04-27 20:58:48,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-303/.semver 20:58:48 2023-04-27 20:58:48,774 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-303/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303, universal_newlines=False, shell=None, istream=None) 20:58:49 2023-04-27 20:58:49,741 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-303/.git/info/exclude 20:58:49 2023-04-27 20:58:49,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 with force:False 20:58:49 2023-04-27 20:58:49,741 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 20:58:49 2023-04-27 20:58:49,745 [execute] INFO git cat-file --batch-check 20:58:49 2023-04-27 20:58:49,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) 20:58:49 2023-04-27 20:58:49,751 [execute] INFO git cat-file --batch 20:58:49 2023-04-27 20:58:49,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) 20:58:49 2023-04-27 20:58:49,755 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 20:58:49 0.0.0 [Pipeline] } 20:58:49 $ docker exec --env ******** --env ******** 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent -k 20:58:49 unset SSH_AUTH_SOCK; 20:58:49 unset SSH_AGENT_PID; 20:58:49 echo Agent pid 75 killed; 20:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:50 + git semver [Pipeline] } 20:58:50 $ docker stop --time=1 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 20:58:51 $ docker rm -f --volumes 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:52 Stashed 1 file(s) [Pipeline] echo 20:58:52 [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 20:58:53 provisioning config files... 20:58:53 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config7669539874098469707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:53 ---> docker-login.sh 20:58:53 nexus3.edgexfoundry.org:10001 20:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:53 Configure a credential helper to remove this warning. See 20:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:53 20:58:53 Login Succeeded 20:58:53 nexus3.edgexfoundry.org:10002 20:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:53 Configure a credential helper to remove this warning. See 20:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:53 20:58:53 Login Succeeded 20:58:53 nexus3.edgexfoundry.org:10003 20:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:53 Configure a credential helper to remove this warning. See 20:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:53 20:58:53 Login Succeeded 20:58:53 nexus3.edgexfoundry.org:10004 20:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:53 Configure a credential helper to remove this warning. See 20:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:53 20:58:53 Login Succeeded 20:58:53 docker.io 20:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:54 Configure a credential helper to remove this warning. See 20:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:54 20:58:54 Login Succeeded 20:58:54 ---> docker-login.sh ends [Pipeline] } 20:58:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:54 ========================================================= 20:58:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:58:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:58:54 Sending build context to Docker daemon 10.91MB 20:58:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:58:54 Step 2/12 : FROM ${BASE} AS builder 20:58:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:54 f56be85fc22e: Pulling fs layer 20:58:54 85791d961cd3: Pulling fs layer 20:58:54 d694b5ae8c79: Pulling fs layer 20:58:54 9f32a84ed3da: Pulling fs layer 20:58:54 4d19c01a9841: Pulling fs layer 20:58:54 9325e15d5711: Pulling fs layer 20:58:54 556b6ee489ea: Pulling fs layer 20:58:54 c5a4b2cf53e6: Pulling fs layer 20:58:54 9f32a84ed3da: Waiting 20:58:54 4d19c01a9841: Waiting 20:58:54 9325e15d5711: Waiting 20:58:54 c5a4b2cf53e6: Waiting 20:58:54 556b6ee489ea: Waiting 20:58:54 85791d961cd3: Verifying Checksum 20:58:54 85791d961cd3: Download complete 20:58:55 9f32a84ed3da: Verifying Checksum 20:58:55 9f32a84ed3da: Download complete 20:58:55 4d19c01a9841: Verifying Checksum 20:58:55 4d19c01a9841: Download complete 20:58:55 f56be85fc22e: Verifying Checksum 20:58:55 f56be85fc22e: Download complete 20:58:55 9325e15d5711: Verifying Checksum 20:58:55 9325e15d5711: Download complete 20:58:55 f56be85fc22e: Pull complete 20:58:55 85791d961cd3: Pull complete 20:58:55 c5a4b2cf53e6: Verifying Checksum 20:58:55 c5a4b2cf53e6: Download complete 20:58:55 d694b5ae8c79: Verifying Checksum 20:58:55 d694b5ae8c79: Download complete 20:58:55 556b6ee489ea: Verifying Checksum 20:58:55 556b6ee489ea: Download complete 20:58:59 d694b5ae8c79: Pull complete 20:58:59 9f32a84ed3da: Pull complete 20:58:59 4d19c01a9841: Pull complete 20:58:59 9325e15d5711: Pull complete 20:59:01 556b6ee489ea: Pull complete 20:59:01 c5a4b2cf53e6: Pull complete 20:59:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:59:01 ---> c4be618373d6 20:59:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:04 ---> Running in 3832df21bd3b 20:59:04 Removing intermediate container 3832df21bd3b 20:59:04 ---> 1f1c9f73bf54 20:59:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:04 ---> Running in d0d76cd36cbd 20:59:04 Removing intermediate container d0d76cd36cbd 20:59:04 ---> 184063e01ff2 20:59:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:04 ---> Running in 6323ce35685b 20:59:04 Removing intermediate container 6323ce35685b 20:59:04 ---> 5c9512bb6798 20:59:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:04 ---> Running in 234de1d49e27 20:59:05 Removing intermediate container 234de1d49e27 20:59:05 ---> f240d4b35fe1 20:59:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:05 ---> Running in 5506db3b6820 20:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:59:05 (2/4) Installing libedit (20221030.3.1-r0) 20:59:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:59:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:59:05 Executing busybox-1.35.0-r29.trigger 20:59:05 OK: 269 MiB in 57 packages 20:59:06 Removing intermediate container 5506db3b6820 20:59:06 ---> 7db3c0fba43b 20:59:06 Step 8/12 : WORKDIR /device-rest-go 20:59:06 ---> Running in 9be66a63a17b 20:59:06 Removing intermediate container 9be66a63a17b 20:59:06 ---> d102efc3919f 20:59:06 Step 9/12 : COPY go.mod vendor* ./ 20:59:06 ---> 12547a27d2a0 20:59:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:06 ---> Running in e67885718311 20:59:08 Still waiting to schedule task 20:59:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:59:45 Removing intermediate container e67885718311 20:59:45 ---> bd7551da91d4 20:59:45 Step 11/12 : COPY . . 20:59:45 ---> 8fb02d5b282a 20:59:45 Step 12/12 : RUN $MAKE 20:59:45 ---> Running in dea155777df8 20:59:45 noop 20:59:45 Removing intermediate container dea155777df8 20:59:45 ---> 11a361770c22 20:59:45 Successfully built 11a361770c22 20:59:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:45 + docker inspect -f . ci-base-image-x86_64 20:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:45 prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container 20:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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 ******** ci-base-image-x86_64 cat 20:59:46 $ docker top 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:46 + go version 20:59:46 go version go1.20.2 linux/amd64 [Pipeline] } 20:59:46 $ docker stop --time=1 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 20:59:47 $ docker rm -f --volumes 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:48 + docker inspect -f . ci-base-image-x86_64 20:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:48 prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container 20:59:48 $ 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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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 ******** ci-base-image-x86_64 cat 20:59:49 $ docker top 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-303 [Pipeline] fileExists [Pipeline] sh 20:59:49 + make test 20:59:49 go test ./... -coverprofile=coverage.out ./... 20:59:54 ? github.com/edgexfoundry/device-rest-go [no test files] 21:00:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:00:04 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:00:09 go vet ./... 21:00:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:11 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:11 $ docker stop --time=1 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 21:00:14 $ docker rm -f --volumes 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:16 + ls -al . 21:00:16 total 184 21:00:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 20:59 . 21:00:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 20:58 .. 21:00:16 -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 20:58 .dockerignore 21:00:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 20:58 .git 21:00:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 20:58 .github 21:00:16 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 20:58 .gitignore 21:00:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 20:58 .golangci.yml 21:00:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 20:58 .semver 21:00:16 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 27 20:58 Attribution.txt 21:00:16 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 27 20:58 CHANGELOG.md 21:00:16 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 27 20:58 Dockerfile 21:00:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 20:58 GOVERNANCE.md 21:00:16 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 20:58 Jenkinsfile 21:00:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 20:58 LICENSE 21:00:16 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 27 20:58 Makefile 21:00:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 20:58 OWNERS.md 21:00:16 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 27 20:58 README.md 21:00:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 20:58 VERSION 21:00:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 20:58 bin 21:00:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 20:58 cmd 21:00:16 -rw-r--r-- 1 jenkins jenkins 14663 Apr 27 21:00 coverage.out 21:00:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 20:58 driver 21:00:16 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 27 20:58 go.mod 21:00:16 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 20:58 go.sum 21:00:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 20:58 snap 21:00:16 -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:16 + 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=8282a525ddfc039d2c06d01a6902409b9a24daa6 --label arch=amd64 --label version=0.0.0 . 21:00:16 Sending build context to Docker daemon 10.92MB 21:00:16 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:00:16 Step 2/25 : FROM ${BASE} AS builder 21:00:16 ---> 11a361770c22 21:00:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:16 ---> Running in 2b60f8088811 21:00:16 Removing intermediate container 2b60f8088811 21:00:16 ---> 82c402b3d74b 21:00:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:16 ---> Running in 375cf2d0fb58 21:00:16 Removing intermediate container 375cf2d0fb58 21:00:16 ---> ba4b5d8968b4 21:00:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:16 ---> Running in 8a1bddb767f2 21:00:16 Removing intermediate container 8a1bddb767f2 21:00:16 ---> 517be575200f 21:00:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:16 ---> Running in 0cf36e2b9e17 21:00:17 Removing intermediate container 0cf36e2b9e17 21:00:17 ---> 1cb6d0738059 21:00:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:17 ---> Running in 852c1eeb4c3b 21:00:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:17 OK: 269 MiB in 57 packages 21:00:17 Removing intermediate container 852c1eeb4c3b 21:00:17 ---> ceb2c1fe131c 21:00:17 Step 8/25 : WORKDIR /device-rest-go 21:00:17 ---> Running in edeb2ee4bb1d 21:00:17 Removing intermediate container edeb2ee4bb1d 21:00:17 ---> 6c0d5e43fcd2 21:00:17 Step 9/25 : COPY go.mod vendor* ./ 21:00:18 ---> eb89554b419a 21:00:18 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:18 ---> Running in 0f41a0e8a2e2 21:00:18 Removing intermediate container 0f41a0e8a2e2 21:00:18 ---> d5a1f667f605 21:00:18 Step 11/25 : COPY . . 21:00:19 ---> 211e65d8c0e7 21:00:19 Step 12/25 : RUN $MAKE 21:00:19 ---> Running in e166ddc8a4b8 21:00:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:00:37 Removing intermediate container e166ddc8a4b8 21:00:37 ---> 8dfdf6456fa4 21:00:37 Step 13/25 : FROM alpine:3.17 21:00:37 3.17: Pulling from library/alpine 21:00:37 f56be85fc22e: Already exists 21:00:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:00:37 Status: Downloaded newer image for alpine:3.17 21:00:37 ---> 9ed4aefc74f6 21:00:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:00:37 ---> Running in 8583dd464745 21:00:37 Removing intermediate container 8583dd464745 21:00:37 ---> 036fdf2ee161 21:00:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:00:37 ---> Running in e06d17cf7d8e 21:00:37 Removing intermediate container e06d17cf7d8e 21:00:37 ---> a99a9254959d 21:00:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:00:37 ---> Running in da47c7d684f1 21:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:37 (1/1) Installing dumb-init (1.2.5-r2) 21:00:37 Executing busybox-1.35.0-r29.trigger 21:00:37 OK: 7 MiB in 16 packages 21:00:37 Removing intermediate container da47c7d684f1 21:00:37 ---> 7c7208e6b7b7 21:00:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:00:38 ---> 1b7968af339f 21:00:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:00:38 ---> 9789a618f708 21:00:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:39 ---> 79e7d7aac26e 21:00:39 Step 20/25 : EXPOSE 59986 21:00:39 ---> Running in 6b12d8679e25 21:00:39 Removing intermediate container 6b12d8679e25 21:00:39 ---> fb7760a0f7c9 21:00:39 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:00:39 ---> Running in da67c280e3a6 21:00:39 Removing intermediate container da67c280e3a6 21:00:39 ---> e059d67df26e 21:00:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:39 ---> Running in 96b21f326d17 21:00:39 Removing intermediate container 96b21f326d17 21:00:39 ---> 2897a5ac4ea6 21:00:39 Step 23/25 : LABEL arch=amd64 21:00:39 ---> Running in eadeb0b7b690 21:00:39 Removing intermediate container eadeb0b7b690 21:00:39 ---> ceffc391ea87 21:00:39 Step 24/25 : LABEL git_sha=8282a525ddfc039d2c06d01a6902409b9a24daa6 21:00:39 ---> Running in 4548f254e6dc 21:00:39 Removing intermediate container 4548f254e6dc 21:00:39 ---> 07ae499023dd 21:00:39 Step 25/25 : LABEL version=0.0.0 21:00:39 ---> Running in fcc2aa970ecc 21:00:39 Removing intermediate container fcc2aa970ecc 21:00:39 ---> 490bfa283456 21:00:39 [Warning] One or more build-args [ARCH] were not consumed 21:00:39 Successfully built 490bfa283456 21:00:39 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 21:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:40 21:00:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:41 latest: Pulling from edgex-lftools-log-publisher 21:00:41 5eb5b503b376: Pulling fs layer 21:00:41 5c69ac0246d0: Pulling fs layer 21:00:41 ec43610c2a17: Pulling fs layer 21:00:41 3a2ae6a8a46f: Pulling fs layer 21:00:41 33b1e0a273af: Pulling fs layer 21:00:41 5d3b04190fa2: Pulling fs layer 21:00:41 2f39f015ded8: Pulling fs layer 21:00:41 3a2ae6a8a46f: Waiting 21:00:41 2f39f015ded8: Waiting 21:00:41 33b1e0a273af: Waiting 21:00:41 5c69ac0246d0: Verifying Checksum 21:00:41 5c69ac0246d0: Download complete 21:00:41 3a2ae6a8a46f: Download complete 21:00:41 33b1e0a273af: Verifying Checksum 21:00:41 33b1e0a273af: Download complete 21:00:41 ec43610c2a17: Verifying Checksum 21:00:41 ec43610c2a17: Download complete 21:00:41 5d3b04190fa2: Verifying Checksum 21:00:41 5d3b04190fa2: Download complete 21:00:41 5eb5b503b376: Verifying Checksum 21:00:41 5eb5b503b376: Download complete 21:00:42 2f39f015ded8: Download complete 21:00:42 5eb5b503b376: Pull complete 21:00:42 5c69ac0246d0: Pull complete 21:00:43 ec43610c2a17: Pull complete 21:00:43 3a2ae6a8a46f: Pull complete 21:00:43 33b1e0a273af: Pull complete 21:00:43 5d3b04190fa2: Pull complete 21:00:47 2f39f015ded8: Pull complete 21:00:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:47 prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container 21:00:48 $ 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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11949 in /w/workspace/gexfoundry_device-rest-go_PR-303 21:00:50 $ docker top a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:00:51 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:00:51 The recommended git tool is: git 21:00:51 ---> job-cost.sh 21:00:51 lf-activate-venv: SKIPPING 21:00:51 INFO: No Stack... 21:00:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:51 INFO: Archiving Costs [Pipeline] sh 21:00:52 + cat /w/workspace/gexfoundry_device-rest-go_PR-303/archives/cost.csv 21:00:52 + cut -d, -f6 [Pipeline] lock 21:00:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] 21:00:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] did not exist. Created. 21:00:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:52 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:52 Stashed 1 file(s) [Pipeline] } 21:00:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:52 $ docker stop --time=1 a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab 21:00:53 $ docker rm -f --volumes a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:55 using credential edgex-jenkins-ssh 21:00:56 Cloning the remote Git repository 21:00:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:00:56 > git init /w/workspace/device-rest-go/1 # timeout=10 21:00:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:56 > git --version # timeout=10 21:00:56 > git --version # 'git version 2.25.1' 21:00:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:00 Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 8282a525ddfc039d2c06d01a6902409b9a24daa6 21:01:00 Merge succeeded, producing 8282a525ddfc039d2c06d01a6902409b9a24daa6 21:01:00 Checking out Revision 8282a525ddfc039d2c06d01a6902409b9a24daa6 (PR-303) 21:01:00 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:01:00 > git --version # timeout=10 21:01:00 > git --version # 'git version 2.25.1' 21:01:00 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:01:00 > git config core.sparsecheckout # timeout=10 21:01:00 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 21:01:00 > git remote # timeout=10 21:01:00 > git config --get remote.origin.url # timeout=10 21:01:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:00 > git merge 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 21:01:00 > git rev-parse HEAD^{commit} # timeout=10 21:01:00 > git config core.sparsecheckout # timeout=10 21:01:00 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:02 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:02 Dload Upload Total Spent Left Speed 21:01:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10504 0 0 64441 0 --:--:-- --:--:-- --:--:-- 64048 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh 21:01:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:02 + sudo tee /etc/docker/daemon.new 21:01:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:02 { 21:01:02 "registry-mirrors": [ 21:01:02 "https://nexus3.edgexfoundry.org:10001" 21:01:02 ], 21:01:02 "bip": "10.250.0.254/24", 21:01:02 "hosts": [ 21:01:02 "tcp://0.0.0.0:5555", 21:01:02 "unix:///var/run/docker.sock" 21:01:02 ], 21:01:02 "mtu": 1458, 21:01:02 "selinux-enabled": true, 21:01:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:02 } [Pipeline] sh 21:01:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:22 provisioning config files... 21:01:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5444034525486807119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:22 ---> docker-login.sh 21:01:22 nexus3.edgexfoundry.org:10001 21:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:22 Configure a credential helper to remove this warning. See 21:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:22 21:01:22 Login Succeeded 21:01:22 nexus3.edgexfoundry.org:10002 21:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:23 Configure a credential helper to remove this warning. See 21:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:23 21:01:23 Login Succeeded 21:01:23 nexus3.edgexfoundry.org:10003 21:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:23 Configure a credential helper to remove this warning. See 21:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:23 21:01:23 Login Succeeded 21:01:23 nexus3.edgexfoundry.org:10004 21:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:24 Configure a credential helper to remove this warning. See 21:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:24 21:01:24 Login Succeeded 21:01:24 docker.io 21:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:24 Configure a credential helper to remove this warning. See 21:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:24 21:01:24 Login Succeeded 21:01:24 ---> docker-login.sh ends [Pipeline] } 21:01:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:25 ========================================================= 21:01:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:01:25 Sending build context to Docker daemon 138.8kB 21:01:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:25 Step 2/12 : FROM ${BASE} AS builder 21:01:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:25 c41833b44d91: Pulling fs layer 21:01:25 ed15518f5707: Pulling fs layer 21:01:25 feae8fd75edb: Pulling fs layer 21:01:25 242c74f7c9fa: Pulling fs layer 21:01:25 3cdef696dda3: Pulling fs layer 21:01:25 2ced38df9373: Pulling fs layer 21:01:25 58f1dce35555: Pulling fs layer 21:01:25 242c74f7c9fa: Waiting 21:01:25 3cdef696dda3: Waiting 21:01:25 2ced38df9373: Waiting 21:01:25 58f1dce35555: Waiting 21:01:25 ed15518f5707: Verifying Checksum 21:01:25 ed15518f5707: Download complete 21:01:26 242c74f7c9fa: Verifying Checksum 21:01:26 242c74f7c9fa: Download complete 21:01:26 3cdef696dda3: Verifying Checksum 21:01:26 3cdef696dda3: Download complete 21:01:26 c41833b44d91: Verifying Checksum 21:01:26 c41833b44d91: Download complete 21:01:27 c41833b44d91: Pull complete 21:01:27 58f1dce35555: Verifying Checksum 21:01:27 58f1dce35555: Download complete 21:01:28 feae8fd75edb: Verifying Checksum 21:01:28 feae8fd75edb: Download complete 21:01:28 2ced38df9373: Verifying Checksum 21:01:28 2ced38df9373: Download complete 21:01:30 ed15518f5707: Pull complete 21:01:45 feae8fd75edb: Pull complete 21:01:45 242c74f7c9fa: Pull complete 21:01:45 3cdef696dda3: Pull complete 21:01:51 2ced38df9373: Pull complete 21:01:52 58f1dce35555: Pull complete 21:01:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:01:52 ---> fadd8f120f05 21:01:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:54 ---> Running in ba71bba91bc4 21:01:54 Removing intermediate container ba71bba91bc4 21:01:54 ---> 5500792b2375 21:01:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:54 ---> Running in 1ea580faf713 21:01:55 Removing intermediate container 1ea580faf713 21:01:55 ---> ac13a395c15a 21:01:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:55 ---> Running in f8e3898189c7 21:01:55 Removing intermediate container f8e3898189c7 21:01:55 ---> 27834adc7944 21:01:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:55 ---> Running in 089d4333dc0d 21:01:55 Removing intermediate container 089d4333dc0d 21:01:55 ---> 3258ef3c901a 21:01:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:55 ---> Running in 9e67aca30217 21:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:01:58 (2/4) Installing libedit (20221030.3.1-r0) 21:01:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:01:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:01:58 Executing busybox-1.35.0-r29.trigger 21:01:58 OK: 268 MiB in 57 packages 21:01:59 Removing intermediate container 9e67aca30217 21:01:59 ---> 29400efb9ab0 21:01:59 Step 8/12 : WORKDIR /device-rest-go 21:01:59 ---> Running in f50ca7bb140e 21:01:59 Removing intermediate container f50ca7bb140e 21:01:59 ---> c673374f1f39 21:01:59 Step 9/12 : COPY go.mod vendor* ./ 21:02:00 ---> 2cb1fea445b2 21:02:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:00 ---> Running in e92577dd61d1 21:03:08 Removing intermediate container e92577dd61d1 21:03:08 ---> 35a283c0eada 21:03:08 Step 11/12 : COPY . . 21:03:08 ---> b3f8f53713fc 21:03:08 Step 12/12 : RUN $MAKE 21:03:08 ---> Running in f6bb589a9272 21:03:08 noop 21:03:08 Removing intermediate container f6bb589a9272 21:03:08 ---> fb26992fd8eb 21:03:08 Successfully built fb26992fd8eb 21:03:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:08 + docker inspect -f . ci-base-image-arm64 21:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container 21:03:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 21:03:10 $ docker top bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:11 + go version 21:03:11 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:11 $ docker stop --time=1 bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e 21:03:12 $ docker rm -f --volumes bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:13 + docker inspect -f . ci-base-image-arm64 21:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container 21:03:14 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 21:03:15 $ docker top 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:16 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:16 + make test 21:03:16 go test ./... -coverprofile=coverage.out ./... 21:03:50 ? github.com/edgexfoundry/device-rest-go [no test files] 21:05:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:05:31 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements 21:05:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:32 go vet ./... 21:05:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:58 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:58 $ docker stop --time=1 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e 21:06:00 $ docker rm -f --volumes 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e [Pipeline] // withDockerContainer [Pipeline] sh 21:06:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:01 Warning: overwriting stash ‘coverage-report’ 21:06:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:03 + ls -al . 21:06:03 total 180 21:06:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 21:03 . 21:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 21:00 .. 21:06:03 -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 21:01 .dockerignore 21:06:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 21:01 .git 21:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 21:01 .github 21:06:03 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 21:01 .gitignore 21:06:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 21:01 .golangci.yml 21:06:03 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 27 21:01 Attribution.txt 21:06:03 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 27 21:01 CHANGELOG.md 21:06:03 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 27 21:01 Dockerfile 21:06:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 21:01 GOVERNANCE.md 21:06:03 -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 21:01 Jenkinsfile 21:06:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 21:01 LICENSE 21:06:03 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 27 21:01 Makefile 21:06:03 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 21:01 OWNERS.md 21:06:03 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 27 21:01 README.md 21:06:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 20:58 VERSION 21:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 21:01 bin 21:06:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 21:01 cmd 21:06:03 -rw-r--r-- 1 jenkins jenkins 14663 Apr 27 21:05 coverage.out 21:06:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 21:01 driver 21:06:03 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 27 21:01 go.mod 21:06:03 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 21:01 go.sum 21:06:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 21:01 snap 21:06:03 -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:03 + 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=8282a525ddfc039d2c06d01a6902409b9a24daa6 --label arch=arm64 --label version=0.0.0 . 21:06:03 Sending build context to Docker daemon 154.1kB 21:06:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:06:03 Step 2/25 : FROM ${BASE} AS builder 21:06:03 ---> fb26992fd8eb 21:06:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:06:03 ---> Running in 521491c10e44 21:06:04 Removing intermediate container 521491c10e44 21:06:04 ---> 4fe1c1c6bf92 21:06:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:04 ---> Running in 2542cdc037b5 21:06:04 Removing intermediate container 2542cdc037b5 21:06:04 ---> d80f12b90ab0 21:06:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:04 ---> Running in a6fecac7bbe1 21:06:04 Removing intermediate container a6fecac7bbe1 21:06:04 ---> c215566df70c 21:06:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:06:04 ---> Running in 847592a22be0 21:06:05 Removing intermediate container 847592a22be0 21:06:05 ---> a25a5bf5a324 21:06:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:05 ---> Running in f4e7db2d84e2 21:06:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:08 OK: 268 MiB in 57 packages 21:06:09 Removing intermediate container f4e7db2d84e2 21:06:09 ---> b223577bb21f 21:06:09 Step 8/25 : WORKDIR /device-rest-go 21:06:09 ---> Running in 87cfe461dd0d 21:06:09 Removing intermediate container 87cfe461dd0d 21:06:09 ---> 757ba15e0460 21:06:09 Step 9/25 : COPY go.mod vendor* ./ 21:06:09 ---> 1b2e383d26d8 21:06:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:09 ---> Running in 63b754108baa 21:06:12 Removing intermediate container 63b754108baa 21:06:12 ---> 802a40f4e74f 21:06:12 Step 11/25 : COPY . . 21:06:12 ---> 15d7c8f4fc47 21:06:12 Step 12/25 : RUN $MAKE 21:06:12 ---> Running in d2e71683bf91 21:06:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:08:20 Removing intermediate container d2e71683bf91 21:08:20 ---> cc01f98c7071 21:08:20 Step 13/25 : FROM alpine:3.17 21:08:20 3.17: Pulling from library/alpine 21:08:20 c41833b44d91: Already exists 21:08:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:08:20 Status: Downloaded newer image for alpine:3.17 21:08:20 ---> 51e60588ff2c 21:08:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:20 ---> Running in fab60cab062f 21:08:20 Removing intermediate container fab60cab062f 21:08:20 ---> 7d3d6a7132fd 21:08:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:08:20 ---> Running in 86d9bc550e49 21:08:20 Removing intermediate container 86d9bc550e49 21:08:20 ---> ee1d6f471ff4 21:08:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:08:20 ---> Running in 43df21587061 21:08:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:20 (1/1) Installing dumb-init (1.2.5-r2) 21:08:20 Executing busybox-1.35.0-r29.trigger 21:08:20 OK: 8 MiB in 16 packages 21:08:20 Removing intermediate container 43df21587061 21:08:20 ---> afd5f6bcf458 21:08:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:08:21 ---> 7dadec2bf3db 21:08:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:08:22 ---> c768d491082c 21:08:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:08:22 ---> cd07580a2a64 21:08:22 Step 20/25 : EXPOSE 59986 21:08:22 ---> Running in 39271252def8 21:08:22 Removing intermediate container 39271252def8 21:08:22 ---> 73e5217d2d42 21:08:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:08:23 ---> Running in 3cdd7d006408 21:08:23 Removing intermediate container 3cdd7d006408 21:08:23 ---> ff2a09fb2f8b 21:08:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:23 ---> Running in e4319f0a753f 21:08:23 Removing intermediate container e4319f0a753f 21:08:23 ---> c113fa80a6cb 21:08:23 Step 23/25 : LABEL arch=arm64 21:08:23 ---> Running in 3718e4d09c71 21:08:23 Removing intermediate container 3718e4d09c71 21:08:23 ---> df93799c3261 21:08:23 Step 24/25 : LABEL git_sha=8282a525ddfc039d2c06d01a6902409b9a24daa6 21:08:23 ---> Running in f416119e6fe0 21:08:24 Removing intermediate container f416119e6fe0 21:08:24 ---> 13379df8733b 21:08:24 Step 25/25 : LABEL version=0.0.0 21:08:24 ---> Running in d3883cde737d 21:08:24 Removing intermediate container d3883cde737d 21:08:24 ---> 185331772a8d 21:08:24 [Warning] One or more build-args [ARCH] were not consumed 21:08:24 Successfully built 185331772a8d 21:08:24 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 21:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:25 21:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:26 arm64: Pulling from edgex-lftools-log-publisher 21:08:26 8998bd30e6a1: Pulling fs layer 21:08:26 04944245beec: Pulling fs layer 21:08:26 699f458cf7ca: Pulling fs layer 21:08:26 765212b225bb: Pulling fs layer 21:08:26 f23df028b6ca: Pulling fs layer 21:08:26 d65c8cfc05b1: Pulling fs layer 21:08:26 2437ff75d9bd: Pulling fs layer 21:08:26 f23df028b6ca: Waiting 21:08:26 d65c8cfc05b1: Waiting 21:08:26 765212b225bb: Waiting 21:08:26 04944245beec: Verifying Checksum 21:08:26 04944245beec: Download complete 21:08:26 765212b225bb: Verifying Checksum 21:08:26 765212b225bb: Download complete 21:08:26 f23df028b6ca: Verifying Checksum 21:08:26 f23df028b6ca: Download complete 21:08:26 d65c8cfc05b1: Verifying Checksum 21:08:26 d65c8cfc05b1: Download complete 21:08:26 699f458cf7ca: Verifying Checksum 21:08:26 699f458cf7ca: Download complete 21:08:26 8998bd30e6a1: Verifying Checksum 21:08:26 8998bd30e6a1: Download complete 21:08:28 2437ff75d9bd: Verifying Checksum 21:08:28 2437ff75d9bd: Download complete 21:08:30 8998bd30e6a1: Pull complete 21:08:31 04944245beec: Pull complete 21:08:32 699f458cf7ca: Pull complete 21:08:32 765212b225bb: Pull complete 21:08:36 f23df028b6ca: Pull complete 21:08:36 d65c8cfc05b1: Pull complete 21:08:51 2437ff75d9bd: Pull complete 21:08:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:51 prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container 21:08:51 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:08:53 $ docker top 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:54 ---> job-cost.sh 21:08:54 lf-activate-venv: SKIPPING 21:08:54 INFO: No Stack... 21:08:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:55 INFO: Archiving Costs [Pipeline] sh 21:08:56 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:08:56 + cut -d, -f6 [Pipeline] lock 21:08:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] 21:08:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] did not exist. Created. 21:08:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:56 /w/workspace/device-rest-go/1@tmp/durable-10edcc59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:57 Warning: overwriting stash ‘stack-cost’ 21:08:57 Stashed 1 file(s) [Pipeline] } 21:08:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:57 $ docker stop --time=1 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 21:08:58 $ docker rm -f --volumes 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 [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 21:08:59 provisioning config files... 21:08:59 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config4704573916908048938tmp [Pipeline] { [Pipeline] sh 21:09:00 + set +x 21:09:00 + + curl -s https://codecov.io/bash 21:09:00 bash -s -- 21:09:00 21:09:00 _____ _ 21:09:00 / ____| | | 21:09:00 | | ___ __| | ___ ___ _____ __ 21:09:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:00 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:00 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:00 Bash-1.0.6 21:09:00 21:09:00 21:09:00 ==> git version 2.25.1 found 21:09:00 ==> 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 21:09:00 Release-Date: 2020-01-08 21:09:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:00 ==> Jenkins CI detected. 21:09:00 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-303 21:09:00 project root: . 21:09:00 --> token set from env 21:09:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:00 ==> Running gcov in . (disable via -X gcov) 21:09:00 ==> Python coveragepy not found 21:09:00 ==> Searching for coverage reports in: 21:09:00 + . 21:09:00 -> Found 1 reports 21:09:00 ==> Detecting git/mercurial file structure 21:09:00 ==> Reading reports 21:09:00 + ./coverage.out bytes=14663 21:09:00 ==> Appending adjustments 21:09:00 https://docs.codecov.io/docs/fixing-reports 21:09:00 + Found adjustments 21:09:00 ==> Gzipping contents 21:09:00 4.0K /tmp/codecov.9CmpKR.gz 21:09:00 ==> Uploading reports 21:09:00 url: https://codecov.io 21:09:00 query: branch=PR-303&commit=8282a525ddfc039d2c06d01a6902409b9a24daa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=303&job=&cmd_args= 21:09:00 -> Pinging Codecov 21:09:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-303&commit=8282a525ddfc039d2c06d01a6902409b9a24daa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=303&job=&cmd_args= 21:09:00 -> Uploading to 21:09:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/4E5D53B4F1F92C436F7061BF334D961C/8282a525ddfc039d2c06d01a6902409b9a24daa6/4d86c02d-3347-4a2c-b81b-12c495e9e822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T210900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a274d74dec8e07da192f8b0d994dca3cde186c1a527f120117f9d3fe742816b8 21:09:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:00 Dload Upload Total Spent Left Speed 21:09:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10960 --:--:-- --:--:-- --:--:-- 10913 100 2510 0 0 100 2510 0 10120 --:--:-- --:--:-- --:--:-- 10080 21:09:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] } 21:09:00 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 21:09:02 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-303/archives ] 21:09:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-303/archives 21:09:02 total 16 21:09:02 drwxr-xr-x 3 root root 4096 Apr 27 21:00 . 21:09:02 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 21:00 .. 21:09:02 drwxr-xr-x 2 root root 4096 Apr 27 21:00 cost 21:09:02 -rw-r--r-- 1 root root 86 Apr 27 21:00 cost.csv 21:09:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-303/archives 21:09:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-303/archives 21:09:02 total 16 21:09:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 21:00 . 21:09:02 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 21:00 .. 21:09:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 21:00 cost 21:09:02 -rw-r--r-- 1 jenkins jenkins 86 Apr 27 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:03 ---> package-listing.sh 21:09:03 ++ facter osfamily 21:09:03 ++ tr '[:upper:]' '[:lower:]' 21:09:04 + OS_FAMILY=debian 21:09:04 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-303 21:09:04 + START_PACKAGES=/tmp/packages_start.txt 21:09:04 + END_PACKAGES=/tmp/packages_end.txt 21:09:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:04 + PACKAGES=/tmp/packages_start.txt 21:09:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-303 ']' 21:09:04 + PACKAGES=/tmp/packages_end.txt 21:09:04 + case "${OS_FAMILY}" in 21:09:04 + dpkg -l 21:09:04 + grep '^ii' 21:09:04 + '[' -f /tmp/packages_start.txt ']' 21:09:04 + '[' -f /tmp/packages_end.txt ']' 21:09:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:04 + '[' /w/workspace/gexfoundry_device-rest-go_PR-303 ']' 21:09:04 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-303/archives/ 21:09:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-303/archives/ [Pipeline] echo 21:09:04 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-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:05 prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container 21:09:05 $ 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-303/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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-lftools-log-publisher:latest cat 21:09:05 $ docker top 8246c86c8c74f1555f0373c807d089908ab226673107c1b1efaa1ad1dc1d6cbe -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:05 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:06 + ls /var/log/sa-host 21:09:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:06 provisioning config files... 21:09:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config13307542954241099493tmp [Pipeline] { [Pipeline] echo 21:09:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:07 ---> create-netrc.sh [Pipeline] } 21:09:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:07 ---> python-tools-install.sh [Pipeline] echo 21:09:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:07 ---> sudo-logs.sh 21:09:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:08 ---> job-cost.sh 21:09:08 lf-activate-venv: SKIPPING 21:09:08 DEBUG: total: 0.2199999988079071 21:09:08 INFO: Retrieving Stack Cost... 21:09:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:09 INFO: Archiving Costs [Pipeline] echo 21:09:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:09 ---> logs-deploy.sh 21:09:09 lf-activate-venv: SKIPPING 21:09:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-303/1 21:09:09 INFO: archiving workspace using pattern(s): 21:09:10 Archives upload complete. 21:09:10 INFO: archiving logs to Nexus