Pull request #387 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 470f401685a8b376d1efe0d2199b8c2a6f37ff5f+75bc767cd91fa94e23213f88954145bb20b6ca5d (437c5d5c5aacbb6164ee23393db1bf59df29a1b5) 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-ssh3869328726319624493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13558400098048623069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-387/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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6436044188485726102.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-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8268563703440232692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11781826394032126357.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-387/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-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2424876034919018811.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-478’ Running on prd-ubuntu20.04-docker-8c-8g-481 in /w/workspace/gexfoundry_device-rest-go_PR-387 [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-387 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 75bc767cd91fa94e23213f88954145bb20b6ca5d into PR head commit 470f401685a8b376d1efe0d2199b8c2a6f37ff5f Merge succeeded, producing 470f401685a8b376d1efe0d2199b8c2a6f37ff5f Checking out Revision 470f401685a8b376d1efe0d2199b8c2a6f37ff5f (PR-387) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # 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 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:33:34 ========================================================= 20:33:34 EdgeX Global Pipelines Version Info 20:33:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:33:35 ------------------- 20:33:35 stable info: 20:33:35 ------------------- 20:33:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:33:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:33:35 Message: update stable to v1.0.258 20:33:36 ------------------- 20:33:36 experimental info: 20:33:36 ------------------- 20:33:36 Commited By: **** collab-it+edgex@linuxfoundation.org 20:33:36 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:33:36 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:33:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo 20:33:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo 20:33:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo 20:33:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 470f401 [Pipeline] echo 20:33:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:38 provisioning config files... 20:33:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config3579550218749712884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:38 ---> ****-login.sh 20:33:38 nexus3.edgexfoundry.org:10001 20:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:38 Configure a credential helper to remove this warning. See 20:33:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:38 20:33:38 Login Succeeded 20:33:38 nexus3.edgexfoundry.org:10002 20:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:38 Configure a credential helper to remove this warning. See 20:33:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:38 20:33:38 Login Succeeded 20:33:38 nexus3.edgexfoundry.org:10003 20:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:39 Configure a credential helper to remove this warning. See 20:33:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:39 20:33:39 Login Succeeded 20:33:39 nexus3.edgexfoundry.org:10004 20:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:39 Configure a credential helper to remove this warning. See 20:33:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:39 20:33:39 Login Succeeded 20:33:39 ****.io 20:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:39 Configure a credential helper to remove this warning. See 20:33:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:39 20:33:39 Login Succeeded 20:33:39 ---> ****-login.sh ends [Pipeline] } 20:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:33:40 + git rev-list -1 --merges 470f401685a8b376d1efe0d2199b8c2a6f37ff5f~1..470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo 20:33:40 -----------> git rev-list -1 --merges 470f401685a8b376d1efe0d2199b8c2a6f37ff5f~1..470f401685a8b376d1efe0d2199b8c2a6f37ff5f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [false] [Pipeline] sh 20:33:40 + git log --format=format:%s -1 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo 20:33:40 ========================================================= 20:33:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:33:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:41 + git log --format=format:%s -1 470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] echo 20:33:41 [semverPrep] GIT_COMMIT: 470f401685a8b376d1efe0d2199b8c2a6f37ff5f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:33:41 [semverPrep] This is not a build commit. [Pipeline] sh 20:33:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:33:41 + grep -v github /etc/ssh/ssh_known_hosts 20:33:41 + [ -e /tmp/ssh_known_hosts ] 20:33:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:33:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 20:33:41 tee -a /etc/ssh/ssh_known_hosts 20:33:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:42 20:33:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:42 0.1.4: Pulling from edgex-devops/py-git-semver 20:33:42 b85a868b505f: Pulling fs layer 20:33:42 e2be974225ed: Pulling fs layer 20:33:42 339a4e72a1f5: Pulling fs layer 20:33:42 988bab9f4d93: Pulling fs layer 20:33:42 1469e6f7b9e6: Pulling fs layer 20:33:42 eaf3925da568: Pulling fs layer 20:33:42 bab4dde63d76: Pulling fs layer 20:33:42 bde34c3a00c8: Pulling fs layer 20:33:42 b352a97aabf1: Pulling fs layer 20:33:42 4872d77fe225: Pulling fs layer 20:33:42 5851b861e8e6: Pulling fs layer 20:33:42 eaf3925da568: Waiting 20:33:42 b352a97aabf1: Waiting 20:33:42 988bab9f4d93: Waiting 20:33:42 4872d77fe225: Waiting 20:33:42 bab4dde63d76: Waiting 20:33:42 5851b861e8e6: Waiting 20:33:42 bde34c3a00c8: Waiting 20:33:42 1469e6f7b9e6: Waiting 20:33:42 e2be974225ed: Verifying Checksum 20:33:42 e2be974225ed: Download complete 20:33:42 988bab9f4d93: Verifying Checksum 20:33:42 988bab9f4d93: Download complete 20:33:42 1469e6f7b9e6: Verifying Checksum 20:33:42 1469e6f7b9e6: Download complete 20:33:42 339a4e72a1f5: Verifying Checksum 20:33:42 eaf3925da568: Download complete 20:33:42 339a4e72a1f5: Download complete 20:33:42 bde34c3a00c8: Download complete 20:33:42 b352a97aabf1: Download complete 20:33:42 4872d77fe225: Download complete 20:33:42 5851b861e8e6: Verifying Checksum 20:33:42 5851b861e8e6: Download complete 20:33:42 b85a868b505f: Verifying Checksum 20:33:42 b85a868b505f: Download complete 20:33:42 bab4dde63d76: Download complete 20:33:43 b85a868b505f: Pull complete 20:33:44 e2be974225ed: Pull complete 20:33:44 339a4e72a1f5: Pull complete 20:33:44 988bab9f4d93: Pull complete 20:33:45 1469e6f7b9e6: Pull complete 20:33:45 eaf3925da568: Pull complete 20:33:46 bab4dde63d76: Pull complete 20:33:46 bde34c3a00c8: Pull complete 20:33:47 b352a97aabf1: Pull complete 20:33:47 4872d77fe225: Pull complete 20:33:47 5851b861e8e6: Pull complete 20:33:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:33:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:47 prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container 20:33:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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:33:50 $ docker top 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 -eo pid,comm 20:33:50 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:33:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:33:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:50 [ssh-agent] Looking for ssh-agent implementation... 20:33:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:50 $ docker exec 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent 20:33:50 SSH_AUTH_SOCK=/tmp/ssh-LJ7Uzc0lFfuP/agent.32 20:33:50 SSH_AGENT_PID=38 20:33:50 Running ssh-add (command line suppressed) 20:33:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_9831071512695795119.key (/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_9831071512695795119.key) 20:33:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:51 + git tag --points-at HEAD [Pipeline] } 20:33:51 $ docker exec --env ******** --env ******** 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent -k 20:33:51 unset SSH_AUTH_SOCK; 20:33:51 unset SSH_AGENT_PID; 20:33:51 echo Agent pid 38 killed; 20:33:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:33:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:51 [ssh-agent] Looking for ssh-agent implementation... 20:33:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:51 $ docker exec 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent 20:33:51 SSH_AUTH_SOCK=/tmp/ssh-5TpVTGkRvvJH/agent.71 20:33:51 SSH_AGENT_PID=77 20:33:51 Running ssh-add (command line suppressed) 20:33:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_8523436133530320667.key (/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/private_key_8523436133530320667.key) 20:33:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:52 + git semver init 20:33:52 2024-03-20 20:33:52,391 [run_init] DEBUG init version:0.0.0 force:False 20:33:52 2024-03-20 20:33:52,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver 20:33:52 2024-03-20 20:33:52,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-387/.semver 20:33:52 2024-03-20 20:33:52,392 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-387/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387, universal_newlines=False, shell=None, istream=None) 20:33:54 2024-03-20 20:33:53,894 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-387/.git/info/exclude 20:33:54 2024-03-20 20:33:53,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 with force:False 20:33:54 2024-03-20 20:33:53,895 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 20:33:54 2024-03-20 20:33:53,897 [execute] INFO git cat-file --batch-check 20:33:54 2024-03-20 20:33:53,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 20:33:54 2024-03-20 20:33:53,902 [execute] INFO git cat-file --batch 20:33:54 2024-03-20 20:33:53,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) 20:33:54 2024-03-20 20:33:53,907 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-387/.semver/PR-387 20:33:54 0.0.0 [Pipeline] } 20:33:54 $ docker exec --env ******** --env ******** 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 ssh-agent -k 20:33:54 unset SSH_AUTH_SOCK; 20:33:54 unset SSH_AGENT_PID; 20:33:54 echo Agent pid 77 killed; 20:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:33:54 + git semver [Pipeline] } 20:33:55 $ docker stop --time=1 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 20:33:56 $ docker rm -f --volumes 5bae6f4977c167426ae8bbc34c632eb5e885ecdd447b82df672c6456e5fe7035 [Pipeline] // withDockerContainer [Pipeline] sh 20:33:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:33:57 Stashed 1 file(s) [Pipeline] echo 20:33:57 [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:33:57 provisioning config files... 20:33:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config5611197270378419596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:58 ---> ****-login.sh 20:33:58 nexus3.edgexfoundry.org:10001 20:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:58 Configure a credential helper to remove this warning. See 20:33:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:58 20:33:58 Login Succeeded 20:33:58 nexus3.edgexfoundry.org:10002 20:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:58 Configure a credential helper to remove this warning. See 20:33:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:58 20:33:58 Login Succeeded 20:33:58 nexus3.edgexfoundry.org:10003 20:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:58 Configure a credential helper to remove this warning. See 20:33:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:58 20:33:58 Login Succeeded 20:33:58 nexus3.edgexfoundry.org:10004 20:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:58 Configure a credential helper to remove this warning. See 20:33:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:58 20:33:58 Login Succeeded 20:33:58 ****.io 20:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:59 Configure a credential helper to remove this warning. See 20:33:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:59 20:33:59 Login Succeeded 20:33:59 ---> ****-login.sh ends [Pipeline] } 20:33:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:33:59 ========================================================= 20:33:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:33:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:59 + 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:33:59 Sending build context to Docker daemon 16.36MB 20:33:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:33:59 Step 2/12 : FROM ${BASE} AS builder 20:33:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:33:59 7264a8db6415: Pulling fs layer 20:33:59 c4d48a809fc2: Pulling fs layer 20:33:59 4f1c88b9dad5: Pulling fs layer 20:33:59 ad3a456e5733: Pulling fs layer 20:33:59 69c7f0334f64: Pulling fs layer 20:33:59 1f1c1a5573a3: Pulling fs layer 20:33:59 ce7588e14bc9: Pulling fs layer 20:33:59 b5e4710f87ac: Pulling fs layer 20:33:59 ad3a456e5733: Waiting 20:33:59 69c7f0334f64: Waiting 20:33:59 1f1c1a5573a3: Waiting 20:33:59 ce7588e14bc9: Waiting 20:33:59 b5e4710f87ac: Waiting 20:34:00 c4d48a809fc2: Download complete 20:34:00 ad3a456e5733: Download complete 20:34:00 69c7f0334f64: Verifying Checksum 20:34:00 69c7f0334f64: Download complete 20:34:00 7264a8db6415: Verifying Checksum 20:34:00 7264a8db6415: Download complete 20:34:00 1f1c1a5573a3: Verifying Checksum 20:34:00 1f1c1a5573a3: Download complete 20:34:00 7264a8db6415: Pull complete 20:34:00 b5e4710f87ac: Verifying Checksum 20:34:00 b5e4710f87ac: Download complete 20:34:00 c4d48a809fc2: Pull complete 20:34:00 4f1c88b9dad5: Verifying Checksum 20:34:00 4f1c88b9dad5: Download complete 20:34:00 ce7588e14bc9: Verifying Checksum 20:34:00 ce7588e14bc9: Download complete 20:34:04 4f1c88b9dad5: Pull complete 20:34:04 ad3a456e5733: Pull complete 20:34:04 69c7f0334f64: Pull complete 20:34:04 1f1c1a5573a3: Pull complete 20:34:06 ce7588e14bc9: Pull complete 20:34:07 b5e4710f87ac: Pull complete 20:34:07 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:34:07 ---> 88b5674ff536 20:34:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:34:11 ---> Running in eabfe1f8bd60 20:34:11 Removing intermediate container eabfe1f8bd60 20:34:11 ---> 50a3ca2de06a 20:34:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:11 ---> Running in 05bb36469438 20:34:11 Removing intermediate container 05bb36469438 20:34:11 ---> 9a5e06ca2e33 20:34:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:34:11 ---> Running in aa7541fc5efc 20:34:11 Removing intermediate container aa7541fc5efc 20:34:11 ---> 085d84117a37 20:34:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:34:11 ---> Running in f3c96b07704c 20:34:11 Removing intermediate container f3c96b07704c 20:34:11 ---> ec74f17e4034 20:34:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:11 ---> Running in f9cf59eaf767 20:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:34:12 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:34:12 (2/4) Installing libedit (20221030.3.1-r1) 20:34:12 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:34:12 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:34:12 Executing busybox-1.36.1-r5.trigger 20:34:12 OK: 268 MiB in 56 packages 20:34:12 Removing intermediate container f9cf59eaf767 20:34:12 ---> 7ab09d6cb95c 20:34:12 Step 8/12 : WORKDIR /device-rest-go 20:34:12 ---> Running in f77b9f2068ee 20:34:12 Removing intermediate container f77b9f2068ee 20:34:12 ---> aa09b4057adc 20:34:12 Step 9/12 : COPY go.mod vendor* ./ 20:34:12 Still waiting to schedule task 20:34:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:34:12 ---> b04430d51f6f 20:34:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:12 ---> Running in 358b7478ff2e 20:35:13 Removing intermediate container 358b7478ff2e 20:35:13 ---> 1f5cbe7b230d 20:35:13 Step 11/12 : COPY . . 20:35:13 ---> 777641ad2dc6 20:35:13 Step 12/12 : RUN $MAKE 20:35:13 ---> Running in e6f4a46a28c0 20:35:13 noop 20:35:13 Removing intermediate container e6f4a46a28c0 20:35:13 ---> b6fd91b5e1bc 20:35:13 Successfully built b6fd91b5e1bc 20:35:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:13 + docker inspect -f . ci-base-image-x86_64 20:35:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:14 prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container 20:35:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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:35:14 $ docker top e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:14 + go version 20:35:14 go version go1.21.0 linux/amd64 [Pipeline] } 20:35:14 $ docker stop --time=1 e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 20:35:16 $ docker rm -f --volumes e0da97db6107c545b5f33bc212095f1e7f6d322fb3f8c8511ca02723777bcab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:16 + docker inspect -f . ci-base-image-x86_64 20:35:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:17 prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container 20:35:17 $ 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-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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:35:17 $ docker top cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-387 [Pipeline] fileExists [Pipeline] sh 20:35:18 + make test 20:35:18 go test ./... -coverprofile=coverage.out ./... 20:35:20 ? github.com/edgexfoundry/device-rest-go [no test files] 20:35:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:35:38 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 20:35:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-483 in /w/workspace/gexfoundry_device-rest-go_PR-387 [Pipeline] { [Pipeline] ws 20:35:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:35:44 go vet ./... 20:35:47 The recommended git tool is: git 20:35:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:49 ./bin/test-attribution-txt.sh 20:35:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:35:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:35:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:35:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:35:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:35:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:35:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:35:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:35:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:35:49 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 20:35:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:35:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:35:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:35:50 $ docker stop --time=1 cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 20:35:52 using credential edgex-jenkins-ssh 20:35:52 Cloning the remote Git repository 20:35:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:35:52 > git init /w/workspace/device-rest-go/1 # timeout=10 20:35:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:35:52 > git --version # timeout=10 20:35:52 > git --version # 'git version 2.25.1' 20:35:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:54 $ docker rm -f --volumes cdd8635329acc87a7cd4b66c543dc69de5ba118f5353cc08726dc30e37a8daf3 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:35:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:35:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:35:56 + ls -al . 20:35:56 total 248 20:35:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 20:35 . 20:35:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:33 .. 20:35:56 -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 20:33 .dockerignore 20:35:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:35 .git 20:35:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 .github 20:35:56 -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 20:33 .gitignore 20:35:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 20:33 .golangci.yml 20:35:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:33 .semver 20:35:56 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 20:33 Attribution.txt 20:35:56 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 20:33 CHANGELOG.md 20:35:56 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 20:33 Dockerfile 20:35:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:33 GOVERNANCE.md 20:35:56 -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 20:33 Jenkinsfile 20:35:56 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 20:33 LICENSE 20:35:56 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 20:33 Makefile 20:35:56 -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 20:33 OWNERS.md 20:35:56 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 20:33 README.md 20:35:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:33 VERSION 20:35:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:33 bin 20:35:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 cmd 20:35:56 -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 20:35 coverage.out 20:35:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:33 driver 20:35:56 -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 20:33 go.mod 20:35:56 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 20:33 go.sum 20:35:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:33 openapi 20:35:56 -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:56 + 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=470f401685a8b376d1efe0d2199b8c2a6f37ff5f --label arch=amd64 --label version=0.0.0 . 20:35:56 Sending build context to Docker daemon 16.38MB 20:35:56 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:35:56 Step 2/26 : FROM ${BASE} AS builder 20:35:56 ---> b6fd91b5e1bc 20:35:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:35:56 Merging remotes/origin/main commit 75bc767cd91fa94e23213f88954145bb20b6ca5d into PR head commit 470f401685a8b376d1efe0d2199b8c2a6f37ff5f 20:35:56 ---> Running in d6a772824633 20:35:57 Merge succeeded, producing 470f401685a8b376d1efe0d2199b8c2a6f37ff5f 20:35:57 Checking out Revision 470f401685a8b376d1efe0d2199b8c2a6f37ff5f (PR-387) 20:35:57 Removing intermediate container d6a772824633 20:35:57 ---> e94db308e61b 20:35:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:57 ---> Running in 80ec4ba146b8 20:35:57 Removing intermediate container 80ec4ba146b8 20:35:57 ---> 8fd2a550fdb2 20:35:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:35:57 ---> Running in dfa3d2bc50ae 20:35:57 Removing intermediate container dfa3d2bc50ae 20:35:57 ---> 1f3cff992e67 20:35:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:35:57 ---> Running in 764eb17d449c 20:35:57 Removing intermediate container 764eb17d449c 20:35:57 ---> 1487bcb162ac 20:35:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:57 ---> Running in 564e3fb8c27d 20:35:57 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:35:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:35:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:35:56 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:35:56 > git config core.sparsecheckout # timeout=10 20:35:56 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 20:35:56 > git remote # timeout=10 20:35:56 > git config --get remote.origin.url # timeout=10 20:35:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:35:57 > git merge 75bc767cd91fa94e23213f88954145bb20b6ca5d # timeout=10 20:35:57 > git rev-parse HEAD^{commit} # timeout=10 20:35:57 > git config core.sparsecheckout # timeout=10 20:35:57 > git checkout -f 470f401685a8b376d1efe0d2199b8c2a6f37ff5f # timeout=10 20:35:57 > git --version # timeout=10 20:35:57 > git --version # 'git version 2.25.1' 20:35:57 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:35:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:35:58 OK: 268 MiB in 56 packages 20:35:58 Removing intermediate container 564e3fb8c27d 20:35:58 ---> 7457e8b8bbea 20:35:58 Step 8/26 : WORKDIR /device-rest-go 20:35:58 ---> Running in 5368eb672b68 20:35:58 Removing intermediate container 5368eb672b68 20:35:58 ---> 76566ccf1acf 20:35:58 Step 9/26 : COPY go.mod vendor* ./ 20:35:58 ---> c22025d6c0f6 20:35:58 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:58 ---> Running in efa43c12544a 20:35:59 Removing intermediate container efa43c12544a 20:35:59 ---> 3040c00c333e 20:35:59 Step 11/26 : COPY . . 20:35:59 ---> fe7832a1e9a6 20:35:59 Step 12/26 : RUN $MAKE 20:35:59 ---> Running in bb6cafcffd81 20:36:00 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:36:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:02 Dload Upload Total Spent Left Speed 20:36:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 20:36:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:36:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:36:03 + sudo tee /etc/docker/daemon.new 20:36:03 { 20:36:03 "registry-mirrors": [ 20:36:03 "https://nexus3.edgexfoundry.org:10001" 20:36:03 ], 20:36:03 "bip": "10.250.0.254/24", 20:36:03 "hosts": [ 20:36:03 "tcp://0.0.0.0:5555", 20:36:03 "unix:///var/run/docker.sock" 20:36:03 ], 20:36:03 "mtu": 1458, 20:36:03 "selinux-enabled": true, 20:36:03 "seccomp-profile": "/etc/docker/seccomp.json" 20:36:03 } [Pipeline] sh 20:36:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:36:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:22 provisioning config files... 20:36:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5107013761908234949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:22 ---> ****-login.sh 20:36:22 nexus3.edgexfoundry.org:10001 20:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10002 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10003 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 nexus3.edgexfoundry.org:10004 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 ****.io 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 ---> ****-login.sh ends [Pipeline] } 20:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:25 ========================================================= 20:36:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:36:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:25 + 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:36:25 Sending build context to Docker daemon 131.1kB 20:36:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:36:26 Step 2/12 : FROM ${BASE} AS builder 20:36:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:26 9fda8d8052c6: Pulling fs layer 20:36:26 5d54e960e981: Pulling fs layer 20:36:26 c4a7e357bf2a: Pulling fs layer 20:36:26 f0e02332f6b5: Pulling fs layer 20:36:26 872ee5b61b7b: Pulling fs layer 20:36:26 0c6a40ed1a82: Pulling fs layer 20:36:26 94ae7d8d031c: Pulling fs layer 20:36:26 872ee5b61b7b: Waiting 20:36:26 0c6a40ed1a82: Waiting 20:36:26 94ae7d8d031c: Waiting 20:36:26 f0e02332f6b5: Waiting 20:36:26 5d54e960e981: Verifying Checksum 20:36:26 f0e02332f6b5: Download complete 20:36:26 872ee5b61b7b: Verifying Checksum 20:36:26 872ee5b61b7b: Download complete 20:36:26 9fda8d8052c6: Verifying Checksum 20:36:26 9fda8d8052c6: Download complete 20:36:27 94ae7d8d031c: Verifying Checksum 20:36:27 94ae7d8d031c: Download complete 20:36:27 9fda8d8052c6: Pull complete 20:36:28 5d54e960e981: Pull complete 20:36:28 c4a7e357bf2a: Verifying Checksum 20:36:28 c4a7e357bf2a: Download complete 20:36:29 0c6a40ed1a82: Verifying Checksum 20:36:29 0c6a40ed1a82: Download complete 20:36:32 Removing intermediate container bb6cafcffd81 20:36:32 ---> 4b35baa536f5 20:36:32 Step 13/26 : FROM alpine:3.18 20:36:32 3.18: Pulling from library/alpine 20:36:32 619be1103602: Pulling fs layer 20:36:32 619be1103602: Verifying Checksum 20:36:32 619be1103602: Download complete 20:36:32 619be1103602: Pull complete 20:36:32 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:36:32 Status: Downloaded newer image for alpine:3.18 20:36:32 ---> d3782b16ccc9 20:36:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:36:32 ---> Running in 3d79c5351f67 20:36:32 Removing intermediate container 3d79c5351f67 20:36:32 ---> a1c392567483 20:36:32 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:36:32 ---> Running in bb364e6089e6 20:36:32 Removing intermediate container bb364e6089e6 20:36:32 ---> 869e622e5a6d 20:36:32 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:36:32 ---> Running in bd8ef5406ca1 20:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:36:32 (1/1) Installing dumb-init (1.2.5-r2) 20:36:32 Executing busybox-1.36.1-r5.trigger 20:36:32 OK: 7 MiB in 16 packages 20:36:32 Removing intermediate container bd8ef5406ca1 20:36:32 ---> 804072b56fe4 20:36:32 Step 17/26 : RUN apk --no-cache upgrade 20:36:32 ---> Running in 26163871eaee 20:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:36:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:36:32 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 20:36:32 OK: 7 MiB in 16 packages 20:36:32 Removing intermediate container 26163871eaee 20:36:32 ---> baf7f7bab822 20:36:32 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:36:33 ---> 33c436dcada5 20:36:33 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:36:33 ---> 3782e35734f8 20:36:33 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:36:33 ---> 7d16644d390b 20:36:33 Step 21/26 : EXPOSE 59986 20:36:33 ---> Running in 93d4acb4bced 20:36:33 Removing intermediate container 93d4acb4bced 20:36:33 ---> fcae491d7a38 20:36:33 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:36:34 ---> Running in 6adec89c0340 20:36:34 Removing intermediate container 6adec89c0340 20:36:34 ---> e823a7f1eb12 20:36:34 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:36:34 ---> Running in e5a40a1e2c76 20:36:34 Removing intermediate container e5a40a1e2c76 20:36:34 ---> 3cec19518ebd 20:36:34 Step 24/26 : LABEL arch=amd64 20:36:34 ---> Running in d496d6ffd1c4 20:36:34 Removing intermediate container d496d6ffd1c4 20:36:34 ---> acb066650358 20:36:34 Step 25/26 : LABEL git_sha=470f401685a8b376d1efe0d2199b8c2a6f37ff5f 20:36:34 ---> Running in 82ff646ff150 20:36:34 Removing intermediate container 82ff646ff150 20:36:34 ---> 089164cd57bd 20:36:34 Step 26/26 : LABEL version=0.0.0 20:36:34 ---> Running in d8371b06f464 20:36:34 Removing intermediate container d8371b06f464 20:36:34 ---> 50a6af205ff5 20:36:34 [Warning] One or more build-args [ARCH] were not consumed 20:36:34 Successfully built 50a6af205ff5 20:36:34 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:35 20:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:35 latest: Pulling from edgex-lftools-log-publisher 20:36:35 5eb5b503b376: Pulling fs layer 20:36:35 5c69ac0246d0: Pulling fs layer 20:36:35 ec43610c2a17: Pulling fs layer 20:36:35 3a2ae6a8a46f: Pulling fs layer 20:36:35 33b1e0a273af: Pulling fs layer 20:36:35 5d3b04190fa2: Pulling fs layer 20:36:35 2f39f015ded8: Pulling fs layer 20:36:35 33b1e0a273af: Waiting 20:36:35 3a2ae6a8a46f: Waiting 20:36:35 5d3b04190fa2: Waiting 20:36:35 2f39f015ded8: Waiting 20:36:35 5c69ac0246d0: Verifying Checksum 20:36:35 5c69ac0246d0: Download complete 20:36:35 3a2ae6a8a46f: Verifying Checksum 20:36:35 3a2ae6a8a46f: Download complete 20:36:35 33b1e0a273af: Verifying Checksum 20:36:35 33b1e0a273af: Download complete 20:36:35 5d3b04190fa2: Verifying Checksum 20:36:35 5d3b04190fa2: Download complete 20:36:35 ec43610c2a17: Verifying Checksum 20:36:35 ec43610c2a17: Download complete 20:36:35 5eb5b503b376: Verifying Checksum 20:36:35 5eb5b503b376: Download complete 20:36:36 2f39f015ded8: Download complete 20:36:37 5eb5b503b376: Pull complete 20:36:37 5c69ac0246d0: Pull complete 20:36:37 ec43610c2a17: Pull complete 20:36:37 3a2ae6a8a46f: Pull complete 20:36:37 33b1e0a273af: Pull complete 20:36:38 5d3b04190fa2: Pull complete 20:36:42 c4a7e357bf2a: Pull complete 20:36:42 f0e02332f6b5: Pull complete 20:36:42 872ee5b61b7b: Pull complete 20:36:42 2f39f015ded8: Pull complete 20:36:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:36:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:42 prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container 20:36:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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:36:47 $ docker top d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:47 ---> job-cost.sh 20:36:47 lf-activate-venv: SKIPPING 20:36:47 INFO: No Stack... 20:36:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:48 INFO: Archiving Costs [Pipeline] sh 20:36:48 + cat /w/workspace/gexfoundry_device-rest-go_PR-387/archives/cost.csv 20:36:48 + cut -d, -f6 [Pipeline] lock 20:36:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] 20:36:48 Resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] did not exist. Created. 20:36:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:49 + echo total: 0.2199999988079071 [Pipeline] stash 20:36:49 Stashed 1 file(s) [Pipeline] } 20:36:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:49 $ docker stop --time=1 d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e 20:36:50 $ docker rm -f --volumes d6458d1557750c0899cd02ab21cb77dad5703357ffed23265e3a5fbf05f1f95e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:52 0c6a40ed1a82: Pull complete 20:36:52 94ae7d8d031c: Pull complete 20:36:52 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:36:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:36:52 ---> 86de565de09d 20:36:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:36:53 ---> Running in e9939e3a9653 20:36:53 Removing intermediate container e9939e3a9653 20:36:53 ---> 9635cb8c146c 20:36:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:53 ---> Running in fe2f3d9688c5 20:36:53 Removing intermediate container fe2f3d9688c5 20:36:53 ---> 303e6be4bf0c 20:36:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:54 ---> Running in 4bb7c19bcee6 20:36:54 Removing intermediate container 4bb7c19bcee6 20:36:54 ---> 36cd587a5e3e 20:36:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:36:54 ---> Running in 1fce3667c923 20:36:54 Removing intermediate container 1fce3667c923 20:36:54 ---> 8e90be8c25af 20:36:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:54 ---> Running in b45a7a08cc83 20:36:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:36:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:36:57 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:36:57 (2/4) Installing libedit (20221030.3.1-r1) 20:36:57 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:36:57 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:36:57 Executing busybox-1.36.1-r5.trigger 20:36:57 OK: 271 MiB in 56 packages 20:36:58 Removing intermediate container b45a7a08cc83 20:36:58 ---> 5b8e6babd32e 20:36:58 Step 8/12 : WORKDIR /device-rest-go 20:36:58 ---> Running in 32f2578e27f4 20:36:58 Removing intermediate container 32f2578e27f4 20:36:58 ---> 2b1522f3ccee 20:36:58 Step 9/12 : COPY go.mod vendor* ./ 20:36:59 ---> 48c8a051260e 20:36:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:59 ---> Running in 05c509c4df8d 20:39:06 Removing intermediate container 05c509c4df8d 20:39:06 ---> 23994a7c5aed 20:39:06 Step 11/12 : COPY . . 20:39:06 ---> 5949fd9b8d6c 20:39:06 Step 12/12 : RUN $MAKE 20:39:06 ---> Running in dc4bba83d6cf 20:39:06 noop 20:39:06 Removing intermediate container dc4bba83d6cf 20:39:06 ---> 5bd861480398 20:39:06 Successfully built 5bd861480398 20:39:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:06 + docker inspect -f . ci-base-image-arm64 20:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:06 prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container 20:39:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:08 $ docker top c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:09 + go version 20:39:09 go version go1.21.0 linux/arm64 [Pipeline] } 20:39:09 $ docker stop --time=1 c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 20:39:10 $ docker rm -f --volumes c73003bbc22c1b0ca655427d77fcfdf23443c82e0bce576eccdc65f876832ba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:11 + docker inspect -f . ci-base-image-arm64 20:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:12 prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container 20:39:12 $ 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:39:13 $ docker top 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:13 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:39:14 + make test 20:39:14 go test ./... -coverprofile=coverage.out ./... 20:39:20 ? github.com/edgexfoundry/device-rest-go [no test files] 20:41:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:41:56 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 33.2% of statements 20:41:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:41:56 go vet ./... 20:42:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:29 ./bin/test-attribution-txt.sh 20:42:29 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:42:29 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:42:29 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:42:29 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:42:29 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:42:29 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:42:29 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:42:29 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:42:29 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:42:29 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 20:42:29 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:42:29 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:42:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:42:29 $ docker stop --time=1 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd 20:42:31 $ docker rm -f --volumes 7cfa391f4c7ee35cac732da0b1d9c890caf6f35a8e345f18f818a3f1640b8bfd [Pipeline] // withDockerContainer [Pipeline] sh 20:42:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:32 Warning: overwriting stash ‘coverage-report’ 20:42:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:34 + ls -al . 20:42:34 total 244 20:42:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:39 . 20:42:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:35 .. 20:42:34 -rw-rw-r-- 1 jenkins jenkins 151 Mar 20 20:35 .dockerignore 20:42:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:36 .git 20:42:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 .github 20:42:34 -rw-rw-r-- 1 jenkins jenkins 264 Mar 20 20:35 .gitignore 20:42:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 20 20:35 .golangci.yml 20:42:34 -rw-rw-r-- 1 jenkins jenkins 10300 Mar 20 20:35 Attribution.txt 20:42:34 -rw-rw-r-- 1 jenkins jenkins 17685 Mar 20 20:35 CHANGELOG.md 20:42:34 -rw-rw-r-- 1 jenkins jenkins 1687 Mar 20 20:35 Dockerfile 20:42:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:35 GOVERNANCE.md 20:42:34 -rw-rw-r-- 1 jenkins jenkins 680 Mar 20 20:35 Jenkinsfile 20:42:34 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 20 20:35 LICENSE 20:42:34 -rw-rw-r-- 1 jenkins jenkins 2016 Mar 20 20:35 Makefile 20:42:34 -rw-rw-r-- 1 jenkins jenkins 620 Mar 20 20:35 OWNERS.md 20:42:34 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 20 20:35 README.md 20:42:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:33 VERSION 20:42:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:35 bin 20:42:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 cmd 20:42:34 -rw-r--r-- 1 jenkins jenkins 14499 Mar 20 20:41 coverage.out 20:42:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:35 driver 20:42:34 -rw-rw-r-- 1 jenkins jenkins 7238 Mar 20 20:35 go.mod 20:42:34 -rw-rw-r-- 1 jenkins jenkins 101517 Mar 20 20:35 go.sum 20:42:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:35 openapi 20:42:34 -rw-rw-r-- 1 jenkins jenkins 713 Mar 20 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:34 + 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=470f401685a8b376d1efe0d2199b8c2a6f37ff5f --label arch=arm64 --label version=0.0.0 . 20:42:34 Sending build context to Docker daemon 146.4kB 20:42:34 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:42:34 Step 2/26 : FROM ${BASE} AS builder 20:42:34 ---> 5bd861480398 20:42:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:42:34 ---> Running in cb1b4a735731 20:42:35 Removing intermediate container cb1b4a735731 20:42:35 ---> 5cc44fb7b74d 20:42:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:35 ---> Running in aa049993fded 20:42:35 Removing intermediate container aa049993fded 20:42:35 ---> 3190dd5bce25 20:42:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:35 ---> Running in 260f7906dbf2 20:42:35 Removing intermediate container 260f7906dbf2 20:42:35 ---> 9c9714151de0 20:42:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:42:35 ---> Running in af3fd5626764 20:42:36 Removing intermediate container af3fd5626764 20:42:36 ---> ed1707d8e84f 20:42:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:36 ---> Running in 3bf0c646e221 20:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:42:39 OK: 271 MiB in 56 packages 20:42:39 Removing intermediate container 3bf0c646e221 20:42:39 ---> e986f653bc14 20:42:39 Step 8/26 : WORKDIR /device-rest-go 20:42:39 ---> Running in 384844013cdc 20:42:40 Removing intermediate container 384844013cdc 20:42:40 ---> 08bc2cfef98c 20:42:40 Step 9/26 : COPY go.mod vendor* ./ 20:42:40 ---> 7a6eb6503bf2 20:42:40 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:40 ---> Running in 28fdb52848db 20:42:42 Removing intermediate container 28fdb52848db 20:42:42 ---> 532602903a89 20:42:42 Step 11/26 : COPY . . 20:42:43 ---> f3290c4e3a01 20:42:43 Step 12/26 : RUN $MAKE 20:42:43 ---> Running in b9f44d14e504 20:42:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:45:36 Removing intermediate container b9f44d14e504 20:45:36 ---> ac77f5d8b1ab 20:45:36 Step 13/26 : FROM alpine:3.18 20:45:36 3.18: Pulling from library/alpine 20:45:36 c6b39de5b339: Pulling fs layer 20:45:36 c6b39de5b339: Download complete 20:45:36 c6b39de5b339: Pull complete 20:45:36 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:45:36 Status: Downloaded newer image for alpine:3.18 20:45:36 ---> 33abbf032149 20:45:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:36 ---> Running in c3aebd417243 20:45:36 Removing intermediate container c3aebd417243 20:45:36 ---> c5090377b4c2 20:45:36 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:36 ---> Running in 262a0fa0b91a 20:45:36 Removing intermediate container 262a0fa0b91a 20:45:36 ---> ea6848d67be0 20:45:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:45:36 ---> Running in c6caf1930e42 20:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:45:36 (1/1) Installing dumb-init (1.2.5-r2) 20:45:36 Executing busybox-1.36.1-r5.trigger 20:45:36 OK: 8 MiB in 16 packages 20:45:36 Removing intermediate container c6caf1930e42 20:45:36 ---> 131942360417 20:45:36 Step 17/26 : RUN apk --no-cache upgrade 20:45:36 ---> Running in 81a3c82a40c3 20:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:45:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:45:36 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 20:45:36 OK: 8 MiB in 16 packages 20:45:36 Removing intermediate container 81a3c82a40c3 20:45:36 ---> d6ed5dfc4105 20:45:36 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:36 ---> e43aebf4f91e 20:45:36 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:36 ---> 0c0d14221a98 20:45:36 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:36 ---> 20c3b68d2c6e 20:45:36 Step 21/26 : EXPOSE 59986 20:45:36 ---> Running in 48982f844a6a 20:45:36 Removing intermediate container 48982f844a6a 20:45:36 ---> 58d1269e5dc2 20:45:36 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:36 ---> Running in eb64cd134dde 20:45:36 Removing intermediate container eb64cd134dde 20:45:36 ---> fd7311892a19 20:45:36 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:45:36 ---> Running in cada1579a7fa 20:45:36 Removing intermediate container cada1579a7fa 20:45:36 ---> 2d2031bf9c19 20:45:36 Step 24/26 : LABEL arch=arm64 20:45:36 ---> Running in b0c7fa9c32ce 20:45:36 Removing intermediate container b0c7fa9c32ce 20:45:36 ---> ca79527611b1 20:45:36 Step 25/26 : LABEL git_sha=470f401685a8b376d1efe0d2199b8c2a6f37ff5f 20:45:36 ---> Running in 81441dedb611 20:45:36 Removing intermediate container 81441dedb611 20:45:36 ---> 4f6bfb93a5ea 20:45:36 Step 26/26 : LABEL version=0.0.0 20:45:37 ---> Running in f7b7f0a99394 20:45:37 Removing intermediate container f7b7f0a99394 20:45:37 ---> 66af041db147 20:45:37 [Warning] One or more build-args [ARCH] were not consumed 20:45:37 Successfully built 66af041db147 20:45:37 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:38 20:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:45:38 arm64: Pulling from edgex-lftools-log-publisher 20:45:38 8998bd30e6a1: Pulling fs layer 20:45:38 04944245beec: Pulling fs layer 20:45:38 699f458cf7ca: Pulling fs layer 20:45:38 765212b225bb: Pulling fs layer 20:45:38 f23df028b6ca: Pulling fs layer 20:45:38 d65c8cfc05b1: Pulling fs layer 20:45:38 2437ff75d9bd: Pulling fs layer 20:45:38 f23df028b6ca: Waiting 20:45:38 765212b225bb: Waiting 20:45:38 d65c8cfc05b1: Waiting 20:45:38 2437ff75d9bd: Waiting 20:45:39 04944245beec: Verifying Checksum 20:45:39 04944245beec: Download complete 20:45:39 765212b225bb: Verifying Checksum 20:45:39 765212b225bb: Download complete 20:45:39 f23df028b6ca: Download complete 20:45:39 d65c8cfc05b1: Verifying Checksum 20:45:39 d65c8cfc05b1: Download complete 20:45:39 699f458cf7ca: Verifying Checksum 20:45:39 699f458cf7ca: Download complete 20:45:39 8998bd30e6a1: Verifying Checksum 20:45:39 8998bd30e6a1: Download complete 20:45:42 2437ff75d9bd: Verifying Checksum 20:45:42 2437ff75d9bd: Download complete 20:45:44 8998bd30e6a1: Pull complete 20:45:44 04944245beec: Pull complete 20:45:46 699f458cf7ca: Pull complete 20:45:46 765212b225bb: Pull complete 20:45:47 f23df028b6ca: Pull complete 20:45:47 d65c8cfc05b1: Pull complete 20:46:02 2437ff75d9bd: Pull complete 20:46:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:46:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:03 prd-ubuntu20.04-docker-arm64-4c-16g-483 does not seem to be running inside a container 20:46:03 $ 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:46:05 $ docker top aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:06 ---> job-cost.sh 20:46:06 lf-activate-venv: SKIPPING 20:46:06 INFO: No Stack... 20:46:09 INFO: Retrieving Pricing Info for: v3-standard-4 20:46:09 INFO: Archiving Costs [Pipeline] sh 20:46:10 + + cut -d, -f6 20:46:10 cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:46:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] 20:46:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] did not exist. Created. 20:46:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:11 /w/workspace/device-rest-go/1@tmp/durable-71a9f4e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:46:12 + echo total: 0.10999999940395355 [Pipeline] stash 20:46:12 Warning: overwriting stash ‘stack-cost’ 20:46:12 Stashed 1 file(s) [Pipeline] } 20:46:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-387-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:12 $ docker stop --time=1 aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 20:46:13 $ docker rm -f --volumes aa8f7d66e4dedf8ef2b41dcd78ca0fb49e4f771a091a85002441dca7082904b9 [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:46:14 provisioning config files... 20:46:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config13108595689468336389tmp [Pipeline] { [Pipeline] sh 20:46:15 + set +x 20:46:15 + + curl -s https://codecov.io/bash 20:46:15 bash -s -- 20:46:15 20:46:15 _____ _ 20:46:15 / ____| | | 20:46:15 | | ___ __| | ___ ___ _____ __ 20:46:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:46:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:46:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:46:15 Bash-1.0.6 20:46:15 20:46:15 20:46:15 ==> git version 2.25.1 found 20:46:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:46:15 Release-Date: 2020-01-08 20:46:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:46:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:46:15 ==> Jenkins CI detected. 20:46:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-387 20:46:15 project root: . 20:46:15 --> token set from env 20:46:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:46:15 ==> Running gcov in . (disable via -X gcov) 20:46:15 ==> Python coveragepy not found 20:46:15 ==> Searching for coverage reports in: 20:46:15 + . 20:46:15 -> Found 1 reports 20:46:15 ==> Detecting git/mercurial file structure 20:46:15 ==> Reading reports 20:46:15 + ./coverage.out bytes=14499 20:46:15 ==> Appending adjustments 20:46:15 https://docs.codecov.io/docs/fixing-reports 20:46:15 + Found adjustments 20:46:15 ==> Gzipping contents 20:46:15 4.0K /tmp/codecov.wUacgH.gz 20:46:15 ==> Uploading reports 20:46:15 url: https://codecov.io 20:46:15 query: branch=PR-387&commit=470f401685a8b376d1efe0d2199b8c2a6f37ff5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=387&job=&cmd_args= 20:46:15 -> Pinging Codecov 20:46:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-387&commit=470f401685a8b376d1efe0d2199b8c2a6f37ff5f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=387&job=&cmd_args= 20:46:15 -> Uploading to 20:46:15 https://storage.googleapis.com/codecov/v4/raw/2024-03-20/4E5D53B4F1F92C436F7061BF334D961C/470f401685a8b376d1efe0d2199b8c2a6f37ff5f/cf299772-cc8c-4b05-8a23-957bc39cb191.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240320T204615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f358832712562508484e8395f6a4199472cfe72534ca85b0883c88e4f9372089 20:46:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:15 Dload Upload Total Spent Left Speed 20:46:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8115 --:--:-- --:--:-- --:--:-- 8115 20:46:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/470f401685a8b376d1efe0d2199b8c2a6f37ff5f [Pipeline] } 20:46:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:46:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-387/archives ] 20:46:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-387/archives 20:46:17 total 16 20:46:17 drwxr-xr-x 3 root root 4096 Mar 20 20:36 . 20:46:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:36 .. 20:46:17 drwxr-xr-x 2 root root 4096 Mar 20 20:36 cost 20:46:17 -rw-r--r-- 1 root root 86 Mar 20 20:36 cost.csv 20:46:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-387/archives 20:46:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-387/archives 20:46:17 total 16 20:46:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:36 . 20:46:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:36 .. 20:46:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 20:36 cost 20:46:17 -rw-r--r-- 1 jenkins jenkins 86 Mar 20 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:46:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:46:19 ---> package-listing.sh 20:46:19 ++ facter osfamily 20:46:19 ++ tr '[:upper:]' '[:lower:]' 20:46:19 + OS_FAMILY=debian 20:46:19 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-387 20:46:19 + START_PACKAGES=/tmp/packages_start.txt 20:46:19 + END_PACKAGES=/tmp/packages_end.txt 20:46:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:46:19 + PACKAGES=/tmp/packages_start.txt 20:46:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-387 ']' 20:46:19 + PACKAGES=/tmp/packages_end.txt 20:46:19 + case "${OS_FAMILY}" in 20:46:19 + dpkg -l 20:46:19 + grep '^ii' 20:46:19 + '[' -f /tmp/packages_start.txt ']' 20:46:19 + '[' -f /tmp/packages_end.txt ']' 20:46:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:46:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-387 ']' 20:46:19 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-387/archives/ 20:46:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-387/archives/ [Pipeline] echo 20:46:19 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:46:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:20 prd-ubuntu20.04-docker-8c-8g-481 does not seem to be running inside a container 20:46:20 $ 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-387/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-387 -v /w/workspace/gexfoundry_device-rest-go_PR-387:/w/workspace/gexfoundry_device-rest-go_PR-387:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-387@tmp:/w/workspace/gexfoundry_device-rest-go_PR-387@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:46:20 $ docker top 0b2066de21fbbd891c625cf58e5d050696f83456912c9d23fbe83eb6f18bc38c -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:46:21 + mkdir -p /var/log/sysstat [Pipeline] sh 20:46:21 + ls /var/log/sa-host 20:46:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:21 provisioning config files... 20:46:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-387@tmp/config5264467433804551385tmp [Pipeline] { [Pipeline] echo 20:46:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:46:21 ---> create-netrc.sh [Pipeline] } 20:46:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:46:22 ---> python-tools-install.sh [Pipeline] echo 20:46:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:46:22 ---> sudo-logs.sh 20:46:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:46:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:46:23 ---> job-cost.sh 20:46:23 lf-activate-venv: SKIPPING 20:46:23 DEBUG: total: 0.2199999988079071 20:46:23 INFO: Retrieving Stack Cost... 20:46:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:23 INFO: Archiving Costs [Pipeline] echo 20:46:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:46:24 ---> logs-deploy.sh 20:46:24 lf-activate-venv: SKIPPING 20:46:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-387/1 20:46:24 INFO: archiving workspace using pattern(s): 20:46:24 Archives upload complete. 20:46:24 INFO: archiving logs to Nexus