Pull request #389 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1106dc79c8805e0248b23de51d0ea080523022d8+546a8bddbc250e09a9704dd77d22d2ef885b0504 (15e737284cc6f414b09f007b931b474fa2717adf) 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-ssh11322883809151427607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1077885313354151111.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-389/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-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7885442016804923237.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-389/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1023376097967919391.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12280208098198648750.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-389/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-389/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh464072143253269784.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2844 in /w/workspace/gexfoundry_device-rest-go_PR-389 [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-389 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 546a8bddbc250e09a9704dd77d22d2ef885b0504 into PR head commit 1106dc79c8805e0248b23de51d0ea080523022d8 Merge succeeded, producing 1106dc79c8805e0248b23de51d0ea080523022d8 Checking out Revision 1106dc79c8805e0248b23de51d0ea080523022d8 (PR-389) Commit message: "build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1106dc79c8805e0248b23de51d0ea080523022d8 # 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 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1106dc79c8805e0248b23de51d0ea080523022d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:25:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:25:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:25:17 ========================================================= 13:25:17 EdgeX Global Pipelines Version Info 13:25:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:25:18 ------------------- 13:25:18 stable info: 13:25:18 ------------------- 13:25:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:25:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:25:18 Message: update stable to v1.0.258 13:25:19 ------------------- 13:25:19 experimental info: 13:25:19 ------------------- 13:25:19 Commited By: **** collab-it+edgex@linuxfoundation.org 13:25:19 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:25:19 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:25:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:25:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-389 [Pipeline] echo 13:25:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-389 [Pipeline] echo 13:25:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-389 [Pipeline] echo 13:25:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1106dc79c8805e0248b23de51d0ea080523022d8 [Pipeline] echo 13:25:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1106dc7 [Pipeline] echo 13:25:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:21 provisioning config files... 13:25:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/config17784695151019389948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:21 ---> ****-login.sh 13:25:21 nexus3.edgexfoundry.org:10001 13:25:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 nexus3.edgexfoundry.org:10002 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 nexus3.edgexfoundry.org:10003 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 nexus3.edgexfoundry.org:10004 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 ****.io 13:25:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:22 Configure a credential helper to remove this warning. See 13:25:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:22 13:25:22 Login Succeeded 13:25:22 ---> ****-login.sh ends [Pipeline] } 13:25:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:25:23 + git rev-list -1 --merges 1106dc79c8805e0248b23de51d0ea080523022d8~1..1106dc79c8805e0248b23de51d0ea080523022d8 [Pipeline] echo 13:25:23 -----------> git rev-list -1 --merges 1106dc79c8805e0248b23de51d0ea080523022d8~1..1106dc79c8805e0248b23de51d0ea080523022d8 1106dc79c8805e0248b23de51d0ea080523022d8 [false] [Pipeline] sh 13:25:23 + git log --format=format:%s -1 1106dc79c8805e0248b23de51d0ea080523022d8 [Pipeline] echo 13:25:23 ========================================================= 13:25:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:25:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:24 + git log --format=format:%s -1 1106dc79c8805e0248b23de51d0ea080523022d8 [Pipeline] echo 13:25:24 [semverPrep] GIT_COMMIT: 1106dc79c8805e0248b23de51d0ea080523022d8, Commit Message: build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0 [Pipeline] echo 13:25:24 [semverPrep] This is not a build commit. [Pipeline] sh 13:25:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:25:24 + grep -v github /etc/ssh/ssh_known_hosts 13:25:24 + [ -e /tmp/ssh_known_hosts ] 13:25:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:25:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:25:24 + sudo tee -a /etc/ssh/ssh_known_hosts 13:25:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:25 13:25:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:25 0.1.4: Pulling from edgex-devops/py-git-semver 13:25:25 b85a868b505f: Pulling fs layer 13:25:25 e2be974225ed: Pulling fs layer 13:25:25 339a4e72a1f5: Pulling fs layer 13:25:25 988bab9f4d93: Pulling fs layer 13:25:25 1469e6f7b9e6: Pulling fs layer 13:25:25 eaf3925da568: Pulling fs layer 13:25:25 bab4dde63d76: Pulling fs layer 13:25:25 bde34c3a00c8: Pulling fs layer 13:25:25 b352a97aabf1: Pulling fs layer 13:25:25 bde34c3a00c8: Waiting 13:25:25 eaf3925da568: Waiting 13:25:25 bab4dde63d76: Waiting 13:25:25 b352a97aabf1: Waiting 13:25:25 988bab9f4d93: Waiting 13:25:25 4872d77fe225: Pulling fs layer 13:25:25 1469e6f7b9e6: Waiting 13:25:25 5851b861e8e6: Pulling fs layer 13:25:25 4872d77fe225: Waiting 13:25:25 5851b861e8e6: Waiting 13:25:25 e2be974225ed: Verifying Checksum 13:25:25 e2be974225ed: Download complete 13:25:25 988bab9f4d93: Verifying Checksum 13:25:25 988bab9f4d93: Download complete 13:25:25 1469e6f7b9e6: Verifying Checksum 13:25:25 1469e6f7b9e6: Download complete 13:25:25 eaf3925da568: Download complete 13:25:25 339a4e72a1f5: Verifying Checksum 13:25:25 339a4e72a1f5: Download complete 13:25:25 bde34c3a00c8: Verifying Checksum 13:25:25 bde34c3a00c8: Download complete 13:25:25 b352a97aabf1: Download complete 13:25:25 4872d77fe225: Verifying Checksum 13:25:25 4872d77fe225: Download complete 13:25:25 5851b861e8e6: Verifying Checksum 13:25:25 5851b861e8e6: Download complete 13:25:25 b85a868b505f: Verifying Checksum 13:25:25 b85a868b505f: Download complete 13:25:26 bab4dde63d76: Verifying Checksum 13:25:26 bab4dde63d76: Download complete 13:25:27 b85a868b505f: Pull complete 13:25:27 e2be974225ed: Pull complete 13:25:27 339a4e72a1f5: Pull complete 13:25:27 988bab9f4d93: Pull complete 13:25:28 1469e6f7b9e6: Pull complete 13:25:28 eaf3925da568: Pull complete 13:25:30 bab4dde63d76: Pull complete 13:25:30 bde34c3a00c8: Pull complete 13:25:30 b352a97aabf1: Pull complete 13:25:30 4872d77fe225: Pull complete 13:25:30 5851b861e8e6: Pull complete 13:25:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:25:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:30 prd-ubuntu20.04-docker-8c-8g-2844 does not seem to be running inside a container 13:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-389 -v /w/workspace/gexfoundry_device-rest-go_PR-389:/w/workspace/gexfoundry_device-rest-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-389@tmp:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:25:33 $ docker top 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 -eo pid,comm 13:25:33 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). 13:25:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:25:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:25:34 [ssh-agent] Looking for ssh-agent implementation... 13:25:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:25:34 $ docker exec 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 ssh-agent 13:25:34 SSH_AUTH_SOCK=/tmp/ssh-KYLMNFIiAPuF/agent.32 13:25:34 SSH_AGENT_PID=38 13:25:34 Running ssh-add (command line suppressed) 13:25:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-389@tmp/private_key_15330880581236971452.key (/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/private_key_15330880581236971452.key) 13:25:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:25:34 + git tag --points-at HEAD [Pipeline] } 13:25:34 $ docker exec --env ******** --env ******** 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 ssh-agent -k 13:25:34 unset SSH_AUTH_SOCK; 13:25:34 unset SSH_AGENT_PID; 13:25:34 echo Agent pid 38 killed; 13:25:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:25:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:25:34 [ssh-agent] Looking for ssh-agent implementation... 13:25:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:25:35 $ docker exec 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 ssh-agent 13:25:35 SSH_AUTH_SOCK=/tmp/ssh-aqMDZkSysTLP/agent.73 13:25:35 SSH_AGENT_PID=79 13:25:35 Running ssh-add (command line suppressed) 13:25:35 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-389@tmp/private_key_2816353120120653685.key (/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/private_key_2816353120120653685.key) 13:25:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:25:35 + git semver init 13:25:35 2024-04-19 13:25:35,787 [run_init] DEBUG init version:0.0.0 force:False 13:25:35 2024-04-19 13:25:35,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-389/.semver 13:25:35 2024-04-19 13:25:35,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-389/.semver 13:25:35 2024-04-19 13:25:35,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-389/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-389, universal_newlines=False, shell=None, istream=None) 13:25:37 2024-04-19 13:25:37,301 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-389/.git/info/exclude 13:25:37 2024-04-19 13:25:37,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-389/.semver/PR-389 with force:False 13:25:37 2024-04-19 13:25:37,302 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-389/.semver/PR-389 13:25:37 2024-04-19 13:25:37,306 [execute] INFO git cat-file --batch-check 13:25:37 2024-04-19 13:25:37,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) 13:25:37 2024-04-19 13:25:37,312 [execute] INFO git cat-file --batch 13:25:37 2024-04-19 13:25:37,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-389/.semver, universal_newlines=False, shell=None, istream=) 13:25:37 2024-04-19 13:25:37,316 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-389/.semver/PR-389 13:25:37 0.0.0 [Pipeline] } 13:25:37 $ docker exec --env ******** --env ******** 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 ssh-agent -k 13:25:37 unset SSH_AUTH_SOCK; 13:25:37 unset SSH_AGENT_PID; 13:25:37 echo Agent pid 79 killed; 13:25:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:25:38 + git semver [Pipeline] } 13:25:38 $ docker stop --time=1 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 13:25:39 $ docker rm -f --volumes 4ccb6a1cf5cf1aac63a31b98fee7e0f6d96292119b1282d18f7035e44d40cdf4 [Pipeline] // withDockerContainer [Pipeline] sh 13:25:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:25:40 Stashed 1 file(s) [Pipeline] echo 13:25:40 [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 13:25:41 provisioning config files... 13:25:41 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/config6388872105922767958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:41 ---> ****-login.sh 13:25:41 nexus3.edgexfoundry.org:10001 13:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:41 Configure a credential helper to remove this warning. See 13:25:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:41 13:25:41 Login Succeeded 13:25:41 nexus3.edgexfoundry.org:10002 13:25:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:41 Configure a credential helper to remove this warning. See 13:25:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:41 13:25:41 Login Succeeded 13:25:41 nexus3.edgexfoundry.org:10003 13:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:42 Configure a credential helper to remove this warning. See 13:25:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:42 13:25:42 Login Succeeded 13:25:42 nexus3.edgexfoundry.org:10004 13:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:42 Configure a credential helper to remove this warning. See 13:25:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:42 13:25:42 Login Succeeded 13:25:42 ****.io 13:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:25:42 Configure a credential helper to remove this warning. See 13:25:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:25:42 13:25:42 Login Succeeded 13:25:42 ---> ****-login.sh ends [Pipeline] } 13:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:25:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:25:42 ========================================================= 13:25:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:25:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:25:43 Sending build context to Docker daemon 16.37MB 13:25:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:25:43 Step 2/12 : FROM ${BASE} AS builder 13:25:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:25:43 7264a8db6415: Pulling fs layer 13:25:43 c4d48a809fc2: Pulling fs layer 13:25:43 4f1c88b9dad5: Pulling fs layer 13:25:43 ad3a456e5733: Pulling fs layer 13:25:43 69c7f0334f64: Pulling fs layer 13:25:43 1f1c1a5573a3: Pulling fs layer 13:25:43 ce7588e14bc9: Pulling fs layer 13:25:43 b5e4710f87ac: Pulling fs layer 13:25:43 ad3a456e5733: Waiting 13:25:43 69c7f0334f64: Waiting 13:25:43 1f1c1a5573a3: Waiting 13:25:43 ce7588e14bc9: Waiting 13:25:43 b5e4710f87ac: Waiting 13:25:43 c4d48a809fc2: Verifying Checksum 13:25:43 c4d48a809fc2: Download complete 13:25:43 ad3a456e5733: Download complete 13:25:43 69c7f0334f64: Verifying Checksum 13:25:43 69c7f0334f64: Download complete 13:25:43 7264a8db6415: Verifying Checksum 13:25:43 7264a8db6415: Download complete 13:25:43 1f1c1a5573a3: Verifying Checksum 13:25:43 1f1c1a5573a3: Download complete 13:25:43 7264a8db6415: Pull complete 13:25:43 b5e4710f87ac: Verifying Checksum 13:25:43 b5e4710f87ac: Download complete 13:25:43 c4d48a809fc2: Pull complete 13:25:43 4f1c88b9dad5: Verifying Checksum 13:25:43 4f1c88b9dad5: Download complete 13:25:44 ce7588e14bc9: Verifying Checksum 13:25:44 ce7588e14bc9: Download complete 13:25:47 4f1c88b9dad5: Pull complete 13:25:47 ad3a456e5733: Pull complete 13:25:47 69c7f0334f64: Pull complete 13:25:47 1f1c1a5573a3: Pull complete 13:25:49 ce7588e14bc9: Pull complete 13:25:49 b5e4710f87ac: Pull complete 13:25:49 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:25:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:25:49 ---> 88b5674ff536 13:25:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:25:56 Still waiting to schedule task 13:25:56 ‘prd-centos7-blackbox-4c-2g-2400’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2823’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2826’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2827’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2847’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-8c-8g-2848’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2831’ is offline 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2832’ is offline 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2833’ is offline 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2834’ is offline 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2837’ is offline 13:25:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2849’ is offline 13:25:56 ---> Running in b5d530d27d53 13:25:56 Removing intermediate container b5d530d27d53 13:25:56 ---> 03c74255b46a 13:25:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:25:56 ---> Running in ff85cfa515e9 13:25:56 Removing intermediate container ff85cfa515e9 13:25:56 ---> 505c33183890 13:25:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:25:56 ---> Running in 2acb53241d15 13:25:56 Removing intermediate container 2acb53241d15 13:25:56 ---> a2f844a56a50 13:25:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:25:56 ---> Running in 82e49061b85d 13:25:56 Removing intermediate container 82e49061b85d 13:25:56 ---> 0e18f3748034 13:25:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:25:56 ---> Running in ce181eadc2a4 13:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:25:56 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:25:56 (2/4) Installing libedit (20221030.3.1-r1) 13:25:56 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:25:56 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:25:56 Executing busybox-1.36.1-r5.trigger 13:25:56 OK: 268 MiB in 56 packages 13:25:57 Removing intermediate container ce181eadc2a4 13:25:57 ---> a77d0386ae1c 13:25:57 Step 8/12 : WORKDIR /device-rest-go 13:25:57 ---> Running in 373534b0c1a0 13:25:57 Removing intermediate container 373534b0c1a0 13:25:57 ---> 9bc4b991a5ff 13:25:57 Step 9/12 : COPY go.mod vendor* ./ 13:25:57 ---> 998a43a240bd 13:25:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:57 ---> Running in 89ea4027cc5f 13:26:55 Removing intermediate container 89ea4027cc5f 13:26:55 ---> 7d2542e12a4e 13:26:55 Step 11/12 : COPY . . 13:26:55 ---> fe1aa3b73c0e 13:26:55 Step 12/12 : RUN $MAKE 13:26:55 ---> Running in 2144a1812876 13:26:55 noop 13:26:55 Removing intermediate container 2144a1812876 13:26:55 ---> 15c586dac3b7 13:26:55 Successfully built 15c586dac3b7 13:26:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:56 + docker inspect -f . ci-base-image-x86_64 13:26:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:56 prd-ubuntu20.04-docker-8c-8g-2844 does not seem to be running inside a container 13:26:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-389 -v /w/workspace/gexfoundry_device-rest-go_PR-389:/w/workspace/gexfoundry_device-rest-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-389@tmp:/w/workspace/gexfoundry_device-rest-go_PR-389@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 ******** ci-base-image-x86_64 cat 13:26:57 $ docker top 75f7c27a964e0d10bf0366ab3019f6066c1f7ff3e37bf629e9fc03d8bc978072 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:57 + go version 13:26:57 go version go1.21.0 linux/amd64 [Pipeline] } 13:26:57 $ docker stop --time=1 75f7c27a964e0d10bf0366ab3019f6066c1f7ff3e37bf629e9fc03d8bc978072 13:26:59 $ docker rm -f --volumes 75f7c27a964e0d10bf0366ab3019f6066c1f7ff3e37bf629e9fc03d8bc978072 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:59 + docker inspect -f . ci-base-image-x86_64 13:26:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:00 prd-ubuntu20.04-docker-8c-8g-2844 does not seem to be running inside a container 13:27:00 $ 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-389 -v /w/workspace/gexfoundry_device-rest-go_PR-389:/w/workspace/gexfoundry_device-rest-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-389@tmp:/w/workspace/gexfoundry_device-rest-go_PR-389@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 ******** ci-base-image-x86_64 cat 13:27:00 $ docker top fd8f4a2d647246db5c0fdbb693b0bba30207a3e1288a6a3f626062e037ccefce -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-389 [Pipeline] fileExists [Pipeline] sh 13:27:01 + make test 13:27:01 go test ./... -coverprofile=coverage.out ./... 13:27:02 ? github.com/edgexfoundry/device-rest-go [no test files] 13:27:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:27:20 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 13:27:28 go vet ./... 13:27:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:27:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:27:35 ./bin/test-attribution-txt.sh 13:27:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:27:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:27:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:27:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:27:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:27:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:27:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:27:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:27:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:27:35 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:27:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:27:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:27:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:27:35 $ docker stop --time=1 fd8f4a2d647246db5c0fdbb693b0bba30207a3e1288a6a3f626062e037ccefce 13:27:39 $ docker rm -f --volumes fd8f4a2d647246db5c0fdbb693b0bba30207a3e1288a6a3f626062e037ccefce [Pipeline] // withDockerContainer [Pipeline] sh 13:27:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:27:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:27:40 + ls -al . 13:27:40 total 248 13:27:40 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:27 . 13:27:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:25 .. 13:27:40 -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 13:25 .dockerignore 13:27:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:27 .git 13:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 .github 13:27:40 -rw-rw-r-- 1 jenkins jenkins 264 Apr 19 13:25 .gitignore 13:27:40 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:25 .golangci.yml 13:27:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:25 .semver 13:27:40 -rw-rw-r-- 1 jenkins jenkins 10300 Apr 19 13:25 Attribution.txt 13:27:40 -rw-rw-r-- 1 jenkins jenkins 17685 Apr 19 13:25 CHANGELOG.md 13:27:40 -rw-rw-r-- 1 jenkins jenkins 1687 Apr 19 13:25 Dockerfile 13:27:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:25 GOVERNANCE.md 13:27:40 -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 13:25 Jenkinsfile 13:27:40 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:25 LICENSE 13:27:40 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 19 13:25 Makefile 13:27:40 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:25 OWNERS.md 13:27:40 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 19 13:25 README.md 13:27:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:25 VERSION 13:27:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:25 bin 13:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 cmd 13:27:40 -rw-r--r-- 1 jenkins jenkins 14499 Apr 19 13:27 coverage.out 13:27:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:25 driver 13:27:40 -rw-rw-r-- 1 jenkins jenkins 7238 Apr 19 13:25 go.mod 13:27:40 -rw-rw-r-- 1 jenkins jenkins 101597 Apr 19 13:25 go.sum 13:27:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 openapi 13:27:40 -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:41 + 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=1106dc79c8805e0248b23de51d0ea080523022d8 --label arch=amd64 --label version=0.0.0 . 13:27:41 Sending build context to Docker daemon 16.38MB 13:27:41 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:27:41 Step 2/26 : FROM ${BASE} AS builder 13:27:41 ---> 15c586dac3b7 13:27:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:27:41 ---> Running in 2e913482e597 13:27:41 Removing intermediate container 2e913482e597 13:27:41 ---> 232e3b0d369e 13:27:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:27:41 ---> Running in 4399b6bcaefd 13:27:41 Removing intermediate container 4399b6bcaefd 13:27:41 ---> 325569f74192 13:27:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:27:41 ---> Running in bb505cc8688b 13:27:41 Removing intermediate container bb505cc8688b 13:27:41 ---> 736954009661 13:27:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:27:41 ---> Running in 287313049e84 13:27:42 Removing intermediate container 287313049e84 13:27:42 ---> 0656b1f4a12c 13:27:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:27:42 ---> Running in 18e88c2082f5 13:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:27:43 OK: 268 MiB in 56 packages 13:27:43 Removing intermediate container 18e88c2082f5 13:27:43 ---> 7fc3bafadaa2 13:27:43 Step 8/26 : WORKDIR /device-rest-go 13:27:43 ---> Running in 538b95dd0727 13:27:43 Removing intermediate container 538b95dd0727 13:27:43 ---> 33ffee9559ab 13:27:43 Step 9/26 : COPY go.mod vendor* ./ 13:27:43 ---> 122c0b4d2284 13:27:43 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:43 ---> Running in 05880334205f 13:27:44 Removing intermediate container 05880334205f 13:27:44 ---> 37b831513d38 13:27:44 Step 11/26 : COPY . . 13:27:44 ---> a5ef6ebd814b 13:27:44 Step 12/26 : RUN $MAKE 13:27:44 ---> Running in 91ca1739d158 13:27:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 13:27:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2852 in /w/workspace/gexfoundry_device-rest-go_PR-389 [Pipeline] { [Pipeline] ws 13:27:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 13:27:49 The recommended git tool is: git 13:27:56 using credential edgex-jenkins-ssh 13:27:56 Cloning the remote Git repository 13:27:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:27:56 > git init /w/workspace/device-rest-go/1 # timeout=10 13:27:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:27:56 > git --version # timeout=10 13:27:56 > git --version # 'git version 2.25.1' 13:27:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:27:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:27:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:27:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:28:01 Merging remotes/origin/main commit 546a8bddbc250e09a9704dd77d22d2ef885b0504 into PR head commit 1106dc79c8805e0248b23de51d0ea080523022d8 13:28:01 Merge succeeded, producing 1106dc79c8805e0248b23de51d0ea080523022d8 13:28:01 Checking out Revision 1106dc79c8805e0248b23de51d0ea080523022d8 (PR-389) 13:28:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:28:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:28:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:28:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/389/head:refs/remotes/origin/PR-389 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:28:01 > git config core.sparsecheckout # timeout=10 13:28:01 > git checkout -f 1106dc79c8805e0248b23de51d0ea080523022d8 # timeout=10 13:28:01 > git remote # timeout=10 13:28:01 > git config --get remote.origin.url # timeout=10 13:28:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:28:01 > git merge 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 13:28:01 > git rev-parse HEAD^{commit} # timeout=10 13:28:02 > git config core.sparsecheckout # timeout=10 13:28:02 > git checkout -f 1106dc79c8805e0248b23de51d0ea080523022d8 # timeout=10 13:28:02 Commit message: "build(deps): Bump golang.org/x/net from 0.22.0 to 0.23.0" 13:28:02 > git --version # timeout=10 13:28:02 > git --version # 'git version 2.25.1' 13:28:02 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:28:07 % Total % Received % Xferd Average Speed Time Time Time Current 13:28:07 Dload Upload Total Spent Left Speed 13:28:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 13:28:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:28:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:28:08 + sudo tee /etc/docker/daemon.new 13:28:08 { 13:28:08 "registry-mirrors": [ 13:28:08 "https://nexus3.edgexfoundry.org:10001" 13:28:08 ], 13:28:08 "bip": "10.250.0.254/24", 13:28:08 "hosts": [ 13:28:08 "tcp://0.0.0.0:5555", 13:28:08 "unix:///var/run/docker.sock" 13:28:08 ], 13:28:08 "mtu": 1458, 13:28:08 "selinux-enabled": true, 13:28:08 "seccomp-profile": "/etc/docker/seccomp.json" 13:28:08 } [Pipeline] sh 13:28:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:28:09 + sudo service docker restart 13:28:17 Removing intermediate container 91ca1739d158 13:28:17 ---> 5246fa74e46d 13:28:17 Step 13/26 : FROM alpine:3.18 13:28:17 3.18: Pulling from library/alpine 13:28:17 619be1103602: Pulling fs layer 13:28:17 619be1103602: Verifying Checksum 13:28:17 619be1103602: Download complete 13:28:17 619be1103602: Pull complete 13:28:17 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:28:17 Status: Downloaded newer image for alpine:3.18 13:28:17 ---> d3782b16ccc9 13:28:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:28:17 ---> Running in 992040de6367 13:28:17 Removing intermediate container 992040de6367 13:28:17 ---> a8920cf614b9 13:28:17 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 13:28:17 ---> Running in a83803e02b0c 13:28:17 Removing intermediate container a83803e02b0c 13:28:17 ---> 8f1a11aca396 13:28:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 13:28:17 ---> Running in 9a1328075e0e 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:17 (1/1) Installing dumb-init (1.2.5-r2) 13:28:17 Executing busybox-1.36.1-r5.trigger 13:28:17 OK: 7 MiB in 16 packages 13:28:17 Removing intermediate container 9a1328075e0e 13:28:17 ---> 844002f0bd43 13:28:17 Step 17/26 : RUN apk --no-cache upgrade 13:28:17 ---> Running in 1228746d4c33 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:17 Upgrading critical system libraries and apk-tools: 13:28:17 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:28:17 Executing busybox-1.36.1-r5.trigger 13:28:17 Continuing the upgrade transaction with new apk-tools: 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:17 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:28:17 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:28:17 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:28:17 OK: 7 MiB in 16 packages 13:28:17 Removing intermediate container 1228746d4c33 13:28:17 ---> 47d5e2b658f3 13:28:17 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 13:28:18 ---> d9f99ba94eb1 13:28:18 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 13:28:18 ---> d8c0d639cbf6 13:28:18 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 13:28:18 ---> 7ec942a36278 13:28:18 Step 21/26 : EXPOSE 59986 13:28:18 ---> Running in 675f6bb93ba3 13:28:18 Removing intermediate container 675f6bb93ba3 13:28:18 ---> 1700f5f0b184 13:28:18 Step 22/26 : ENTRYPOINT ["/device-rest"] 13:28:18 ---> Running in a4f7421171a1 13:28:18 Removing intermediate container a4f7421171a1 13:28:18 ---> 297f95f4b74c 13:28:18 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:28:18 ---> Running in b62fffe34d70 13:28:18 Removing intermediate container b62fffe34d70 13:28:18 ---> 56a89ef6bd51 13:28:18 Step 24/26 : LABEL arch=amd64 13:28:18 ---> Running in c8fa20b1fce7 13:28:18 Removing intermediate container c8fa20b1fce7 13:28:18 ---> 555d9aa182ad 13:28:18 Step 25/26 : LABEL git_sha=1106dc79c8805e0248b23de51d0ea080523022d8 13:28:18 ---> Running in db53f7a50a10 13:28:18 Removing intermediate container db53f7a50a10 13:28:18 ---> 60b9d20ba79f 13:28:18 Step 26/26 : LABEL version=0.0.0 13:28:18 ---> Running in 165c99f597c2 13:28:18 Removing intermediate container 165c99f597c2 13:28:18 ---> 22e2b92d1bc0 13:28:18 [Warning] One or more build-args [ARCH] were not consumed 13:28:18 Successfully built 22e2b92d1bc0 13:28:18 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 13:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:28:19 13:28:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:28:20 latest: Pulling from edgex-lftools-log-publisher 13:28:20 5eb5b503b376: Pulling fs layer 13:28:20 5c69ac0246d0: Pulling fs layer 13:28:20 ec43610c2a17: Pulling fs layer 13:28:20 3a2ae6a8a46f: Pulling fs layer 13:28:20 33b1e0a273af: Pulling fs layer 13:28:20 5d3b04190fa2: Pulling fs layer 13:28:20 2f39f015ded8: Pulling fs layer 13:28:20 3a2ae6a8a46f: Waiting 13:28:20 33b1e0a273af: Waiting 13:28:20 5c69ac0246d0: Download complete 13:28:20 3a2ae6a8a46f: Verifying Checksum 13:28:20 3a2ae6a8a46f: Download complete 13:28:20 33b1e0a273af: Verifying Checksum 13:28:20 33b1e0a273af: Download complete 13:28:20 ec43610c2a17: Verifying Checksum 13:28:20 ec43610c2a17: Download complete 13:28:20 5d3b04190fa2: Verifying Checksum 13:28:20 5d3b04190fa2: Download complete 13:28:20 5eb5b503b376: Verifying Checksum 13:28:20 5eb5b503b376: Download complete 13:28:21 2f39f015ded8: Download complete 13:28:21 5eb5b503b376: Pull complete 13:28:21 5c69ac0246d0: Pull complete 13:28:22 ec43610c2a17: Pull complete 13:28:22 3a2ae6a8a46f: Pull complete 13:28:22 33b1e0a273af: Pull complete 13:28:22 5d3b04190fa2: Pull complete 13:28:26 2f39f015ded8: Pull complete 13:28:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:28:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:28:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:26 prd-ubuntu20.04-docker-8c-8g-2844 does not seem to be running inside a container 13:28:26 $ 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-389 -v /w/workspace/gexfoundry_device-rest-go_PR-389:/w/workspace/gexfoundry_device-rest-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-389@tmp:/w/workspace/gexfoundry_device-rest-go_PR-389@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 13:28:31 $ docker top 8891b71c30a948450964dd3bdc130a892bbebd11c993432b040918de99c788ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 13:28:32 provisioning config files... 13:28:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2876659340150550212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:32 ---> job-cost.sh 13:28:32 lf-activate-venv: SKIPPING 13:28:32 INFO: No Stack... 13:28:32 ---> ****-login.sh 13:28:32 nexus3.edgexfoundry.org:10001 13:28:33 INFO: Retrieving Pricing Info for: v3-standard-8 13:28:33 INFO: Archiving Costs [Pipeline] sh 13:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:28:33 Configure a credential helper to remove this warning. See 13:28:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:28:33 13:28:33 Login Succeeded 13:28:33 nexus3.edgexfoundry.org:10002 13:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:28:33 Configure a credential helper to remove this warning. See 13:28:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:28:33 13:28:33 + cat /w/workspace/gexfoundry_device-rest-go_PR-389/archives/cost.csv 13:28:33 + cut -d, -f6 [Pipeline] lock 13:28:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] 13:28:33 Resource [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] did not exist. Created. 13:28:33 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:28:33 Login Succeeded 13:28:33 nexus3.edgexfoundry.org:10003 13:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:34 + echo total: 0.2199999988079071 [Pipeline] stash 13:28:34 Stashed 1 file(s) 13:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:28:34 Configure a credential helper to remove this warning. See 13:28:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:28:34 13:28:34 Login Succeeded 13:28:34 nexus3.edgexfoundry.org:10004 [Pipeline] } 13:28:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:28:34 $ docker stop --time=1 8891b71c30a948450964dd3bdc130a892bbebd11c993432b040918de99c788ab 13:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:28:34 Configure a credential helper to remove this warning. See 13:28:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:28:34 13:28:34 Login Succeeded 13:28:34 ****.io 13:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:28:34 Configure a credential helper to remove this warning. See 13:28:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:28:34 13:28:34 Login Succeeded 13:28:34 ---> ****-login.sh ends 13:28:35 $ docker rm -f --volumes 8891b71c30a948450964dd3bdc130a892bbebd11c993432b040918de99c788ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:28:35 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:28:36 ========================================================= 13:28:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:28:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:28:36 Sending build context to Docker daemon 131.1kB 13:28:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:28:36 Step 2/12 : FROM ${BASE} AS builder 13:28:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:28:37 9fda8d8052c6: Pulling fs layer 13:28:37 5d54e960e981: Pulling fs layer 13:28:37 c4a7e357bf2a: Pulling fs layer 13:28:37 f0e02332f6b5: Pulling fs layer 13:28:37 872ee5b61b7b: Pulling fs layer 13:28:37 0c6a40ed1a82: Pulling fs layer 13:28:37 94ae7d8d031c: Pulling fs layer 13:28:37 f0e02332f6b5: Waiting 13:28:37 872ee5b61b7b: Waiting 13:28:37 0c6a40ed1a82: Waiting 13:28:37 94ae7d8d031c: Waiting 13:28:37 5d54e960e981: Verifying Checksum 13:28:37 5d54e960e981: Download complete 13:28:37 f0e02332f6b5: Verifying Checksum 13:28:37 f0e02332f6b5: Download complete 13:28:37 872ee5b61b7b: Verifying Checksum 13:28:37 872ee5b61b7b: Download complete 13:28:37 9fda8d8052c6: Verifying Checksum 13:28:37 9fda8d8052c6: Download complete 13:28:37 94ae7d8d031c: Verifying Checksum 13:28:37 94ae7d8d031c: Download complete 13:28:37 9fda8d8052c6: Pull complete 13:28:38 5d54e960e981: Pull complete 13:28:38 c4a7e357bf2a: Verifying Checksum 13:28:38 c4a7e357bf2a: Download complete 13:28:40 0c6a40ed1a82: Verifying Checksum 13:28:40 0c6a40ed1a82: Download complete 13:28:52 c4a7e357bf2a: Pull complete 13:28:52 f0e02332f6b5: Pull complete 13:28:52 872ee5b61b7b: Pull complete 13:28:59 0c6a40ed1a82: Pull complete 13:29:00 94ae7d8d031c: Pull complete 13:29:00 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:29:00 ---> 86de565de09d 13:29:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:29:02 ---> Running in 4c2cdabef0aa 13:29:02 Removing intermediate container 4c2cdabef0aa 13:29:02 ---> b678d70d2f17 13:29:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:29:03 ---> Running in c761a8c1d3cc 13:29:03 Removing intermediate container c761a8c1d3cc 13:29:03 ---> 4bf4da435ff1 13:29:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:29:03 ---> Running in f0e5c69cfe2b 13:29:04 Removing intermediate container f0e5c69cfe2b 13:29:04 ---> 6628e088bd06 13:29:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:29:04 ---> Running in 35288f91ea13 13:29:04 Removing intermediate container 35288f91ea13 13:29:04 ---> f3d568851511 13:29:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:29:04 ---> Running in 126a01c8fca4 13:29:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:29:07 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:29:07 (2/4) Installing libedit (20221030.3.1-r1) 13:29:07 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:29:07 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:29:07 Executing busybox-1.36.1-r5.trigger 13:29:07 OK: 271 MiB in 56 packages 13:29:08 Removing intermediate container 126a01c8fca4 13:29:08 ---> 6f891e4f1350 13:29:08 Step 8/12 : WORKDIR /device-rest-go 13:29:08 ---> Running in e3c953bd3c12 13:29:09 Removing intermediate container e3c953bd3c12 13:29:09 ---> 44d893f296e7 13:29:09 Step 9/12 : COPY go.mod vendor* ./ 13:29:09 ---> 1ab7f125add9 13:29:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:29:09 ---> Running in bc965c856ab6 13:31:16 Removing intermediate container bc965c856ab6 13:31:16 ---> 4e125821f26a 13:31:16 Step 11/12 : COPY . . 13:31:16 ---> 5bd47a839e5a 13:31:16 Step 12/12 : RUN $MAKE 13:31:16 ---> Running in ee87d43455d6 13:31:16 noop 13:31:16 Removing intermediate container ee87d43455d6 13:31:16 ---> 3762cfee7e1f 13:31:16 Successfully built 3762cfee7e1f 13:31:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:16 + docker inspect -f . ci-base-image-arm64 13:31:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:17 prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container 13:31:17 $ 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 13:31:18 $ docker top 75ad1308741a73d79a5243a43aacd5e4321e053d0923faa9336b1aa448065204 -eo pid,comm [Pipeline] { [Pipeline] sh 13:31:19 + go version 13:31:19 go version go1.21.0 linux/arm64 [Pipeline] } 13:31:19 $ docker stop --time=1 75ad1308741a73d79a5243a43aacd5e4321e053d0923faa9336b1aa448065204 13:31:21 $ docker rm -f --volumes 75ad1308741a73d79a5243a43aacd5e4321e053d0923faa9336b1aa448065204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:21 + docker inspect -f . ci-base-image-arm64 13:31:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:22 prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container 13:31:22 $ 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 13:31:23 $ docker top 0a0cad8df3065eedd7c476dccd48cd8a7b691d7e0456956dad91881897720d76 -eo pid,comm [Pipeline] { [Pipeline] sh 13:31:24 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 13:31:25 + make test 13:31:25 go test ./... -coverprofile=coverage.out ./... 13:31:30 ? github.com/edgexfoundry/device-rest-go [no test files] 13:34:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:34:27 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.2% of statements 13:34:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:34:28 go vet ./... 13:35:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:15 ./bin/test-attribution-txt.sh 13:35:15 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:35:15 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:35:15 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:35:15 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:35:15 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:35:15 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:35:15 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:35:15 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:35:15 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:35:15 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:35:15 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:35:15 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:35:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:35:15 $ docker stop --time=1 0a0cad8df3065eedd7c476dccd48cd8a7b691d7e0456956dad91881897720d76 13:35:17 $ docker rm -f --volumes 0a0cad8df3065eedd7c476dccd48cd8a7b691d7e0456956dad91881897720d76 [Pipeline] // withDockerContainer [Pipeline] sh 13:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:35:19 Warning: overwriting stash ‘coverage-report’ 13:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:35:21 + ls -al . 13:35:21 total 244 13:35:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:31 . 13:35:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:27 .. 13:35:21 -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 13:28 .dockerignore 13:35:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:28 .git 13:35:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:28 .github 13:35:21 -rw-rw-r-- 1 jenkins jenkins 264 Apr 19 13:28 .gitignore 13:35:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:28 .golangci.yml 13:35:21 -rw-rw-r-- 1 jenkins jenkins 10300 Apr 19 13:28 Attribution.txt 13:35:21 -rw-rw-r-- 1 jenkins jenkins 17685 Apr 19 13:28 CHANGELOG.md 13:35:21 -rw-rw-r-- 1 jenkins jenkins 1687 Apr 19 13:28 Dockerfile 13:35:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:28 GOVERNANCE.md 13:35:21 -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 13:28 Jenkinsfile 13:35:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:28 LICENSE 13:35:21 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 19 13:28 Makefile 13:35:21 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:28 OWNERS.md 13:35:21 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 19 13:28 README.md 13:35:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:25 VERSION 13:35:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:28 bin 13:35:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:28 cmd 13:35:21 -rw-r--r-- 1 jenkins jenkins 14499 Apr 19 13:34 coverage.out 13:35:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:28 driver 13:35:21 -rw-rw-r-- 1 jenkins jenkins 7238 Apr 19 13:28 go.mod 13:35:21 -rw-rw-r-- 1 jenkins jenkins 101597 Apr 19 13:28 go.sum 13:35:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:28 openapi 13:35:21 -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 13:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:21 + 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=1106dc79c8805e0248b23de51d0ea080523022d8 --label arch=arm64 --label version=0.0.0 . 13:35:21 Sending build context to Docker daemon 146.4kB 13:35:21 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:35:21 Step 2/26 : FROM ${BASE} AS builder 13:35:21 ---> 3762cfee7e1f 13:35:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:35:22 ---> Running in ab65d800ff26 13:35:22 Removing intermediate container ab65d800ff26 13:35:22 ---> e0fd74d63dd0 13:35:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:35:22 ---> Running in e695e89db9fd 13:35:22 Removing intermediate container e695e89db9fd 13:35:22 ---> 7292da947c42 13:35:22 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:35:22 ---> Running in 5d28ce6c550f 13:35:23 Removing intermediate container 5d28ce6c550f 13:35:23 ---> e9a74e2af7a0 13:35:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:35:23 ---> Running in 84e46acabf5b 13:35:23 Removing intermediate container 84e46acabf5b 13:35:23 ---> 441e286bc417 13:35:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:35:23 ---> Running in 4224cb74e2ea 13:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:35:26 OK: 271 MiB in 56 packages 13:35:27 Removing intermediate container 4224cb74e2ea 13:35:27 ---> ccf49cb21ee2 13:35:27 Step 8/26 : WORKDIR /device-rest-go 13:35:27 ---> Running in 7015c56b96c9 13:35:27 Removing intermediate container 7015c56b96c9 13:35:27 ---> cd84574f5362 13:35:27 Step 9/26 : COPY go.mod vendor* ./ 13:35:28 ---> c57c7479ed1a 13:35:28 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:28 ---> Running in 589d1da59f4e 13:35:31 Removing intermediate container 589d1da59f4e 13:35:31 ---> 473a7a705ca1 13:35:31 Step 11/26 : COPY . . 13:35:31 ---> d411cdbc2c72 13:35:31 Step 12/26 : RUN $MAKE 13:35:31 ---> Running in cf2283ae846a 13:35:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 13:39:10 Removing intermediate container cf2283ae846a 13:39:10 ---> 1d354e710774 13:39:10 Step 13/26 : FROM alpine:3.18 13:39:11 3.18: Pulling from library/alpine 13:39:11 c6b39de5b339: Pulling fs layer 13:39:11 c6b39de5b339: Verifying Checksum 13:39:12 c6b39de5b339: Pull complete 13:39:12 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:39:12 Status: Downloaded newer image for alpine:3.18 13:39:12 ---> 33abbf032149 13:39:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:39:12 ---> Running in bc485d3d1fbb 13:39:12 Removing intermediate container bc485d3d1fbb 13:39:12 ---> c96cc321e6f9 13:39:12 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 13:39:12 ---> Running in 6174227b5558 13:39:13 Removing intermediate container 6174227b5558 13:39:13 ---> 11e793f0e6b3 13:39:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 13:39:13 ---> Running in 5f709fc21bf7 13:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:39:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:39:16 (1/1) Installing dumb-init (1.2.5-r2) 13:39:16 Executing busybox-1.36.1-r5.trigger 13:39:16 OK: 8 MiB in 16 packages 13:39:17 Removing intermediate container 5f709fc21bf7 13:39:17 ---> cfb294ebdaa7 13:39:17 Step 17/26 : RUN apk --no-cache upgrade 13:39:17 ---> Running in 055b223d0751 13:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:39:20 Upgrading critical system libraries and apk-tools: 13:39:20 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:39:20 Executing busybox-1.36.1-r5.trigger 13:39:21 Continuing the upgrade transaction with new apk-tools: 13:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:39:23 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:39:23 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:39:23 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:39:23 OK: 8 MiB in 16 packages 13:39:24 Removing intermediate container 055b223d0751 13:39:24 ---> 6b11359af76e 13:39:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 13:39:26 ---> a957da31d1c3 13:39:26 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 13:39:27 ---> 71212b168cbf 13:39:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 13:39:27 ---> 5a4070740aa1 13:39:27 Step 21/26 : EXPOSE 59986 13:39:27 ---> Running in a6ca409f169e 13:39:28 Removing intermediate container a6ca409f169e 13:39:28 ---> c8df435e6ee2 13:39:28 Step 22/26 : ENTRYPOINT ["/device-rest"] 13:39:28 ---> Running in 8e99480b5f1c 13:39:28 Removing intermediate container 8e99480b5f1c 13:39:28 ---> 3d7528d2d972 13:39:28 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:39:28 ---> Running in f23b42ebb4e3 13:39:29 Removing intermediate container f23b42ebb4e3 13:39:29 ---> 13f69344f568 13:39:29 Step 24/26 : LABEL arch=arm64 13:39:29 ---> Running in bd1ee4611a6c 13:39:29 Removing intermediate container bd1ee4611a6c 13:39:29 ---> 3253904d47b6 13:39:29 Step 25/26 : LABEL git_sha=1106dc79c8805e0248b23de51d0ea080523022d8 13:39:29 ---> Running in 3857af6f4097 13:39:30 Removing intermediate container 3857af6f4097 13:39:30 ---> ae53d33bc25b 13:39:30 Step 26/26 : LABEL version=0.0.0 13:39:30 ---> Running in b71bab167c4a 13:39:30 Removing intermediate container b71bab167c4a 13:39:30 ---> 67e83bca4599 13:39:30 [Warning] One or more build-args [ARCH] were not consumed 13:39:30 Successfully built 67e83bca4599 13:39:30 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:39:31 13:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:39:32 arm64: Pulling from edgex-lftools-log-publisher 13:39:32 8998bd30e6a1: Pulling fs layer 13:39:32 04944245beec: Pulling fs layer 13:39:32 699f458cf7ca: Pulling fs layer 13:39:32 765212b225bb: Pulling fs layer 13:39:32 f23df028b6ca: Pulling fs layer 13:39:32 d65c8cfc05b1: Pulling fs layer 13:39:32 2437ff75d9bd: Pulling fs layer 13:39:32 f23df028b6ca: Waiting 13:39:32 d65c8cfc05b1: Waiting 13:39:32 2437ff75d9bd: Waiting 13:39:32 765212b225bb: Waiting 13:39:32 04944245beec: Verifying Checksum 13:39:32 04944245beec: Download complete 13:39:32 765212b225bb: Verifying Checksum 13:39:32 765212b225bb: Download complete 13:39:32 f23df028b6ca: Verifying Checksum 13:39:32 f23df028b6ca: Download complete 13:39:32 d65c8cfc05b1: Verifying Checksum 13:39:32 d65c8cfc05b1: Download complete 13:39:32 699f458cf7ca: Verifying Checksum 13:39:32 699f458cf7ca: Download complete 13:39:33 8998bd30e6a1: Verifying Checksum 13:39:33 8998bd30e6a1: Download complete 13:39:36 2437ff75d9bd: Verifying Checksum 13:39:36 2437ff75d9bd: Download complete 13:39:38 8998bd30e6a1: Pull complete 13:39:38 04944245beec: Pull complete 13:39:40 699f458cf7ca: Pull complete 13:39:40 765212b225bb: Pull complete 13:39:41 f23df028b6ca: Pull complete 13:39:42 d65c8cfc05b1: Pull complete 13:40:02 2437ff75d9bd: Pull complete 13:40:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:40:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:40:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:02 prd-ubuntu20.04-docker-arm64-4c-16g-2852 does not seem to be running inside a container 13:40:02 $ 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 13:40:06 $ docker top b84162775fe68047daa7f1f3ba897e2589f58cc2f5208c05dbbec2d5f1195d00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:40:07 ---> job-cost.sh 13:40:07 lf-activate-venv: SKIPPING 13:40:07 INFO: No Stack... 13:40:07 INFO: Retrieving Pricing Info for: v3-standard-4 13:40:08 INFO: Archiving Costs [Pipeline] sh 13:40:09 + cut -d, -f6 13:40:09 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 13:40:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] 13:40:09 Resource [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] did not exist. Created. 13:40:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:40:11 /w/workspace/device-rest-go/1@tmp/durable-bb07c9cc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:40:12 + echo total: 0.10999999940395355 [Pipeline] stash 13:40:12 Warning: overwriting stash ‘stack-cost’ 13:40:12 Stashed 1 file(s) [Pipeline] } 13:40:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-389-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:40:12 $ docker stop --time=1 b84162775fe68047daa7f1f3ba897e2589f58cc2f5208c05dbbec2d5f1195d00 13:40:14 $ docker rm -f --volumes b84162775fe68047daa7f1f3ba897e2589f58cc2f5208c05dbbec2d5f1195d00 [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 13:40:15 provisioning config files... 13:40:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/config12420394390931010804tmp [Pipeline] { [Pipeline] sh 13:40:15 + set +x 13:40:15 + curl -s https://codecov.io/bash 13:40:15 + bash -s -- 13:40:15 13:40:15 _____ _ 13:40:15 / ____| | | 13:40:15 | | ___ __| | ___ ___ _____ __ 13:40:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:40:15 | |___| (_) | (_| | __/ (_| (_) \ V / 13:40:15 \_____\___/ \__,_|\___|\___\___/ \_/ 13:40:15 Bash-1.0.6 13:40:15 13:40:15 13:40:15 ==> git version 2.25.1 found 13:40:15 ==> 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 13:40:15 Release-Date: 2020-01-08 13:40:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:40:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:40:15 ==> Jenkins CI detected. 13:40:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-389 13:40:15 project root: . 13:40:15 --> token set from env 13:40:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:40:15 ==> Running gcov in . (disable via -X gcov) 13:40:15 ==> Python coveragepy not found 13:40:15 ==> Searching for coverage reports in: 13:40:15 + . 13:40:15 -> Found 1 reports 13:40:15 ==> Detecting git/mercurial file structure 13:40:15 ==> Reading reports 13:40:15 + ./coverage.out bytes=14499 13:40:15 ==> Appending adjustments 13:40:15 https://docs.codecov.io/docs/fixing-reports 13:40:16 + Found adjustments 13:40:16 ==> Gzipping contents 13:40:16 4.0K /tmp/codecov.SFxY07.gz 13:40:16 ==> Uploading reports 13:40:16 url: https://codecov.io 13:40:16 query: branch=PR-389&commit=1106dc79c8805e0248b23de51d0ea080523022d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=389&job=&cmd_args= 13:40:16 -> Pinging Codecov 13:40:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-389&commit=1106dc79c8805e0248b23de51d0ea080523022d8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-389%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=389&job=&cmd_args= 13:40:16 -> Uploading to 13:40:16 https://storage.googleapis.com/codecov/v4/raw/2024-04-19/4E5D53B4F1F92C436F7061BF334D961C/1106dc79c8805e0248b23de51d0ea080523022d8/920aba81-9760-45f9-817f-f35c5f599109.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240419T134016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d18b02e1d40459077bb340b9c48c0595c60b5c78b8d9cfe1719a3d5640d14b32 13:40:16 % Total % Received % Xferd Average Speed Time Time Time Current 13:40:16 Dload Upload Total Spent Left Speed 13:40:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9284 --:--:-- --:--:-- --:--:-- 9284 13:40:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1106dc79c8805e0248b23de51d0ea080523022d8 [Pipeline] } 13:40:16 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 13:40:18 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-389/archives ] 13:40:18 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-389/archives 13:40:18 total 16 13:40:18 drwxr-xr-x 3 root root 4096 Apr 19 13:28 . 13:40:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:28 .. 13:40:18 drwxr-xr-x 2 root root 4096 Apr 19 13:28 cost 13:40:18 -rw-r--r-- 1 root root 86 Apr 19 13:28 cost.csv 13:40:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-389/archives 13:40:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-389/archives 13:40:21 total 16 13:40:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:28 . 13:40:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:28 .. 13:40:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:28 cost 13:40:21 -rw-r--r-- 1 jenkins jenkins 86 Apr 19 13:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:40:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:40:23 ---> package-listing.sh 13:40:23 ++ facter osfamily 13:40:23 ++ tr '[:upper:]' '[:lower:]' 13:40:23 + OS_FAMILY=debian 13:40:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-389 13:40:23 + START_PACKAGES=/tmp/packages_start.txt 13:40:23 + END_PACKAGES=/tmp/packages_end.txt 13:40:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:40:23 + PACKAGES=/tmp/packages_start.txt 13:40:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-389 ']' 13:40:23 + PACKAGES=/tmp/packages_end.txt 13:40:23 + case "${OS_FAMILY}" in 13:40:23 + dpkg -l 13:40:23 + grep '^ii' 13:40:23 + '[' -f /tmp/packages_start.txt ']' 13:40:23 + '[' -f /tmp/packages_end.txt ']' 13:40:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:40:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-389 ']' 13:40:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-389/archives/ 13:40:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-389/archives/ [Pipeline] echo 13:40:23 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-389/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:40:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:37 prd-ubuntu20.04-docker-8c-8g-2844 does not seem to be running inside a container 13:40:37 $ 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-389/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-389 -v /w/workspace/gexfoundry_device-rest-go_PR-389:/w/workspace/gexfoundry_device-rest-go_PR-389:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-389@tmp:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:40:37 $ docker top fc49a3d2246a7cc1c9d72e1aa971601cdb9294f79044ba2f5dc7695ac7ff3991 -eo pid,comm [Pipeline] { [Pipeline] sh 13:40:37 + touch /tmp/pre-build-complete [Pipeline] sh 13:40:37 + mkdir -p /var/log/sysstat [Pipeline] sh 13:40:38 + ls /var/log/sa-host 13:40:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:40:38 provisioning config files... 13:40:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-389@tmp/config11067473577372586346tmp [Pipeline] { [Pipeline] echo 13:40:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:40:38 ---> create-netrc.sh [Pipeline] } 13:40:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:40:39 ---> python-tools-install.sh [Pipeline] echo 13:40:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:40:39 ---> sudo-logs.sh 13:40:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:40:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:40:39 ---> job-cost.sh 13:40:39 lf-activate-venv: SKIPPING 13:40:39 DEBUG: total: 0.2199999988079071 13:40:39 INFO: Retrieving Stack Cost... 13:40:40 INFO: Retrieving Pricing Info for: v3-standard-8 13:40:40 INFO: Archiving Costs [Pipeline] echo 13:40:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:40:41 ---> logs-deploy.sh 13:40:41 lf-activate-venv: SKIPPING 13:40:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-389/1 13:40:41 INFO: archiving workspace using pattern(s): 13:40:42 Archives upload complete. 13:40:42 INFO: archiving logs to Nexus 13:40:42 ---> uname -a: 13:40:42 Linux prd-ubuntu20-04-docker-8c-8g-2844 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:40:42 13:40:42 13:40:42 ---> lscpu: 13:40:42 Architecture: x86_64 13:40:42 CPU op-mode(s): 32-bit, 64-bit 13:40:42 Byte Order: Little Endian 13:40:42 Address sizes: 40 bits physical, 48 bits virtual 13:40:42 CPU(s): 8 13:40:42 On-line CPU(s) list: 0-7 13:40:42 Thread(s) per core: 1 13:40:42 Core(s) per socket: 1 13:40:42 Socket(s): 8 13:40:42 NUMA node(s): 1 13:40:42 Vendor ID: AuthenticAMD 13:40:42 CPU family: 23 13:40:42 Model: 49 13:40:42 Model name: AMD EPYC-Rome Processor 13:40:42 Stepping: 0 13:40:42 CPU MHz: 2799.998 13:40:42 BogoMIPS: 5599.99 13:40:42 Virtualization: AMD-V 13:40:42 Hypervisor vendor: KVM 13:40:42 Virtualization type: full 13:40:42 L1d cache: 256 KiB 13:40:42 L1i cache: 256 KiB 13:40:42 L2 cache: 4 MiB 13:40:42 L3 cache: 128 MiB 13:40:42 NUMA node0 CPU(s): 0-7 13:40:42 Vulnerability Itlb multihit: Not affected 13:40:42 Vulnerability L1tf: Not affected 13:40:42 Vulnerability Mds: Not affected 13:40:42 Vulnerability Meltdown: Not affected 13:40:42 Vulnerability Mmio stale data: Not affected 13:40:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:40:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:40:42 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:40:42 Vulnerability Srbds: Not affected 13:40:42 Vulnerability Tsx async abort: Not affected 13:40:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:40:42 13:40:42