Pull request #400 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f43bb704c884ba6c479f2c9ffeced9dde883b602+ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 (6fa1a5efa50bf586a7bad5aef140e9376fcfe6d5) 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-ssh1215035653341381337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5681408856388133807.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 590556114a56c6d90cc8043840e039c2f74196dc 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-400/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-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12541017229304945906.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-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7630601654877195572.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh10035559638641685369.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-400/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-400/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8910693539899519686.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5963 in /w/workspace/gexfoundry_device-rest-go_PR-400 [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-400 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 into PR head commit f43bb704c884ba6c479f2c9ffeced9dde883b602 Merge succeeded, producing f43bb704c884ba6c479f2c9ffeced9dde883b602 Checking out Revision f43bb704c884ba6c479f2c9ffeced9dde883b602 (PR-400) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # 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 ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:57:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:57:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:57:29 ========================================================= 20:57:29 EdgeX Global Pipelines Version Info 20:57:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:57:29 ------------------- 20:57:29 stable info: 20:57:29 ------------------- 20:57:29 Commited By: Ginny Guan ginny@iotechsys.com 20:57:29 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:57:29 Message: update stable to v1.0.260 20:57:30 ------------------- 20:57:30 experimental info: 20:57:30 ------------------- 20:57:30 Commited By: Ginny Guan ginny@iotechsys.com 20:57:30 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:57:30 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:57:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:57:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-400 [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-400 [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-400 [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43bb70 [Pipeline] echo 20:57:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:32 provisioning config files... 20:57:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config2777219977641118368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:32 ---> ****-login.sh 20:57:32 nexus3.edgexfoundry.org:10001 20:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:33 Configure a credential helper to remove this warning. See 20:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:33 20:57:33 Login Succeeded 20:57:33 nexus3.edgexfoundry.org:10002 20:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:33 Configure a credential helper to remove this warning. See 20:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:33 20:57:33 Login Succeeded 20:57:33 nexus3.edgexfoundry.org:10003 20:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:33 Configure a credential helper to remove this warning. See 20:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:33 20:57:33 Login Succeeded 20:57:33 nexus3.edgexfoundry.org:10004 20:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:33 Configure a credential helper to remove this warning. See 20:57:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:33 20:57:33 Login Succeeded 20:57:33 ****.io 20:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:34 Configure a credential helper to remove this warning. See 20:57:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:34 20:57:34 Login Succeeded 20:57:34 ---> ****-login.sh ends [Pipeline] } 20:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:57:34 + git rev-list -1 --merges f43bb704c884ba6c479f2c9ffeced9dde883b602~1..f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo 20:57:34 -----------> git rev-list -1 --merges f43bb704c884ba6c479f2c9ffeced9dde883b602~1..f43bb704c884ba6c479f2c9ffeced9dde883b602 f43bb704c884ba6c479f2c9ffeced9dde883b602 [false] [Pipeline] sh 20:57:35 + git log --format=format:%s -1 f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo 20:57:35 ========================================================= 20:57:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:57:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:35 + git log --format=format:%s -1 f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] echo 20:57:35 [semverPrep] GIT_COMMIT: f43bb704c884ba6c479f2c9ffeced9dde883b602, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:57:35 [semverPrep] This is not a build commit. [Pipeline] sh 20:57:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:57:36 + grep -v github /etc/ssh/ssh_known_hosts 20:57:36 + [ -e /tmp/ssh_known_hosts ] 20:57:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:57:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:57:36 + sudo tee -a /etc/ssh/ssh_known_hosts 20:57:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:36 20:57:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:36 0.1.4: Pulling from edgex-devops/py-git-semver 20:57:36 b85a868b505f: Pulling fs layer 20:57:36 e2be974225ed: Pulling fs layer 20:57:36 339a4e72a1f5: Pulling fs layer 20:57:36 988bab9f4d93: Pulling fs layer 20:57:36 1469e6f7b9e6: Pulling fs layer 20:57:36 eaf3925da568: Pulling fs layer 20:57:36 bab4dde63d76: Pulling fs layer 20:57:36 bde34c3a00c8: Pulling fs layer 20:57:36 b352a97aabf1: Pulling fs layer 20:57:36 4872d77fe225: Pulling fs layer 20:57:36 5851b861e8e6: Pulling fs layer 20:57:36 bab4dde63d76: Waiting 20:57:36 bde34c3a00c8: Waiting 20:57:36 b352a97aabf1: Waiting 20:57:36 4872d77fe225: Waiting 20:57:36 5851b861e8e6: Waiting 20:57:36 988bab9f4d93: Waiting 20:57:36 1469e6f7b9e6: Waiting 20:57:36 eaf3925da568: Waiting 20:57:36 e2be974225ed: Verifying Checksum 20:57:36 e2be974225ed: Download complete 20:57:36 988bab9f4d93: Verifying Checksum 20:57:36 988bab9f4d93: Download complete 20:57:37 1469e6f7b9e6: Verifying Checksum 20:57:37 1469e6f7b9e6: Download complete 20:57:37 339a4e72a1f5: Verifying Checksum 20:57:37 339a4e72a1f5: Download complete 20:57:37 eaf3925da568: Verifying Checksum 20:57:37 eaf3925da568: Download complete 20:57:37 bde34c3a00c8: Verifying Checksum 20:57:37 bde34c3a00c8: Download complete 20:57:37 b352a97aabf1: Download complete 20:57:37 4872d77fe225: Verifying Checksum 20:57:37 4872d77fe225: Download complete 20:57:37 5851b861e8e6: Verifying Checksum 20:57:37 5851b861e8e6: Download complete 20:57:37 b85a868b505f: Download complete 20:57:37 bab4dde63d76: Verifying Checksum 20:57:38 b85a868b505f: Pull complete 20:57:38 e2be974225ed: Pull complete 20:57:38 339a4e72a1f5: Pull complete 20:57:39 988bab9f4d93: Pull complete 20:57:39 1469e6f7b9e6: Pull complete 20:57:39 eaf3925da568: Pull complete 20:57:41 bab4dde63d76: Pull complete 20:57:41 bde34c3a00c8: Pull complete 20:57:41 b352a97aabf1: Pull complete 20:57:41 4872d77fe225: Pull complete 20:57:41 5851b861e8e6: Pull complete 20:57:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:57:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:41 prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container 20:57:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:57:44 $ docker top 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f -eo pid,comm 20:57:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:57:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:57:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:45 [ssh-agent] Looking for ssh-agent implementation... 20:57:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:45 $ docker exec 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent 20:57:45 SSH_AUTH_SOCK=/tmp/ssh-aeGvZvQe2nqY/agent.31 20:57:45 SSH_AGENT_PID=37 20:57:45 Running ssh-add (command line suppressed) 20:57:45 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_10136302481249906411.key (/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_10136302481249906411.key) 20:57:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:45 + git tag --points-at HEAD [Pipeline] } 20:57:45 $ docker exec --env ******** --env ******** 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent -k 20:57:45 unset SSH_AUTH_SOCK; 20:57:45 unset SSH_AGENT_PID; 20:57:45 echo Agent pid 37 killed; 20:57:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:57:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:57:45 [ssh-agent] Looking for ssh-agent implementation... 20:57:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:57:46 $ docker exec 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent 20:57:46 SSH_AUTH_SOCK=/tmp/ssh-F8gp3eya7dl9/agent.69 20:57:46 SSH_AGENT_PID=75 20:57:46 Running ssh-add (command line suppressed) 20:57:46 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_3842644762782887206.key (/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/private_key_3842644762782887206.key) 20:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:57:46 + git semver init 20:57:46 2024-07-19 20:57:46,824 [run_init] DEBUG init version:0.0.0 force:False 20:57:46 2024-07-19 20:57:46,825 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver 20:57:46 2024-07-19 20:57:46,825 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-400/.semver 20:57:46 2024-07-19 20:57:46,825 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-400/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400, universal_newlines=False, shell=None, istream=None) 20:57:48 2024-07-19 20:57:48,137 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-400/.git/info/exclude 20:57:48 2024-07-19 20:57:48,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 with force:False 20:57:48 2024-07-19 20:57:48,138 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 20:57:48 2024-07-19 20:57:48,143 [execute] INFO git cat-file --batch-check 20:57:48 2024-07-19 20:57:48,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) 20:57:48 2024-07-19 20:57:48,150 [execute] INFO git cat-file --batch 20:57:48 2024-07-19 20:57:48,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) 20:57:48 2024-07-19 20:57:48,156 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-400/.semver/PR-400 20:57:48 0.0.0 [Pipeline] } 20:57:48 $ docker exec --env ******** --env ******** 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f ssh-agent -k 20:57:48 unset SSH_AUTH_SOCK; 20:57:48 unset SSH_AGENT_PID; 20:57:48 echo Agent pid 75 killed; 20:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:57:48 + git semver [Pipeline] } 20:57:49 $ docker stop --time=1 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f 20:57:50 $ docker rm -f --volumes 57db0cf60d56aebf59bc354094f1710039107ef69bcb5693ebbfe7a7f4911a7f [Pipeline] // withDockerContainer [Pipeline] sh 20:57:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:57:51 Stashed 1 file(s) [Pipeline] echo 20:57:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:57:51 provisioning config files... 20:57:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config12759356498382050998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:57:52 ---> ****-login.sh 20:57:52 nexus3.edgexfoundry.org:10001 20:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:52 Configure a credential helper to remove this warning. See 20:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:52 20:57:52 Login Succeeded 20:57:52 nexus3.edgexfoundry.org:10002 20:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:52 Configure a credential helper to remove this warning. See 20:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:52 20:57:52 Login Succeeded 20:57:52 nexus3.edgexfoundry.org:10003 20:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:52 Configure a credential helper to remove this warning. See 20:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:52 20:57:52 Login Succeeded 20:57:52 nexus3.edgexfoundry.org:10004 20:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:52 Configure a credential helper to remove this warning. See 20:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:52 20:57:52 Login Succeeded 20:57:52 ****.io 20:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:57:52 Configure a credential helper to remove this warning. See 20:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:57:52 20:57:52 Login Succeeded 20:57:52 ---> ****-login.sh ends [Pipeline] } 20:57:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:57:53 ========================================================= 20:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:53 + 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 . 20:57:53 Sending build context to Docker daemon 16.55MB 20:57:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:57:53 Step 2/12 : FROM ${BASE} AS builder 20:57:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:57:53 619be1103602: Pulling fs layer 20:57:53 7862e08f4a3e: Pulling fs layer 20:57:53 5df492c9dc93: Pulling fs layer 20:57:53 7629e6793208: Pulling fs layer 20:57:53 4f4fb700ef54: Pulling fs layer 20:57:53 fb5054dd5b73: Pulling fs layer 20:57:53 eeca6798cff9: Pulling fs layer 20:57:53 aa269ceb94a6: Pulling fs layer 20:57:53 ada007ff1a6a: Pulling fs layer 20:57:53 4f4fb700ef54: Waiting 20:57:53 7629e6793208: Waiting 20:57:53 fb5054dd5b73: Waiting 20:57:53 ada007ff1a6a: Waiting 20:57:53 aa269ceb94a6: Waiting 20:57:53 eeca6798cff9: Waiting 20:57:54 7862e08f4a3e: Download complete 20:57:54 7629e6793208: Verifying Checksum 20:57:54 7629e6793208: Download complete 20:57:54 4f4fb700ef54: Verifying Checksum 20:57:54 4f4fb700ef54: Download complete 20:57:54 619be1103602: Verifying Checksum 20:57:54 619be1103602: Download complete 20:57:54 fb5054dd5b73: Verifying Checksum 20:57:54 fb5054dd5b73: Download complete 20:57:54 eeca6798cff9: Verifying Checksum 20:57:54 eeca6798cff9: Download complete 20:57:54 619be1103602: Pull complete 20:57:54 ada007ff1a6a: Verifying Checksum 20:57:54 ada007ff1a6a: Download complete 20:57:54 7862e08f4a3e: Pull complete 20:57:54 5df492c9dc93: Verifying Checksum 20:57:54 5df492c9dc93: Download complete 20:57:54 aa269ceb94a6: Verifying Checksum 20:57:54 aa269ceb94a6: Download complete 20:57:57 5df492c9dc93: Pull complete 20:57:57 7629e6793208: Pull complete 20:57:57 4f4fb700ef54: Pull complete 20:57:57 fb5054dd5b73: Pull complete 20:57:57 eeca6798cff9: Pull complete 20:58:00 aa269ceb94a6: Pull complete 20:58:00 ada007ff1a6a: Pull complete 20:58:00 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:58:00 ---> f489d0715acc 20:58:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:58:05 ---> Running in 110c176a8d41 20:58:05 Removing intermediate container 110c176a8d41 20:58:05 ---> 60d3851bc88c 20:58:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:05 ---> Running in f4e3b2737d80 20:58:05 Removing intermediate container f4e3b2737d80 20:58:05 ---> 73d1f094846c 20:58:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:05 ---> Running in 3564d4890fa2 20:58:05 Removing intermediate container 3564d4890fa2 20:58:05 ---> 91c981daef3c 20:58:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:58:05 ---> Running in 86917411cec2 20:58:05 Removing intermediate container 86917411cec2 20:58:05 ---> 864e04b15d0a 20:58:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:05 ---> Running in 21e513818766 20:58:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:06 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:58:06 (2/4) Installing libedit (20221030.3.1-r1) 20:58:06 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:58:06 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:58:06 Executing busybox-1.36.1-r5.trigger 20:58:06 OK: 268 MiB in 56 packages 20:58:06 Still waiting to schedule task 20:58:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:58:06 Removing intermediate container 21e513818766 20:58:06 ---> 0933bb737b9c 20:58:06 Step 8/12 : WORKDIR /device-rest-go 20:58:06 ---> Running in 5ca760f0de4e 20:58:06 Removing intermediate container 5ca760f0de4e 20:58:06 ---> 33491e534886 20:58:06 Step 9/12 : COPY go.mod vendor* ./ 20:58:07 ---> 7e8e97fd75b2 20:58:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:07 ---> Running in fe039ea15860 20:59:03 Removing intermediate container fe039ea15860 20:59:03 ---> b807805c10de 20:59:03 Step 11/12 : COPY . . 20:59:03 ---> eea76f39c576 20:59:03 Step 12/12 : RUN $MAKE 20:59:03 ---> Running in bc8ab4640b77 20:59:03 noop 20:59:03 Removing intermediate container bc8ab4640b77 20:59:03 ---> a203707130df 20:59:03 Successfully built a203707130df 20:59:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:04 + docker inspect -f . ci-base-image-x86_64 20:59:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:04 prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container 20:59:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:05 $ docker top b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:06 + go version 20:59:06 go version go1.21.9 linux/amd64 [Pipeline] } 20:59:06 $ docker stop --time=1 b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e 20:59:07 $ docker rm -f --volumes b8915d228569e3a77e2d891cf53ae62cc50de32cd1948a8c0404d3f4de407f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:09 + docker inspect -f . ci-base-image-x86_64 20:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:09 prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container 20:59:10 $ 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-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:10 $ docker top ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-400 [Pipeline] fileExists [Pipeline] sh 20:59:11 + make test 20:59:11 go test ./... -coverprofile=coverage.out ./... 20:59:13 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:31 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 20:59:38 go vet ./... 20:59:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5964 in /w/workspace/gexfoundry_device-rest-go_PR-400 [Pipeline] { [Pipeline] ws 20:59:43 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:59:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:44 ./bin/test-attribution-txt.sh 20:59:44 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:59:44 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:59:44 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:59:44 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:59:44 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:59:44 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:59:44 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:59:44 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:59:44 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:59:44 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:59:44 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 20:59:46 The recommended git tool is: git [Pipeline] echo 20:59:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:59:47 $ docker stop --time=1 ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d 20:59:50 $ docker rm -f --volumes ddd12d00ed4d50ba5026c3b5316ce3b4f9b2f6cce97e9a2c87bc0be96d89de4d [Pipeline] // withDockerContainer [Pipeline] sh 20:59:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:54 + ls -al . 20:59:54 total 248 20:59:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 20:59 . 20:59:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:57 .. 20:59:54 -rw-rw-r-- 1 jenkins jenkins 151 Jul 19 20:57 .dockerignore 20:59:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 20:59 .git 20:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 .github 20:59:54 -rw-rw-r-- 1 jenkins jenkins 264 Jul 19 20:57 .gitignore 20:59:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 20:57 .golangci.yml 20:59:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 20:57 .semver 20:59:54 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 19 20:57 Attribution.txt 20:59:54 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 19 20:57 CHANGELOG.md 20:59:54 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 19 20:57 Dockerfile 20:59:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 20:57 GOVERNANCE.md 20:59:54 -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 20:57 Jenkinsfile 20:59:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 20:57 LICENSE 20:59:54 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 19 20:57 Makefile 20:59:54 -rw-rw-r-- 1 jenkins jenkins 620 Jul 19 20:57 OWNERS.md 20:59:54 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 19 20:57 README.md 20:59:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:57 VERSION 20:59:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:57 bin 20:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 cmd 20:59:54 -rw-r--r-- 1 jenkins jenkins 14499 Jul 19 20:59 coverage.out 20:59:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 20:57 driver 20:59:54 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 19 20:57 go.mod 20:59:54 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 20:57 go.sum 20:59:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 20:57 openapi 20:59:54 -rw-rw-r-- 1 jenkins jenkins 713 Jul 19 20:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:54 + 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=f43bb704c884ba6c479f2c9ffeced9dde883b602 --label arch=amd64 --label version=0.0.0 . 20:59:54 Sending build context to Docker daemon 16.56MB 20:59:54 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:59:54 Step 2/26 : FROM ${BASE} AS builder 20:59:54 ---> a203707130df 20:59:54 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:59:55 ---> Running in a1024cd90f19 20:59:55 Removing intermediate container a1024cd90f19 20:59:55 ---> 85993fedaa5f 20:59:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:55 ---> Running in b298ac3d7e83 20:59:55 Removing intermediate container b298ac3d7e83 20:59:55 ---> 925a257daffa 20:59:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:55 ---> Running in 535ce9b5a0f2 20:59:55 Removing intermediate container 535ce9b5a0f2 20:59:55 ---> 71577d8cd346 20:59:55 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:59:55 ---> Running in f6c9a4191403 20:59:55 Removing intermediate container f6c9a4191403 20:59:55 ---> b9bcc3822970 20:59:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:55 ---> Running in 12d4765fdb13 20:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:59:56 using credential edgex-jenkins-ssh 20:59:56 Cloning the remote Git repository 20:59:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:59:56 OK: 268 MiB in 56 packages 20:59:56 Removing intermediate container 12d4765fdb13 20:59:56 ---> 3956ea3394e8 20:59:56 Step 8/26 : WORKDIR /device-rest-go 20:59:56 ---> Running in 64ff7e2c7b8a 20:59:56 Removing intermediate container 64ff7e2c7b8a 20:59:56 ---> 77c03cbea50f 20:59:56 Step 9/26 : COPY go.mod vendor* ./ 20:59:56 ---> 1c00bad5c9db 20:59:56 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:56 ---> Running in c423f8a1b15f 20:59:57 Removing intermediate container c423f8a1b15f 20:59:57 ---> d25f04c86a84 20:59:57 Step 11/26 : COPY . . 20:59:56 > git init /w/workspace/device-rest-go/1 # timeout=10 20:59:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:59:56 > git --version # timeout=10 20:59:56 > git --version # 'git version 2.25.1' 20:59:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:57 ---> 6280e6db9c44 20:59:57 Step 12/26 : RUN $MAKE 20:59:57 ---> Running in af39eb7c5911 20:59:58 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.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:59:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:59:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:01 Merging remotes/origin/main commit ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 into PR head commit f43bb704c884ba6c479f2c9ffeced9dde883b602 21:00:01 Merge succeeded, producing f43bb704c884ba6c479f2c9ffeced9dde883b602 21:00:01 Checking out Revision f43bb704c884ba6c479f2c9ffeced9dde883b602 (PR-400) 21:00:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:01 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:00:01 > git config core.sparsecheckout # timeout=10 21:00:01 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 21:00:01 > git remote # timeout=10 21:00:01 > git config --get remote.origin.url # timeout=10 21:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:01 > git merge ffc9e4fda7c1ef56c3e07821aeebfbe6a3d5a5e0 # timeout=10 21:00:01 > git rev-parse HEAD^{commit} # timeout=10 21:00:01 > git config core.sparsecheckout # timeout=10 21:00:01 > git checkout -f f43bb704c884ba6c479f2c9ffeced9dde883b602 # timeout=10 21:00:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:00:02 > git --version # timeout=10 21:00:02 > git --version # 'git version 2.25.1' 21:00:02 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:08 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:08 Dload Upload Total Spent Left Speed 21:00:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh 21:00:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:09 + sudo tee /etc/docker/daemon.new 21:00:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:09 { 21:00:09 "registry-mirrors": [ 21:00:09 "https://nexus3.edgexfoundry.org:10001" 21:00:09 ], 21:00:09 "bip": "10.250.0.254/24", 21:00:09 "hosts": [ 21:00:09 "tcp://0.0.0.0:5555", 21:00:09 "unix:///var/run/docker.sock" 21:00:09 ], 21:00:09 "mtu": 1458, 21:00:09 "selinux-enabled": true, 21:00:09 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:09 } [Pipeline] sh 21:00:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:10 + sudo service docker restart 21:00:25 Removing intermediate container af39eb7c5911 21:00:25 ---> 580540751eab 21:00:25 Step 13/26 : FROM alpine:3.18 21:00:25 3.18: Pulling from library/alpine 21:00:25 73baa7ef167e: Pulling fs layer 21:00:25 73baa7ef167e: Verifying Checksum 21:00:25 73baa7ef167e: Download complete 21:00:25 73baa7ef167e: Pull complete 21:00:25 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 21:00:25 Status: Downloaded newer image for alpine:3.18 21:00:25 ---> 8fd7cac70a4a 21:00:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:00:26 ---> Running in 377e30388cf8 21:00:26 Removing intermediate container 377e30388cf8 21:00:26 ---> 63fa89afcbcc 21:00:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:00:26 ---> Running in 70eb33ed1aa2 21:00:26 Removing intermediate container 70eb33ed1aa2 21:00:26 ---> 503665720d9a 21:00:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:00:26 ---> Running in d2d4b9ac04db 21:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:00:26 (1/1) Installing dumb-init (1.2.5-r2) 21:00:26 Executing busybox-1.36.1-r7.trigger 21:00:26 OK: 7 MiB in 16 packages 21:00:27 Removing intermediate container d2d4b9ac04db 21:00:27 ---> 68ec2ac6bba9 21:00:27 Step 17/26 : RUN apk --no-cache upgrade 21:00:27 ---> Running in a61119b27cae 21:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:00:27 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 21:00:27 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 21:00:27 OK: 7 MiB in 16 packages 21:00:28 Removing intermediate container a61119b27cae 21:00:28 ---> 18ceeaf1fd2a 21:00:28 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:00:29 ---> 6d545d491fda 21:00:29 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:00:29 ---> 6041803a8ef5 21:00:29 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:29 ---> 43fc345439cd 21:00:29 Step 21/26 : EXPOSE 59986 21:00:29 ---> Running in d7262e4328ab 21:00:29 Removing intermediate container d7262e4328ab 21:00:29 ---> 441c2ef97f31 21:00:29 Step 22/26 : ENTRYPOINT ["/device-rest"] [Pipeline] withEnv [Pipeline] { 21:00:29 ---> Running in 63cea8e93c7f 21:00:29 Removing intermediate container 63cea8e93c7f 21:00:29 ---> 9df0841e31c3 21:00:29 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:29 ---> Running in ddd4c8e904ab [Pipeline] configFileProvider 21:00:29 provisioning config files... 21:00:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3758443414956038584tmp [Pipeline] { [Pipeline] libraryResource 21:00:30 Removing intermediate container ddd4c8e904ab 21:00:30 ---> c5d6457b3c85 21:00:30 Step 24/26 : LABEL arch=amd64 21:00:30 ---> Running in b2cd3b760ff6 21:00:30 Removing intermediate container b2cd3b760ff6 21:00:30 ---> 21a7d531c9a0 21:00:30 Step 25/26 : LABEL git_sha=f43bb704c884ba6c479f2c9ffeced9dde883b602 21:00:30 ---> Running in 4005fd829a74 [Pipeline] sh 21:00:30 Removing intermediate container 4005fd829a74 21:00:30 ---> 4011cf414e79 21:00:30 Step 26/26 : LABEL version=0.0.0 21:00:30 ---> Running in 8e7f932bc010 21:00:30 Removing intermediate container 8e7f932bc010 21:00:30 ---> 682506e9b0dd 21:00:30 [Warning] One or more build-args [ARCH] were not consumed 21:00:30 Successfully built 682506e9b0dd 21:00:30 Successfully tagged device-rest:latest [Pipeline] } 21:00:30 ---> ****-login.sh 21:00:30 nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] } 21:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional 21:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:31 Configure a credential helper to remove this warning. See 21:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:31 21:00:31 Login Succeeded 21:00:31 nexus3.edgexfoundry.org:10002 [Pipeline] getContext [Pipeline] } 21:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:31 Configure a credential helper to remove this warning. See 21:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:31 21:00:31 Login Succeeded 21:00:31 nexus3.edgexfoundry.org:10003 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 nexus3.edgexfoundry.org:10004 Stage "Snap" skipped due to when conditional [Pipeline] getContext 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 ****.io [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 ---> ****-login.sh ends [Pipeline] { [Pipeline] } 21:00:33 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } 21:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:33 21:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] // withEnv [Pipeline] unstash [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 21:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 21:00:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:34 latest: Pulling from edgex-lftools-log-publisher 21:00:34 5eb5b503b376: Pulling fs layer 21:00:34 5c69ac0246d0: Pulling fs layer 21:00:34 ec43610c2a17: Pulling fs layer 21:00:34 3a2ae6a8a46f: Pulling fs layer 21:00:34 33b1e0a273af: Pulling fs layer 21:00:34 5d3b04190fa2: Pulling fs layer 21:00:34 2f39f015ded8: Pulling fs layer 21:00:34 5d3b04190fa2: Waiting 21:00:34 2f39f015ded8: Waiting 21:00:34 3a2ae6a8a46f: Waiting 21:00:34 5c69ac0246d0: Download complete 21:00:34 3a2ae6a8a46f: Verifying Checksum 21:00:34 3a2ae6a8a46f: Download complete 21:00:34 33b1e0a273af: Verifying Checksum 21:00:34 33b1e0a273af: Download complete 21:00:34 5d3b04190fa2: Verifying Checksum 21:00:34 5d3b04190fa2: Download complete 21:00:34 ec43610c2a17: Verifying Checksum 21:00:34 ec43610c2a17: Download complete [Pipeline] echo 21:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:00:34 ========================================================= 21:00:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:00:34 ========================================================= 21:00:34 5eb5b503b376: Verifying Checksum 21:00:34 5eb5b503b376: Download complete [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 21:00:35 2f39f015ded8: Verifying Checksum 21:00:35 2f39f015ded8: Download complete [Pipeline] sh 21:00:35 5eb5b503b376: Pull complete 21:00: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 . 21:00:36 Sending build context to Docker daemon 130.6kB 21:00:36 5c69ac0246d0: Pull complete 21:00:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:00:36 Step 2/12 : FROM ${BASE} AS builder 21:00:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:36 c6b39de5b339: Pulling fs layer 21:00:36 a69c41024577: Pulling fs layer 21:00:36 d6de4b400683: Pulling fs layer 21:00:36 35cb2a7552d0: Pulling fs layer 21:00:36 4f4fb700ef54: Pulling fs layer 21:00:36 464afbd9ba4c: Pulling fs layer 21:00:36 00f215d4a9da: Pulling fs layer 21:00:36 d496ad576159: Pulling fs layer 21:00:36 4f4fb700ef54: Waiting 21:00:36 464afbd9ba4c: Waiting 21:00:36 d496ad576159: Waiting 21:00:36 00f215d4a9da: Waiting 21:00:36 a69c41024577: Verifying Checksum 21:00:36 a69c41024577: Download complete 21:00:36 35cb2a7552d0: Verifying Checksum 21:00:36 35cb2a7552d0: Download complete 21:00:36 4f4fb700ef54: Verifying Checksum 21:00:36 4f4fb700ef54: Download complete 21:00:36 464afbd9ba4c: Verifying Checksum 21:00:36 464afbd9ba4c: Download complete 21:00:36 c6b39de5b339: Verifying Checksum 21:00:36 c6b39de5b339: Download complete 21:00:36 ec43610c2a17: Pull complete 21:00:36 3a2ae6a8a46f: Pull complete 21:00:36 33b1e0a273af: Pull complete 21:00:36 5d3b04190fa2: Pull complete 21:00:37 d496ad576159: Verifying Checksum 21:00:37 d496ad576159: Download complete 21:00:37 c6b39de5b339: Pull complete 21:00:38 a69c41024577: Pull complete 21:00:38 d6de4b400683: Verifying Checksum 21:00:38 d6de4b400683: Download complete 21:00:39 00f215d4a9da: Verifying Checksum 21:00:39 00f215d4a9da: Download complete 21:00:41 2f39f015ded8: Pull complete 21:00:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:42 prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container 21:00:42 $ 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-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:45 $ docker top e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:45 ---> job-cost.sh 21:00:45 lf-activate-venv: SKIPPING 21:00:45 INFO: No Stack... 21:00:46 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:46 INFO: Archiving Costs [Pipeline] sh 21:00:47 + cat /w/workspace/gexfoundry_device-rest-go_PR-400/archives/cost.csv 21:00:47 + cut -d, -f6 [Pipeline] lock 21:00:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] 21:00:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] did not exist. Created. 21:00:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:48 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:48 Stashed 1 file(s) [Pipeline] } 21:00:48 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:48 $ docker stop --time=1 e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 21:00:49 $ docker rm -f --volumes e65f072e9b44cacb79ecc8e9015d164a53a8197ad907e1b344eef9069f8cf216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:52 d6de4b400683: Pull complete 21:00:52 35cb2a7552d0: Pull complete 21:00:52 4f4fb700ef54: Pull complete 21:00:52 464afbd9ba4c: Pull complete 21:01:00 00f215d4a9da: Pull complete 21:01:02 d496ad576159: Pull complete 21:01:02 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 21:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:01:02 ---> f246e2811388 21:01:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:03 ---> Running in ff75dcbd2c99 21:01:04 Removing intermediate container ff75dcbd2c99 21:01:04 ---> 7e195e6b44b3 21:01:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:04 ---> Running in ad4c3b450eb8 21:01:04 Removing intermediate container ad4c3b450eb8 21:01:04 ---> 0f5c599ee80e 21:01:04 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:04 ---> Running in fc49745fd497 21:01:04 Removing intermediate container fc49745fd497 21:01:04 ---> d040a1aa73b2 21:01:04 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:05 ---> Running in 0458d3343756 21:01:05 Removing intermediate container 0458d3343756 21:01:05 ---> 07907d18479f 21:01:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:05 ---> Running in 04436455b4d6 21:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:10 (1/4) Installing openssh-keygen (9.3_p2-r2) 21:01:10 (2/4) Installing libedit (20221030.3.1-r1) 21:01:10 (3/4) Installing openssh-client-common (9.3_p2-r2) 21:01:10 (4/4) Installing openssh-client-default (9.3_p2-r2) 21:01:10 Executing busybox-1.36.1-r5.trigger 21:01:10 OK: 271 MiB in 56 packages 21:01:12 Removing intermediate container 04436455b4d6 21:01:12 ---> 4ac87b208aef 21:01:12 Step 8/12 : WORKDIR /device-rest-go 21:01:12 ---> Running in 3df4a2429a16 21:01:12 Removing intermediate container 3df4a2429a16 21:01:12 ---> e78259a567cf 21:01:12 Step 9/12 : COPY go.mod vendor* ./ 21:01:13 ---> bbc3484fb8b9 21:01:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:13 ---> Running in f73f30e40f33 21:03:05 Removing intermediate container f73f30e40f33 21:03:05 ---> abaf0d4125de 21:03:05 Step 11/12 : COPY . . 21:03:05 ---> c17614bc4471 21:03:05 Step 12/12 : RUN $MAKE 21:03:05 ---> Running in ca1adae44658 21:03:05 noop 21:03:05 Removing intermediate container ca1adae44658 21:03:05 ---> a65ecbaf71b2 21:03:05 Successfully built a65ecbaf71b2 21:03:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:06 + docker inspect -f . ci-base-image-arm64 21:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:07 prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container 21:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:08 $ docker top 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:10 + go version 21:03:10 go version go1.21.9 linux/arm64 [Pipeline] } 21:03:10 $ docker stop --time=1 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 21:03:11 $ docker rm -f --volumes 676514b614d2d9526e7838dd06b4dcb53be882c777921b69eb3123957cd49f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:13 + docker inspect -f . ci-base-image-arm64 21:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container 21:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:15 $ docker top 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:16 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:17 + make test 21:03:17 go test ./... -coverprofile=coverage.out ./... 21:03:23 ? github.com/edgexfoundry/device-rest-go [no test files] 21:06:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:06:31 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements 21:06:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:06:33 go vet ./... 21:07:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:07:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:07:20 ./bin/test-attribution-txt.sh 21:07:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 21:07:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 21:07:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 21:07:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 21:07:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 21:07:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 21:07:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 21:07:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 21:07:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 21:07:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 21:07:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 21:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:07:20 $ docker stop --time=1 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 21:07:22 $ docker rm -f --volumes 9db572d868d8b79e08cd5ecc6b12a5d2cf9fe3eec5f09d61339adbccfeea8b46 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:07:23 Warning: overwriting stash ‘coverage-report’ 21:07:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:07:25 + ls -al . 21:07:25 total 244 21:07:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:03 . 21:07:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 20:59 .. 21:07:25 -rw-rw-r-- 1 jenkins jenkins 151 Jul 19 21:00 .dockerignore 21:07:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:00 .git 21:07:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 .github 21:07:25 -rw-rw-r-- 1 jenkins jenkins 264 Jul 19 21:00 .gitignore 21:07:25 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 21:00 .golangci.yml 21:07:25 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 19 21:00 Attribution.txt 21:07:25 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 19 21:00 CHANGELOG.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 19 21:00 Dockerfile 21:07:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:00 GOVERNANCE.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 680 Jul 19 21:00 Jenkinsfile 21:07:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 19 21:00 LICENSE 21:07:25 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 19 21:00 Makefile 21:07:25 -rw-rw-r-- 1 jenkins jenkins 620 Jul 19 21:00 OWNERS.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 19 21:00 README.md 21:07:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 20:57 VERSION 21:07:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:00 bin 21:07:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 cmd 21:07:25 -rw-r--r-- 1 jenkins jenkins 14499 Jul 19 21:06 coverage.out 21:07:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:00 driver 21:07:25 -rw-rw-r-- 1 jenkins jenkins 7133 Jul 19 21:00 go.mod 21:07:25 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 19 21:00 go.sum 21:07:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:00 openapi 21:07:25 -rw-rw-r-- 1 jenkins jenkins 713 Jul 19 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:25 + 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=f43bb704c884ba6c479f2c9ffeced9dde883b602 --label arch=arm64 --label version=0.0.0 . 21:07:25 Sending build context to Docker daemon 145.9kB 21:07:25 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:07:25 Step 2/26 : FROM ${BASE} AS builder 21:07:25 ---> a65ecbaf71b2 21:07:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:07:25 ---> Running in 94b93c7ee567 21:07:26 Removing intermediate container 94b93c7ee567 21:07:26 ---> e19699e2af13 21:07:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:07:26 ---> Running in b515661a0593 21:07:26 Removing intermediate container b515661a0593 21:07:26 ---> f1d2aa2c2252 21:07:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:07:26 ---> Running in 4065706c6388 21:07:26 Removing intermediate container 4065706c6388 21:07:26 ---> f12749c8decc 21:07:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:07:27 ---> Running in 2a67e892b53d 21:07:27 Removing intermediate container 2a67e892b53d 21:07:27 ---> f03576956685 21:07:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:27 ---> Running in 3f08b98fb8ec 21:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:07:29 OK: 271 MiB in 56 packages 21:07:31 Removing intermediate container 3f08b98fb8ec 21:07:31 ---> edc7beb1e7ac 21:07:31 Step 8/26 : WORKDIR /device-rest-go 21:07:31 ---> Running in a9bb9c858b84 21:07:31 Removing intermediate container a9bb9c858b84 21:07:31 ---> 9e4ad3a61c6e 21:07:31 Step 9/26 : COPY go.mod vendor* ./ 21:07:31 ---> 03e27e2f8c5a 21:07:31 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:31 ---> Running in 7a78d4162441 21:07:34 Removing intermediate container 7a78d4162441 21:07:34 ---> 1413f472ef6e 21:07:34 Step 11/26 : COPY . . 21:07:34 ---> e689ac83be60 21:07:34 Step 12/26 : RUN $MAKE 21:07:34 ---> Running in a33014283afc 21:07:35 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.25" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:10:57 Removing intermediate container a33014283afc 21:10:57 ---> 2b2db3e27277 21:10:57 Step 13/26 : FROM alpine:3.18 21:10:57 3.18: Pulling from library/alpine 21:10:57 5c905c7ebe2f: Pulling fs layer 21:10:57 5c905c7ebe2f: Verifying Checksum 21:10:57 5c905c7ebe2f: Download complete 21:10:57 5c905c7ebe2f: Pull complete 21:10:57 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 21:10:57 Status: Downloaded newer image for alpine:3.18 21:10:57 ---> dec292d02e07 21:10:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:10:57 ---> Running in b9edc2bf5440 21:10:57 Removing intermediate container b9edc2bf5440 21:10:57 ---> b8793bf6d682 21:10:57 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:10:57 ---> Running in 4e7c7de1242f 21:10:57 Removing intermediate container 4e7c7de1242f 21:10:57 ---> f481ec91baf9 21:10:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:10:57 ---> Running in 31c8e93bb8c8 21:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:10:57 (1/1) Installing dumb-init (1.2.5-r2) 21:10:57 Executing busybox-1.36.1-r7.trigger 21:10:57 OK: 8 MiB in 16 packages 21:10:57 Removing intermediate container 31c8e93bb8c8 21:10:57 ---> 64ed07860588 21:10:57 Step 17/26 : RUN apk --no-cache upgrade 21:10:57 ---> Running in 9bb64d9246ef 21:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:10:57 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 21:10:57 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 21:10:57 OK: 8 MiB in 16 packages 21:10:57 Removing intermediate container 9bb64d9246ef 21:10:57 ---> 1187dbfa3ada 21:10:57 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:10:58 ---> 35a78cbb56a9 21:10:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:10:58 ---> 8e57cd292c50 21:10:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:10:59 ---> b74f677fb255 21:10:59 Step 21/26 : EXPOSE 59986 21:10:59 ---> Running in ea1bfd356e7e 21:10:59 Removing intermediate container ea1bfd356e7e 21:10:59 ---> 79147030727e 21:10:59 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:10:59 ---> Running in 5f4994268def 21:11:00 Removing intermediate container 5f4994268def 21:11:00 ---> 4d738699fcf2 21:11:00 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:11:00 ---> Running in ec9e5aacb52b 21:11:00 Removing intermediate container ec9e5aacb52b 21:11:00 ---> c979be94bdb5 21:11:00 Step 24/26 : LABEL arch=arm64 21:11:00 ---> Running in 70db9d414735 21:11:00 Removing intermediate container 70db9d414735 21:11:00 ---> dd7ed0221935 21:11:00 Step 25/26 : LABEL git_sha=f43bb704c884ba6c479f2c9ffeced9dde883b602 21:11:00 ---> Running in f0b4e7a19c46 21:11:00 Removing intermediate container f0b4e7a19c46 21:11:00 ---> f5719cf43059 21:11:00 Step 26/26 : LABEL version=0.0.0 21:11:01 ---> Running in 45fc08e660f8 21:11:01 Removing intermediate container 45fc08e660f8 21:11:01 ---> 6be8a9dfaa73 21:11:01 [Warning] One or more build-args [ARCH] were not consumed 21:11:01 Successfully built 6be8a9dfaa73 21:11:01 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:02 21:11:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:02 arm64: Pulling from edgex-lftools-log-publisher 21:11:02 8998bd30e6a1: Pulling fs layer 21:11:02 04944245beec: Pulling fs layer 21:11:02 699f458cf7ca: Pulling fs layer 21:11:02 765212b225bb: Pulling fs layer 21:11:02 f23df028b6ca: Pulling fs layer 21:11:02 d65c8cfc05b1: Pulling fs layer 21:11:02 2437ff75d9bd: Pulling fs layer 21:11:02 f23df028b6ca: Waiting 21:11:02 d65c8cfc05b1: Waiting 21:11:02 2437ff75d9bd: Waiting 21:11:02 765212b225bb: Waiting 21:11:02 04944245beec: Verifying Checksum 21:11:02 04944245beec: Download complete 21:11:02 765212b225bb: Verifying Checksum 21:11:02 765212b225bb: Download complete 21:11:02 f23df028b6ca: Download complete 21:11:02 d65c8cfc05b1: Verifying Checksum 21:11:02 d65c8cfc05b1: Download complete 21:11:03 699f458cf7ca: Verifying Checksum 21:11:03 699f458cf7ca: Download complete 21:11:03 8998bd30e6a1: Download complete 21:11:06 2437ff75d9bd: Verifying Checksum 21:11:06 2437ff75d9bd: Download complete 21:11:08 8998bd30e6a1: Pull complete 21:11:08 04944245beec: Pull complete 21:11:10 699f458cf7ca: Pull complete 21:11:10 765212b225bb: Pull complete 21:11:11 f23df028b6ca: Pull complete 21:11:11 d65c8cfc05b1: Pull complete 21:11:29 2437ff75d9bd: Pull complete 21:11:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:11:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:29 prd-ubuntu20.04-docker-arm64-4c-16g-5964 does not seem to be running inside a container 21:11:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:11:32 $ docker top d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:33 ---> job-cost.sh 21:11:33 lf-activate-venv: SKIPPING 21:11:33 INFO: No Stack... 21:11:34 INFO: Retrieving Pricing Info for: v3-standard-4 21:11:34 INFO: Archiving Costs [Pipeline] sh 21:11:35 + cut -d, -f6 21:11:35 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:11:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] 21:11:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] did not exist. Created. 21:11:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:36 /w/workspace/device-rest-go/1@tmp/durable-f649987c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:11:36 + echo total: 0.10999999940395355 [Pipeline] stash 21:11:37 Warning: overwriting stash ‘stack-cost’ 21:11:37 Stashed 1 file(s) [Pipeline] } 21:11:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-400-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:37 $ docker stop --time=1 d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d 21:11:38 $ docker rm -f --volumes d8f821e0d845daf9b51773195d66146640c9e4dd55d7967636d35cdb4009285d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:11:39 provisioning config files... 21:11:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config10867734235543490930tmp [Pipeline] { [Pipeline] sh 21:11:40 + set +x 21:11:40 + curl -s https://codecov.io/bash 21:11:40 + bash -s -- 21:11:40 21:11:40 _____ _ 21:11:40 / ____| | | 21:11:40 | | ___ __| | ___ ___ _____ __ 21:11:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:11:40 | |___| (_) | (_| | __/ (_| (_) \ V / 21:11:40 \_____\___/ \__,_|\___|\___\___/ \_/ 21:11:40 Bash-1.0.6 21:11:40 21:11:40 21:11:40 ==> git version 2.25.1 found 21:11:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:11:40 Release-Date: 2020-01-08 21:11:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:11:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:11:40 ==> Jenkins CI detected. 21:11:40 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-400 21:11:40 project root: . 21:11:40 --> token set from env 21:11:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:11:40 ==> Running gcov in . (disable via -X gcov) 21:11:40 ==> Python coveragepy not found 21:11:40 ==> Searching for coverage reports in: 21:11:40 + . 21:11:40 -> Found 1 reports 21:11:40 ==> Detecting git/mercurial file structure 21:11:40 ==> Reading reports 21:11:40 + ./coverage.out bytes=14499 21:11:40 ==> Appending adjustments 21:11:40 https://docs.codecov.io/docs/fixing-reports 21:11:40 + Found adjustments 21:11:40 ==> Gzipping contents 21:11:40 4.0K /tmp/codecov.17YjV6.gz 21:11:40 ==> Uploading reports 21:11:40 url: https://codecov.io 21:11:40 query: branch=PR-400&commit=f43bb704c884ba6c479f2c9ffeced9dde883b602&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-400%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=400&job=&cmd_args= 21:11:40 -> Pinging Codecov 21:11:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-400&commit=f43bb704c884ba6c479f2c9ffeced9dde883b602&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-400%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=400&job=&cmd_args= 21:11:41 -> Uploading to 21:11:41 https://storage.googleapis.com/codecov/v4/raw/2024-07-19/4E5D53B4F1F92C436F7061BF334D961C/f43bb704c884ba6c479f2c9ffeced9dde883b602/87b643fc-dfc8-4150-8630-b03f7ffa8cd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240719%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240719T211140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=944592fade2058eab747eb433b66483cf8e49aee930c8045afbb4661e201c4cd 21:11:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:41 Dload Upload Total Spent Left Speed 21:11:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9358 --:--:-- --:--:-- --:--:-- 9358 21:11:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f43bb704c884ba6c479f2c9ffeced9dde883b602 [Pipeline] } 21:11:41 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:11:43 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-400/archives ] 21:11:43 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-400/archives 21:11:43 total 16 21:11:43 drwxr-xr-x 3 root root 4096 Jul 19 21:00 . 21:11:43 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:00 .. 21:11:43 drwxr-xr-x 2 root root 4096 Jul 19 21:00 cost 21:11:43 -rw-r--r-- 1 root root 86 Jul 19 21:00 cost.csv 21:11:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-400/archives 21:11:43 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-400/archives 21:11:43 total 16 21:11:43 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:00 . 21:11:43 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:00 .. 21:11:43 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 21:00 cost 21:11:43 -rw-r--r-- 1 jenkins jenkins 86 Jul 19 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:11:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:11:44 ---> package-listing.sh 21:11:44 ++ facter osfamily 21:11:44 ++ tr '[:upper:]' '[:lower:]' 21:11:45 + OS_FAMILY=debian 21:11:45 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-400 21:11:45 + START_PACKAGES=/tmp/packages_start.txt 21:11:45 + END_PACKAGES=/tmp/packages_end.txt 21:11:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:11:45 + PACKAGES=/tmp/packages_start.txt 21:11:45 + '[' /w/workspace/gexfoundry_device-rest-go_PR-400 ']' 21:11:45 + PACKAGES=/tmp/packages_end.txt 21:11:45 + case "${OS_FAMILY}" in 21:11:45 + dpkg -l 21:11:45 + grep '^ii' 21:11:45 + '[' -f /tmp/packages_start.txt ']' 21:11:45 + '[' -f /tmp/packages_end.txt ']' 21:11:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:11:45 + '[' /w/workspace/gexfoundry_device-rest-go_PR-400 ']' 21:11:45 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-400/archives/ 21:11:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-400/archives/ [Pipeline] echo 21:11:45 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-400/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:11:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:46 prd-ubuntu20.04-docker-8c-8g-5963 does not seem to be running inside a container 21:11:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-400/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-400 -v /w/workspace/gexfoundry_device-rest-go_PR-400:/w/workspace/gexfoundry_device-rest-go_PR-400:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-400@tmp:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:11:46 $ docker top e575f095f5435450d3a8cf35d8c81fdf8bf7492bc5fff66109e7ad4aa51b16d7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:47 + touch /tmp/pre-build-complete [Pipeline] sh 21:11:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:11:47 + ls /var/log/sa-host 21:11:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:47 provisioning config files... 21:11:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-400@tmp/config9530297578864283055tmp [Pipeline] { [Pipeline] echo 21:11:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:11:48 ---> create-netrc.sh [Pipeline] } 21:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:11:48 ---> python-tools-install.sh [Pipeline] echo 21:11:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:11:49 ---> sudo-logs.sh 21:11:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:11:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:11:49 ---> job-cost.sh 21:11:49 lf-activate-venv: SKIPPING 21:11:49 DEBUG: total: 0.2199999988079071 21:11:49 INFO: Retrieving Stack Cost... 21:11:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:50 INFO: Archiving Costs [Pipeline] echo 21:11:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:11:50 ---> logs-deploy.sh 21:11:50 lf-activate-venv: SKIPPING 21:11:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-400/1 21:11:50 INFO: archiving workspace using pattern(s): 21:11:51 Archives upload complete. 21:11:51 INFO: archiving logs to Nexus