Pull request #412 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec55248e5e01078cd56faecef1527e23b9a3c47b+735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 (282192385bcfcb5ce364562ab08f76e0201658ef) 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-ssh4907689048474833575.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh2278000361734324445.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-412/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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4987521856278879655.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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1397380839543191173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh6764012143232109209.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-412/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-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4675353756001411522.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-13038 in /w/workspace/gexfoundry_device-rest-go_PR-412 [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-412 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit ec55248e5e01078cd56faecef1527e23b9a3c47b Merge succeeded, producing ec55248e5e01078cd56faecef1527e23b9a3c47b Checking out Revision ec55248e5e01078cd56faecef1527e23b9a3c47b (PR-412) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # 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 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:23 ========================================================= 20:17:23 EdgeX Global Pipelines Version Info 20:17:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:24 ------------------- 20:17:24 stable info: 20:17:24 ------------------- 20:17:24 Commited By: Cherry Wang cherry@iotechsys.com 20:17:24 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:17:24 Message: update stable to v1.0.264 20:17:25 ------------------- 20:17:25 experimental info: 20:17:25 ------------------- 20:17:25 Commited By: Cherry Wang cherry@iotechsys.com 20:17:25 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:17:25 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-412 [Pipeline] echo 20:17:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-412 [Pipeline] echo 20:17:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-412 [Pipeline] echo 20:17:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo 20:17:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec55248 [Pipeline] echo 20:17:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:27 provisioning config files... 20:17:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config4884875515980301989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:27 ---> ****-login.sh 20:17:27 nexus3.edgexfoundry.org:10001 20:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:28 Configure a credential helper to remove this warning. See 20:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:28 20:17:28 Login Succeeded 20:17:28 nexus3.edgexfoundry.org:10002 20:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:28 Configure a credential helper to remove this warning. See 20:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:28 20:17:28 Login Succeeded 20:17:28 nexus3.edgexfoundry.org:10003 20:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:28 Configure a credential helper to remove this warning. See 20:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:28 20:17:28 Login Succeeded 20:17:28 nexus3.edgexfoundry.org:10004 20:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:28 Configure a credential helper to remove this warning. See 20:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:28 20:17:28 Login Succeeded 20:17:28 ****.io 20:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:28 Configure a credential helper to remove this warning. See 20:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:28 20:17:28 Login Succeeded 20:17:28 ---> ****-login.sh ends [Pipeline] } 20:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:30 + git rev-list -1 --merges ec55248e5e01078cd56faecef1527e23b9a3c47b~1..ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo 20:17:30 -----------> git rev-list -1 --merges ec55248e5e01078cd56faecef1527e23b9a3c47b~1..ec55248e5e01078cd56faecef1527e23b9a3c47b ec55248e5e01078cd56faecef1527e23b9a3c47b [false] [Pipeline] sh 20:17:31 + git log --format=format:%s -1 ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo 20:17:31 ========================================================= 20:17:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:31 + git log --format=format:%s -1 ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] echo 20:17:31 [semverPrep] GIT_COMMIT: ec55248e5e01078cd56faecef1527e23b9a3c47b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:17:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:32 + grep -v github /etc/ssh/ssh_known_hosts 20:17:32 + [ -e /tmp/ssh_known_hosts ] 20:17:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:32 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 20:17:32 tee -a /etc/ssh/ssh_known_hosts 20:17:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:32 20:17:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:33 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:33 b85a868b505f: Pulling fs layer 20:17:33 e2be974225ed: Pulling fs layer 20:17:33 339a4e72a1f5: Pulling fs layer 20:17:33 988bab9f4d93: Pulling fs layer 20:17:33 1469e6f7b9e6: Pulling fs layer 20:17:33 eaf3925da568: Pulling fs layer 20:17:33 bab4dde63d76: Pulling fs layer 20:17:33 1469e6f7b9e6: Waiting 20:17:33 eaf3925da568: Waiting 20:17:33 988bab9f4d93: Waiting 20:17:33 bde34c3a00c8: Pulling fs layer 20:17:33 b352a97aabf1: Pulling fs layer 20:17:33 4872d77fe225: Pulling fs layer 20:17:33 5851b861e8e6: Pulling fs layer 20:17:33 bab4dde63d76: Waiting 20:17:33 4872d77fe225: Waiting 20:17:33 b352a97aabf1: Waiting 20:17:33 5851b861e8e6: Waiting 20:17:33 bde34c3a00c8: Waiting 20:17:33 e2be974225ed: Verifying Checksum 20:17:33 e2be974225ed: Download complete 20:17:33 988bab9f4d93: Verifying Checksum 20:17:33 988bab9f4d93: Download complete 20:17:33 1469e6f7b9e6: Verifying Checksum 20:17:33 1469e6f7b9e6: Download complete 20:17:33 eaf3925da568: Verifying Checksum 20:17:33 eaf3925da568: Download complete 20:17:33 339a4e72a1f5: Verifying Checksum 20:17:33 339a4e72a1f5: Download complete 20:17:33 bde34c3a00c8: Verifying Checksum 20:17:33 bde34c3a00c8: Download complete 20:17:33 b352a97aabf1: Verifying Checksum 20:17:33 4872d77fe225: Verifying Checksum 20:17:33 4872d77fe225: Download complete 20:17:33 5851b861e8e6: Verifying Checksum 20:17:33 5851b861e8e6: Download complete 20:17:33 b85a868b505f: Verifying Checksum 20:17:33 b85a868b505f: Download complete 20:17:33 bab4dde63d76: Verifying Checksum 20:17:33 bab4dde63d76: Download complete 20:17:34 b85a868b505f: Pull complete 20:17:34 e2be974225ed: Pull complete 20:17:35 339a4e72a1f5: Pull complete 20:17:35 988bab9f4d93: Pull complete 20:17:35 1469e6f7b9e6: Pull complete 20:17:35 eaf3925da568: Pull complete 20:17:37 bab4dde63d76: Pull complete 20:17:37 bde34c3a00c8: Pull complete 20:17:37 b352a97aabf1: Pull complete 20:17:37 4872d77fe225: Pull complete 20:17:37 5851b861e8e6: Pull complete 20:17:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:17:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:38 prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container 20:17:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@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:17:39 $ docker top 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c -eo pid,comm 20:17:39 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:17:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:39 [ssh-agent] Looking for ssh-agent implementation... 20:17:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:39 $ docker exec 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent 20:17:39 SSH_AUTH_SOCK=/tmp/ssh-5TxFbZ6cMkyH/agent.32 20:17:39 SSH_AGENT_PID=38 20:17:39 Running ssh-add (command line suppressed) 20:17:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_9418604005986543664.key (/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_9418604005986543664.key) 20:17:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:40 + git tag --points-at HEAD [Pipeline] } 20:17:40 $ docker exec --env ******** --env ******** 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent -k 20:17:40 unset SSH_AUTH_SOCK; 20:17:40 unset SSH_AGENT_PID; 20:17:40 echo Agent pid 38 killed; 20:17:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:17:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:40 [ssh-agent] Looking for ssh-agent implementation... 20:17:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:40 $ docker exec 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent 20:17:40 SSH_AUTH_SOCK=/tmp/ssh-wn41EuOjC6aE/agent.72 20:17:40 SSH_AGENT_PID=78 20:17:40 Running ssh-add (command line suppressed) 20:17:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_16035880454972480796.key (/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/private_key_16035880454972480796.key) 20:17:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:41 + git semver init 20:17:41 2024-10-02 20:17:41,417 [run_init] DEBUG init version:0.0.0 force:False 20:17:41 2024-10-02 20:17:41,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver 20:17:41 2024-10-02 20:17:41,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-412/.semver 20:17:41 2024-10-02 20:17:41,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-412/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412, universal_newlines=False, shell=None, istream=None) 20:17:42 2024-10-02 20:17:42,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-412/.git/info/exclude 20:17:42 2024-10-02 20:17:42,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 with force:False 20:17:42 2024-10-02 20:17:42,534 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 20:17:42 2024-10-02 20:17:42,538 [execute] INFO git cat-file --batch-check 20:17:42 2024-10-02 20:17:42,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 20:17:42 2024-10-02 20:17:42,546 [execute] INFO git cat-file --batch 20:17:42 2024-10-02 20:17:42,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 20:17:42 2024-10-02 20:17:42,552 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-412/.semver/PR-412 20:17:42 0.0.0 [Pipeline] } 20:17:42 $ docker exec --env ******** --env ******** 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c ssh-agent -k 20:17:43 unset SSH_AUTH_SOCK; 20:17:43 unset SSH_AGENT_PID; 20:17:43 echo Agent pid 78 killed; 20:17:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:43 + git semver [Pipeline] } 20:17:43 $ docker stop --time=1 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c 20:17:45 $ docker rm -f --volumes 00960e660d6801991f19e5a0e7f0be5e0bde84ccd0bdd954c5fefe1ac14b646c [Pipeline] // withDockerContainer [Pipeline] sh 20:17:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:17:45 Stashed 1 file(s) [Pipeline] echo 20:17:45 [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:17:46 provisioning config files... 20:17:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config10396796547823436286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:47 ---> ****-login.sh 20:17:47 nexus3.edgexfoundry.org:10001 20:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 nexus3.edgexfoundry.org:10002 20:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 nexus3.edgexfoundry.org:10003 20:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 nexus3.edgexfoundry.org:10004 20:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 ****.io 20:17:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:47 Configure a credential helper to remove this warning. See 20:17:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:47 20:17:47 Login Succeeded 20:17:47 ---> ****-login.sh ends [Pipeline] } 20:17:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:17:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:17:47 ========================================================= 20:17:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:17:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:48 + 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:17:48 Sending build context to Docker daemon 16.6MB 20:17:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:17:48 Step 2/12 : FROM ${BASE} AS builder 20:17:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:17:48 619be1103602: Pulling fs layer 20:17:48 7862e08f4a3e: Pulling fs layer 20:17:48 5df492c9dc93: Pulling fs layer 20:17:48 7629e6793208: Pulling fs layer 20:17:48 4f4fb700ef54: Pulling fs layer 20:17:48 fb5054dd5b73: Pulling fs layer 20:17:48 eeca6798cff9: Pulling fs layer 20:17:48 aa269ceb94a6: Pulling fs layer 20:17:48 ada007ff1a6a: Pulling fs layer 20:17:48 eeca6798cff9: Waiting 20:17:48 7629e6793208: Waiting 20:17:48 aa269ceb94a6: Waiting 20:17:48 4f4fb700ef54: Waiting 20:17:48 fb5054dd5b73: Waiting 20:17:48 ada007ff1a6a: Waiting 20:17:48 7862e08f4a3e: Download complete 20:17:48 7629e6793208: Verifying Checksum 20:17:48 7629e6793208: Download complete 20:17:48 4f4fb700ef54: Verifying Checksum 20:17:48 4f4fb700ef54: Download complete 20:17:48 fb5054dd5b73: Verifying Checksum 20:17:48 fb5054dd5b73: Download complete 20:17:48 619be1103602: Verifying Checksum 20:17:48 619be1103602: Download complete 20:17:48 eeca6798cff9: Verifying Checksum 20:17:48 eeca6798cff9: Download complete 20:17:48 619be1103602: Pull complete 20:17:48 ada007ff1a6a: Verifying Checksum 20:17:48 ada007ff1a6a: Download complete 20:17:48 7862e08f4a3e: Pull complete 20:17:48 5df492c9dc93: Download complete 20:17:49 aa269ceb94a6: Verifying Checksum 20:17:49 aa269ceb94a6: Download complete 20:17:52 5df492c9dc93: Pull complete 20:17:52 7629e6793208: Pull complete 20:17:52 4f4fb700ef54: Pull complete 20:17:52 fb5054dd5b73: Pull complete 20:17:52 eeca6798cff9: Pull complete 20:17:54 aa269ceb94a6: Pull complete 20:17:54 ada007ff1a6a: Pull complete 20:17:54 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:17:54 ---> f489d0715acc 20:17:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:17:56 ---> Running in 049d4bc3d351 20:17:56 Removing intermediate container 049d4bc3d351 20:17:56 ---> 1b864445446e 20:17:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:56 ---> Running in bda4bd8b75c8 20:17:56 Removing intermediate container bda4bd8b75c8 20:17:56 ---> a0d98b96ddcf 20:17:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:56 ---> Running in f3b03a2750d6 20:17:56 Removing intermediate container f3b03a2750d6 20:17:56 ---> bef320c78a33 20:17:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:17:56 ---> Running in 3551a9dfbe7d 20:17:56 Removing intermediate container 3551a9dfbe7d 20:17:56 ---> 8ac0b08d49a2 20:17:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:56 ---> Running in 15f1497acae6 20:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:17:57 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:17:57 (2/4) Installing libedit (20221030.3.1-r1) 20:17:57 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:17:57 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:17:57 Executing busybox-1.36.1-r5.trigger 20:17:57 OK: 268 MiB in 56 packages 20:17:57 Removing intermediate container 15f1497acae6 20:17:57 ---> 960210543d19 20:17:57 Step 8/12 : WORKDIR /device-rest-go 20:17:57 ---> Running in 345f8657b859 20:17:57 Removing intermediate container 345f8657b859 20:17:57 ---> 91fbcd766fe1 20:17:57 Step 9/12 : COPY go.mod vendor* ./ 20:17:57 ---> 03865e37e313 20:17:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:58 ---> Running in e0ac96090b09 20:18:01 Still waiting to schedule task 20:18:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:18:36 Removing intermediate container e0ac96090b09 20:18:36 ---> 0c8e995c4fa3 20:18:36 Step 11/12 : COPY . . 20:18:36 ---> e615ee579c31 20:18:36 Step 12/12 : RUN $MAKE 20:18:36 ---> Running in 84dcaf8b8401 20:18:36 noop 20:18:36 Removing intermediate container 84dcaf8b8401 20:18:36 ---> b645f33eef25 20:18:36 Successfully built b645f33eef25 20:18:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:37 + docker inspect -f . ci-base-image-x86_64 20:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:37 prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container 20:18:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@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:18:37 $ docker top 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:38 + go version 20:18:38 go version go1.21.9 linux/amd64 [Pipeline] } 20:18:38 $ docker stop --time=1 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 20:18:39 $ docker rm -f --volumes 17766ca43a75d4723d0fdcdb6b549b4f3cef4a3110b868039338d4a8389a8222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:40 + docker inspect -f . ci-base-image-x86_64 20:18:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:40 prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container 20:18:40 $ 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-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@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:18:40 $ docker top 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:41 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-412 [Pipeline] fileExists [Pipeline] sh 20:18:41 + make test 20:18:41 go test ./... -coverprofile=coverage.out ./... 20:18:43 ? github.com/edgexfoundry/device-rest-go [no test files] 20:19:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:19:01 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 20:19:07 go vet ./... 20:19:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:12 ./bin/test-attribution-txt.sh 20:19:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:19:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:19:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:19:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:19:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:19:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:19:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:19:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:19:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:19:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:19:12 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add 20:19:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:19:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:19:13 $ docker stop --time=1 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 20:19:15 $ docker rm -f --volumes 388263834c84052f246a36e7302e66b6cab42776e70349fd861e4f8799231ca3 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:19:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:17 + ls -al . 20:19:17 total 248 20:19:17 drwxrwxr-x 9 jenkins jenkins 4096 Oct 2 20:18 . 20:19:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:17 .. 20:19:17 -rw-rw-r-- 1 jenkins jenkins 151 Oct 2 20:17 .dockerignore 20:19:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:18 .git 20:19:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 .github 20:19:17 -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 20:17 .gitignore 20:19:17 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 20:17 .golangci.yml 20:19:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:17 .semver 20:19:17 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 2 20:17 Attribution.txt 20:19:17 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 2 20:17 CHANGELOG.md 20:19:17 -rw-rw-r-- 1 jenkins jenkins 1687 Oct 2 20:17 Dockerfile 20:19:17 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 20:17 GOVERNANCE.md 20:19:17 -rw-rw-r-- 1 jenkins jenkins 680 Oct 2 20:17 Jenkinsfile 20:19:17 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 20:17 LICENSE 20:19:17 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 2 20:17 Makefile 20:19:17 -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 20:17 OWNERS.md 20:19:17 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 2 20:17 README.md 20:19:17 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 20:17 VERSION 20:19:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:17 bin 20:19:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 cmd 20:19:17 -rw-r--r-- 1 jenkins jenkins 14499 Oct 2 20:18 coverage.out 20:19:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:17 driver 20:19:17 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 2 20:17 go.mod 20:19:17 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 20:17 go.sum 20:19:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:17 openapi 20:19:17 -rw-rw-r-- 1 jenkins jenkins 713 Oct 2 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:17 + 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=ec55248e5e01078cd56faecef1527e23b9a3c47b --label arch=amd64 --label version=0.0.0 . 20:19:17 Sending build context to Docker daemon 16.61MB 20:19:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:19:17 Step 2/26 : FROM ${BASE} AS builder 20:19:17 ---> b645f33eef25 20:19:17 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:19:17 ---> Running in 2ee928c08938 20:19:17 Removing intermediate container 2ee928c08938 20:19:17 ---> 64d28d92b816 20:19:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:17 ---> Running in e76a9c8ee889 20:19:17 Removing intermediate container e76a9c8ee889 20:19:17 ---> 9fd99bb1ee4d 20:19:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:17 ---> Running in 2aa0333464a2 20:19:17 Removing intermediate container 2aa0333464a2 20:19:17 ---> 5467fa990c23 20:19:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:19:17 ---> Running in 34d95d5881e5 20:19:17 Removing intermediate container 34d95d5881e5 20:19:17 ---> 75134286d041 20:19:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:17 ---> Running in b3780ff33527 20:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:19:18 OK: 268 MiB in 56 packages 20:19:18 Removing intermediate container b3780ff33527 20:19:18 ---> 0b56e0dc47e5 20:19:18 Step 8/26 : WORKDIR /device-rest-go 20:19:18 ---> Running in c771825485a8 20:19:18 Removing intermediate container c771825485a8 20:19:18 ---> 76ac007c30fb 20:19:18 Step 9/26 : COPY go.mod vendor* ./ 20:19:18 ---> c661709617b9 20:19:18 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:18 ---> Running in bb09c5c6d137 20:19:19 Removing intermediate container bb09c5c6d137 20:19:19 ---> 13f822225efc 20:19:19 Step 11/26 : COPY . . 20:19:19 ---> 91a885e3c7e4 20:19:19 Step 12/26 : RUN $MAKE 20:19:19 ---> Running in 99ca7c65d93a 20:19:20 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.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:19:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13039 in /w/workspace/gexfoundry_device-rest-go_PR-412 [Pipeline] { [Pipeline] ws 20:19:43 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:19:46 The recommended git tool is: git 20:19:46 Removing intermediate container 99ca7c65d93a 20:19:46 ---> 3376729fd4bc 20:19:46 Step 13/26 : FROM alpine:3.18 20:19:46 3.18: Pulling from library/alpine 20:19:46 1cc3d825d8b2: Pulling fs layer 20:19:46 1cc3d825d8b2: Verifying Checksum 20:19:46 1cc3d825d8b2: Download complete 20:19:46 1cc3d825d8b2: Pull complete 20:19:46 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 20:19:46 Status: Downloaded newer image for alpine:3.18 20:19:46 ---> 2c64cf60f6f0 20:19:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:19:46 ---> Running in b0e4dbcc3a1d 20:19:46 Removing intermediate container b0e4dbcc3a1d 20:19:46 ---> 47c76cd4c098 20:19:46 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:19:46 ---> Running in 9e3f2b7c7dcd 20:19:46 Removing intermediate container 9e3f2b7c7dcd 20:19:46 ---> 442b72c39a41 20:19:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:19:46 ---> Running in 74da208e3c42 20:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:19:46 (1/1) Installing dumb-init (1.2.5-r2) 20:19:46 Executing busybox-1.36.1-r7.trigger 20:19:46 OK: 7 MiB in 16 packages 20:19:46 Removing intermediate container 74da208e3c42 20:19:46 ---> e355cc335842 20:19:46 Step 17/26 : RUN apk --no-cache upgrade 20:19:46 ---> Running in da9a71db5500 20:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:19:46 OK: 7 MiB in 16 packages 20:19:46 Removing intermediate container da9a71db5500 20:19:46 ---> 5bbacb82f82d 20:19:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:19:47 ---> 233ba474f102 20:19:47 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:19:47 ---> 86cf85e6ca2a 20:19:47 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:19:47 ---> e7bfb63ad4a3 20:19:47 Step 21/26 : EXPOSE 59986 20:19:47 ---> Running in da5058332942 20:19:47 Removing intermediate container da5058332942 20:19:47 ---> 0c48cad20d9f 20:19:47 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:19:47 ---> Running in 1e29f72efed0 20:19:47 Removing intermediate container 1e29f72efed0 20:19:47 ---> 6b2d52e0afd8 20:19:47 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:19:47 ---> Running in c5a396595450 20:19:47 Removing intermediate container c5a396595450 20:19:47 ---> ab18db825cff 20:19:47 Step 24/26 : LABEL arch=amd64 20:19:47 ---> Running in 7de8308bf476 20:19:47 Removing intermediate container 7de8308bf476 20:19:47 ---> 81747eca0a2c 20:19:47 Step 25/26 : LABEL git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b 20:19:47 ---> Running in 9e0bf4b6fb3d 20:19:47 Removing intermediate container 9e0bf4b6fb3d 20:19:47 ---> e69f04efbe4a 20:19:47 Step 26/26 : LABEL version=0.0.0 20:19:47 ---> Running in 335ebb8ae79d 20:19:47 Removing intermediate container 335ebb8ae79d 20:19:47 ---> 41144efb93de 20:19:47 [Warning] One or more build-args [ARCH] were not consumed 20:19:48 Successfully built 41144efb93de 20:19:48 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:49 20:19:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:49 latest: Pulling from edgex-lftools-log-publisher 20:19:49 5eb5b503b376: Pulling fs layer 20:19:49 5c69ac0246d0: Pulling fs layer 20:19:49 ec43610c2a17: Pulling fs layer 20:19:49 3a2ae6a8a46f: Pulling fs layer 20:19:49 33b1e0a273af: Pulling fs layer 20:19:49 5d3b04190fa2: Pulling fs layer 20:19:49 2f39f015ded8: Pulling fs layer 20:19:49 3a2ae6a8a46f: Waiting 20:19:49 33b1e0a273af: Waiting 20:19:49 5d3b04190fa2: Waiting 20:19:49 2f39f015ded8: Waiting 20:19:49 5c69ac0246d0: Download complete 20:19:49 3a2ae6a8a46f: Verifying Checksum 20:19:49 3a2ae6a8a46f: Download complete 20:19:49 33b1e0a273af: Verifying Checksum 20:19:49 33b1e0a273af: Download complete 20:19:49 ec43610c2a17: Verifying Checksum 20:19:49 ec43610c2a17: Download complete 20:19:49 5d3b04190fa2: Download complete 20:19:49 5eb5b503b376: Verifying Checksum 20:19:49 5eb5b503b376: Download complete 20:19:50 2f39f015ded8: Download complete 20:19:51 5eb5b503b376: Pull complete 20:19:51 5c69ac0246d0: Pull complete 20:19:51 ec43610c2a17: Pull complete 20:19:51 3a2ae6a8a46f: Pull complete 20:19:51 33b1e0a273af: Pull complete 20:19:51 5d3b04190fa2: Pull complete 20:19:54 using credential edgex-jenkins-ssh 20:19:54 Cloning the remote Git repository 20:19:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:19:54 > git init /w/workspace/device-rest-go/1 # timeout=10 20:19:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:19:55 > git --version # timeout=10 20:19:55 > git --version # 'git version 2.25.1' 20:19:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:56 2f39f015ded8: Pull complete 20:19:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:56 prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container 20:19:56 $ 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-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@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 20:19:57 $ docker top 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:58 ---> job-cost.sh 20:19:58 lf-activate-venv: SKIPPING 20:19:58 INFO: No Stack... 20:19:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:19:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:19:58 INFO: Archiving Costs [Pipeline] sh 20:19:59 + cat /w/workspace/gexfoundry_device-rest-go_PR-412/archives/cost.csv 20:19:59 + cut -d, -f6 [Pipeline] lock 20:19:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] 20:19:59 Resource [jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] did not exist. Created. 20:19:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:59 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:59 Stashed 1 file(s) [Pipeline] } 20:19:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:59 $ docker stop --time=1 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 20:20:00 Merging remotes/origin/main commit 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 into PR head commit ec55248e5e01078cd56faecef1527e23b9a3c47b 20:19:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:19:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:19:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:19:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:20:00 > git config core.sparsecheckout # timeout=10 20:20:00 Merge succeeded, producing ec55248e5e01078cd56faecef1527e23b9a3c47b 20:20:00 Checking out Revision ec55248e5e01078cd56faecef1527e23b9a3c47b (PR-412) 20:20:01 $ docker rm -f --volumes 6de4c70a3eddb2e994f68c1307f2c2b369418cc34b5d719e35323cad19a727e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 20:20:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] } [Pipeline] // withEnv 20:20:01 > git --version # timeout=10 20:20:01 > git --version # 'git version 2.25.1' 20:20:01 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] } 20:20:00 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 20:20:00 > git remote # timeout=10 20:20:00 > git config --get remote.origin.url # timeout=10 20:20:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:20:00 > git merge 735057a7c94bd8014c6d5a0aa5fc09c6f3c7e869 # timeout=10 20:20:00 > git rev-parse HEAD^{commit} # timeout=10 20:20:00 > git config core.sparsecheckout # timeout=10 20:20:00 > git checkout -f ec55248e5e01078cd56faecef1527e23b9a3c47b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:20:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:20:06 % Total % Received % Xferd Average Speed Time Time Time Current 20:20:06 Dload Upload Total Spent Left Speed 20:20:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 20:20:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:20:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:20:07 + sudo tee /etc/docker/daemon.new 20:20:07 { 20:20:07 "registry-mirrors": [ 20:20:07 "https://nexus3.edgexfoundry.org:10001" 20:20:07 ], 20:20:07 "bip": "10.250.0.254/24", 20:20:07 "hosts": [ 20:20:07 "tcp://0.0.0.0:5555", 20:20:07 "unix:///var/run/docker.sock" 20:20:07 ], 20:20:07 "mtu": 1458, 20:20:07 "selinux-enabled": true, 20:20:07 "seccomp-profile": "/etc/docker/seccomp.json" 20:20:07 } [Pipeline] sh 20:20:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:20:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:26 provisioning config files... 20:20:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2271141129101486336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:26 ---> ****-login.sh 20:20:26 nexus3.edgexfoundry.org:10001 20:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:27 Configure a credential helper to remove this warning. See 20:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:27 20:20:27 Login Succeeded 20:20:27 nexus3.edgexfoundry.org:10002 20:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:27 Configure a credential helper to remove this warning. See 20:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:27 20:20:27 Login Succeeded 20:20:27 nexus3.edgexfoundry.org:10003 20:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:27 Configure a credential helper to remove this warning. See 20:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:27 20:20:27 Login Succeeded 20:20:28 nexus3.edgexfoundry.org:10004 20:20:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:28 Configure a credential helper to remove this warning. See 20:20:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:28 20:20:28 Login Succeeded 20:20:28 ****.io 20:20:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:20:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:20:28 Configure a credential helper to remove this warning. See 20:20:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:20:28 20:20:28 Login Succeeded 20:20:28 ---> ****-login.sh ends [Pipeline] } 20:20:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:20:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:20:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:20:29 ========================================================= 20:20:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:20:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:29 + 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 . 20:20:29 Sending build context to Docker daemon 130.6kB 20:20:30 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:20:30 Step 2/12 : FROM ${BASE} AS builder 20:20:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:20:30 c6b39de5b339: Pulling fs layer 20:20:30 a69c41024577: Pulling fs layer 20:20:30 d6de4b400683: Pulling fs layer 20:20:30 35cb2a7552d0: Pulling fs layer 20:20:30 4f4fb700ef54: Pulling fs layer 20:20:30 464afbd9ba4c: Pulling fs layer 20:20:30 00f215d4a9da: Pulling fs layer 20:20:30 d496ad576159: Pulling fs layer 20:20:30 35cb2a7552d0: Waiting 20:20:30 00f215d4a9da: Waiting 20:20:30 d496ad576159: Waiting 20:20:30 4f4fb700ef54: Waiting 20:20:30 464afbd9ba4c: Waiting 20:20:30 a69c41024577: Verifying Checksum 20:20:30 a69c41024577: Download complete 20:20:30 35cb2a7552d0: Verifying Checksum 20:20:30 35cb2a7552d0: Download complete 20:20:30 4f4fb700ef54: Verifying Checksum 20:20:30 4f4fb700ef54: Download complete 20:20:30 c6b39de5b339: Download complete 20:20:30 464afbd9ba4c: Verifying Checksum 20:20:30 464afbd9ba4c: Download complete 20:20:30 d496ad576159: Verifying Checksum 20:20:30 d496ad576159: Download complete 20:20:31 c6b39de5b339: Pull complete 20:20:31 a69c41024577: Pull complete 20:20:32 d6de4b400683: Verifying Checksum 20:20:32 d6de4b400683: Download complete 20:20:33 00f215d4a9da: Verifying Checksum 20:20:33 00f215d4a9da: Download complete 20:20:45 d6de4b400683: Pull complete 20:20:45 35cb2a7552d0: Pull complete 20:20:45 4f4fb700ef54: Pull complete 20:20:45 464afbd9ba4c: Pull complete 20:20:54 00f215d4a9da: Pull complete 20:20:55 d496ad576159: Pull complete 20:20:55 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:20:55 ---> f246e2811388 20:20:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:20:57 ---> Running in 6ccaf245646a 20:20:57 Removing intermediate container 6ccaf245646a 20:20:57 ---> 0d446d69c3bd 20:20:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:57 ---> Running in c8acf5dafda8 20:20:58 Removing intermediate container c8acf5dafda8 20:20:58 ---> 17e96bb8a453 20:20:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:20:58 ---> Running in 52718f2dde47 20:20:58 Removing intermediate container 52718f2dde47 20:20:58 ---> ce1ed7d28fd4 20:20:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:20:58 ---> Running in 20767aeaf474 20:20:58 Removing intermediate container 20767aeaf474 20:20:58 ---> da03a2b734dd 20:20:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:58 ---> Running in 70e08137be30 20:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:21:01 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:21:01 (2/4) Installing libedit (20221030.3.1-r1) 20:21:01 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:21:01 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:21:01 Executing busybox-1.36.1-r5.trigger 20:21:01 OK: 271 MiB in 56 packages 20:21:02 Removing intermediate container 70e08137be30 20:21:02 ---> 9a9244e86d6f 20:21:02 Step 8/12 : WORKDIR /device-rest-go 20:21:02 ---> Running in c8a30ffb3205 20:21:03 Removing intermediate container c8a30ffb3205 20:21:03 ---> db238f209e04 20:21:03 Step 9/12 : COPY go.mod vendor* ./ 20:21:04 ---> ddb2db6b2b13 20:21:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:04 ---> Running in fe04d19b0a00 20:22:56 Removing intermediate container fe04d19b0a00 20:22:56 ---> b5b4bb9ef655 20:22:56 Step 11/12 : COPY . . 20:22:56 ---> 5ff31639d111 20:22:56 Step 12/12 : RUN $MAKE 20:22:56 ---> Running in 9931a9742446 20:22:56 noop 20:22:56 Removing intermediate container 9931a9742446 20:22:56 ---> efdee5c9385a 20:22:56 Successfully built efdee5c9385a 20:22:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:57 + docker inspect -f . ci-base-image-arm64 20:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container 20:22:57 $ 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 20:22:58 $ docker top 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:59 + go version 20:22:59 go version go1.21.9 linux/arm64 [Pipeline] } 20:22:59 $ docker stop --time=1 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 20:23:01 $ docker rm -f --volumes 1ba1b9bec4f25728b6ee3759f83878b9ff4fabbf4623206cc3ccab5f1f241d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:02 + docker inspect -f . ci-base-image-arm64 20:23:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:02 prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container 20:23:02 $ 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 20:23:03 $ docker top e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:04 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:23:05 + make test 20:23:05 go test ./... -coverprofile=coverage.out ./... 20:23:12 ? github.com/edgexfoundry/device-rest-go [no test files] 20:26:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:26:33 ok github.com/edgexfoundry/device-rest-go/driver 0.039s coverage: 33.2% of statements 20:26:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:26:33 go vet ./... 20:27:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:27:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:27:12 ./bin/test-attribution-txt.sh 20:27:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:27:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:27:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:27:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:27:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:27:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:27:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:27:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:27:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:27:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:27:12 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add 20:27:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:27:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:27:12 $ docker stop --time=1 e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f 20:27:14 $ docker rm -f --volumes e207e33b2b0df805fbbd5e9a7fac071d0614dce3f12dd24cc2142bd2eceb434f [Pipeline] // withDockerContainer [Pipeline] sh 20:27:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:27:16 Warning: overwriting stash ‘coverage-report’ 20:27:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:27:17 + ls -al . 20:27:17 total 244 20:27:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:23 . 20:27:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 20:19 .. 20:27:17 -rw-rw-r-- 1 jenkins jenkins 151 Oct 2 20:20 .dockerignore 20:27:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 20:20 .git 20:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 .github 20:27:17 -rw-rw-r-- 1 jenkins jenkins 264 Oct 2 20:20 .gitignore 20:27:17 -rw-rw-r-- 1 jenkins jenkins 41 Oct 2 20:20 .golangci.yml 20:27:17 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 2 20:20 Attribution.txt 20:27:17 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 2 20:20 CHANGELOG.md 20:27:17 -rw-rw-r-- 1 jenkins jenkins 1687 Oct 2 20:20 Dockerfile 20:27:17 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 20:20 GOVERNANCE.md 20:27:17 -rw-rw-r-- 1 jenkins jenkins 680 Oct 2 20:20 Jenkinsfile 20:27:17 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 2 20:20 LICENSE 20:27:17 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 2 20:20 Makefile 20:27:17 -rw-rw-r-- 1 jenkins jenkins 620 Oct 2 20:20 OWNERS.md 20:27:17 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 2 20:20 README.md 20:27:17 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 20:17 VERSION 20:27:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:20 bin 20:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 cmd 20:27:17 -rw-r--r-- 1 jenkins jenkins 14499 Oct 2 20:26 coverage.out 20:27:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 20:20 driver 20:27:17 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 2 20:20 go.mod 20:27:17 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 2 20:20 go.sum 20:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 20:20 openapi 20:27:17 -rw-rw-r-- 1 jenkins jenkins 713 Oct 2 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:18 + 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=ec55248e5e01078cd56faecef1527e23b9a3c47b --label arch=arm64 --label version=0.0.0 . 20:27:18 Sending build context to Docker daemon 145.9kB 20:27:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:27:18 Step 2/26 : FROM ${BASE} AS builder 20:27:18 ---> efdee5c9385a 20:27:18 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:27:18 ---> Running in 527f897ab90e 20:27:18 Removing intermediate container 527f897ab90e 20:27:18 ---> d3f739a2fb04 20:27:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:18 ---> Running in 7fe504639ab3 20:27:18 Removing intermediate container 7fe504639ab3 20:27:18 ---> 1c4a0fcbce8b 20:27:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:19 ---> Running in 58546ea42ea1 20:27:19 Removing intermediate container 58546ea42ea1 20:27:19 ---> ac733cff19bf 20:27:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:27:19 ---> Running in c6f0b7830885 20:27:19 Removing intermediate container c6f0b7830885 20:27:19 ---> 020fb7e14f78 20:27:19 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:19 ---> Running in 75fbcfc5760b 20:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:27:21 OK: 271 MiB in 56 packages 20:27:22 Removing intermediate container 75fbcfc5760b 20:27:22 ---> cd860159d82b 20:27:22 Step 8/26 : WORKDIR /device-rest-go 20:27:22 ---> Running in bb760821e5cc 20:27:23 Removing intermediate container bb760821e5cc 20:27:23 ---> ecbbaa3962f3 20:27:23 Step 9/26 : COPY go.mod vendor* ./ 20:27:24 ---> 80eb2d3387cf 20:27:24 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:24 ---> Running in e1110b4edfd4 20:27:26 Removing intermediate container e1110b4edfd4 20:27:26 ---> 96fff77bd63a 20:27:26 Step 11/26 : COPY . . 20:27:26 ---> c2c7968eb7f8 20:27:26 Step 12/26 : RUN $MAKE 20:27:26 ---> Running in f107f9a27a46 20:27:27 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.40" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:30:49 Removing intermediate container f107f9a27a46 20:30:49 ---> 29ab8700b0c1 20:30:49 Step 13/26 : FROM alpine:3.18 20:30:49 3.18: Pulling from library/alpine 20:30:49 720f3032cd11: Pulling fs layer 20:30:49 720f3032cd11: Verifying Checksum 20:30:49 720f3032cd11: Download complete 20:30:49 720f3032cd11: Pull complete 20:30:49 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 20:30:49 Status: Downloaded newer image for alpine:3.18 20:30:49 ---> 3e834921e367 20:30:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:30:49 ---> Running in 584ca9952aa6 20:30:49 Removing intermediate container 584ca9952aa6 20:30:49 ---> 480f830ea4d4 20:30:49 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:30:49 ---> Running in 91018c1c9f95 20:30:49 Removing intermediate container 91018c1c9f95 20:30:49 ---> 64d48078534d 20:30:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:30:49 ---> Running in 3d74750b9dec 20:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:30:49 (1/1) Installing dumb-init (1.2.5-r2) 20:30:49 Executing busybox-1.36.1-r7.trigger 20:30:49 OK: 8 MiB in 16 packages 20:30:49 Removing intermediate container 3d74750b9dec 20:30:49 ---> 85c22134f6b9 20:30:49 Step 17/26 : RUN apk --no-cache upgrade 20:30:49 ---> Running in d04876e2fbfc 20:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:30:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:30:51 OK: 8 MiB in 16 packages 20:30:51 Removing intermediate container d04876e2fbfc 20:30:51 ---> 7644ca351faa 20:30:51 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:30:53 ---> d6412f157d00 20:30:53 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:30:53 ---> 1d83d081e39e 20:30:53 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:30:54 ---> c948d6b3b7b0 20:30:54 Step 21/26 : EXPOSE 59986 20:30:54 ---> Running in 7abeb7617cec 20:30:54 Removing intermediate container 7abeb7617cec 20:30:54 ---> fde875e32a63 20:30:54 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:30:55 ---> Running in 735e0dd07cd1 20:30:55 Removing intermediate container 735e0dd07cd1 20:30:55 ---> 2fefd08d5ead 20:30:55 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:30:55 ---> Running in dc42914adbf8 20:30:55 Removing intermediate container dc42914adbf8 20:30:55 ---> f979ba2a8150 20:30:55 Step 24/26 : LABEL arch=arm64 20:30:55 ---> Running in 1324d47f3c21 20:30:56 Removing intermediate container 1324d47f3c21 20:30:56 ---> a6304def8350 20:30:56 Step 25/26 : LABEL git_sha=ec55248e5e01078cd56faecef1527e23b9a3c47b 20:30:56 ---> Running in a3faf8e2747b 20:30:56 Removing intermediate container a3faf8e2747b 20:30:56 ---> 67d63c800631 20:30:56 Step 26/26 : LABEL version=0.0.0 20:30:56 ---> Running in e4344eff8325 20:30:57 Removing intermediate container e4344eff8325 20:30:57 ---> 4bdbb5241f40 20:30:57 [Warning] One or more build-args [ARCH] were not consumed 20:30:57 Successfully built 4bdbb5241f40 20:30:57 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 20:30:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:58 20:30:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:59 arm64: Pulling from edgex-lftools-log-publisher 20:30:59 8998bd30e6a1: Pulling fs layer 20:30:59 04944245beec: Pulling fs layer 20:30:59 699f458cf7ca: Pulling fs layer 20:30:59 765212b225bb: Pulling fs layer 20:30:59 f23df028b6ca: Pulling fs layer 20:30:59 d65c8cfc05b1: Pulling fs layer 20:30:59 2437ff75d9bd: Pulling fs layer 20:30:59 765212b225bb: Waiting 20:30:59 f23df028b6ca: Waiting 20:30:59 d65c8cfc05b1: Waiting 20:30:59 2437ff75d9bd: Waiting 20:30:59 04944245beec: Verifying Checksum 20:30:59 04944245beec: Download complete 20:30:59 765212b225bb: Verifying Checksum 20:30:59 765212b225bb: Download complete 20:30:59 f23df028b6ca: Download complete 20:30:59 d65c8cfc05b1: Download complete 20:30:59 699f458cf7ca: Verifying Checksum 20:30:59 699f458cf7ca: Download complete 20:30:59 8998bd30e6a1: Download complete 20:31:02 2437ff75d9bd: Verifying Checksum 20:31:02 2437ff75d9bd: Download complete 20:31:04 8998bd30e6a1: Pull complete 20:31:04 04944245beec: Pull complete 20:31:06 699f458cf7ca: Pull complete 20:31:06 765212b225bb: Pull complete 20:31:07 f23df028b6ca: Pull complete 20:31:07 d65c8cfc05b1: Pull complete 20:31:25 2437ff75d9bd: Pull complete 20:31:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:31:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:31:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:26 prd-ubuntu20.04-docker-arm64-4c-16g-13039 does not seem to be running inside a container 20:31:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 20:31:28 $ docker top 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:29 ---> job-cost.sh 20:31:29 lf-activate-venv: SKIPPING 20:31:29 INFO: No Stack... 20:31:29 INFO: Retrieving Pricing Info for: v3-standard-4 20:31:30 INFO: Archiving Costs [Pipeline] sh 20:31:31 + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 20:31:31 [Pipeline] lock 20:31:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] 20:31:31 Resource [jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] did not exist. Created. 20:31:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:31 /w/workspace/device-rest-go/1@tmp/durable-e7094f2b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:31:32 + echo total: 0.10999999940395355 [Pipeline] stash 20:31:32 Warning: overwriting stash ‘stack-cost’ 20:31:32 Stashed 1 file(s) [Pipeline] } 20:31:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:32 $ docker stop --time=1 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 20:31:33 $ docker rm -f --volumes 8d3dea30bb6f7200a77fe225d4c202b8fe5b9a12a4762bebe2d4cd0eace748e3 [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 20:31:35 provisioning config files... 20:31:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config2901243787009913744tmp [Pipeline] { [Pipeline] sh 20:31:35 + set +x 20:31:35 + curl -s https://codecov.io/bash 20:31:35 + bash -s -- 20:31:35 20:31:35 _____ _ 20:31:35 / ____| | | 20:31:35 | | ___ __| | ___ ___ _____ __ 20:31:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:31:35 | |___| (_) | (_| | __/ (_| (_) \ V / 20:31:35 \_____\___/ \__,_|\___|\___\___/ \_/ 20:31:35 Bash-1.0.6 20:31:35 20:31:35 20:31:35 ==> git version 2.25.1 found 20:31:35 ==> 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 20:31:35 Release-Date: 2020-01-08 20:31:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:31:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:31:35 ==> Jenkins CI detected. 20:31:35 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-412 20:31:35 project root: . 20:31:35 --> token set from env 20:31:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:31:35 ==> Running gcov in . (disable via -X gcov) 20:31:35 ==> Python coveragepy not found 20:31:35 ==> Searching for coverage reports in: 20:31:35 + . 20:31:35 -> Found 1 reports 20:31:35 ==> Detecting git/mercurial file structure 20:31:35 ==> Reading reports 20:31:35 + ./coverage.out bytes=14499 20:31:35 ==> Appending adjustments 20:31:35 https://docs.codecov.io/docs/fixing-reports 20:31:35 + Found adjustments 20:31:35 ==> Gzipping contents 20:31:35 4.0K /tmp/codecov.pTwMtC.gz 20:31:35 ==> Uploading reports 20:31:35 url: https://codecov.io 20:31:35 query: branch=PR-412&commit=ec55248e5e01078cd56faecef1527e23b9a3c47b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=412&job=&cmd_args= 20:31:35 -> Pinging Codecov 20:31:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-412&commit=ec55248e5e01078cd56faecef1527e23b9a3c47b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=412&job=&cmd_args= 20:31:36 -> Uploading to 20:31:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/ec55248e5e01078cd56faecef1527e23b9a3c47b/3196e3a6-0592-4e83-925a-cf0a2ac4e781.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T203136Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=cfd168b0696c90d45896d11e0b47be876ff5cc22b26847346bb61bac19b0fb52 20:31:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:36 Dload Upload Total Spent Left Speed 20:31:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8996 --:--:-- --:--:-- --:--:-- 8996 20:31:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ec55248e5e01078cd56faecef1527e23b9a3c47b [Pipeline] } 20:31:36 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 20:31:38 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-412/archives ] 20:31:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-412/archives 20:31:38 total 16 20:31:38 drwxr-xr-x 3 root root 4096 Oct 2 20:19 . 20:31:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 20:19 .. 20:31:38 drwxr-xr-x 2 root root 4096 Oct 2 20:19 cost 20:31:38 -rw-r--r-- 1 root root 86 Oct 2 20:19 cost.csv 20:31:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-412/archives 20:31:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-412/archives 20:31:38 total 16 20:31:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 20:19 . 20:31:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 20:19 .. 20:31:38 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 20:19 cost 20:31:38 -rw-r--r-- 1 jenkins jenkins 86 Oct 2 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:31:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:31:39 ---> package-listing.sh 20:31:39 ++ facter osfamily 20:31:39 ++ tr '[:upper:]' '[:lower:]' 20:31:39 + OS_FAMILY=debian 20:31:39 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-412 20:31:39 + START_PACKAGES=/tmp/packages_start.txt 20:31:39 + END_PACKAGES=/tmp/packages_end.txt 20:31:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:31:39 + PACKAGES=/tmp/packages_start.txt 20:31:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-412 ']' 20:31:39 + PACKAGES=/tmp/packages_end.txt 20:31:39 + case "${OS_FAMILY}" in 20:31:39 + dpkg -l 20:31:39 + grep '^ii' 20:31:40 + '[' -f /tmp/packages_start.txt ']' 20:31:40 + '[' -f /tmp/packages_end.txt ']' 20:31:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:31:40 + '[' /w/workspace/gexfoundry_device-rest-go_PR-412 ']' 20:31:40 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-412/archives/ 20:31:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-412/archives/ [Pipeline] echo 20:31:40 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-412/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:31:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:41 prd-ubuntu20.04-docker-8c-8g-13038 does not seem to be running inside a container 20:31:41 $ 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-412/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-412 -v /w/workspace/gexfoundry_device-rest-go_PR-412:/w/workspace/gexfoundry_device-rest-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-412@tmp:/w/workspace/gexfoundry_device-rest-go_PR-412@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 20:31:41 $ docker top d5ded8149139ea4ae74cfef66a06ca70c63e463d89e58ab3f66f72cef4816363 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:41 + touch /tmp/pre-build-complete [Pipeline] sh 20:31:42 + mkdir -p /var/log/sysstat [Pipeline] sh 20:31:42 + ls /var/log/sa-host 20:31:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:42 provisioning config files... 20:31:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-412@tmp/config6647004486116924772tmp [Pipeline] { [Pipeline] echo 20:31:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:31:43 ---> create-netrc.sh [Pipeline] } 20:31:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:31:43 ---> python-tools-install.sh [Pipeline] echo 20:31:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:31:44 ---> sudo-logs.sh 20:31:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:31:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:31:44 ---> job-cost.sh 20:31:44 lf-activate-venv: SKIPPING 20:31:44 DEBUG: total: 0.2199999988079071 20:31:44 INFO: Retrieving Stack Cost... 20:31:44 INFO: Retrieving Pricing Info for: v3-standard-8 20:31:45 INFO: Archiving Costs [Pipeline] echo 20:31:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:31:45 ---> logs-deploy.sh 20:31:45 lf-activate-venv: SKIPPING 20:31:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-412/1 20:31:45 INFO: archiving workspace using pattern(s): 20:31:46 Archives upload complete. 20:31:46 INFO: archiving logs to Nexus